diff --git a/crmeb/public/admin/css/app.775d8f4a.css b/crmeb/public/admin/css/app.6f072f80.css similarity index 99% rename from crmeb/public/admin/css/app.775d8f4a.css rename to crmeb/public/admin/css/app.6f072f80.css index e47ee08f6..595e55039 100644 --- a/crmeb/public/admin/css/app.775d8f4a.css +++ b/crmeb/public/admin/css/app.6f072f80.css @@ -1,2 +1,2 @@ -body,html{overflow:hidden;margin:0;padding:0}#app,body,html{width:100%;height:100%}.dialog-fade-enter-active{-webkit-animation:anim-open .3s;animation:anim-open .3s}.dialog-fade-leave-active{-webkit-animation:anim-close .3s;animation:anim-close .3s}@-webkit-keyframes anim-open{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes anim-open{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes anim-close{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}@keyframes anim-close{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}.ivu-modal-wrap /deep/ .connect_customerServer_img{display:none}.right-box .ivu-color-picker .ivu-select-dropdown{position:absolute;left:-73px!important}.ivu-global-footer{margin:5px 0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.i-copyright{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-global-footer-links{margin-bottom:5px}.ivu-global-footer-links a:not(:last-child){margin-right:40px}.ivu-global-footer-links a{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-global-footer-copyright,.ivu-global-footer-links a{font-size:14px;color:#808695}.ivu-global-footer-copyright a{color:#808695}.collased-menu-dropdown[data-v-04ee1a6d]{width:100%}.child-menu[data-v-04ee1a6d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}.side-menu-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.side-menu-wrapper .menu-collapsed{padding-top:10px}.side-menu-wrapper .menu-collapsed .ivu-dropdown{width:100%;margin-bottom:10px}.side-menu-wrapper .menu-collapsed .ivu-dropdown .ivu-dropdown-rel a{width:100%}.side-menu-wrapper .menu-collapsed .ivu-tooltip{width:100%;margin-bottom:10px}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-rel{width:100%}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-popper .ivu-tooltip-content .ivu-tooltip-arrow{border-right-color:#fff}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-popper .ivu-tooltip-content .ivu-tooltip-inner{background:#fff;color:#495060}.side-menu-wrapper a.drop-menu-a{display:inline-block;padding:6px 15px;width:100%;text-align:center;color:#495060}.menu-title{padding-left:6px}.ivu-menu .side-menu-wrapper a.drop-menu-a{padding:15px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer,.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-select-dropdown{background:#001529!important;width:170px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu{min-width:unset!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item{padding:9px 0 9px 30px!important;font-size:13px!important;text-align:left}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item:hover{background-color:#2d8cf0!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .menu-title{padding-left:0!important;color:hsla(0,0%,88.2%,.7)!important;font-size:13px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item:hover .menu-title{color:#fff!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown{padding:9px 0 9px 30px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover{background-color:#2d8cf0!important;color:#fff!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover>.ivu-dropdown-rel>.drop-menu-a>.ivu-icon,.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover>.ivu-dropdown-rel>.drop-menu-a>.menu-title{color:#fff!important}.trans[data-v-5080f098]{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.sider-trigger-a[data-v-5080f098]{padding:6px;width:40px;height:40px;display:inline-block;text-align:center;color:#5c6b77;margin-top:5px}.sider-trigger-a .iconcaidanshouqi[data-v-5080f098]{vertical-align:top}.sider-trigger-a.collapsed[data-v-5080f098] .iconcaidanshouqi,.sider-trigger-a .iconcaidanshouqi[data-v-5080f098]{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.sider-trigger-a.collapsed[data-v-5080f098] .iconcaidanshouqi{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.sider-trigger-a[data-v-5080f098]{padding:14px 6px;margin-left:10px;line-height:16px}.iconcaidanshouqi[data-v-5080f098]{font-size:16px}.custom-bread-crumb{display:inline-block;vertical-align:top;margin-left:46px!important}.header-bar{width:100%;height:100%;position:relative}.header-bar .custom-content-con{float:right;height:auto;padding-right:20px;line-height:50px}.header-bar .custom-content-con>*{float:right}.ivu-icon-ios-refresh[data-v-edd85ffa]{color:#999!important;font-size:23px}.i-layout-header-trigger[data-v-edd85ffa]{position:absolute;margin:0 10px;cursor:pointer;font-size:19px}.i-layout-header-trigger[data-v-edd85ffa]:hover{color:#2d8cf0}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.size,.tags-nav{width:100%;height:100%}.tags-nav{position:relative;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tags-nav .close-con{right:0;width:32px;text-align:center}.tags-nav .btn-con,.tags-nav .close-con{position:absolute;top:0;height:100%;background:#fff;z-index:10}.tags-nav .btn-con{padding-top:3px}.tags-nav .btn-con button{padding:6px 4px;line-height:14px;text-align:center}.tags-nav .btn-con.left-btn{left:0}.tags-nav .btn-con.right-btn{right:32px;border-right:1px solid #f0f0f0}.tags-nav .scroll-outer{position:absolute;left:28px;right:61px;top:0;bottom:0;-webkit-box-shadow:0 0 3px 2px hsla(0,0%,39.2%,.1) inset;box-shadow:inset 0 0 3px 2px hsla(0,0%,39.2%,.1)}.tags-nav .scroll-outer .scroll-body{height:calc(100% - 1px);display:inline-block;padding:1px 4px 0;position:absolute;overflow:visible;white-space:nowrap;-webkit-transition:left .3s ease;transition:left .3s ease}.tags-nav .scroll-outer .scroll-body .ivu-tag-dot-inner{-webkit-transition:background .2s ease;transition:background .2s ease}.tags-nav .contextmenu{position:absolute;margin:0;padding:5px 0;background:#fff;z-index:1000;list-style-type:none;border-radius:4px;-webkit-box-shadow:2px 2px 3px 0 rgba(0,0,0,.1);box-shadow:2px 2px 3px 0 rgba(0,0,0,.1)}.tags-nav .contextmenu li{margin:0;padding:5px 15px;cursor:pointer}.tags-nav .contextmenu li:hover{background:#eee}.user-avatar-dropdown{cursor:pointer;display:inline-block;vertical-align:middle}.user-avatar-dropdown .ivu-badge-dot{top:16px}.iconImg[data-v-75b6642a]{font-size:18px;margin-right:6px;margin-bottom:2px}.user-avatar-dropdown .ivu-dropdown-item~.ivu-dropdown-item[data-v-75b6642a]{border-top:1px solid #e8eaec}.full-screen-btn-con{margin-right:17px!important}.full-screen-btn-con .ivu-tooltip-rel i{font-size:20px!important}.full-screen-btn-con .ivu-tooltip-rel{height:50px;line-height:50px}.full-screen-btn-con .ivu-tooltip-rel i{cursor:pointer}.search .ivu-select-selection{margin-right:20px}.search .ivu-select-visible .ivu-select-selection{-webkit-box-shadow:unset!important;box-shadow:unset!important}.search li.ivu-select-item{text-align:left}.search .select .ivu-select-input,.search .select .ivu-select-item{font-size:14px!important}.header-notice{margin-right:30px}.header-notice .ivu-dropdown-item{font-size:14px!important;font-weight:400;line-height:22px;color:#515a6e}.header-notice .ivu-dropdown-item~.ivu-dropdown-item{border-top:1px solid #e8eaec}.header-notice .iconImg{width:32px;height:32px;line-height:32px;border-radius:50%;color:#fff;font-size:18px;margin-right:10px;vertical-align:middle}.header-notice .ivu-dropdown{height:30px;line-height:30px}.header-notice .ivu-dropdown .ivu-select-dropdown{margin-top:22px}.header-notice .ivu-badge-dot{z-index:0!important}.main .logo-con{height:64px;padding:10px}.main .logo-con img{height:44px;width:auto;display:block;margin:0 auto}.main .header-con{background:#fff;padding:0 20px;width:100%}.main .ivu-layout-header{height:50px;line-height:50px}.main .main-layout-con{height:100%;overflow:hidden}.main .main-content-con{height:calc(100% - 60px);overflow:hidden}.main .tag-nav-wrapper{padding:0;height:40px;background:#f0f0f0}.main .content-wrapper{padding:18px;height:calc(100% - 80px);overflow:auto}.main .left-sider .ivu-layout-sider-children{overflow-y:scroll;margin-right:-18px;overflow-x:hidden}.ivu-menu-item>i,.ivu-menu-submenu>.ivu-menu>.ivu-menu-item>i{margin-right:8px!important}.collased-menu-dropdown{width:100%;margin:0;line-height:normal;padding:7px 0 6px 16px;clear:both;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.collased-menu-dropdown:hover{background:hsla(0,0%,39.2%,.1)}.collased-menu-dropdown *{color:#515a6e}.collased-menu-dropdown .ivu-menu-item>i{margin-right:12px!important}.collased-menu-dropdown .ivu-menu-submenu>.ivu-menu>.ivu-menu-item>i{margin-right:8px!important}.ivu-select-dropdown.ivu-dropdown-transfer{max-height:400px}.main .header-con{padding:0 20px 0 0}.main .logo-con img{height:50px}.main .tag-nav-wrapper{background:unset}.open-image{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:fixed;background-color:rgba(0,0,0,.6);height:100%;width:100%;top:0;left:0;z-index:1000}.open-image img{width:800px}.c_row-item[data-v-c4e45d52]{margin-top:10px;margin-bottom:10px}.c_row-item[data-v-c4e45d52] .ivu-select-dropdown{left:-27px!important}.color-box[data-v-c4e45d52]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-c4e45d52]{margin-left:15px}.color-box .color-item span[data-v-c4e45d52]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.footer[data-v-da517ae2]{margin:15px 0}.tabBox_img[data-v-da517ae2]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-da517ae2]{width:100%;height:100%}.tabform[data-v-da517ae2] .ivu-form-item{margin-bottom:16px!important}.btn[data-v-da517ae2]{margin-top:20px;float:right}.goodList[data-v-da517ae2] table{width:100%!important}.footer[data-v-7317c5b3]{margin:15px 0}.tabBox_img[data-v-7317c5b3]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-7317c5b3]{width:100%;height:100%}.tabform[data-v-7317c5b3] .ivu-form-item{margin-bottom:16px!important}.btn[data-v-7317c5b3]{margin-top:20px;float:right}.goodList[data-v-7317c5b3] table{width:100%!important}.middleTop[data-v-4343ea95] .ivu-modal-wrap .ivu-modal{top:50%!important;margin-top:-350px}.goods-box[data-v-4343ea95]{padding:16px 0;margin-bottom:16px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.goods-box .list-group[data-v-4343ea95],.goods-box .wrapper[data-v-4343ea95]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-4343ea95]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;margin-bottom:10px;background:#f7f7f7}.goods-box .add-item .iconfont[data-v-4343ea95]{font-size:18px;color:#d8d8d8}.goods-box .item[data-v-4343ea95]{position:relative;width:80px;height:80px;margin-bottom:20px;margin-right:12px}.goods-box .item[data-v-4343ea95]:nth-child(4n){margin-right:0}.goods-box .item img[data-v-4343ea95]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-4343ea95]{position:absolute;right:-10px;top:-16px;color:#999;font-size:28px;cursor:pointer}.line-box[data-v-b0989b44]{margin-top:20px;padding:10px 0 20px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.line-box .title p[data-v-b0989b44]{font-size:14px;color:#000}.line-box .title span[data-v-b0989b44]{color:#999}.line-box .input-box[data-v-b0989b44]{position:relative;margin-top:10px}.line-box .input-box .add-btn[data-v-b0989b44]{margin-top:18px}.line-box .input-box .input-item[data-v-b0989b44]{position:relative;margin-bottom:15px}.line-box .input-box .input-item .icon[data-v-b0989b44],.line-box .input-box .input-item[data-v-b0989b44]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.line-box .input-box .input-item .icon[data-v-b0989b44]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:36px;cursor:move;color:#d8d8d8}.line-box .input-box .input-item[data-v-b0989b44] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px}.line-box .input-box .close[data-v-b0989b44]{position:absolute;right:10px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer}[data-v-52ee298c] .ivu-tree-title-selected,[data-v-52ee298c] .ivu-tree-title-selected:hover,[data-v-52ee298c] .ivu-tree-title:hover{background-color:unset;color:#1890ff}[data-v-52ee298c] .ivu-table-cell-tree{border:0;font-size:15px;background-color:unset}[data-v-52ee298c] .ivu-table-cell-tree .ivu-icon-ios-add:before{content:"\F11F"}[data-v-52ee298c] .ivu-table-cell-tree .ivu-icon-ios-remove:before{content:"\F116"}.tabBox_img[data-v-52ee298c]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-52ee298c]{width:100%;height:100%}[data-v-52ee298c]::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px #ddd}[data-v-52ee298c]::-webkit-scrollbar{width:4px!important}.on[data-v-52ee298c]{background-color:#2d8cf0!important;color:#fff!important}.menu-item[data-v-52ee298c]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;word-break:break-all}.menu-item .icon-box[data-v-52ee298c]{z-index:3;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:none}.menu-item:hover .icon-box[data-v-52ee298c]{display:block}.menu-item .right-menu[data-v-52ee298c]{z-index:10;position:absolute;right:-106px;top:-11px;width:auto;min-width:121px}.table_box[data-v-52ee298c]{margin-top:14px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.table_box .left_box[data-v-52ee298c]{width:171px;height:470px;border-right:1px solid #eee;overflow-x:hidden;overflow-y:auto}.table_box .left_box .left_cont[data-v-52ee298c]{margin-bottom:12px;cursor:pointer}.table_box .right_box[data-v-52ee298c]{margin-left:23px;font-size:13px;font-family:PingFang SC;width:645px;height:470px;overflow-x:hidden;overflow-y:auto}.table_box .right_box .cont[data-v-52ee298c]{font-weight:500;color:#000;font-weight:700}.table_box .right_box .Box[data-v-52ee298c]{margin-top:19px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table_box .right_box .Box .cont_box[data-v-52ee298c]{font-weight:400;color:rgba(0,0,0,.85);background:#fafafa;border-radius:3px;text-align:center;padding:7px 30px;margin-right:10px;margin-bottom:18px;cursor:pointer}.table_box .right_box .Box .cont_box[data-v-52ee298c]:hover{background-color:#eee;color:#333}.table_box .right_box .Box .item[data-v-52ee298c]{position:relative}.table_box .right_box .Box .item .iconfont[data-v-52ee298c]{display:none}.table_box .right_box .Box .item:hover .iconfont[data-v-52ee298c]{display:block}.table_box .right_box .Box .iconfont[data-v-52ee298c]{position:absolute;right:9px;top:-8px;font-size:18px;color:#333}.table_box .Button[data-v-52ee298c]{position:absolute;bottom:15px;right:15px;font-family:PingFangSC-Regular;text-align:center}.table_box .Button .cancel[data-v-52ee298c]{width:70px;height:32px;background:#fff;border:1px solid rgba(0,0,0,.149);border-radius:2px;font-size:14px;color:#000;line-height:32px;float:left;margin-right:10px;cursor:pointer}.table_box .Button .ok[data-v-52ee298c]{width:70px;height:32px;background:#1890ff;border-radius:2px;font-size:14px;color:#fff;line-height:32px;float:left;cursor:pointer}.numbox[data-v-e78a6bb4]{margin:20px 0 10px 0}.numbox span[data-v-e78a6bb4]{width:80px;color:#999}.c_row-item[data-v-e78a6bb4]{width:100%}.c_row-item~.c_row-item[data-v-e78a6bb4]{margin-top:20px}.dif[data-v-e78a6bb4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-e78a6bb4]{margin-left:10px;width:350px}.numbox[data-v-7a03b6b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 0 10px 0}.numbox span[data-v-7a03b6b7]{width:80px;color:#999}.c_row-item[data-v-7a03b6b7]{width:100%}.c_row-item[data-v-64bc1227]{margin-bottom:10px}.editor[data-v-239c7400]{width:100%;margin:0 auto}.text[data-v-239c7400] .ivu-input-wrapper,.text[data-v-239c7400] textarea.ivu-input{min-height:600px}.text[data-v-239c7400]{border:1px solid #ccc;min-height:600px}.nameStyle[data-v-60de8b37]{position:absolute;white-space:nowrap;z-index:9;background:#eee;height:20px;line-height:20px;color:#555;border:1px solid #ebebeb;padding:0 5px;left:56px;bottom:-18px}.iconbianji1[data-v-60de8b37]{font-size:13px}[data-v-60de8b37] .ivu-badge-count{margin-top:18px!important;margin-right:19px!important}[data-v-60de8b37] ivu-tree-title-selected:hover{color:unset;background-color:unset}[data-v-60de8b37] .ivu-tree-title{padding:0;width:100%}[data-v-60de8b37] .ivu-span{padding:0;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[data-v-60de8b37] .ivu-tree ul li{margin:0}[data-v-60de8b37] .ivu-tree-arrow{width:17px;color:#626262}[data-v-60de8b37] .ivu-span:hover{background:#f5f5f5;color:rgba(0,0,0,.4)!important}[data-v-60de8b37] .ivu-tree-arrow i{vertical-align:bottom}.Nav[data-v-60de8b37] .ivu-icon-ios-arrow-forward:before{content:"\F341"!important;font-size:20px}[data-v-60de8b37] .ivu-btn-icon-only.ivu-btn-small{padding:unset!important}.selectTreeClass[data-v-60de8b37]{background:#d5e8fc}.treeBox[data-v-60de8b37]{width:100%;height:100%}.treeBox .ivu-tree-title-selected[data-v-60de8b37]:hover,.treeBox[data-v-60de8b37] .ivu-tree-title-selected{color:#2d8cf0!important;background-color:#fff!important}.treeBox[data-v-60de8b37] .ivu-btn-icon-only{width:20px!important;height:20px!important}.treeBox[data-v-60de8b37] .ivu-tree-title:hover{color:#2d8cf0!important;background-color:#fff!important}.pictrueList_pic[data-v-60de8b37]{position:relative;width:100px;cursor:pointer}.pictrueList_pic img[data-v-60de8b37]{width:100%;height:100px}.pictrueList_pic p[data-v-60de8b37]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:20px;text-align:center}.pictrueList_pic .number[data-v-60de8b37]{height:33px;position:absolute;right:0;top:0}.trees-coadd[data-v-60de8b37]{width:100%;border-radius:4px;overflow:hidden;position:relative}.trees-coadd .scollhide[data-v-60de8b37]{overflow-x:hidden;overflow-y:scroll;padding:10px 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.trees-coadd .scollhide .trees[data-v-60de8b37]{width:100%;height:374px}.trees-coadd .scollhide[data-v-60de8b37]::-webkit-scrollbar{display:none}.treeSel[data-v-60de8b37] .ivu-select-dropdown-list{padding:0 5px!important;-webkit-box-sizing:border-box;box-sizing:border-box;width:200px}.imagesNo[data-v-60de8b37]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:65px 0}.imagesNo .imagesNo_sp[data-v-60de8b37]{font-size:13px;color:#dbdbdb;line-height:3}.Modal[data-v-60de8b37]{width:100%;height:100%;background:#fff!important}.Nav[data-v-60de8b37]{width:100%;border-right:1px solid #eee}.colLeft[data-v-60de8b37]{padding-right:0!important;height:100%}.conter[data-v-60de8b37]{width:100%;height:100%;margin-left:0!important}.conter .bnt[data-v-60de8b37]{width:100%;padding:0 13px 10px 8px;-webkit-box-sizing:border-box;box-sizing:border-box}.conter .pictrueList[data-v-60de8b37]{padding-left:6px;width:100%;max-width:1200px;overflow-x:hidden;overflow-y:auto}.conter .pictrueList img[data-v-60de8b37]{width:100%;border:2px solid #fff}.conter .pictrueList img.on[data-v-60de8b37]{border:2px solid #5fb878}.conter .footer[data-v-60de8b37]{padding:0 20px 10px 20px}.demo-badge[data-v-60de8b37]{width:42px;height:42px;background:transparent;border-radius:6px;display:inline-block}.bnt[data-v-60de8b37] .ivu-tree-children{padding:5px 0}.trees-coadd[data-v-60de8b37] .ivu-tree-children .ivu-tree-arrow{line-height:25px}.iview-video-style[data-v-c530aa1e]{width:40%;height:180px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.iview-video-style .iconv[data-v-c530aa1e]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px}.iview-video-style .mark[data-v-c530aa1e]{position:absolute;width:100%;height:30px;top:0;background-color:rgba(0,0,0,.5);text-align:center}.bottom[data-v-ccf9d2ce]{margin-bottom:10px;cursor:pointer}.slider-box[data-v-68665594]{margin-top:10px}.radio-box[data-v-c8ce1b7a] .ivu-radio-group-button{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.radio-box[data-v-c8ce1b7a] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.radio-box.on[data-v-c8ce1b7a] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.title-tips[data-v-c8ce1b7a]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-c8ce1b7a]{margin-right:14px;color:#999}.iconfont[data-v-c8ce1b7a]{font-size:20px;line-height:18px}.tabBars .box-item[data-v-2928c038]:last-child{margin-bottom:20px}.tabBars .title[data-v-2928c038]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.tabBars .box-item[data-v-2928c038]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 30px 20px 0;border:1px solid #ddd;border-radius:3px}.tabBars .box-item .del-box[data-v-2928c038]{position:absolute;right:-13px;top:-18px;cursor:pointer}.tabBars .box-item .del-box .iconfont[data-v-2928c038]{color:#999;font-size:30px}.tabBars .box-item .left-tool[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.tabBars .box-item .left-tool .iconfont[data-v-2928c038]{color:#999;font-size:36px;cursor:move}.tabBars .box-item .right-wrapper[data-v-2928c038]{-webkit-box-flex:1;-ms-flex:1;flex:1}.tabBars .box-item .right-wrapper .img-wrapper[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex}.tabBars .box-item .right-wrapper .img-wrapper .img-item[data-v-2928c038]{position:relative;width:80px;height:80px;margin-right:20px;cursor:pointer}.tabBars .box-item .right-wrapper .img-wrapper .img-item img[data-v-2928c038]{display:block;width:100%;height:100%}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f7f7f7;font-size:12px;color:#bfbfbf}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-2928c038]{font-size:16px}.tabBars .box-item .right-wrapper .img-wrapper .img-item .txt[data-v-2928c038]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:rgba(0,0,0,.4);color:#fff;font-size:12px}.tabBars .box-item .right-wrapper .c_row-item[data-v-2928c038]{margin-top:10px}.tabBars .add-btn[data-v-2928c038]{margin-bottom:20px;width:100%;height:40px}.icondrag2[data-v-c4d7b3bc]{font-size:26px;color:#d8d8d8}.c_product[data-v-c4d7b3bc]{margin-bottom:20px}.c_product .list-box .item[data-v-c4d7b3bc]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:23px;padding:18px 20px 18px 0;border:1px solid #eee}.c_product .list-box .item .delete[data-v-c4d7b3bc]{position:absolute;right:0;top:0;right:-13px;top:-14px;color:#999;cursor:pointer}.c_product .list-box .move-icon[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .content[data-v-c4d7b3bc]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;width:300px}.c_product .list-box .content .con-item[data-v-c4d7b3bc]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-c4d7b3bc]{width:45px;font-size:13px}.c_product .add-btn[data-v-c4d7b3bc]{margin-top:18px}.title[data-v-c4d7b3bc]{font-size:12px;color:#999}.iconfont[data-v-c4d7b3bc]{color:#ddd;font-size:28px}.dif[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-c4d7b3bc]{margin-left:10px;width:250px}.txt_tab[data-v-dd27264e]{margin-top:20px}.c_row-item[data-v-dd27264e]{margin-bottom:20px}.row-item[data-v-dd27264e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-dd27264e]{font-size:18px}.title[data-v-b26c3d5e]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-b26c3d5e]{width:60px;height:60px;margin-bottom:10px;background-color:#f2f2f2}.box img[data-v-b26c3d5e]{width:100%;height:100%}.upload-box[data-v-b26c3d5e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.icondrag2[data-v-b1217a28]{font-size:26px;color:#d8d8d8}.hot_imgs[data-v-b1217a28]{margin-bottom:20px}.hot_imgs .title[data-v-b1217a28]{padding:0 0 13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-b1217a28]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px}.hot_imgs .list-box .item .move-icon[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move;color:#d8d8d8}.hot_imgs .list-box .item .img-box[data-v-b1217a28]{position:relative;width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-b1217a28]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-b1217a28]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;width:300px}.hot_imgs .list-box .item .info .info-item span[data-v-b1217a28]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-b1217a28]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .list-box .item .delect-btn[data-v-b1217a28]{position:absolute;right:-12px;top:-12px;color:#999}.hot_imgs .list-box .item .delect-btn .iconfont[data-v-b1217a28]{font-size:28px;color:#999}.hot_imgs .add-btn[data-v-b1217a28]{margin-top:10px}.upload-box[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc}.iconfont[data-v-b1217a28]{color:#ddd;font-size:28px}.em{background:url(https://v4.wuht.net/statics/images/look.png)}.em.em-smile{background-position:65% 60%}.em.em-laughing{background-position:65% 65%}.em.em-blush{background-position:65% 75%}.em.em-smiley{background-position:65% 57.5%}.em.em-smirk{background-position:65% 87.5%}.em.em-heart_eyes{background-position:65% 82.5%}.em.em-kissing_heart{background-position:67.5% 7.5%}.em.em-kissing_closed_eyes{background-position:67.5% 12.5%}.em.em-flushed{background-position:67.5% 75%}.em.em-relieved{background-position:65% 80%}.em.em-satisfied{background-position:65% 65%}.em.em-grin{background-position:65% 52.5%}.em.em-wink{background-position:65% 72.5%}.em.em-stuck_out_tongue_winking_eye{background-position:67.5% 17.5%}.em.em-stuck_out_tongue_closed_eyes{background-position:67.5% 20%}.em.em-grinning{background-position:65% 50%}.em.em-kissing{background-position:67.5% 5%}.em.em-kissing_smiling_eyes{background-position:67.5% 10%}.em.em-stuck_out_tongue{background-position:67.5% 15%}.em.em-sleeping{background-position:67.5% 77.5%}.em.em-worried{background-position:67.5% 25%}.em.em-frowning{background-position:67.5% 42.5%}.em.em-anguished{background-position:67.5% 45%}.em.em-open_mouth{background-position:67.5% 62.5%}.em.em-grimacing{background-position:67.5% 57.5%}.em.em-confused{background-position:67.5% 0}.em.em-hushed{background-position:67.5% 65%}.em.em-expressionless{background-position:65% 92.5%}.em.em-unamused{background-position:65% 95%}.em.em-sweat_smile{background-position:65% 62.5%}.em.em-sweat{background-position:65% 97.5%}.em.em-disappointed_relieved{background-position:67.5% 40%}.em.em-weary{background-position:67.5% 50%}.em.em-pensive{background-position:65% 100%}.em.em-disappointed{background-position:67.5% 22.5%}.em.em-confounded{background-position:67.5% 2.5%}.em.em-fearful{background-position:67.5% 47.5%}.em.em-cold_sweat{background-position:67.5% 67.5%}.em.em-persevere{background-position:67.5% 35%}.em.em-cry{background-position:67.5% 32.5%}.em.em-sob{background-position:67.5% 60%}.em.em-joy{background-position:65% 55%}.em.em-astonished{background-position:67.5% 72.5%}.em.em-scream{background-position:67.5% 70%}.em.em-tired_face{background-position:67.5% 55%}.em.em-angry{background-position:67.5% 27.5%}.em.em-rage{background-position:67.5% 30%}.em.em-triumph{background-position:67.5% 37.5%}.em.em-sleepy{background-position:67.5% 52.5%}.em.em-yum{background-position:65% 77.5%}.em.em-mask{background-position:67.5% 85%}.em.em-sunglasses{background-position:65% 85%}.em.em-dizzy_face{background-position:67.5% 80%}.em.em-imp{background-position:45% 77.5%}.em.em-smiling_imp{background-position:65% 70%}.em.em-neutral_face{background-position:65% 90%}.em.em-no_mouth{background-position:67.5% 82.5%}.em.em-innocent{background-position:65% 67.5%}.em.em-alien{background-position:45% 72.5%}.em.em-yellow_heart{background-position:50% 17.5%}.em.em-blue_heart{background-position:50% 12.5%}.em.em-purple_heart{background-position:50% 20%}.em.em-green_heart{background-position:50% 15%}.em.em-broken_heart{background-position:50% 0}.em.em-heartbeat{background-position:47.5% 100%}.em.em-heartpulse{background-position:50% 7.5%}.em.em-two_hearts{background-position:50% 2.5%}.em.em-revolving_hearts{background-position:50% 25%}.em.em-cupid{background-position:50% 10%}.em.em-sparkling_heart{background-position:50% 5%}.em.em-dizzy{background-position:50% 70%}.em.em-boom,.em.em-collision{background-position:50% 42.5%}.em.em-anger{background-position:50% 35%}.em.em-exclamation{background-position:10% 20%}.em.em-zzz{background-position:50% 40%}.em.em-dash{background-position:50% 50%}.em.em-sweat_drops{background-position:50% 45%}.em.em-fire{background-position:57.5% 65%}.em.em-hankey,.em.em-poop,.em.em-shit{background-position:50% 52.5%}.em.em---1,.em.em-thumbsup{background-position:37.5% 25%}.em.em--1,.em.em-thumbsdown{background-position:37.5% 40%}.em.em-ok_hand{background-position:37.5% 10%}.em.em-facepunch,.em.em-punch{background-position:35% 82.5%}.em.em-fist{background-position:7.5% 25%}.em.em-v{background-position:7.5% 55%}.em.em-wave{background-position:35% 97.5%}.em.em-hand,.em.em-raised_hand{background-position:7.5% 40%}.em.em-open_hands{background-position:37.5% 70%}.em.em-point_up{background-position:2.5% 27.5%}.em.em-point_down{background-position:35% 37.5%}.em.em-point_left{background-position:35% 52.5%}.em.em-point_right{background-position:35% 67.5%}.em.em-raised_hands{background-position:70% 87.5%}.em.em-pray{background-position:72.5% 30%}.em.em-point_up_2{background-position:35% 22.5%}.em.em-clap{background-position:37.5% 55%}.em.em-muscle{background-position:50% 57.5%}.em.em-runner,.em.em-running{background-position:25% 25%}.em.em-couple{background-position:40% 95%}.em.em-family{background-position:40% 92.5%}.em.em-two_men_holding_hands{background-position:40% 97.5%}.em.em-two_women_holding_hands{background-position:40% 100%}.em.em-dancer{background-position:47.5% 12.5%}.em.em-dancers{background-position:42.5% 15%}.em.em-ok_woman{background-position:70% 35%}.em.em-no_good{background-position:70% 20%}.em.em-information_desk_person{background-position:45% 85%}.em.em-raising_hand{background-position:70% 72.5%}.em.em-bride_with_veil{background-position:42.5% 20%}.em.em-person_with_pouting_face{background-position:72.5% 15%}.em.em-person_frowning{background-position:72.5% 0}.em.em-bow{background-position:70% 50%}.em.em-couplekiss{background-position:47.5% 90%}.em.em-couple_with_heart{background-position:47.5% 95%}.em.em-massage{background-position:47.5% 45%}.em.em-haircut{background-position:47.5% 60%}.em.em-nail_care{background-position:47.5% 30%}.em.em-boy{background-position:40% 35%}.em.em-girl{background-position:40% 50%}.em.em-woman{background-position:40% 80%}.em.em-man{background-position:40% 65%}.em.em-baby{background-position:45% 7.5%}.em.em-older_woman{background-position:42.5% 95%}.em.em-older_man{background-position:42.5% 80%}.em.em-person_with_blond_hair{background-position:42.5% 35%}.em.em-man_with_gua_pi_mao{background-position:42.5% 50%}.em.em-man_with_turban{background-position:42.5% 65%}.em.em-construction_worker{background-position:45% 22.5%}.em.em-cop{background-position:42.5% 2.5%}.em.em-angel{background-position:45% 60%}.em.em-princess{background-position:45% 37.5%}.em.em-smiley_cat{background-position:67.5% 92.5%}.em.em-smile_cat{background-position:67.5% 87.5%}.em.em-heart_eyes_cat{background-position:67.5% 95%}.em.em-kissing_cat{background-position:67.5% 100%}.em.em-smirk_cat{background-position:67.5% 97.5%}.em.em-scream_cat{background-position:70% 5%}.em.em-crying_cat_face{background-position:70% 2.5%}.em.em-joy_cat{background-position:67.5% 90%}.em.em-pouting_cat{background-position:70% 0}.em.em-japanese_ogre{background-position:45% 50%}.em.em-japanese_goblin{background-position:45% 52.5%}.em.em-see_no_evil{background-position:70% 62.5%}.em.em-hear_no_evil{background-position:70% 65%}.em.em-speak_no_evil{background-position:70% 67.5%}.em.em-guardsman{background-position:45% 100%}.em.em-skull{background-position:45% 80%}.em.em-feet{background-position:32.5% 77.5%}.em.em-lips{background-position:35% 15%}.em.em-kiss{background-position:47.5% 80%}.em.em-droplet{background-position:50% 47.5%}.em.em-ear{background-position:32.5% 90%}.em.em-eyes{background-position:32.5% 82.5%}.em.em-nose{background-position:35% 2.5%}.em.em-tongue{background-position:35% 17.5%}.em.em-love_letter{background-position:47.5% 82.5%}.em.em-bust_in_silhouette{background-position:40% 27.5%}.em.em-busts_in_silhouette{background-position:40% 30%}.em.em-speech_balloon{background-position:50% 72.5%}.em.em-thought_balloon{background-position:50% 75%}.em.em-cat{background-position:32.5% 45%}.em.em-dog{background-position:32.5% 57.5%}.em.em-mouse{background-position:32.5% 35%}.em.em-hamster{background-position:32.5% 65%}.em.em-rabbit{background-position:32.5% 42.5%}.em.em-wolf{background-position:32.5% 67.5%}.em.em-frog{background-position:32.5% 62.5%}.em.em-tiger{background-position:32.5% 40%}.em.em-koala{background-position:32.5% 22.5%}.em.em-bear{background-position:32.5% 70%}.em.em-pig{background-position:32.5% 60%}.em.em-pig_nose{background-position:32.5% 75%}.em.em-cow{background-position:32.5% 37.5%}.em.em-boar{background-position:30% 82.5%}.em.em-monkey_face{background-position:32.5% 55%}.em.em-monkey{background-position:30% 70%}.em.em-horse{background-position:32.5% 52.5%}.em.em-racehorse{background-position:30% 60%}.em.em-camel{background-position:32.5% 30%}.em.em-sheep{background-position:30% 67.5%}.em.em-elephant{background-position:30% 85%}.em.em-panda_face{background-position:32.5% 72.5%}.em.em-snake{background-position:30% 57.5%}.em.em-bird{background-position:32.5% 17.5%}.em.em-baby_chick{background-position:32.5% 12.5%}.em.em-hatched_chick{background-position:32.5% 15%}.em.em-hatching_chick{background-position:32.5% 10%}.em.em-chicken{background-position:30% 75%}.em.em-penguin{background-position:32.5% 20%}.em.em-turtle{background-position:32.5% 7.5%}.em.em-bug{background-position:30% 92.5%}.em.em-honeybee{background-position:30% 97.5%}.em.em-ant{background-position:30% 95%}.em.em-beetle{background-position:30% 100%}.em.em-snail{background-position:30% 55%}.em.em-octopus{background-position:30% 87.5%}.em.em-tropical_fish{background-position:32.5% 2.5%}.em.em-fish{background-position:32.5% 0}.em.em-whale{background-position:32.5% 50%}.em.em-whale2{background-position:30% 52.5%}.em.em-dolphin{background-position:32.5% 32.5%}.em.em-cow2{background-position:30% 35%}.em.em-ram{background-position:30% 62.5%}.em.em-rat{background-position:30% 25%}.em.em-water_buffalo{background-position:30% 32.5%}.em.em-tiger2{background-position:30% 37.5%}.em.em-rabbit2{background-position:30% 42.5%}.em.em-dragon{background-position:30% 47.5%}.em.em-goat{background-position:30% 65%}.em.em-rooster{background-position:30% 72.5%}.em.em-dog2{background-position:30% 77.5%}.em.em-pig2{background-position:30% 80%}.em.em-mouse2{background-position:30% 27.5%}.em.em-ox{background-position:30% 30%}.em.em-dragon_face{background-position:32.5% 47.5%}.em.em-blowfish{background-position:32.5% 5%}.em.em-crocodile{background-position:30% 50%}.em.em-dromedary_camel{background-position:32.5% 27.5%}.em.em-leopard{background-position:30% 40%}.em.em-cat2{background-position:30% 45%}.em.em-poodle{background-position:32.5% 25%}.em.em-paw_prints{background-position:32.5% 77.5%}.em.em-bouquet{background-position:47.5% 92.5%}.em.em-shell{background-position:30% 90%}.em.em-waxing_gibbous_moon{background-position:15% 0}.em.em-gift_heart{background-position:50% 22.5%}.em.em-ghost{background-position:45% 55%}.em.em-santa{background-position:20% 75%}.em.em-bell{background-position:57.5% 22.5%}.em.em-no_bell{background-position:57.5% 25%}.em.em-crystal_ball{background-position:57.5% 87.5%}.em.em-cd{background-position:52.5% 17.5%}.em.em-dvd{background-position:52.5% 20%}.em.em-floppy_disk{background-position:52.5% 15%}.em.em-camera{background-position:55% 55%}.em.em-video_camera{background-position:55% 60%}.em.em-computer{background-position:52.5% 7.5%}.em.em-tv{background-position:55% 62.5%}.em.em-iphone{background-position:55% 40%}.em.em-telephone_receiver{background-position:52.5% 95%}.em.em-pager{background-position:52.5% 97.5%}.em.em-fax{background-position:52.5% 100%}.em.em-minidisc{background-position:52.5% 12.5%}.em.em-vhs{background-position:55% 67.5%}.em.em-sound,.em.em-speaker{background-position:55% 97.5%}.em.em-mute{background-position:55% 92.5%}.em.em-loudspeaker{background-position:55% 2.5%}.em.em-mega{background-position:55% 5%}.em.em-radio{background-position:55% 65%}.em.em-satellite{background-position:80% 10%}.em.em-satellite_antenna{background-position:55% 0}.em.em-mag{background-position:57.5% 5%}.em.em-mag_right{background-position:57.5% 7.5%}.em.em-unlock{background-position:57.5% 20%}.em.em-lock{background-position:57.5% 17.5%}.em.em-lock_with_ink_pen{background-position:57.5% 10%}.em.em-closed_lock_with_key{background-position:57.5% 12.5%}.em.em-key{background-position:57.5% 15%}.em.em-bulb{background-position:50% 32.5%}.em.em-flashlight{background-position:57.5% 67.5%}.em.em-high_brightness{background-position:55% 90%}.em.em-low_brightness{background-position:55% 87.5%}.em.em-electric_plug{background-position:57.5% 2.5%}.em.em-battery{background-position:57.5% 0}.em.em-calling{background-position:55% 42.5%}.em.em-mailbox{background-position:55% 25%}.em.em-postbox{background-position:55% 32.5%}.em.em-bath{background-position:77.5% 47.5%}.em.em-bathtub{background-position:77.5% 62.5%}.em.em-shower{background-position:77.5% 45%}.em.em-toilet{background-position:77.5% 40%}.em.em-wrench{background-position:57.5% 70%}.em.em-nut_and_bolt{background-position:57.5% 75%}.em.em-hammer{background-position:57.5% 72.5%}.em.em-seat{background-position:52.5% 5%}.em.em-moneybag{background-position:50% 82.5%}.em.em-yen{background-position:50% 92.5%}.em.em-dollar{background-position:50% 95%}.em.em-pound{background-position:50% 100%}.em.em-euro{background-position:50% 97.5%}.em.em-credit_card{background-position:50% 90%}.em.em-money_with_wings{background-position:52.5% 0}.em.em-e-mail{background-position:55% 15%}.em.em-inbox_tray{background-position:55% 10%}.em.em-outbox_tray{background-position:55% 7.5%}.em.em-envelope{background-position:7.5% 20%}.em.em-incoming_envelope{background-position:55% 17.5%}.em.em-postal_horn{background-position:55% 35%}.em.em-mailbox_closed{background-position:55% 22.5%}.em.em-mailbox_with_mail{background-position:55% 27.5%}.em.em-mailbox_with_no_mail{background-position:55% 30%}.em.em-package{background-position:55% 12.5%}.em.em-door{background-position:75% 57.5%}.em.em-smoking{background-position:75% 62.5%}.em.em-bomb{background-position:50% 37.5%}.em.em-gun{background-position:57.5% 80%}.em.em-hocho{background-position:57.5% 77.5%}.em.em-pill{background-position:47.5% 77.5%}.em.em-syringe{background-position:47.5% 75%}.em.em-page_facing_up{background-position:52.5% 30%}.em.em-page_with_curl{background-position:52.5% 27.5%}.em.em-bookmark_tabs{background-position:52.5% 62.5%}.em.em-bar_chart{background-position:52.5% 45%}.em.em-chart_with_upwards_trend{background-position:52.5% 40%}.em.em-chart_with_downwards_trend{background-position:52.5% 42.5%}.em.em-scroll{background-position:52.5% 90%}.em.em-clipboard{background-position:52.5% 47.5%}.em.em-calendar{background-position:52.5% 35%}.em.em-date{background-position:52.5% 32.5%}.em.em-card_index{background-position:52.5% 37.5%}.em.em-file_folder{background-position:52.5% 22.5%}.em.em-open_file_folder{background-position:52.5% 25%}.em.em-pushpin{background-position:52.5% 50%}.em.em-paperclip{background-position:52.5% 55%}.em.em-straight_ruler{background-position:52.5% 57.5%}.em.em-triangular_ruler{background-position:52.5% 60%}.em.em-closed_book{background-position:52.5% 72.5%}.em.em-green_book{background-position:52.5% 77.5%}.em.em-blue_book{background-position:52.5% 80%}.em.em-orange_book{background-position:52.5% 82.5%}.em.em-notebook{background-position:52.5% 67.5%}.em.em-notebook_with_decorative_cover{background-position:52.5% 70%}.em.em-ledger{background-position:52.5% 65%}.em.em-books{background-position:52.5% 85%}.em.em-bookmark{background-position:57.5% 27.5%}.em.em-name_badge{background-position:52.5% 87.5%}.em.em-microscope{background-position:57.5% 82.5%}.em.em-telescope{background-position:57.5% 85%}.em.em-newspaper{background-position:55% 37.5%}.em.em-football{background-position:25% 72.5%}.em.em-rugby_football{background-position:25% 75%}.em.em-mountain_bicyclist{background-position:75% 97.5%}.em.em-bicyclist{background-position:75% 82.5%}.em.em-swimmer{background-position:25% 77.5%}.em.em-gem{background-position:47.5% 87.5%}.em.em-ring{background-position:47.5% 85%}.em.em-space_invader{background-position:45% 75%}.em.em-memo,.em.em-pencil{background-position:52.5% 92.5%}.em.em-book{background-position:52.5% 75%}.em.em-shoe{background-position:40% 12.5%}.em.em-sandal{background-position:40% 20%}.em.em-high_heel{background-position:40% 17.5%}.em.em-lipstick{background-position:47.5% 25%}.em.em-boot{background-position:40% 22.5%}.em.em-shirt,.em.em-tshirt{background-position:37.5% 92.5%}.em.em-necktie{background-position:37.5% 90%}.em.em-womans_clothes{background-position:40% 2.5%}.em.em-dress{background-position:37.5% 97.5%}.em.em-jeans{background-position:37.5% 95%}.em.em-kimono{background-position:37.5% 100%}.em.em-bikini{background-position:40% 0}.em.em-crown{background-position:37.5% 82.5%}.em.em-womans_hat{background-position:37.5% 85%}.em.em-mans_shoe{background-position:40% 12.5%}.em.em-briefcase{background-position:52.5% 10%}.em.em-handbag{background-position:40% 7.5%}.em.em-pouch{background-position:40% 10%}.em.em-purse{background-position:40% 5%}.em.em-eyeglasses{background-position:37.5% 87.5%}.em.em-house{background-position:27.5% 55%}.em.em-house_with_garden{background-position:27.5% 57.5%}.em.em-school{background-position:27.5% 82.5%}.em.em-office{background-position:27.5% 60%}.em.em-post_office{background-position:27.5% 62.5%}.em.em-hospital{background-position:27.5% 67.5%}.em.em-bank{background-position:27.5% 70%}.em.em-convenience_store{background-position:27.5% 80%}.em.em-love_hotel{background-position:27.5% 77.5%}.em.em-hotel{background-position:27.5% 75%}.em.em-wedding{background-position:47.5% 97.5%}.em.em-department_store{background-position:27.5% 85%}.em.em-european_post_office{background-position:27.5% 65%}.em.em-japanese_castle{background-position:27.5% 92.5%}.em.em-european_castle{background-position:27.5% 95%}.em.em-factory{background-position:27.5% 87.5%}.em.em-tokyo_tower{background-position:65% 40%}.em.em-japan{background-position:65% 45%}.em.em-mount_fuji{background-position:65% 37.5%}.em.em-statue_of_liberty{background-position:65% 42.5%}.em.em-ship{background-position:75% 25%}.em.em-speedboat{background-position:75% 42.5%}.em.em-rowboat{background-position:75% 27.5%}.em.em-rocket{background-position:72.5% 42.5%}.em.em-helicopter{background-position:72.5% 45%}.em.em-steam_locomotive{background-position:72.5% 47.5%}.em.em-tram{background-position:72.5% 67.5%}.em.em-mountain_railway{background-position:75% 15%}.em.em-bike{background-position:75% 77.5%}.em.em-aerial_tramway{background-position:75% 22.5%}.em.em-suspension_railway{background-position:75% 17.5%}.em.em-mountain_cableway{background-position:75% 20%}.em.em-tractor{background-position:75% 10%}.em.em-blue_car{background-position:75% 2.5%}.em.em-oncoming_automobile{background-position:75% 0}.em.em-car,.em.em-red_car{background-position:72.5% 100%}.em.em-taxi{background-position:72.5% 95%}.em.em-oncoming_taxi{background-position:72.5% 97.5%}.em.em-articulated_lorry{background-position:75% 7.5%}.em.em-bus{background-position:72.5% 72.5%}.em.em-oncoming_bus{background-position:72.5% 75%}.em.em-rotating_light{background-position:75% 52.5%}.em.em-police_car{background-position:72.5% 90%}.em.em-oncoming_police_car{background-position:72.5% 92.5%}.em.em-fire_engine{background-position:72.5% 87.5%}.em.em-ambulance{background-position:72.5% 85%}.em.em-minibus{background-position:72.5% 82.5%}.em.em-truck{background-position:75% 5%}.em.em-train{background-position:72.5% 70%}.em.em-station{background-position:72.5% 65%}.em.em-bullettrain_front,.em.em-train2{background-position:72.5% 57.5%}.em.em-bullettrain_side{background-position:72.5% 52.5%}.em.em-light_rail{background-position:72.5% 62.5%}.em.em-monorail{background-position:75% 12.5%}.em.em-railway_car{background-position:72.5% 50%}.em.em-trolleybus{background-position:72.5% 77.5%}.em.em-vertical_traffic_light{background-position:75% 47.5%}.em.em-traffic_light{background-position:75% 45%}.em.em-construction{background-position:75% 50%}.em.em-beginner{background-position:57.5% 92.5%}.em.em-atm{background-position:27.5% 72.5%}.em.em-busstop{background-position:72.5% 80%}.em.em-barber{background-position:47.5% 72.5%}.em.em-izakaya_lantern{background-position:27.5% 90%}.em.em-moyai{background-position:65% 47.5%}.em.em-round_pushpin{background-position:52.5% 52.5%}.em.em-triangular_flag_on_post{background-position:75% 55%}.em.em-jp{background-position:87.5% 85%}.em.em-kr{background-position:90% 2.5%}.em.em-cn{background-position:85% 10%}.em.em-us{background-position:95% 77.5%}.em.em-fr{background-position:85% 87.5%}.em.em-es{background-position:85% 67.5%}.em.em-it{background-position:87.5% 75%}.em.em-ru{background-position:92.5% 72.5%}.em.em-gb,.em.em-uk{background-position:85% 92.5%}.em.em-de{background-position:85% 35%}.em.em-one{background-position:80% 72.5%}.em.em-two{background-position:80% 75%}.em.em-three{background-position:80% 77.5%}.em.em-four{background-position:80% 80%}.em.em-five{background-position:80% 82.5%}.em.em-six{background-position:80% 85%}.em.em-seven{background-position:80% 87.5%}.em.em-eight{background-position:80% 90%}.em.em-nine{background-position:80% 92.5%}.em.em-keycap_ten{background-position:57.5% 50%}.em.em-1234{background-position:57.5% 57.5%}.em.em-zero{background-position:80% 70%}.em.em-hash{background-position:80% 65%}.em.em-symbols{background-position:57.5% 60%}.em.em-arrow_left{background-position:0 87.5%}.em.em-capital_abcd{background-position:57.5% 52.5%}.em.em-abcd{background-position:57.5% 55%}.em.em-abc{background-position:57.5% 62.5%}.em.em-arrow_down_small{background-position:60% 22.5%}.em.em-arrow_up_small{background-position:60% 20%}.em.em-arrows_clockwise{background-position:55% 82.5%}.em.em-arrows_counterclockwise{background-position:55% 85%}.em.em-twisted_rightwards_arrows{background-position:55% 75%}.em.em-repeat{background-position:55% 77.5%}.em.em-repeat_one{background-position:55% 80%}.em.em-top{background-position:57.5% 45%}.em.em-signal_strength{background-position:55% 52.5%}.em.em-restroom{background-position:77.5% 35%}.em.em-mens{background-position:77.5% 30%}.em.em-womens{background-position:77.5% 32.5%}.em.em-baby_symbol{background-position:77.5% 37.5%}.em.em-no_smoking{background-position:75% 65%}.em.em-metro{background-position:72.5% 60%}.em.em-baggage_claim{background-position:77.5% 70%}.em.em-wc{background-position:77.5% 42.5%}.em.em-potable_water{background-position:75% 72.5%}.em.em-put_litter_in_its_place{background-position:75% 67.5%}.em.em-passport_control{background-position:77.5% 65%}.em.em-left_luggage{background-position:77.5% 72.5%}.em.em-customs{background-position:77.5% 67.5%}.em.em-no_entry_sign{background-position:75% 60%}.em.em-underage{background-position:57.5% 47.5%}.em.em-no_mobile_phones{background-position:55% 50%}.em.em-do_not_litter{background-position:75% 70%}.em.em-non-potable_water{background-position:75% 75%}.em.em-no_bicycles{background-position:75% 80%}.em.em-no_pedestrians{background-position:77.5% 25%}.em.em-children_crossing{background-position:77.5% 27.5%}.em.em-heart_decoration{background-position:50% 27.5%}.em.em-vibration_mode{background-position:55% 45%}.em.em-mobile_phone_off{background-position:55% 47.5%}.em.em-chart{background-position:52.5% 2.5%}.em.em-currency_exchange{background-position:50% 85%}.em.em-six_pointed_star{background-position:57.5% 90%}.em.em-diamond_shape_with_a_dot_inside{background-position:50% 30%}.em.em-end{background-position:57.5% 37.5%}.em.em-back{background-position:57.5% 35%}.em.em-on{background-position:57.5% 40%}.em.em-soon{background-position:57.5% 42.5%}.em.em-clock1{background-position:60% 40%}.em.em-clock130{background-position:60% 70%}.em.em-clock10{background-position:60% 62.5%}.em.em-clock1030{background-position:60% 92.5%}.em.em-clock11,.em.em-clock1130{background-position:60% 65%}.em.em-clock12{background-position:60% 67.5%}.em.em-clock1230{background-position:60% 97.5%}.em.em-clock2{background-position:60% 42.5%}.em.em-clock230{background-position:60% 72.5%}.em.em-clock3{background-position:60% 45%}.em.em-clock330{background-position:60% 75%}.em.em-clock4{background-position:60% 47.5%}.em.em-clock430{background-position:60% 77.5%}.em.em-clock5{background-position:60% 50%}.em.em-clock530{background-position:60% 80%}.em.em-clock6{background-position:60% 52.5%}.em.em-clock630{background-position:60% 82.5%}.em.em-clock7{background-position:60% 55%}.em.em-clock730{background-position:60% 85%}.em.em-clock8{background-position:60% 57.5%}.em.em-clock830{background-position:60% 87.5%}.em.em-clock9{background-position:60% 60%}.em.em-clock930{background-position:60% 90%}.em.em-heavy_dollar_sign{background-position:50% 87.5%}.em.em-heavy_exclamation_mark{background-position:10% 20%}.em.em-white_flower{background-position:50% 77.5%}.em.em-100{background-position:50% 80%}.em.em-radio_button{background-position:57.5% 32.5%}.em.em-link{background-position:57.5% 30%}.em.em-trident{background-position:57.5% 95%}.em.em-black_square_button{background-position:57.5% 97.5%}.em.em-white_square_button{background-position:57.5% 100%}.em.em-red_circle{background-position:60% 0}.em.em-large_blue_circle{background-position:60% 2.5%}.em.em-large_blue_diamond{background-position:60% 7.5%}.em.em-large_orange_diamond{background-position:60% 5%}.em.em-small_blue_diamond{background-position:60% 12.5%}.em.em-small_orange_diamond{background-position:60% 10%}.em.em-small_red_triangle{background-position:60% 15%}.em.em-small_red_triangle_down{background-position:60% 17.5%}.em{background:url(../img/sheet_emojione_64_indexed_128.5953c7ea.png)}.em.em-hand,.em.em-raised_hand{background-position:7.5% 37.5%}.em.em-phone{background-position:2.5% 12.5%}.em{background:url(../img/sheet_facebook_64_indexed_128.f1911246.png)}.em.em-boat,.em.em-sailboat{background-position:5% 87.5%}.em{background-image:url(../img/look.62b51bae.png)!important}.em.em-tlj-1{background-position:0 0}.em.em-tlj-2{background-position:0 2.5%}.em.em-tlj-3{background-position:0 5%}.em.em-tlj-4{background-position:0 7.5%}.em.em-tlj-5{background-position:0 10%}.em.em-tlj-6{background-position:0 12.5%}.em.em-tlj-7{background-position:0 15%}.em.em-tlj-8{background-position:0 17.5%}.em.em-tlj-9{background-position:0 20%}.em.em-tlj-10{background-position:0 22.5%}.em.em-tlj-11{background-position:0 25%}.em.em-tlj-12{background-position:0 27.5%}.em.em-tlj-13{background-position:0 30%}.em.em-tlj-14{background-position:0 32.5%}.em.em-tlj-15{background-position:0 35%}.em.em-tlj-16{background-position:0 37.5%}.em.em-tlj-17{background-position:0 40%}.em.em-tlj-18{background-position:0 42.5%}.em.em-tlj-19{background-position:0 45%}.em.em-tlj-20{background-position:0 47.5%}.em.em-tlj-21{background-position:0 50%}.em.em-tlj-22{background-position:0 52.5%}.em.em-tlj-23{background-position:0 55%}.em.em-tlj-24{background-position:0 57.5%}.em.em-tlj-25{background-position:0 60%}.em.em-tlj-26{background-position:0 62.5%}.em.em-tlj-27{background-position:0 65%}.em.em-tlj-28{background-position:0 67.5%}.em.em-tlj-29{background-position:0 70%}.em.em-tlj-30{background-position:0 72.5%}.em.em-tlj-31{background-position:0 75%}.em.em-tlj-32{background-position:0 77.5%}.em.em-tlj-33{background-position:0 80%}.em.em-tlj-34{background-position:0 82.5%}.em.em-tlj-35{background-position:0 85%}.em.em-tlj-36{background-position:0 87.5%}.em.em-tlj-37{background-position:0 90%}.em.em-tlj-38{background-position:0 92.5%}.em.em-tlj-39{background-position:0 95%}.em.em-tlj-40{background-position:0 97.5%}.em.em-tlj-41{background-position:0 100%}.em.em-tlj-42{background-position:2.5% 0}.em.em-tlj-43{background-position:2.5% 2.5%}.em.em-tlj-44{background-position:2.5% 5%}.em.em-tlj-45{background-position:2.5% 7.5%}.em.em-tlj-46{background-position:2.5% 10%}.em.em-tlj-47{background-position:2.5% 12.5%}.em.em-tlj-48{background-position:2.5% 15%}.em.em-tlj-49{background-position:2.5% 17.5%}.em.em-tlj-50{background-position:2.5% 20%}.em.em-tlj-51{background-position:2.5% 22.5%}.em.em-tlj-52{background-position:2.5% 25%}.em.em-tlj-53{background-position:2.5% 27.5%}.em.em-tlj-54{background-position:2.5% 30%}.em.em-tlj-55{background-position:2.5% 32.5%}.em.em-tlj-56{background-position:2.5% 35%}.em.em-tlj-57{background-position:2.5% 37.5%}.em.em-tlj-58{background-position:2.5% 40%}.em.em-tlj-59{background-position:2.5% 42.5%}.em.em-tlj-60{background-position:2.5% 45%}.em.em-tlj-61{background-position:2.5% 47.5%}.em.em-tlj-62{background-position:2.5% 50%}.em.em-tlj-63{background-position:2.5% 52.5%}.em.em-tlj-64{background-position:2.5% 55%}.em.em-tlj-65{background-position:2.5% 57.5%}.em.em-tlj-66{background-position:2.5% 60%}.em.em-tlj-67{background-position:2.5% 62.5%}.em.em-tlj-68{background-position:2.5% 65%}.em.em-tlj-69{background-position:2.5% 67.5%}.em.em-tlj-70{background-position:2.5% 70%}.em.em-tlj-71{background-position:2.5% 72.5%}.em.em-tlj-72{background-position:2.5% 75%}.em.em-tlj-73{background-position:2.5% 77.5%}.em.em-tlj-74{background-position:2.5% 80%}.em.em-tlj-75{background-position:2.5% 82.5%}.em.em-tlj-76{background-position:2.5% 85%}.em.em-tlj-77{background-position:2.5% 87.5%}.em.em-tlj-78{background-position:2.5% 90%}.em.em-tlj-79{background-position:2.5% 92.5%}.em.em-tlj-80{background-position:2.5% 95%}.em.em-tlj-81{background-position:2.5% 97.5%}.em.em-tlj-82{background-position:2.5% 100%}.em.em-tlj-83{background-position:5% 0}.em.em-tlj-84{background-position:5% 2.5%}.em.em-tlj-85{background-position:5% 5%}.em.em-tlj-86{background-position:5% 7.5%}.em.em-tlj-87{background-position:5% 10%}.em.em-tlj-88{background-position:5% 12.5%}.em.em-tlj-89{background-position:5% 15%}.em.em-tlj-90{background-position:5% 17.5%}.em.em-tlj-91{background-position:5% 20%}.em.em-tlj-92{background-position:5% 22.5%}.em.em-tlj-93{background-position:5% 25%}.em.em-tlj-94{background-position:5% 27.5%}.em.em-tlj-95{background-position:5% 30%}.em.em-tlj-96{background-position:5% 32.5%}.em{background:url(../img/sheet_messenger_64_indexed_128.68a885d7.png)}.em.em-bee{background-position:30% 85%}.em.em-car,.em.em-red_car{background-position:72.5% 87.5%}.em{display:inline-block;height:1em;width:1em;overflow:hidden;line-height:18px;font-size:22px;vertical-align:middle;margin-top:-4px;color:transparent!important;background:url(../img/sheet_twitter_64_indexed_128.0ebbf2e8.png);background-size:4100%}.em.em-grinning{background-position:65% 37.5%}.em.em-grimacing{background-position:67.5% 45%}.em.em-grin{background-position:65% 40%}.em.em-joy{background-position:65% 42.5%}.em.em-smiley{background-position:65% 45%}.em.em-smile{background-position:65% 47.5%}.em.em-sweat_smile{background-position:65% 50%}.em.em-laughing,.em.em-satisfied{background-position:65% 52.5%}.em.em-innocent{background-position:65% 55%}.em.em-wink{background-position:65% 60%}.em.em-blush{background-position:65% 62.5%}.em.em-slightly_smiling_face{background-position:67.5% 100%}.em.em-upside_down_face{background-position:70% 0}.em.em-relaxed{background-position:2.5% 62.5%}.em.em-yum{background-position:65% 65%}.em.em-relieved{background-position:65% 67.5%}.em.em-heart_eyes{background-position:65% 70%}.em.em-kissing_heart{background-position:65% 97.5%}.em.em-kissing{background-position:65% 95%}.em.em-kissing_smiling_eyes{background-position:65% 100%}.em.em-kissing_closed_eyes{background-position:67.5% 0}.em.em-stuck_out_tongue_winking_eye{background-position:67.5% 5%}.em.em-stuck_out_tongue_closed_eyes{background-position:67.5% 7.5%}.em.em-stuck_out_tongue{background-position:67.5% 2.5%}.em.em-money_mouth_face{background-position:80% 5%}.em.em-nerd_face{background-position:80% 10%}.em.em-sunglasses{background-position:65% 72.5%}.em.em-hugging_face{background-position:80% 20%}.em.em-smirk{background-position:65% 75%}.em.em-no_mouth{background-position:67.5% 70%}.em.em-neutral_face{background-position:65% 77.5%}.em.em-expressionless{background-position:65% 80%}.em.em-unamused{background-position:65% 82.5%}.em.em-face_with_rolling_eyes{background-position:70% 2.5%}.em.em-thinking_face{background-position:80% 12.5%}.em.em-flushed{background-position:67.5% 62.5%}.em.em-disappointed{background-position:67.5% 10%}.em.em-worried{background-position:67.5% 12.5%}.em.em-angry{background-position:67.5% 15%}.em.em-rage{background-position:67.5% 17.5%}.em.em-pensive{background-position:65% 87.5%}.em.em-confused{background-position:65% 90%}.em.em-slightly_frowning_face{background-position:67.5% 97.5%}.em.em-white_frowning_face{background-position:2.5% 60%}.em.em-persevere{background-position:67.5% 22.5%}.em.em-confounded{background-position:65% 92.5%}.em.em-tired_face{background-position:67.5% 42.5%}.em.em-weary{background-position:67.5% 37.5%}.em.em-triumph{background-position:67.5% 25%}.em.em-open_mouth{background-position:67.5% 50%}.em.em-scream{background-position:67.5% 57.5%}.em.em-fearful{background-position:67.5% 35%}.em.em-cold_sweat{background-position:67.5% 55%}.em.em-hushed{background-position:67.5% 52.5%}.em.em-frowning{background-position:67.5% 30%}.em.em-anguished{background-position:67.5% 32.5%}.em.em-cry{background-position:67.5% 20%}.em.em-disappointed_relieved{background-position:67.5% 27.5%}.em.em-sleepy{background-position:67.5% 40%}.em.em-sweat{background-position:65% 85%}.em.em-sob{background-position:67.5% 47.5%}.em.em-dizzy_face{background-position:67.5% 67.5%}.em.em-astonished{background-position:67.5% 60%}.em.em-zipper_mouth_face{background-position:80% 2.5%}.em.em-mask{background-position:67.5% 72.5%}.em.em-face_with_thermometer{background-position:80% 7.5%}.em.em-face_with_head_bandage{background-position:80% 15%}.em.em-sleeping{background-position:67.5% 65%}.em.em-zzz{background-position:50% 27.5%}.em.em-hankey,.em.em-poop,.em.em-shit{background-position:50% 40%}.em.em-smiling_imp{background-position:65% 57.5%}.em.em-imp{background-position:45% 65%}.em.em-japanese_ogre{background-position:45% 37.5%}.em.em-japanese_goblin{background-position:45% 40%}.em.em-skull{background-position:45% 67.5%}.em.em-ghost{background-position:45% 42.5%}.em.em-alien{background-position:45% 60%}.em.em-robot_face{background-position:80% 17.5%}.em.em-smiley_cat{background-position:67.5% 80%}.em.em-smile_cat{background-position:67.5% 75%}.em.em-joy_cat{background-position:67.5% 77.5%}.em.em-heart_eyes_cat{background-position:67.5% 82.5%}.em.em-smirk_cat{background-position:67.5% 85%}.em.em-kissing_cat{background-position:67.5% 87.5%}.em.em-scream_cat{background-position:67.5% 95%}.em.em-crying_cat_face{background-position:67.5% 92.5%}.em.em-pouting_cat{background-position:67.5% 90%}.em.em-raised_hands{background-position:70% 72.5%}.em.em-clap{background-position:37.5% 40%}.em.em-wave{background-position:35% 82.5%}.em.em---1,.em.em-thumbsup{background-position:37.5% 10%}.em.em--1,.em.em-thumbsdown{background-position:37.5% 25%}.em.em-facepunch,.em.em-punch{background-position:35% 67.5%}.em.em-fist{background-position:7.5% 22.5%}.em.em-v{background-position:7.5% 52.5%}.em.em-ok_hand{background-position:35% 97.5%}.em.em-hand,.em.em-raised_hand{background-position:7.5% 37.5%}.em.em-open_hands{background-position:37.5% 55%}.em.em-muscle{background-position:50% 42.5%}.em.em-pray{background-position:72.5% 15%}.em.em-point_up{background-position:2.5% 25%}.em.em-point_up_2{background-position:35% 7.5%}.em.em-point_down{background-position:35% 22.5%}.em.em-point_left{background-position:35% 37.5%}.em.em-point_right{background-position:35% 52.5%}.em.em-middle_finger{background-position:62.5% 47.5%}.em.em-raised_hand_with_fingers_splayed{background-position:62.5% 32.5%}.em.em-the_horns{background-position:80% 22.5%}.em.em-spock-hand{background-position:62.5% 62.5%}.em.em-writing_hand{background-position:7.5% 67.5%}.em.em-nail_care{background-position:47.5% 15%}.em.em-lips{background-position:35% 2.5%}.em.em-tongue{background-position:35% 5%}.em.em-ear{background-position:32.5% 75%}.em.em-nose{background-position:32.5% 90%}.em.em-eye{background-position:32.5% 72.5%}.em.em-eyes{background-position:32.5% 70%}.em.em-bust_in_silhouette{background-position:40% 15%}.em.em-busts_in_silhouette{background-position:40% 17.5%}.em.em-speaking_head_in_silhouette{background-position:65% 12.5%}.em.em-baby{background-position:42.5% 95%}.em.em-boy{background-position:40% 20%}.em.em-girl{background-position:40% 35%}.em.em-man{background-position:40% 50%}.em.em-woman{background-position:40% 65%}.em.em-person_with_blond_hair{background-position:42.5% 20%}.em.em-older_man{background-position:42.5% 65%}.em.em-older_woman{background-position:42.5% 80%}.em.em-man_with_gua_pi_mao{background-position:42.5% 35%}.em.em-man_with_turban{background-position:42.5% 50%}.em.em-cop{background-position:40% 90%}.em.em-construction_worker{background-position:45% 7.5%}.em.em-guardsman{background-position:45% 85%}.em.em-sleuth_or_spy{background-position:60% 97.5%}.em.em-santa{background-position:20% 72.5%}.em.em-angel{background-position:45% 45%}.em.em-princess{background-position:45% 22.5%}.em.em-bride_with_veil{background-position:42.5% 5%}.em.em-walking{background-position:75% 100%}.em.em-runner,.em.em-running{background-position:25% 22.5%}.em.em-dancer{background-position:45% 100%}.em.em-dancers{background-position:42.5% 2.5%}.em.em-couple{background-position:40% 82.5%}.em.em-two_men_holding_hands{background-position:40% 85%}.em.em-two_women_holding_hands{background-position:40% 87.5%}.em.em-bow{background-position:70% 35%}.em.em-information_desk_person{background-position:45% 70%}.em.em-no_good{background-position:70% 5%}.em.em-ok_woman{background-position:70% 20%}.em.em-raising_hand{background-position:70% 57.5%}.em.em-person_with_pouting_face{background-position:72.5% 0}.em.em-person_frowning{background-position:70% 87.5%}.em.em-haircut{background-position:47.5% 45%}.em.em-massage{background-position:47.5% 30%}.em.em-couple_with_heart{background-position:47.5% 82.5%}.em.em-woman-heart-woman{background-position:97.5% 47.5%}.em.em-man-heart-man{background-position:97.5% 30%}.em.em-couplekiss{background-position:47.5% 77.5%}.em.em-woman-kiss-woman{background-position:97.5% 50%}.em.em-man-kiss-man{background-position:97.5% 32.5%}.em.em-family{background-position:40% 80%}.em.em-man-woman-girl{background-position:97.5% 22.5%}.em.em-man-woman-girl-boy{background-position:97.5% 25%}.em.em-man-woman-boy-boy{background-position:97.5% 20%}.em.em-man-woman-girl-girl{background-position:97.5% 27.5%}.em.em-woman-woman-boy{background-position:97.5% 35%}.em.em-woman-woman-girl{background-position:97.5% 40%}.em.em-woman-woman-girl-boy{background-position:97.5% 42.5%}.em.em-woman-woman-boy-boy{background-position:97.5% 37.5%}.em.em-woman-woman-girl-girl{background-position:97.5% 45%}.em.em-man-man-boy{background-position:97.5% 7.5%}.em.em-man-man-girl{background-position:97.5% 12.5%}.em.em-man-man-girl-boy{background-position:97.5% 15%}.em.em-man-man-boy-boy{background-position:97.5% 10%}.em.em-man-man-girl-girl{background-position:97.5% 17.5%}.em.em-womans_clothes{background-position:37.5% 92.5%}.em.em-shirt,.em.em-tshirt{background-position:37.5% 80%}.em.em-jeans{background-position:37.5% 82.5%}.em.em-necktie{background-position:37.5% 77.5%}.em.em-dress{background-position:37.5% 85%}.em.em-bikini{background-position:37.5% 90%}.em.em-kimono{background-position:37.5% 87.5%}.em.em-lipstick{background-position:47.5% 12.5%}.em.em-kiss{background-position:47.5% 67.5%}.em.em-footprints{background-position:40% 12.5%}.em.em-high_heel{background-position:40% 5%}.em.em-sandal{background-position:40% 7.5%}.em.em-boot{background-position:40% 10%}.em.em-mans_shoe,.em.em-shoe{background-position:40% 0}.em.em-athletic_shoe{background-position:40% 2.5%}.em.em-womans_hat{background-position:37.5% 72.5%}.em.em-tophat{background-position:22.5% 60%}.em.em-helmet_with_white_cross{background-position:5% 62.5%}.em.em-mortar_board{background-position:22.5% 17.5%}.em.em-crown{background-position:37.5% 70%}.em.em-school_satchel{background-position:22.5% 15%}.em.em-pouch{background-position:37.5% 100%}.em.em-purse{background-position:37.5% 95%}.em.em-handbag{background-position:37.5% 97.5%}.em.em-briefcase{background-position:50% 100%}.em.em-eyeglasses{background-position:37.5% 75%}.em.em-dark_sunglasses{background-position:62.5% 10%}.em.em-ring{background-position:47.5% 72.5%}.em.em-closed_umbrella{background-position:12.5% 57.5%}.em.em-dog{background-position:32.5% 45%}.em.em-cat{background-position:32.5% 32.5%}.em.em-mouse{background-position:32.5% 22.5%}.em.em-hamster{background-position:32.5% 52.5%}.em.em-rabbit{background-position:32.5% 30%}.em.em-bear{background-position:32.5% 57.5%}.em.em-panda_face{background-position:32.5% 60%}.em.em-koala{background-position:32.5% 10%}.em.em-tiger{background-position:32.5% 27.5%}.em.em-lion_face{background-position:80% 40%}.em.em-cow{background-position:32.5% 25%}.em.em-pig{background-position:32.5% 47.5%}.em.em-pig_nose{background-position:32.5% 62.5%}.em.em-frog{background-position:32.5% 50%}.em.em-octopus{background-position:30% 75%}.em.em-monkey_face{background-position:32.5% 42.5%}.em.em-see_no_evil{background-position:70% 50%}.em.em-hear_no_evil{background-position:70% 52.5%}.em.em-speak_no_evil{background-position:70% 55%}.em.em-monkey{background-position:30% 57.5%}.em.em-chicken{background-position:30% 62.5%}.em.em-penguin{background-position:32.5% 7.5%}.em.em-bird{background-position:32.5% 5%}.em.em-baby_chick{background-position:32.5% 0}.em.em-hatching_chick{background-position:30% 100%}.em.em-hatched_chick{background-position:32.5% 2.5%}.em.em-wolf{background-position:32.5% 55%}.em.em-boar{background-position:30% 70%}.em.em-horse{background-position:32.5% 40%}.em.em-unicorn_face{background-position:80% 47.5%}.em.em-bee,.em.em-honeybee{background-position:30% 85%}.em.em-bug{background-position:30% 80%}.em.em-snail{background-position:30% 42.5%}.em.em-beetle{background-position:30% 87.5%}.em.em-ant{background-position:30% 82.5%}.em.em-spider{background-position:62.5% 12.5%}.em.em-scorpion{background-position:80% 42.5%}.em.em-crab{background-position:80% 37.5%}.em.em-snake{background-position:30% 45%}.em.em-turtle{background-position:30% 97.5%}.em.em-tropical_fish{background-position:30% 92.5%}.em.em-fish{background-position:30% 90%}.em.em-blowfish{background-position:30% 95%}.em.em-dolphin{background-position:32.5% 20%}.em.em-whale{background-position:32.5% 37.5%}.em.em-whale2{background-position:30% 40%}.em.em-crocodile{background-position:30% 37.5%}.em.em-leopard{background-position:30% 27.5%}.em.em-tiger2{background-position:30% 25%}.em.em-water_buffalo{background-position:30% 20%}.em.em-ox{background-position:30% 17.5%}.em.em-cow2{background-position:30% 22.5%}.em.em-dromedary_camel{background-position:32.5% 15%}.em.em-camel{background-position:32.5% 17.5%}.em.em-elephant{background-position:30% 72.5%}.em.em-goat{background-position:30% 52.5%}.em.em-ram{background-position:30% 50%}.em.em-sheep{background-position:30% 55%}.em.em-racehorse{background-position:30% 47.5%}.em.em-pig2{background-position:30% 67.5%}.em.em-rat{background-position:30% 12.5%}.em.em-mouse2{background-position:30% 15%}.em.em-rooster{background-position:30% 60%}.em.em-turkey{background-position:80% 45%}.em.em-dove_of_peace{background-position:60% 15%}.em.em-dog2{background-position:30% 65%}.em.em-poodle{background-position:32.5% 12.5%}.em.em-cat2{background-position:30% 32.5%}.em.em-rabbit2{background-position:30% 30%}.em.em-chipmunk{background-position:32.5% 67.5%}.em.em-feet,.em.em-paw_prints{background-position:32.5% 65%}.em.em-dragon{background-position:30% 35%}.em.em-dragon_face{background-position:32.5% 35%}.em.em-cactus{background-position:15% 77.5%}.em.em-christmas_tree{background-position:20% 70%}.em.em-evergreen_tree{background-position:15% 70%}.em.em-deciduous_tree{background-position:15% 72.5%}.em.em-palm_tree{background-position:15% 75%}.em.em-seedling{background-position:15% 67.5%}.em.em-herb{background-position:17.5% 0}.em.em-shamrock{background-position:2.5% 22.5%}.em.em-four_leaf_clover{background-position:17.5% 2.5%}.em.em-bamboo{background-position:22.5% 2.5%}.em.em-tanabata_tree{background-position:20% 100%}.em.em-leaves{background-position:17.5% 10%}.em.em-fallen_leaf{background-position:17.5% 7.5%}.em.em-maple_leaf{background-position:17.5% 5%}.em.em-ear_of_rice{background-position:15% 100%}.em.em-hibiscus{background-position:15% 90%}.em.em-sunflower{background-position:15% 92.5%}.em.em-rose{background-position:15% 87.5%}.em.em-tulip{background-position:15% 82.5%}.em.em-blossom{background-position:15% 95%}.em.em-cherry_blossom{background-position:15% 85%}.em.em-bouquet{background-position:47.5% 80%}.em.em-mushroom{background-position:17.5% 12.5%}.em.em-chestnut{background-position:15% 65%}.em.em-jack_o_lantern{background-position:20% 67.5%}.em.em-shell{background-position:30% 77.5%}.em.em-spider_web{background-position:62.5% 15%}.em.em-earth_americas{background-position:12.5% 87.5%}.em.em-earth_africa{background-position:12.5% 85%}.em.em-earth_asia{background-position:12.5% 90%}.em.em-full_moon{background-position:15% 2.5%}.em.em-waning_gibbous_moon{background-position:15% 5%}.em.em-last_quarter_moon{background-position:15% 7.5%}.em.em-waning_crescent_moon{background-position:15% 10%}.em.em-new_moon{background-position:12.5% 95%}.em.em-waxing_crescent_moon{background-position:12.5% 97.5%}.em.em-first_quarter_moon{background-position:12.5% 100%}.em.em-moon,.em.em-waxing_gibbous_moon{background-position:15% 0}.em.em-new_moon_with_face{background-position:15% 15%}.em.em-full_moon_with_face{background-position:15% 22.5%}.em.em-first_quarter_moon_with_face{background-position:15% 17.5%}.em.em-last_quarter_moon_with_face{background-position:15% 20%}.em.em-sun_with_face{background-position:15% 25%}.em.em-crescent_moon{background-position:15% 12.5%}.em.em-star{background-position:10% 60%}.em.em-star2{background-position:15% 27.5%}.em.em-dizzy{background-position:50% 57.5%}.em.em-sparkles{background-position:7.5% 97.5%}.em.em-comet{background-position:2.5% 10%}.em.em-sunny{background-position:2.5% 0}.em.em-mostly_sunny{background-position:15% 35%}.em.em-partly_sunny{background-position:5% 52.5%}.em.em-barely_sunny{background-position:15% 37.5%}.em.em-partly_sunny_rain{background-position:15% 40%}.em.em-cloud{background-position:2.5% 2.5%}.em.em-rain_cloud{background-position:15% 42.5%}.em.em-thunder_cloud_and_rain{background-position:5% 55%}.em.em-lightning{background-position:15% 47.5%}.em.em-zap{background-position:5% 32.5%}.em.em-fire{background-position:57.5% 52.5%}.em.em-boom,.em.em-collision{background-position:50% 30%}.em.em-snowflake{background-position:10% 2.5%}.em.em-snow_cloud{background-position:15% 45%}.em.em-snowman{background-position:2.5% 7.5%}.em.em-snowman_without_snow{background-position:5% 50%}.em.em-wind_blowing_face{background-position:15% 55%}.em.em-dash{background-position:50% 37.5%}.em.em-tornado{background-position:15% 50%}.em.em-fog{background-position:15% 52.5%}.em.em-umbrella{background-position:2.5% 5%}.em.em-umbrella_with_rain_drops{background-position:2.5% 17.5%}.em.em-droplet{background-position:50% 35%}.em.em-sweat_drops{background-position:50% 32.5%}.em.em-ocean{background-position:12.5% 77.5%}.em.em-green_apple{background-position:17.5% 40%}.em.em-apple{background-position:17.5% 37.5%}.em.em-pear{background-position:17.5% 42.5%}.em.em-tangerine{background-position:17.5% 27.5%}.em.em-lemon{background-position:17.5% 30%}.em.em-banana{background-position:17.5% 32.5%}.em.em-watermelon{background-position:17.5% 25%}.em.em-grapes{background-position:17.5% 20%}.em.em-strawberry{background-position:17.5% 50%}.em.em-melon{background-position:17.5% 22.5%}.em.em-cherries{background-position:17.5% 47.5%}.em.em-peach{background-position:17.5% 45%}.em.em-pineapple{background-position:17.5% 35%}.em.em-tomato{background-position:17.5% 15%}.em.em-eggplant{background-position:17.5% 17.5%}.em.em-hot_pepper{background-position:15% 80%}.em.em-corn{background-position:15% 97.5%}.em.em-sweet_potato{background-position:17.5% 82.5%}.em.em-honey_pot{background-position:20% 17.5%}.em.em-bread{background-position:17.5% 77.5%}.em.em-cheese_wedge{background-position:80% 50%}.em.em-poultry_leg{background-position:17.5% 60%}.em.em-meat_on_bone{background-position:17.5% 57.5%}.em.em-fried_shrimp{background-position:17.5% 92.5%}.em.em-egg{background-position:20% 27.5%}.em.em-hamburger{background-position:17.5% 52.5%}.em.em-fries{background-position:17.5% 80%}.em.em-hotdog{background-position:15% 57.5%}.em.em-pizza{background-position:17.5% 55%}.em.em-spaghetti{background-position:17.5% 75%}.em.em-taco{background-position:15% 60%}.em.em-burrito{background-position:15% 62.5%}.em.em-ramen{background-position:17.5% 72.5%}.em.em-stew{background-position:20% 25%}.em.em-fish_cake{background-position:17.5% 95%}.em.em-sushi{background-position:17.5% 90%}.em.em-bento{background-position:20% 22.5%}.em.em-curry{background-position:17.5% 70%}.em.em-rice_ball{background-position:17.5% 65%}.em.em-rice{background-position:17.5% 67.5%}.em.em-rice_cracker{background-position:17.5% 62.5%}.em.em-oden{background-position:17.5% 87.5%}.em.em-dango{background-position:17.5% 85%}.em.em-shaved_ice{background-position:17.5% 100%}.em.em-ice_cream{background-position:20% 0}.em.em-icecream{background-position:17.5% 97.5%}.em.em-cake{background-position:20% 20%}.em.em-birthday{background-position:20% 65%}.em.em-custard{background-position:20% 15%}.em.em-candy{background-position:20% 10%}.em.em-lollipop{background-position:20% 12.5%}.em.em-chocolate_bar{background-position:20% 7.5%}.em.em-popcorn{background-position:20% 57.5%}.em.em-doughnut{background-position:20% 2.5%}.em.em-cookie{background-position:20% 5%}.em.em-beer{background-position:20% 45%}.em.em-beers{background-position:20% 47.5%}.em.em-wine_glass{background-position:20% 37.5%}.em.em-cocktail{background-position:20% 40%}.em.em-tropical_drink{background-position:20% 42.5%}.em.em-champagne{background-position:20% 55%}.em.em-sake{background-position:20% 35%}.em.em-tea{background-position:20% 32.5%}.em.em-coffee{background-position:2.5% 20%}.em.em-baby_bottle{background-position:20% 50%}.em.em-fork_and_knife{background-position:20% 30%}.em.em-knife_fork_plate{background-position:20% 52.5%}.em.em-soccer{background-position:5% 45%}.em.em-basketball{background-position:25% 15%}.em.em-football{background-position:25% 60%}.em.em-baseball{background-position:5% 47.5%}.em.em-tennis{background-position:25% 10%}.em.em-volleyball{background-position:27.5% 2.5%}.em.em-rugby_football{background-position:25% 62.5%}.em.em-8ball{background-position:22.5% 80%}.em.em-golf{background-position:5% 82.5%}.em.em-golfer{background-position:25% 95%}.em.em-table_tennis_paddle_and_ball{background-position:27.5% 10%}.em.em-badminton_racquet_and_shuttlecock{background-position:27.5% 95%}.em.em-ice_hockey_stick_and_puck{background-position:27.5% 7.5%}.em.em-field_hockey_stick_and_ball{background-position:27.5% 5%}.em.em-cricket_bat_and_ball{background-position:27.5% 0}.em.em-ski{background-position:25% 12.5%}.em.em-skier{background-position:5% 90%}.em.em-snowboarder{background-position:25% 20%}.em.em-ice_skate{background-position:5% 92.5%}.em.em-bow_and_arrow{background-position:27.5% 97.5%}.em.em-fishing_pole_and_fish{background-position:22.5% 45%}.em.em-rowboat{background-position:75% 15%}.em.em-swimmer{background-position:25% 65%}.em.em-surfer{background-position:25% 37.5%}.em.em-bath{background-position:77.5% 35%}.em.em-person_with_ball{background-position:5% 95%}.em.em-weight_lifter{background-position:25% 80%}.em.em-bicyclist{background-position:75% 70%}.em.em-mountain_bicyclist{background-position:75% 85%}.em.em-horse_racing{background-position:25% 57.5%}.em.em-man_in_business_suit_levitating{background-position:60% 95%}.em.em-trophy{background-position:25% 55%}.em.em-running_shirt_with_sash{background-position:25% 7.5%}.em.em-sports_medal{background-position:25% 52.5%}.em.em-medal{background-position:22.5% 20%}.em.em-reminder_ribbon{background-position:22.5% 22.5%}.em.em-rosette{background-position:27.5% 90%}.em.em-ticket{background-position:22.5% 65%}.em.em-admission_tickets{background-position:22.5% 35%}.em.em-performing_arts{background-position:22.5% 70%}.em.em-art{background-position:22.5% 57.5%}.em.em-circus_tent{background-position:22.5% 62.5%}.em.em-microphone{background-position:22.5% 47.5%}.em.em-headphones{background-position:22.5% 55%}.em.em-musical_score{background-position:25% 5%}.em.em-musical_keyboard{background-position:22.5% 100%}.em.em-saxophone{background-position:22.5% 95%}.em.em-trumpet{background-position:25% 0}.em.em-guitar{background-position:22.5% 97.5%}.em.em-violin{background-position:25% 2.5%}.em.em-clapper{background-position:22.5% 67.5%}.em.em-video_game{background-position:22.5% 72.5%}.em.em-space_invader{background-position:45% 62.5%}.em.em-dart{background-position:22.5% 75%}.em.em-game_die{background-position:22.5% 82.5%}.em.em-slot_machine{background-position:22.5% 77.5%}.em.em-bowling{background-position:22.5% 85%}.em.em-car{background-position:72.5% 87.5%}.em.em-taxi{background-position:72.5% 82.5%}.em.em-blue_car{background-position:72.5% 92.5%}.em.em-bus{background-position:72.5% 60%}.em.em-trolleybus{background-position:72.5% 65%}.em.em-racing_car{background-position:25% 100%}.em.em-police_car{background-position:72.5% 77.5%}.em.em-ambulance{background-position:72.5% 72.5%}.em.em-fire_engine{background-position:72.5% 75%}.em.em-minibus{background-position:72.5% 70%}.em.em-truck{background-position:72.5% 95%}.em.em-articulated_lorry{background-position:72.5% 97.5%}.em.em-tractor{background-position:72.5% 100%}.em.em-racing_motorcycle{background-position:25% 97.5%}.em.em-bike{background-position:75% 65%}.em.em-rotating_light{background-position:75% 40%}.em.em-oncoming_police_car{background-position:72.5% 80%}.em.em-oncoming_bus{background-position:72.5% 62.5%}.em.em-oncoming_automobile{background-position:72.5% 90%}.em.em-oncoming_taxi{background-position:72.5% 85%}.em.em-aerial_tramway{background-position:75% 10%}.em.em-mountain_cableway{background-position:75% 7.5%}.em.em-suspension_railway{background-position:75% 5%}.em.em-railway_car{background-position:72.5% 37.5%}.em.em-train{background-position:72.5% 57.5%}.em.em-monorail{background-position:75% 0}.em.em-bullettrain_side{background-position:72.5% 40%}.em.em-bullettrain_front{background-position:72.5% 42.5%}.em.em-light_rail{background-position:72.5% 50%}.em.em-mountain_railway{background-position:75% 2.5%}.em.em-steam_locomotive{background-position:72.5% 35%}.em.em-train2{background-position:72.5% 45%}.em.em-metro{background-position:72.5% 47.5%}.em.em-tram{background-position:72.5% 55%}.em.em-station{background-position:72.5% 52.5%}.em.em-helicopter{background-position:72.5% 32.5%}.em.em-small_airplane{background-position:77.5% 92.5%}.em.em-airplane{background-position:7.5% 17.5%}.em.em-airplane_departure{background-position:77.5% 95%}.em.em-airplane_arriving{background-position:77.5% 97.5%}.em.em-boat{background-position:5% 87.5%}.em.em-motor_boat{background-position:77.5% 90%}.em.em-speedboat{background-position:75% 30%}.em.em-ferry{background-position:5% 85%}.em.em-passenger_ship{background-position:80% 0}.em.em-rocket{background-position:72.5% 30%}.em.em-satellite{background-position:77.5% 100%}.em.em-seat{background-position:50% 95%}.em.em-anchor{background-position:5% 12.5%}.em.em-construction{background-position:75% 37.5%}.em.em-fuelpump{background-position:7.5% 10%}.em.em-busstop{background-position:72.5% 67.5%}.em.em-vertical_traffic_light{background-position:75% 35%}.em.em-traffic_light{background-position:75% 32.5%}.em.em-checkered_flag{background-position:25% 17.5%}.em.em-ship{background-position:75% 12.5%}.em.em-ferris_wheel{background-position:22.5% 40%}.em.em-roller_coaster{background-position:22.5% 42.5%}.em.em-carousel_horse{background-position:22.5% 37.5%}.em.em-building_construction{background-position:27.5% 20%}.em.em-foggy{background-position:12.5% 55%}.em.em-tokyo_tower{background-position:65% 27.5%}.em.em-factory{background-position:27.5% 75%}.em.em-fountain{background-position:5% 80%}.em.em-rice_scene{background-position:22.5% 12.5%}.em.em-mountain{background-position:5% 75%}.em.em-snow_capped_mountain{background-position:27.5% 12.5%}.em.em-mount_fuji{background-position:65% 25%}.em.em-volcano{background-position:12.5% 80%}.em.em-japan{background-position:65% 32.5%}.em.em-camping{background-position:27.5% 15%}.em.em-tent{background-position:7.5% 7.5%}.em.em-national_park{background-position:27.5% 37.5%}.em.em-motorway{background-position:77.5% 85%}.em.em-railway_track{background-position:77.5% 87.5%}.em.em-sunrise{background-position:12.5% 65%}.em.em-sunrise_over_mountains{background-position:12.5% 62.5%}.em.em-desert{background-position:27.5% 32.5%}.em.em-beach_with_umbrella{background-position:27.5% 17.5%}.em.em-desert_island{background-position:27.5% 35%}.em.em-city_sunrise{background-position:12.5% 70%}.em.em-city_sunset{background-position:12.5% 67.5%}.em.em-cityscape{background-position:27.5% 25%}.em.em-night_with_stars{background-position:12.5% 60%}.em.em-bridge_at_night{background-position:12.5% 75%}.em.em-milky_way{background-position:12.5% 82.5%}.em.em-stars{background-position:15% 30%}.em.em-sparkler{background-position:20% 90%}.em.em-fireworks{background-position:20% 87.5%}.em.em-rainbow{background-position:12.5% 72.5%}.em.em-house_buildings{background-position:27.5% 22.5%}.em.em-european_castle{background-position:27.5% 82.5%}.em.em-japanese_castle{background-position:27.5% 80%}.em.em-stadium{background-position:27.5% 40%}.em.em-statue_of_liberty{background-position:65% 30%}.em.em-house{background-position:27.5% 42.5%}.em.em-house_with_garden{background-position:27.5% 45%}.em.em-derelict_house_building{background-position:27.5% 27.5%}.em.em-office{background-position:27.5% 47.5%}.em.em-department_store{background-position:27.5% 72.5%}.em.em-post_office{background-position:27.5% 50%}.em.em-european_post_office{background-position:27.5% 52.5%}.em.em-hospital{background-position:27.5% 55%}.em.em-bank{background-position:27.5% 57.5%}.em.em-hotel{background-position:27.5% 62.5%}.em.em-convenience_store{background-position:27.5% 67.5%}.em.em-school{background-position:27.5% 70%}.em.em-love_hotel{background-position:27.5% 65%}.em.em-wedding{background-position:47.5% 85%}.em.em-classical_building{background-position:27.5% 30%}.em.em-church{background-position:5% 72.5%}.em.em-mosque{background-position:60% 20%}.em.em-synagogue{background-position:60% 22.5%}.em.em-kaaba{background-position:60% 17.5%}.em.em-shinto_shrine{background-position:5% 70%}.em.em-watch{background-position:0 35%}.em.em-iphone{background-position:55% 27.5%}.em.em-calling{background-position:55% 30%}.em.em-computer{background-position:50% 97.5%}.em.em-keyboard{background-position:0 40%}.em.em-desktop_computer{background-position:62.5% 77.5%}.em.em-printer{background-position:62.5% 80%}.em.em-three_button_mouse{background-position:62.5% 82.5%}.em.em-trackball{background-position:62.5% 85%}.em.em-joystick{background-position:62.5% 17.5%}.em.em-compression{background-position:65% 2.5%}.em.em-minidisc{background-position:52.5% 0}.em.em-floppy_disk{background-position:52.5% 2.5%}.em.em-cd{background-position:52.5% 5%}.em.em-dvd{background-position:52.5% 7.5%}.em.em-vhs{background-position:55% 55%}.em.em-camera{background-position:55% 42.5%}.em.em-camera_with_flash{background-position:55% 45%}.em.em-video_camera{background-position:55% 47.5%}.em.em-movie_camera{background-position:22.5% 50%}.em.em-film_projector{background-position:55% 57.5%}.em.em-film_frames{background-position:22.5% 32.5%}.em.em-telephone_receiver{background-position:52.5% 82.5%}.em.em-phone,.em.em-telephone{background-position:2.5% 12.5%}.em.em-pager{background-position:52.5% 85%}.em.em-fax{background-position:52.5% 87.5%}.em.em-tv{background-position:55% 50%}.em.em-radio{background-position:55% 52.5%}.em.em-studio_microphone{background-position:22.5% 25%}.em.em-level_slider{background-position:22.5% 27.5%}.em.em-control_knobs{background-position:22.5% 30%}.em.em-stopwatch{background-position:0 65%}.em.em-timer_clock{background-position:0 67.5%}.em.em-alarm_clock{background-position:0 62.5%}.em.em-mantelpiece_clock{background-position:60% 90%}.em.em-hourglass_flowing_sand{background-position:0 70%}.em.em-hourglass{background-position:0 37.5%}.em.em-satellite_antenna{background-position:52.5% 90%}.em.em-battery{background-position:55% 90%}.em.em-electric_plug{background-position:55% 92.5%}.em.em-bulb{background-position:50% 20%}.em.em-flashlight{background-position:57.5% 55%}.em.em-candle{background-position:60% 87.5%}.em.em-wastebasket{background-position:62.5% 97.5%}.em.em-oil_drum{background-position:77.5% 82.5%}.em.em-money_with_wings{background-position:50% 90%}.em.em-dollar{background-position:50% 82.5%}.em.em-yen{background-position:50% 80%}.em.em-euro{background-position:50% 85%}.em.em-pound{background-position:50% 87.5%}.em.em-moneybag{background-position:50% 70%}.em.em-credit_card{background-position:50% 77.5%}.em.em-gem{background-position:47.5% 75%}.em.em-scales{background-position:5% 17.5%}.em.em-wrench{background-position:57.5% 57.5%}.em.em-hammer{background-position:57.5% 60%}.em.em-hammer_and_pick{background-position:5% 10%}.em.em-hammer_and_wrench{background-position:77.5% 77.5%}.em.em-pick{background-position:5% 60%}.em.em-nut_and_bolt{background-position:57.5% 62.5%}.em.em-gear{background-position:5% 22.5%}.em.em-chains{background-position:5% 65%}.em.em-gun{background-position:57.5% 67.5%}.em.em-bomb{background-position:50% 25%}.em.em-hocho{background-position:57.5% 65%}.em.em-dagger_knife{background-position:65% 10%}.em.em-crossed_swords{background-position:5% 15%}.em.em-shield{background-position:77.5% 80%}.em.em-smoking{background-position:75% 50%}.em.em-skull_and_crossbones{background-position:2.5% 40%}.em.em-coffin{background-position:5% 40%}.em.em-funeral_urn{background-position:5% 42.5%}.em.em-amphora{background-position:27.5% 100%}.em.em-crystal_ball{background-position:57.5% 75%}.em.em-prayer_beads{background-position:55% 60%}.em.em-barber{background-position:47.5% 60%}.em.em-alembic{background-position:5% 20%}.em.em-telescope{background-position:57.5% 72.5%}.em.em-microscope{background-position:57.5% 70%}.em.em-hole{background-position:60% 92.5%}.em.em-pill{background-position:47.5% 65%}.em.em-syringe{background-position:47.5% 62.5%}.em.em-thermometer{background-position:15% 32.5%}.em.em-label{background-position:27.5% 92.5%}.em.em-bookmark{background-position:57.5% 15%}.em.em-toilet{background-position:77.5% 27.5%}.em.em-shower{background-position:77.5% 32.5%}.em.em-bathtub{background-position:77.5% 50%}.em.em-key{background-position:57.5% 2.5%}.em.em-old_key{background-position:65% 5%}.em.em-couch_and_lamp{background-position:77.5% 62.5%}.em.em-sleeping_accommodation{background-position:77.5% 65%}.em.em-bed{background-position:77.5% 72.5%}.em.em-door{background-position:75% 45%}.em.em-bellhop_bell{background-position:77.5% 70%}.em.em-frame_with_picture{background-position:62.5% 87.5%}.em.em-world_map{background-position:65% 22.5%}.em.em-umbrella_on_ground{background-position:5% 77.5%}.em.em-moyai{background-position:65% 35%}.em.em-shopping_bags{background-position:77.5% 67.5%}.em.em-balloon{background-position:20% 92.5%}.em.em-flags{background-position:22.5% 7.5%}.em.em-ribbon{background-position:20% 60%}.em.em-gift{background-position:20% 62.5%}.em.em-confetti_ball{background-position:20% 97.5%}.em.em-tada{background-position:20% 95%}.em.em-dolls{background-position:22.5% 5%}.em.em-wind_chime{background-position:22.5% 10%}.em.em-crossed_flags{background-position:22.5% 0}.em.em-izakaya_lantern{background-position:27.5% 77.5%}.em.em-email{background-position:7.5% 20%}.em.em-envelope_with_arrow{background-position:55% 7.5%}.em.em-incoming_envelope{background-position:55% 5%}.em.em-e-mail{background-position:55% 2.5%}.em.em-love_letter{background-position:47.5% 70%}.em.em-postbox{background-position:55% 20%}.em.em-mailbox_closed{background-position:55% 10%}.em.em-mailbox{background-position:55% 12.5%}.em.em-mailbox_with_mail{background-position:55% 15%}.em.em-mailbox_with_no_mail{background-position:55% 17.5%}.em.em-package{background-position:55% 0}.em.em-postal_horn{background-position:55% 22.5%}.em.em-inbox_tray{background-position:52.5% 100%}.em.em-outbox_tray{background-position:52.5% 97.5%}.em.em-scroll{background-position:52.5% 77.5%}.em.em-page_with_curl{background-position:52.5% 15%}.em.em-bookmark_tabs{background-position:52.5% 50%}.em.em-bar_chart{background-position:52.5% 32.5%}.em.em-chart_with_upwards_trend{background-position:52.5% 27.5%}.em.em-chart_with_downwards_trend{background-position:52.5% 30%}.em.em-page_facing_up{background-position:52.5% 17.5%}.em.em-date{background-position:52.5% 20%}.em.em-calendar{background-position:52.5% 22.5%}.em.em-spiral_calendar_pad{background-position:65% 0}.em.em-card_index{background-position:52.5% 25%}.em.em-card_file_box{background-position:62.5% 92.5%}.em.em-ballot_box_with_ballot{background-position:65% 20%}.em.em-file_cabinet{background-position:62.5% 95%}.em.em-clipboard{background-position:52.5% 35%}.em.em-spiral_note_pad{background-position:62.5% 100%}.em.em-file_folder{background-position:52.5% 10%}.em.em-open_file_folder{background-position:52.5% 12.5%}.em.em-card_index_dividers{background-position:62.5% 90%}.em.em-rolled_up_newspaper{background-position:65% 7.5%}.em.em-newspaper{background-position:55% 25%}.em.em-notebook{background-position:52.5% 55%}.em.em-closed_book{background-position:52.5% 60%}.em.em-green_book{background-position:52.5% 65%}.em.em-blue_book{background-position:52.5% 67.5%}.em.em-orange_book{background-position:52.5% 70%}.em.em-notebook_with_decorative_cover{background-position:52.5% 57.5%}.em.em-ledger{background-position:52.5% 52.5%}.em.em-books{background-position:52.5% 72.5%}.em.em-book{background-position:52.5% 62.5%}.em.em-link{background-position:57.5% 17.5%}.em.em-paperclip{background-position:52.5% 42.5%}.em.em-linked_paperclips{background-position:62.5% 20%}.em.em-scissors{background-position:7.5% 12.5%}.em.em-triangular_ruler{background-position:52.5% 47.5%}.em.em-straight_ruler{background-position:52.5% 45%}.em.em-pushpin{background-position:52.5% 37.5%}.em.em-round_pushpin{background-position:52.5% 40%}.em.em-triangular_flag_on_post{background-position:75% 42.5%}.em.em-waving_white_flag{background-position:27.5% 85%}.em.em-waving_black_flag{background-position:27.5% 87.5%}.em.em-closed_lock_with_key{background-position:57.5% 0}.em.em-lock{background-position:57.5% 5%}.em.em-unlock{background-position:57.5% 7.5%}.em.em-lock_with_ink_pen{background-position:55% 100%}.em.em-lower_left_ballpoint_pen{background-position:62.5% 22.5%}.em.em-lower_left_fountain_pen{background-position:62.5% 25%}.em.em-black_nib{background-position:7.5% 85%}.em.em-memo,.em.em-pencil{background-position:52.5% 80%}.em.em-pencil2{background-position:7.5% 82.5%}.em.em-lower_left_crayon{background-position:62.5% 30%}.em.em-lower_left_paintbrush{background-position:62.5% 27.5%}.em.em-mag{background-position:55% 95%}.em.em-mag_right{background-position:55% 97.5%}.em.em-heart{background-position:10% 25%}.em.em-yellow_heart{background-position:50% 5%}.em.em-green_heart{background-position:50% 2.5%}.em.em-blue_heart{background-position:50% 0}.em.em-purple_heart{background-position:50% 7.5%}.em.em-broken_heart{background-position:47.5% 90%}.em.em-heavy_heart_exclamation_mark_ornament{background-position:10% 22.5%}.em.em-two_hearts{background-position:47.5% 92.5%}.em.em-revolving_hearts{background-position:50% 12.5%}.em.em-heartbeat{background-position:47.5% 87.5%}.em.em-heartpulse{background-position:47.5% 97.5%}.em.em-sparkling_heart{background-position:47.5% 95%}.em.em-cupid{background-position:47.5% 100%}.em.em-gift_heart{background-position:50% 10%}.em.em-heart_decoration{background-position:50% 15%}.em.em-peace_symbol{background-position:2.5% 52.5%}.em.em-latin_cross{background-position:7.5% 92.5%}.em.em-star_and_crescent{background-position:2.5% 50%}.em.em-om_symbol{background-position:60% 12.5%}.em.em-wheel_of_dharma{background-position:2.5% 57.5%}.em.em-star_of_david{background-position:7.5% 95%}.em.em-six_pointed_star{background-position:57.5% 77.5%}.em.em-menorah_with_nine_branches{background-position:60% 25%}.em.em-yin_yang{background-position:2.5% 55%}.em.em-orthodox_cross{background-position:2.5% 47.5%}.em.em-place_of_worship{background-position:77.5% 75%}.em.em-ophiuchus{background-position:5% 57.5%}.em.em-aries{background-position:2.5% 65%}.em.em-taurus{background-position:2.5% 67.5%}.em.em-gemini{background-position:2.5% 70%}.em.em-cancer{background-position:2.5% 72.5%}.em.em-leo{background-position:2.5% 75%}.em.em-virgo{background-position:2.5% 77.5%}.em.em-libra{background-position:2.5% 80%}.em.em-scorpius{background-position:2.5% 82.5%}.em.em-sagittarius{background-position:2.5% 85%}.em.em-capricorn{background-position:2.5% 87.5%}.em.em-aquarius{background-position:2.5% 90%}.em.em-pisces{background-position:2.5% 92.5%}.em.em-id{background-position:10% 100%}.em.em-atom_symbol{background-position:5% 25%}.em.em-u7a7a{background-position:12.5% 27.5%}.em.em-u5272{background-position:12.5% 42.5%}.em.em-radioactive_sign{background-position:2.5% 42.5%}.em.em-biohazard_sign{background-position:2.5% 45%}.em.em-mobile_phone_off{background-position:55% 35%}.em.em-vibration_mode{background-position:55% 32.5%}.em.em-u6709{background-position:12.5% 35%}.em.em-u7121{background-position:12.5% 20%}.em.em-u7533{background-position:12.5% 40%}.em.em-u55b6{background-position:12.5% 45%}.em.em-u6708{background-position:12.5% 37.5%}.em.em-eight_pointed_black_star{background-position:10% 0}.em.em-vs{background-position:12.5% 12.5%}.em.em-accept{background-position:12.5% 50%}.em.em-white_flower{background-position:50% 65%}.em.em-ideograph_advantage{background-position:12.5% 47.5%}.em.em-secret{background-position:10% 72.5%}.em.em-congratulations{background-position:10% 70%}.em.em-u5408{background-position:12.5% 30%}.em.em-u6e80{background-position:12.5% 32.5%}.em.em-u7981{background-position:12.5% 25%}.em.em-a{background-position:10% 80%}.em.em-b{background-position:10% 82.5%}.em.em-ab{background-position:10% 90%}.em.em-cl{background-position:10% 92.5%}.em.em-o2{background-position:10% 85%}.em.em-sos{background-position:12.5% 7.5%}.em.em-no_entry{background-position:5% 67.5%}.em.em-name_badge{background-position:52.5% 75%}.em.em-no_entry_sign{background-position:75% 47.5%}.em.em-x{background-position:10% 7.5%}.em.em-o{background-position:10% 62.5%}.em.em-anger{background-position:50% 22.5%}.em.em-hotsprings{background-position:5% 2.5%}.em.em-no_pedestrians{background-position:77.5% 12.5%}.em.em-do_not_litter{background-position:75% 57.5%}.em.em-no_bicycles{background-position:75% 67.5%}.em.em-non-potable_water{background-position:75% 62.5%}.em.em-underage{background-position:57.5% 35%}.em.em-no_mobile_phones{background-position:55% 37.5%}.em.em-exclamation,.em.em-heavy_exclamation_mark{background-position:10% 20%}.em.em-grey_exclamation{background-position:10% 17.5%}.em.em-question{background-position:10% 12.5%}.em.em-grey_question{background-position:10% 15%}.em.em-bangbang{background-position:0 5%}.em.em-interrobang{background-position:0 7.5%}.em.em-100{background-position:50% 67.5%}.em.em-low_brightness{background-position:55% 75%}.em.em-high_brightness{background-position:55% 77.5%}.em.em-trident{background-position:57.5% 82.5%}.em.em-fleur_de_lis{background-position:5% 27.5%}.em.em-part_alternation_mark{background-position:10% 67.5%}.em.em-warning{background-position:5% 30%}.em.em-children_crossing{background-position:77.5% 15%}.em.em-beginner{background-position:57.5% 80%}.em.em-recycle{background-position:5% 5%}.em.em-u6307{background-position:12.5% 22.5%}.em.em-chart{background-position:50% 92.5%}.em.em-sparkle{background-position:10% 5%}.em.em-eight_spoked_asterisk{background-position:7.5% 100%}.em.em-negative_squared_cross_mark{background-position:10% 10%}.em.em-white_check_mark{background-position:7.5% 15%}.em.em-diamond_shape_with_a_dot_inside{background-position:50% 17.5%}.em.em-cyclone{background-position:12.5% 52.5%}.em.em-loop{background-position:10% 40%}.em.em-globe_with_meridians{background-position:12.5% 92.5%}.em.em-m{background-position:0 80%}.em.em-atm{background-position:27.5% 60%}.em.em-sa{background-position:12.5% 17.5%}.em.em-passport_control{background-position:77.5% 52.5%}.em.em-customs{background-position:77.5% 55%}.em.em-baggage_claim{background-position:77.5% 57.5%}.em.em-left_luggage{background-position:77.5% 60%}.em.em-wheelchair{background-position:5% 7.5%}.em.em-no_smoking{background-position:75% 52.5%}.em.em-wc{background-position:77.5% 30%}.em.em-parking{background-position:10% 87.5%}.em.em-potable_water{background-position:75% 60%}.em.em-mens{background-position:77.5% 17.5%}.em.em-womens{background-position:77.5% 20%}.em.em-baby_symbol{background-position:77.5% 25%}.em.em-restroom{background-position:77.5% 22.5%}.em.em-put_litter_in_its_place{background-position:75% 55%}.em.em-cinema{background-position:22.5% 52.5%}.em.em-signal_strength{background-position:55% 40%}.em.em-koko{background-position:12.5% 15%}.em.em-ng{background-position:12.5% 2.5%}.em.em-ok{background-position:12.5% 5%}.em.em-up{background-position:12.5% 10%}.em.em-cool{background-position:10% 95%}.em.em-new{background-position:12.5% 0}.em.em-free{background-position:10% 97.5%}.em.em-zero{background-position:80% 57.5%}.em.em-one{background-position:80% 60%}.em.em-two{background-position:80% 62.5%}.em.em-three{background-position:80% 65%}.em.em-four{background-position:80% 67.5%}.em.em-five{background-position:80% 70%}.em.em-six{background-position:80% 72.5%}.em.em-seven{background-position:80% 75%}.em.em-eight{background-position:80% 77.5%}.em.em-nine{background-position:80% 80%}.em.em-keycap_ten{background-position:57.5% 37.5%}.em.em-keycap_star{background-position:80% 55%}.em.em-1234{background-position:57.5% 45%}.em.em-arrow_forward{background-position:0 87.5%}.em.em-double_vertical_bar{background-position:0 72.5%}.em.em-black_right_pointing_triangle_with_double_vertical_bar{background-position:0 60%}.em.em-black_square_for_stop{background-position:0 75%}.em.em-eject{background-position:0 42.5%}.em.em-black_circle_for_record{background-position:0 77.5%}.em.em-black_right_pointing_double_triangle_with_vertical_bar{background-position:0 55%}.em.em-black_left_pointing_double_triangle_with_vertical_bar{background-position:0 57.5%}.em.em-fast_forward{background-position:0 45%}.em.em-rewind{background-position:0 47.5%}.em.em-twisted_rightwards_arrows{background-position:55% 62.5%}.em.em-repeat{background-position:55% 65%}.em.em-repeat_one{background-position:55% 67.5%}.em.em-arrow_backward{background-position:0 90%}.em.em-arrow_up_small{background-position:60% 7.5%}.em.em-arrow_down_small{background-position:60% 10%}.em.em-arrow_double_up{background-position:0 50%}.em.em-arrow_double_down{background-position:0 52.5%}.em.em-arrow_right{background-position:10% 35%}.em.em-arrow_left{background-position:10% 47.5%}.em.em-arrow_up{background-position:10% 50%}.em.em-arrow_down{background-position:10% 52.5%}.em.em-arrow_upper_right{background-position:0 22.5%}.em.em-arrow_lower_right{background-position:0 25%}.em.em-arrow_lower_left{background-position:0 27.5%}.em.em-arrow_upper_left{background-position:0 20%}.em.em-arrow_up_down{background-position:0 17.5%}.em.em-left_right_arrow{background-position:0 15%}.em.em-arrows_counterclockwise{background-position:55% 72.5%}.em.em-arrow_right_hook{background-position:0 32.5%}.em.em-leftwards_arrow_with_hook{background-position:0 30%}.em.em-arrow_heading_up{background-position:10% 42.5%}.em.em-arrow_heading_down{background-position:10% 45%}.em.em-hash{background-position:80% 52.5%}.em.em-information_source{background-position:0 12.5%}.em.em-abc{background-position:57.5% 50%}.em.em-abcd{background-position:57.5% 42.5%}.em.em-capital_abcd{background-position:57.5% 40%}.em.em-symbols{background-position:57.5% 47.5%}.em.em-musical_note{background-position:22.5% 90%}.em.em-notes{background-position:22.5% 92.5%}.em.em-wavy_dash{background-position:10% 65%}.em.em-curly_loop{background-position:10% 37.5%}.em.em-heavy_check_mark{background-position:7.5% 87.5%}.em.em-arrows_clockwise{background-position:55% 70%}.em.em-heavy_plus_sign{background-position:10% 27.5%}.em.em-heavy_minus_sign{background-position:10% 30%}.em.em-heavy_division_sign{background-position:10% 32.5%}.em.em-heavy_multiplication_x{background-position:7.5% 90%}.em.em-heavy_dollar_sign{background-position:50% 75%}.em.em-currency_exchange{background-position:50% 72.5%}.em.em-copyright{background-position:0 0}.em.em-registered{background-position:0 2.5%}.em.em-tm{background-position:0 10%}.em.em-end{background-position:57.5% 25%}.em.em-back{background-position:57.5% 22.5%}.em.em-on{background-position:57.5% 27.5%}.em.em-top{background-position:57.5% 32.5%}.em.em-soon{background-position:57.5% 30%}.em.em-ballot_box_with_check{background-position:2.5% 15%}.em.em-radio_button{background-position:57.5% 20%}.em.em-white_circle{background-position:5% 35%}.em.em-black_circle{background-position:5% 37.5%}.em.em-red_circle{background-position:57.5% 90%}.em.em-large_blue_circle{background-position:57.5% 92.5%}.em.em-small_orange_diamond{background-position:57.5% 100%}.em.em-small_blue_diamond{background-position:60% 0}.em.em-large_orange_diamond{background-position:57.5% 95%}.em.em-large_blue_diamond{background-position:57.5% 97.5%}.em.em-small_red_triangle{background-position:60% 2.5%}.em.em-black_small_square{background-position:0 82.5%}.em.em-white_small_square{background-position:0 85%}.em.em-black_large_square{background-position:10% 55%}.em.em-white_large_square{background-position:10% 57.5%}.em.em-small_red_triangle_down{background-position:60% 5%}.em.em-black_medium_square{background-position:0 95%}.em.em-white_medium_square{background-position:0 92.5%}.em.em-black_medium_small_square{background-position:0 100%}.em.em-white_medium_small_square{background-position:0 97.5%}.em.em-black_square_button{background-position:57.5% 85%}.em.em-white_square_button{background-position:57.5% 87.5%}.em.em-speaker{background-position:55% 82.5%}.em.em-sound{background-position:55% 85%}.em.em-loud_sound{background-position:55% 87.5%}.em.em-mute{background-position:55% 80%}.em.em-mega{background-position:52.5% 95%}.em.em-loudspeaker{background-position:52.5% 92.5%}.em.em-bell{background-position:57.5% 10%}.em.em-no_bell{background-position:57.5% 12.5%}.em.em-black_joker{background-position:10% 77.5%}.em.em-mahjong{background-position:10% 75%}.em.em-spades{background-position:2.5% 95%}.em.em-clubs{background-position:2.5% 97.5%}.em.em-hearts{background-position:2.5% 100%}.em.em-diamonds{background-position:5% 0}.em.em-flower_playing_cards{background-position:22.5% 87.5%}.em.em-thought_balloon{background-position:50% 62.5%}.em.em-right_anger_bubble{background-position:65% 17.5%}.em.em-speech_balloon{background-position:50% 60%}.em.em-left_speech_bubble{background-position:65% 15%}.em.em-clock1{background-position:60% 27.5%}.em.em-clock2{background-position:60% 30%}.em.em-clock3{background-position:60% 32.5%}.em.em-clock4{background-position:60% 35%}.em.em-clock5{background-position:60% 37.5%}.em.em-clock6{background-position:60% 40%}.em.em-clock7{background-position:60% 42.5%}.em.em-clock8{background-position:60% 45%}.em.em-clock9{background-position:60% 47.5%}.em.em-clock10{background-position:60% 50%}.em.em-clock11{background-position:60% 52.5%}.em.em-clock12{background-position:60% 55%}.em.em-clock130{background-position:60% 57.5%}.em.em-clock230{background-position:60% 60%}.em.em-clock330{background-position:60% 62.5%}.em.em-clock430{background-position:60% 65%}.em.em-clock530{background-position:60% 67.5%}.em.em-clock630{background-position:60% 70%}.em.em-clock730{background-position:60% 72.5%}.em.em-clock830{background-position:60% 75%}.em.em-clock930{background-position:60% 77.5%}.em.em-clock1030{background-position:60% 80%}.em.em-clock1130{background-position:60% 82.5%}.em.em-clock1230{background-position:60% 85%}.em.em-flag-af{background-position:80% 90%}.em.em-flag-ax{background-position:82.5% 17.5%}.em.em-flag-al{background-position:80% 97.5%}.em.em-flag-dz{background-position:85% 37.5%}.em.em-flag-as{background-position:82.5% 7.5%}.em.em-flag-ad{background-position:80% 85%}.em.em-flag-ao{background-position:82.5% 0}.em.em-flag-ai{background-position:80% 95%}.em.em-flag-aq{background-position:82.5% 2.5%}.em.em-flag-ag{background-position:80% 92.5%}.em.em-flag-ar{background-position:82.5% 5%}.em.em-flag-am{background-position:80% 100%}.em.em-flag-aw{background-position:82.5% 15%}.em.em-flag-au{background-position:82.5% 12.5%}.em.em-flag-at{background-position:82.5% 10%}.em.em-flag-az{background-position:82.5% 20%}.em.em-flag-bs{background-position:82.5% 60%}.em.em-flag-bh{background-position:82.5% 37.5%}.em.em-flag-bd{background-position:82.5% 27.5%}.em.em-flag-bb{background-position:82.5% 25%}.em.em-flag-by{background-position:82.5% 70%}.em.em-flag-be{background-position:82.5% 30%}.em.em-flag-bz{background-position:82.5% 72.5%}.em.em-flag-bj{background-position:82.5% 42.5%}.em.em-flag-bm{background-position:82.5% 47.5%}.em.em-flag-bt{background-position:82.5% 62.5%}.em.em-flag-bo{background-position:82.5% 52.5%}.em.em-flag-bq{background-position:82.5% 55%}.em.em-flag-ba{background-position:82.5% 22.5%}.em.em-flag-bw{background-position:82.5% 67.5%}.em.em-flag-br{background-position:82.5% 57.5%}.em.em-flag-io{background-position:87.5% 52.5%}.em.em-flag-vg{background-position:95% 80%}.em.em-flag-bn{background-position:82.5% 50%}.em.em-flag-bg{background-position:82.5% 35%}.em.em-flag-bf{background-position:82.5% 32.5%}.em.em-flag-bi{background-position:82.5% 40%}.em.em-flag-cv{background-position:85% 10%}.em.em-flag-kh{background-position:87.5% 80%}.em.em-flag-cm{background-position:82.5% 97.5%}.em.em-flag-ca{background-position:82.5% 75%}.em.em-flag-ic{background-position:87.5% 37.5%}.em.em-flag-ky{background-position:87.5% 97.5%}.em.em-flag-cf{background-position:82.5% 82.5%}.em.em-flag-td{background-position:95% 20%}.em.em-flag-cl{background-position:82.5% 95%}.em.em-cn,.em.em-flag-cn{background-position:82.5% 100%}.em.em-flag-cx{background-position:85% 15%}.em.em-flag-cc{background-position:82.5% 77.5%}.em.em-flag-co{background-position:85% 0}.em.em-flag-km{background-position:87.5% 85%}.em.em-flag-cg{background-position:82.5% 85%}.em.em-flag-cd{background-position:82.5% 80%}.em.em-flag-ck{background-position:82.5% 92.5%}.em.em-flag-cr{background-position:85% 5%}.em.em-flag-hr{background-position:87.5% 30%}.em.em-flag-cu{background-position:85% 7.5%}.em.em-flag-cw{background-position:85% 12.5%}.em.em-flag-cy{background-position:85% 17.5%}.em.em-flag-cz{background-position:85% 20%}.em.em-flag-dk{background-position:85% 30%}.em.em-flag-dj{background-position:85% 27.5%}.em.em-flag-dm{background-position:85% 32.5%}.em.em-flag-do{background-position:85% 35%}.em.em-flag-ec{background-position:85% 42.5%}.em.em-flag-eg{background-position:85% 47.5%}.em.em-flag-sv{background-position:95% 5%}.em.em-flag-gq{background-position:87.5% 5%}.em.em-flag-er{background-position:85% 52.5%}.em.em-flag-ee{background-position:85% 45%}.em.em-flag-et{background-position:85% 57.5%}.em.em-flag-eu{background-position:85% 60%}.em.em-flag-fk{background-position:85% 67.5%}.em.em-flag-fo{background-position:85% 72.5%}.em.em-flag-fj{background-position:85% 65%}.em.em-flag-fi{background-position:85% 62.5%}.em.em-flag-fr,.em.em-fr{background-position:85% 75%}.em.em-flag-gf{background-position:85% 87.5%}.em.em-flag-pf{background-position:92.5% 20%}.em.em-flag-tf{background-position:95% 22.5%}.em.em-flag-ga{background-position:85% 77.5%}.em.em-flag-gm{background-position:85% 100%}.em.em-flag-ge{background-position:85% 85%}.em.em-de,.em.em-flag-de{background-position:85% 22.5%}.em.em-flag-gh{background-position:85% 92.5%}.em.em-flag-gi{background-position:85% 95%}.em.em-flag-gr{background-position:87.5% 7.5%}.em.em-flag-gl{background-position:85% 97.5%}.em.em-flag-gd{background-position:85% 82.5%}.em.em-flag-gp{background-position:87.5% 2.5%}.em.em-flag-gu{background-position:87.5% 15%}.em.em-flag-gt{background-position:87.5% 12.5%}.em.em-flag-gg{background-position:85% 90%}.em.em-flag-gn{background-position:87.5% 0}.em.em-flag-gw{background-position:87.5% 17.5%}.em.em-flag-gy{background-position:87.5% 20%}.em.em-flag-ht{background-position:87.5% 32.5%}.em.em-flag-hn{background-position:87.5% 27.5%}.em.em-flag-hk{background-position:87.5% 22.5%}.em.em-flag-hu{background-position:87.5% 35%}.em.em-flag-is{background-position:87.5% 60%}.em.em-flag-in{background-position:87.5% 50%}.em.em-flag-id{background-position:87.5% 40%}.em.em-flag-ir{background-position:87.5% 57.5%}.em.em-flag-iq{background-position:87.5% 55%}.em.em-flag-ie{background-position:87.5% 42.5%}.em.em-flag-im{background-position:87.5% 47.5%}.em.em-flag-il{background-position:87.5% 45%}.em.em-flag-it,.em.em-it{background-position:87.5% 62.5%}.em.em-flag-ci{background-position:82.5% 90%}.em.em-flag-jm{background-position:87.5% 67.5%}.em.em-flag-jp,.em.em-jp{background-position:87.5% 72.5%}.em.em-flag-je{background-position:87.5% 65%}.em.em-flag-jo{background-position:87.5% 70%}.em.em-flag-kz{background-position:87.5% 100%}.em.em-flag-ke{background-position:87.5% 75%}.em.em-flag-ki{background-position:87.5% 82.5%}.em.em-flag-xk{background-position:95% 95%}.em.em-flag-kw{background-position:87.5% 95%}.em.em-flag-kg{background-position:87.5% 77.5%}.em.em-flag-la{background-position:90% 0}.em.em-flag-lv{background-position:90% 22.5%}.em.em-flag-lb{background-position:90% 2.5%}.em.em-flag-ls{background-position:90% 15%}.em.em-flag-lr{background-position:90% 12.5%}.em.em-flag-ly{background-position:90% 25%}.em.em-flag-li{background-position:90% 7.5%}.em.em-flag-lt{background-position:90% 17.5%}.em.em-flag-lu{background-position:90% 20%}.em.em-flag-mo{background-position:90% 55%}.em.em-flag-mk{background-position:90% 45%}.em.em-flag-mg{background-position:90% 40%}.em.em-flag-mw{background-position:90% 75%}.em.em-flag-my{background-position:90% 80%}.em.em-flag-mv{background-position:90% 72.5%}.em.em-flag-ml{background-position:90% 47.5%}.em.em-flag-mt{background-position:90% 67.5%}.em.em-flag-mh{background-position:90% 42.5%}.em.em-flag-mq{background-position:90% 60%}.em.em-flag-mr{background-position:90% 62.5%}.em.em-flag-mu{background-position:90% 70%}.em.em-flag-yt{background-position:95% 100%}.em.em-flag-mx{background-position:90% 77.5%}.em.em-flag-fm{background-position:85% 70%}.em.em-flag-md{background-position:90% 32.5%}.em.em-flag-mc{background-position:90% 30%}.em.em-flag-mn{background-position:90% 52.5%}.em.em-flag-me{background-position:90% 35%}.em.em-flag-ms{background-position:90% 65%}.em.em-flag-ma{background-position:90% 27.5%}.em.em-flag-mz{background-position:90% 82.5%}.em.em-flag-mm{background-position:90% 50%}.em.em-flag-na{background-position:90% 85%}.em.em-flag-nr{background-position:92.5% 5%}.em.em-flag-np{background-position:92.5% 2.5%}.em.em-flag-nl{background-position:90% 100%}.em.em-flag-nc{background-position:90% 87.5%}.em.em-flag-nz{background-position:92.5% 10%}.em.em-flag-ni{background-position:90% 97.5%}.em.em-flag-ne{background-position:90% 90%}.em.em-flag-ng{background-position:90% 95%}.em.em-flag-nu{background-position:92.5% 7.5%}.em.em-flag-nf{background-position:90% 92.5%}.em.em-flag-mp{background-position:90% 57.5%}.em.em-flag-kp{background-position:87.5% 90%}.em.em-flag-no{background-position:92.5% 0}.em.em-flag-om{background-position:92.5% 12.5%}.em.em-flag-pk{background-position:92.5% 27.5%}.em.em-flag-pw{background-position:92.5% 45%}.em.em-flag-ps{background-position:92.5% 40%}.em.em-flag-pa{background-position:92.5% 15%}.em.em-flag-pg{background-position:92.5% 22.5%}.em.em-flag-py{background-position:92.5% 47.5%}.em.em-flag-pe{background-position:92.5% 17.5%}.em.em-flag-ph{background-position:92.5% 25%}.em.em-flag-pn{background-position:92.5% 35%}.em.em-flag-pl{background-position:92.5% 30%}.em.em-flag-pt{background-position:92.5% 42.5%}.em.em-flag-pr{background-position:92.5% 37.5%}.em.em-flag-qa{background-position:92.5% 50%}.em.em-flag-re{background-position:92.5% 52.5%}.em.em-flag-ro{background-position:92.5% 55%}.em.em-flag-ru,.em.em-ru{background-position:92.5% 60%}.em.em-flag-rw{background-position:92.5% 62.5%}.em.em-flag-bl{background-position:82.5% 45%}.em.em-flag-sh{background-position:92.5% 80%}.em.em-flag-kn{background-position:87.5% 87.5%}.em.em-flag-lc{background-position:90% 5%}.em.em-flag-pm{background-position:92.5% 32.5%}.em.em-flag-vc{background-position:95% 75%}.em.em-flag-ws{background-position:95% 92.5%}.em.em-flag-sm{background-position:92.5% 92.5%}.em.em-flag-st{background-position:95% 2.5%}.em.em-flag-sa{background-position:92.5% 65%}.em.em-flag-sn{background-position:92.5% 95%}.em.em-flag-rs{background-position:92.5% 57.5%}.em.em-flag-sc{background-position:92.5% 70%}.em.em-flag-sl{background-position:92.5% 90%}.em.em-flag-sg{background-position:92.5% 77.5%}.em.em-flag-sx{background-position:95% 7.5%}.em.em-flag-sk{background-position:92.5% 87.5%}.em.em-flag-si{background-position:92.5% 82.5%}.em.em-flag-sb{background-position:92.5% 67.5%}.em.em-flag-so{background-position:92.5% 97.5%}.em.em-flag-za{background-position:97.5% 0}.em.em-flag-gs{background-position:87.5% 10%}.em.em-flag-kr,.em.em-kr{background-position:87.5% 92.5%}.em.em-flag-ss{background-position:95% 0}.em.em-es,.em.em-flag-es{background-position:85% 55%}.em.em-flag-lk{background-position:90% 10%}.em.em-flag-sd{background-position:92.5% 72.5%}.em.em-flag-sr{background-position:92.5% 100%}.em.em-flag-sz{background-position:95% 12.5%}.em.em-flag-se{background-position:92.5% 75%}.em.em-flag-ch{background-position:82.5% 87.5%}.em.em-flag-sy{background-position:95% 10%}.em.em-flag-tw{background-position:95% 52.5%}.em.em-flag-tj{background-position:95% 30%}.em.em-flag-tz{background-position:95% 55%}.em.em-flag-th{background-position:95% 27.5%}.em.em-flag-tl{background-position:95% 35%}.em.em-flag-tg{background-position:95% 25%}.em.em-flag-tk{background-position:95% 32.5%}.em.em-flag-to{background-position:95% 42.5%}.em.em-flag-tt{background-position:95% 47.5%}.em.em-flag-tn{background-position:95% 40%}.em.em-flag-tr{background-position:95% 45%}.em.em-flag-tm{background-position:95% 37.5%}.em.em-flag-tc{background-position:95% 17.5%}.em.em-flag-tv{background-position:95% 50%}.em.em-flag-ug{background-position:95% 60%}.em.em-flag-ua{background-position:95% 57.5%}.em.em-flag-ae{background-position:80% 87.5%}.em.em-flag-gb,.em.em-gb,.em.em-uk{background-position:85% 80%}.em.em-flag-us,.em.em-us{background-position:95% 65%}.em.em-flag-vi{background-position:95% 82.5%}.em.em-flag-uy{background-position:95% 67.5%}.em.em-flag-uz{background-position:95% 70%}.em.em-flag-vu{background-position:95% 87.5%}.em.em-flag-va{background-position:95% 72.5%}.em.em-flag-ve{background-position:95% 77.5%}.em.em-flag-vn{background-position:95% 85%}.em.em-flag-wf{background-position:95% 90%}.em.em-flag-eh{background-position:85% 50%}.em.em-flag-ye{background-position:95% 97.5%}.em.em-flag-zm{background-position:97.5% 2.5%}.em.em-flag-zw{background-position:97.5% 5%}.em.em-flag-ac{background-position:80% 82.5%}.em.em-flag-bv{background-position:82.5% 65%}.em.em-flag-cp{background-position:85% 2.5%}.em.em-flag-dg{background-position:85% 25%}.em.em-flag-ea{background-position:85% 40%}.em.em-flag-hm{background-position:87.5% 25%}.em.em-flag-mf{background-position:90% 37.5%}.em.em-flag-sj{background-position:92.5% 85%}.em.em-flag-ta{background-position:95% 15%}.em.em-flag-um{background-position:95% 62.5%}.ivu-load-loop{-webkit-animation:ani-load-loop 1s linear infinite;animation:ani-load-loop 1s linear infinite}@-webkit-keyframes ani-load-loop{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ani-load-loop{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.input-group-error-append,.input-group-error-prepend{background-color:#fff;border:1px solid #ed4014}.input-group-error-append .ivu-select-selection,.input-group-error-prepend .ivu-select-selection{background-color:inherit;border:1px solid transparent}.input-group-error-prepend{border-right:0}.input-group-error-append{border-left:0} +body,html{overflow:hidden;margin:0;padding:0}#app,body,html{width:100%;height:100%}.dialog-fade-enter-active{-webkit-animation:anim-open .3s;animation:anim-open .3s}.dialog-fade-leave-active{-webkit-animation:anim-close .3s;animation:anim-close .3s}@-webkit-keyframes anim-open{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes anim-open{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes anim-close{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}@keyframes anim-close{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:0}}.ivu-modal-wrap /deep/ .connect_customerServer_img{display:none}.right-box .ivu-color-picker .ivu-select-dropdown{position:absolute;left:-73px!important}.ivu-global-footer{margin:5px 0;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.i-copyright{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-global-footer-links{margin-bottom:5px}.ivu-global-footer-links a:not(:last-child){margin-right:40px}.ivu-global-footer-links a{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-global-footer-copyright,.ivu-global-footer-links a{font-size:14px;color:#808695}.ivu-global-footer-copyright a{color:#808695}.collased-menu-dropdown[data-v-04ee1a6d]{width:100%}.child-menu[data-v-04ee1a6d]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%}.side-menu-wrapper{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.side-menu-wrapper .menu-collapsed{padding-top:10px}.side-menu-wrapper .menu-collapsed .ivu-dropdown{width:100%;margin-bottom:10px}.side-menu-wrapper .menu-collapsed .ivu-dropdown .ivu-dropdown-rel a{width:100%}.side-menu-wrapper .menu-collapsed .ivu-tooltip{width:100%;margin-bottom:10px}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-rel{width:100%}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-popper .ivu-tooltip-content .ivu-tooltip-arrow{border-right-color:#fff}.side-menu-wrapper .menu-collapsed .ivu-tooltip .ivu-tooltip-popper .ivu-tooltip-content .ivu-tooltip-inner{background:#fff;color:#495060}.side-menu-wrapper a.drop-menu-a{display:inline-block;padding:6px 15px;width:100%;text-align:center;color:#495060}.menu-title{padding-left:6px}.ivu-menu .side-menu-wrapper a.drop-menu-a{padding:15px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer,.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-select-dropdown{background:#001529!important;width:170px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu{min-width:unset!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item{padding:9px 0 9px 30px!important;font-size:13px!important;text-align:left}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item:hover{background-color:#2d8cf0!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .menu-title{padding-left:0!important;color:hsla(0,0%,88.2%,.7)!important;font-size:13px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .ivu-dropdown-menu .ivu-dropdown-item:hover .menu-title{color:#fff!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown{padding:9px 0 9px 30px!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover{background-color:#2d8cf0!important;color:#fff!important}.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover>.ivu-dropdown-rel>.drop-menu-a>.ivu-icon,.ivu-menu .ivu-select-dropdown.ivu-dropdown-transfer .collased-menu-dropdown:hover>.ivu-dropdown-rel>.drop-menu-a>.menu-title{color:#fff!important}.trans[data-v-5080f098]{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.sider-trigger-a[data-v-5080f098]{padding:6px;width:40px;height:40px;display:inline-block;text-align:center;color:#5c6b77;margin-top:5px}.sider-trigger-a .iconcaidanshouqi[data-v-5080f098]{vertical-align:top}.sider-trigger-a.collapsed[data-v-5080f098] .iconcaidanshouqi,.sider-trigger-a .iconcaidanshouqi[data-v-5080f098]{-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease,-webkit-transform .2s ease}.sider-trigger-a.collapsed[data-v-5080f098] .iconcaidanshouqi{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.sider-trigger-a[data-v-5080f098]{padding:14px 6px;margin-left:10px;line-height:16px}.iconcaidanshouqi[data-v-5080f098]{font-size:16px}.custom-bread-crumb{display:inline-block;vertical-align:top;margin-left:46px!important}.header-bar{width:100%;height:100%;position:relative}.header-bar .custom-content-con{float:right;height:auto;padding-right:20px;line-height:50px}.header-bar .custom-content-con>*{float:right}.ivu-icon-ios-refresh[data-v-edd85ffa]{color:#999!important;font-size:23px}.i-layout-header-trigger[data-v-edd85ffa]{position:absolute;margin:0 10px;cursor:pointer;font-size:19px}.i-layout-header-trigger[data-v-edd85ffa]:hover{color:#2d8cf0}.no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.size,.tags-nav{width:100%;height:100%}.tags-nav{position:relative;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tags-nav .close-con{right:0;width:32px;text-align:center}.tags-nav .btn-con,.tags-nav .close-con{position:absolute;top:0;height:100%;background:#fff;z-index:10}.tags-nav .btn-con{padding-top:3px}.tags-nav .btn-con button{padding:6px 4px;line-height:14px;text-align:center}.tags-nav .btn-con.left-btn{left:0}.tags-nav .btn-con.right-btn{right:32px;border-right:1px solid #f0f0f0}.tags-nav .scroll-outer{position:absolute;left:28px;right:61px;top:0;bottom:0;-webkit-box-shadow:0 0 3px 2px hsla(0,0%,39.2%,.1) inset;box-shadow:inset 0 0 3px 2px hsla(0,0%,39.2%,.1)}.tags-nav .scroll-outer .scroll-body{height:calc(100% - 1px);display:inline-block;padding:1px 4px 0;position:absolute;overflow:visible;white-space:nowrap;-webkit-transition:left .3s ease;transition:left .3s ease}.tags-nav .scroll-outer .scroll-body .ivu-tag-dot-inner{-webkit-transition:background .2s ease;transition:background .2s ease}.tags-nav .contextmenu{position:absolute;margin:0;padding:5px 0;background:#fff;z-index:1000;list-style-type:none;border-radius:4px;-webkit-box-shadow:2px 2px 3px 0 rgba(0,0,0,.1);box-shadow:2px 2px 3px 0 rgba(0,0,0,.1)}.tags-nav .contextmenu li{margin:0;padding:5px 15px;cursor:pointer}.tags-nav .contextmenu li:hover{background:#eee}.user-avatar-dropdown{cursor:pointer;display:inline-block;vertical-align:middle}.user-avatar-dropdown .ivu-badge-dot{top:16px}.iconImg[data-v-75b6642a]{font-size:18px;margin-right:6px;margin-bottom:2px}.user-avatar-dropdown .ivu-dropdown-item~.ivu-dropdown-item[data-v-75b6642a]{border-top:1px solid #e8eaec}.full-screen-btn-con{margin-right:17px!important}.full-screen-btn-con .ivu-tooltip-rel i{font-size:20px!important}.full-screen-btn-con .ivu-tooltip-rel{height:50px;line-height:50px}.full-screen-btn-con .ivu-tooltip-rel i{cursor:pointer}.search .ivu-select-selection{margin-right:20px}.search .ivu-select-visible .ivu-select-selection{-webkit-box-shadow:unset!important;box-shadow:unset!important}.search li.ivu-select-item{text-align:left}.search .select .ivu-select-input,.search .select .ivu-select-item{font-size:14px!important}.header-notice{margin-right:30px}.header-notice .ivu-dropdown-item{font-size:14px!important;font-weight:400;line-height:22px;color:#515a6e}.header-notice .ivu-dropdown-item~.ivu-dropdown-item{border-top:1px solid #e8eaec}.header-notice .iconImg{width:32px;height:32px;line-height:32px;border-radius:50%;color:#fff;font-size:18px;margin-right:10px;vertical-align:middle}.header-notice .ivu-dropdown{height:30px;line-height:30px}.header-notice .ivu-dropdown .ivu-select-dropdown{margin-top:22px}.header-notice .ivu-badge-dot{z-index:0!important}.main .logo-con{height:64px;padding:10px}.main .logo-con img{height:44px;width:auto;display:block;margin:0 auto}.main .header-con{background:#fff;padding:0 20px;width:100%}.main .ivu-layout-header{height:50px;line-height:50px}.main .main-layout-con{height:100%;overflow:hidden}.main .main-content-con{height:calc(100% - 60px);overflow:hidden}.main .tag-nav-wrapper{padding:0;height:42px;background:#f0f0f0}.main .content-wrapper{padding:18px;height:calc(100% - 80px);overflow:auto}.main .left-sider .ivu-layout-sider-children{overflow-y:scroll;margin-right:-18px;overflow-x:hidden}.ivu-menu-item>i,.ivu-menu-submenu>.ivu-menu>.ivu-menu-item>i{margin-right:8px!important}.collased-menu-dropdown{width:100%;margin:0;line-height:normal;padding:7px 0 6px 16px;clear:both;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.collased-menu-dropdown:hover{background:hsla(0,0%,39.2%,.1)}.collased-menu-dropdown *{color:#515a6e}.collased-menu-dropdown .ivu-menu-item>i{margin-right:12px!important}.collased-menu-dropdown .ivu-menu-submenu>.ivu-menu>.ivu-menu-item>i{margin-right:8px!important}.ivu-select-dropdown.ivu-dropdown-transfer{max-height:400px}.main .header-con{padding:0 20px 0 0}.main .logo-con img{height:50px}.main .tag-nav-wrapper{background:unset}.open-image{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:fixed;background-color:rgba(0,0,0,.6);height:100%;width:100%;top:0;left:0;z-index:1000}.open-image img{width:800px}.c_row-item[data-v-c4e45d52]{margin-top:10px;margin-bottom:10px}.c_row-item[data-v-c4e45d52] .ivu-select-dropdown{left:-27px!important}.color-box[data-v-c4e45d52]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-c4e45d52]{margin-left:15px}.color-box .color-item span[data-v-c4e45d52]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.footer[data-v-da517ae2]{margin:15px 0}.tabBox_img[data-v-da517ae2]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-da517ae2]{width:100%;height:100%}.tabform[data-v-da517ae2] .ivu-form-item{margin-bottom:16px!important}.btn[data-v-da517ae2]{margin-top:20px;float:right}.goodList[data-v-da517ae2] table{width:100%!important}.footer[data-v-7317c5b3]{margin:15px 0}.tabBox_img[data-v-7317c5b3]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-7317c5b3]{width:100%;height:100%}.tabform[data-v-7317c5b3] .ivu-form-item{margin-bottom:16px!important}.btn[data-v-7317c5b3]{margin-top:20px;float:right}.goodList[data-v-7317c5b3] table{width:100%!important}.middleTop[data-v-4343ea95] .ivu-modal-wrap .ivu-modal{top:50%!important;margin-top:-350px}.goods-box[data-v-4343ea95]{padding:16px 0;margin-bottom:16px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.goods-box .list-group[data-v-4343ea95],.goods-box .wrapper[data-v-4343ea95]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-4343ea95]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;margin-bottom:10px;background:#f7f7f7}.goods-box .add-item .iconfont[data-v-4343ea95]{font-size:18px;color:#d8d8d8}.goods-box .item[data-v-4343ea95]{position:relative;width:80px;height:80px;margin-bottom:20px;margin-right:12px}.goods-box .item[data-v-4343ea95]:nth-child(4n){margin-right:0}.goods-box .item img[data-v-4343ea95]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-4343ea95]{position:absolute;right:-10px;top:-16px;color:#999;font-size:28px;cursor:pointer}.line-box[data-v-b0989b44]{margin-top:20px;padding:10px 0 20px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.line-box .title p[data-v-b0989b44]{font-size:14px;color:#000}.line-box .title span[data-v-b0989b44]{color:#999}.line-box .input-box[data-v-b0989b44]{position:relative;margin-top:10px}.line-box .input-box .add-btn[data-v-b0989b44]{margin-top:18px}.line-box .input-box .input-item[data-v-b0989b44]{position:relative;margin-bottom:15px}.line-box .input-box .input-item .icon[data-v-b0989b44],.line-box .input-box .input-item[data-v-b0989b44]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.line-box .input-box .input-item .icon[data-v-b0989b44]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:36px;cursor:move;color:#d8d8d8}.line-box .input-box .input-item[data-v-b0989b44] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px}.line-box .input-box .close[data-v-b0989b44]{position:absolute;right:10px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer}[data-v-52ee298c] .ivu-tree-title-selected,[data-v-52ee298c] .ivu-tree-title-selected:hover,[data-v-52ee298c] .ivu-tree-title:hover{background-color:unset;color:#1890ff}[data-v-52ee298c] .ivu-table-cell-tree{border:0;font-size:15px;background-color:unset}[data-v-52ee298c] .ivu-table-cell-tree .ivu-icon-ios-add:before{content:"\F11F"}[data-v-52ee298c] .ivu-table-cell-tree .ivu-icon-ios-remove:before{content:"\F116"}.tabBox_img[data-v-52ee298c]{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img[data-v-52ee298c]{width:100%;height:100%}[data-v-52ee298c]::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px #ddd}[data-v-52ee298c]::-webkit-scrollbar{width:4px!important}.on[data-v-52ee298c]{background-color:#2d8cf0!important;color:#fff!important}.menu-item[data-v-52ee298c]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;word-break:break-all}.menu-item .icon-box[data-v-52ee298c]{z-index:3;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:none}.menu-item:hover .icon-box[data-v-52ee298c]{display:block}.menu-item .right-menu[data-v-52ee298c]{z-index:10;position:absolute;right:-106px;top:-11px;width:auto;min-width:121px}.table_box[data-v-52ee298c]{margin-top:14px;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative}.table_box .left_box[data-v-52ee298c]{width:171px;height:470px;border-right:1px solid #eee;overflow-x:hidden;overflow-y:auto}.table_box .left_box .left_cont[data-v-52ee298c]{margin-bottom:12px;cursor:pointer}.table_box .right_box[data-v-52ee298c]{margin-left:23px;font-size:13px;font-family:PingFang SC;width:645px;height:470px;overflow-x:hidden;overflow-y:auto}.table_box .right_box .cont[data-v-52ee298c]{font-weight:500;color:#000;font-weight:700}.table_box .right_box .Box[data-v-52ee298c]{margin-top:19px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table_box .right_box .Box .cont_box[data-v-52ee298c]{font-weight:400;color:rgba(0,0,0,.85);background:#fafafa;border-radius:3px;text-align:center;padding:7px 30px;margin-right:10px;margin-bottom:18px;cursor:pointer}.table_box .right_box .Box .cont_box[data-v-52ee298c]:hover{background-color:#eee;color:#333}.table_box .right_box .Box .item[data-v-52ee298c]{position:relative}.table_box .right_box .Box .item .iconfont[data-v-52ee298c]{display:none}.table_box .right_box .Box .item:hover .iconfont[data-v-52ee298c]{display:block}.table_box .right_box .Box .iconfont[data-v-52ee298c]{position:absolute;right:9px;top:-8px;font-size:18px;color:#333}.table_box .Button[data-v-52ee298c]{position:absolute;bottom:15px;right:15px;font-family:PingFangSC-Regular;text-align:center}.table_box .Button .cancel[data-v-52ee298c]{width:70px;height:32px;background:#fff;border:1px solid rgba(0,0,0,.149);border-radius:2px;font-size:14px;color:#000;line-height:32px;float:left;margin-right:10px;cursor:pointer}.table_box .Button .ok[data-v-52ee298c]{width:70px;height:32px;background:#1890ff;border-radius:2px;font-size:14px;color:#fff;line-height:32px;float:left;cursor:pointer}.numbox[data-v-e78a6bb4]{margin:20px 0 10px 0}.numbox span[data-v-e78a6bb4]{width:80px;color:#999}.c_row-item[data-v-e78a6bb4]{width:100%}.c_row-item~.c_row-item[data-v-e78a6bb4]{margin-top:20px}.dif[data-v-e78a6bb4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-e78a6bb4]{margin-left:10px;width:350px}.numbox[data-v-7a03b6b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:20px 0 10px 0}.numbox span[data-v-7a03b6b7]{width:80px;color:#999}.c_row-item[data-v-7a03b6b7]{width:100%}.c_row-item[data-v-64bc1227]{margin-bottom:10px}.editor[data-v-239c7400]{width:100%;margin:0 auto}.text[data-v-239c7400] .ivu-input-wrapper,.text[data-v-239c7400] textarea.ivu-input{min-height:600px}.text[data-v-239c7400]{border:1px solid #ccc;min-height:600px}.nameStyle[data-v-60de8b37]{position:absolute;white-space:nowrap;z-index:9;background:#eee;height:20px;line-height:20px;color:#555;border:1px solid #ebebeb;padding:0 5px;left:56px;bottom:-18px}.iconbianji1[data-v-60de8b37]{font-size:13px}[data-v-60de8b37] .ivu-badge-count{margin-top:18px!important;margin-right:19px!important}[data-v-60de8b37] ivu-tree-title-selected:hover{color:unset;background-color:unset}[data-v-60de8b37] .ivu-tree-title{padding:0;width:100%}[data-v-60de8b37] .ivu-span{padding:0;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}[data-v-60de8b37] .ivu-tree ul li{margin:0}[data-v-60de8b37] .ivu-tree-arrow{width:17px;color:#626262}[data-v-60de8b37] .ivu-span:hover{background:#f5f5f5;color:rgba(0,0,0,.4)!important}[data-v-60de8b37] .ivu-tree-arrow i{vertical-align:bottom}.Nav[data-v-60de8b37] .ivu-icon-ios-arrow-forward:before{content:"\F341"!important;font-size:20px}[data-v-60de8b37] .ivu-btn-icon-only.ivu-btn-small{padding:unset!important}.selectTreeClass[data-v-60de8b37]{background:#d5e8fc}.treeBox[data-v-60de8b37]{width:100%;height:100%}.treeBox .ivu-tree-title-selected[data-v-60de8b37]:hover,.treeBox[data-v-60de8b37] .ivu-tree-title-selected{color:#2d8cf0!important;background-color:#fff!important}.treeBox[data-v-60de8b37] .ivu-btn-icon-only{width:20px!important;height:20px!important}.treeBox[data-v-60de8b37] .ivu-tree-title:hover{color:#2d8cf0!important;background-color:#fff!important}.pictrueList_pic[data-v-60de8b37]{position:relative;width:100px;cursor:pointer}.pictrueList_pic img[data-v-60de8b37]{width:100%;height:100px}.pictrueList_pic p[data-v-60de8b37]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:20px;text-align:center}.pictrueList_pic .number[data-v-60de8b37]{height:33px;position:absolute;right:0;top:0}.trees-coadd[data-v-60de8b37]{width:100%;border-radius:4px;overflow:hidden;position:relative}.trees-coadd .scollhide[data-v-60de8b37]{overflow-x:hidden;overflow-y:scroll;padding:10px 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.trees-coadd .scollhide .trees[data-v-60de8b37]{width:100%;height:374px}.trees-coadd .scollhide[data-v-60de8b37]::-webkit-scrollbar{display:none}.treeSel[data-v-60de8b37] .ivu-select-dropdown-list{padding:0 5px!important;-webkit-box-sizing:border-box;box-sizing:border-box;width:200px}.imagesNo[data-v-60de8b37]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:65px 0}.imagesNo .imagesNo_sp[data-v-60de8b37]{font-size:13px;color:#dbdbdb;line-height:3}.Modal[data-v-60de8b37]{width:100%;height:100%;background:#fff!important}.Nav[data-v-60de8b37]{width:100%;border-right:1px solid #eee}.colLeft[data-v-60de8b37]{padding-right:0!important;height:100%}.conter[data-v-60de8b37]{width:100%;height:100%;margin-left:0!important}.conter .bnt[data-v-60de8b37]{width:100%;padding:0 13px 10px 8px;-webkit-box-sizing:border-box;box-sizing:border-box}.conter .pictrueList[data-v-60de8b37]{padding-left:6px;width:100%;max-width:1200px;overflow-x:hidden;overflow-y:auto}.conter .pictrueList img[data-v-60de8b37]{width:100%;border:2px solid #fff}.conter .pictrueList img.on[data-v-60de8b37]{border:2px solid #5fb878}.conter .footer[data-v-60de8b37]{padding:0 20px 10px 20px}.demo-badge[data-v-60de8b37]{width:42px;height:42px;background:transparent;border-radius:6px;display:inline-block}.bnt[data-v-60de8b37] .ivu-tree-children{padding:5px 0}.trees-coadd[data-v-60de8b37] .ivu-tree-children .ivu-tree-arrow{line-height:25px}.iview-video-style[data-v-c530aa1e]{width:40%;height:180px;border-radius:10px;background-color:#707070;margin-top:10px;position:relative;overflow:hidden}.iview-video-style .iconv[data-v-c530aa1e]{color:#fff;line-height:180px;width:50px;height:50px;display:inherit;font-size:26px;position:absolute;top:-74px;left:50%;margin-left:-25px}.iview-video-style .mark[data-v-c530aa1e]{position:absolute;width:100%;height:30px;top:0;background-color:rgba(0,0,0,.5);text-align:center}.bottom[data-v-ccf9d2ce]{margin-bottom:10px;cursor:pointer}.slider-box[data-v-68665594]{margin-top:10px}.radio-box[data-v-c8ce1b7a] .ivu-radio-group-button{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.radio-box[data-v-c8ce1b7a] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.radio-box.on[data-v-c8ce1b7a] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.title-tips[data-v-c8ce1b7a]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-c8ce1b7a]{margin-right:14px;color:#999}.iconfont[data-v-c8ce1b7a]{font-size:20px;line-height:18px}.tabBars .box-item[data-v-2928c038]:last-child{margin-bottom:20px}.tabBars .title[data-v-2928c038]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.tabBars .box-item[data-v-2928c038]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 30px 20px 0;border:1px solid #ddd;border-radius:3px}.tabBars .box-item .del-box[data-v-2928c038]{position:absolute;right:-13px;top:-18px;cursor:pointer}.tabBars .box-item .del-box .iconfont[data-v-2928c038]{color:#999;font-size:30px}.tabBars .box-item .left-tool[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.tabBars .box-item .left-tool .iconfont[data-v-2928c038]{color:#999;font-size:36px;cursor:move}.tabBars .box-item .right-wrapper[data-v-2928c038]{-webkit-box-flex:1;-ms-flex:1;flex:1}.tabBars .box-item .right-wrapper .img-wrapper[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex}.tabBars .box-item .right-wrapper .img-wrapper .img-item[data-v-2928c038]{position:relative;width:80px;height:80px;margin-right:20px;cursor:pointer}.tabBars .box-item .right-wrapper .img-wrapper .img-item img[data-v-2928c038]{display:block;width:100%;height:100%}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img[data-v-2928c038]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f7f7f7;font-size:12px;color:#bfbfbf}.tabBars .box-item .right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-2928c038]{font-size:16px}.tabBars .box-item .right-wrapper .img-wrapper .img-item .txt[data-v-2928c038]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:rgba(0,0,0,.4);color:#fff;font-size:12px}.tabBars .box-item .right-wrapper .c_row-item[data-v-2928c038]{margin-top:10px}.tabBars .add-btn[data-v-2928c038]{margin-bottom:20px;width:100%;height:40px}.icondrag2[data-v-c4d7b3bc]{font-size:26px;color:#d8d8d8}.c_product[data-v-c4d7b3bc]{margin-bottom:20px}.c_product .list-box .item[data-v-c4d7b3bc]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:23px;padding:18px 20px 18px 0;border:1px solid #eee}.c_product .list-box .item .delete[data-v-c4d7b3bc]{position:absolute;right:0;top:0;right:-13px;top:-14px;color:#999;cursor:pointer}.c_product .list-box .move-icon[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .content[data-v-c4d7b3bc]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;width:300px}.c_product .list-box .content .con-item[data-v-c4d7b3bc]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-c4d7b3bc]{width:45px;font-size:13px}.c_product .add-btn[data-v-c4d7b3bc]{margin-top:18px}.title[data-v-c4d7b3bc]{font-size:12px;color:#999}.iconfont[data-v-c4d7b3bc]{color:#ddd;font-size:28px}.dif[data-v-c4d7b3bc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.slider-box[data-v-c4d7b3bc]{margin-left:10px;width:250px}.txt_tab[data-v-dd27264e]{margin-top:20px}.c_row-item[data-v-dd27264e]{margin-bottom:20px}.row-item[data-v-dd27264e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-dd27264e]{font-size:18px}.title[data-v-b26c3d5e]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-b26c3d5e]{width:60px;height:60px;margin-bottom:10px;background-color:#f2f2f2}.box img[data-v-b26c3d5e]{width:100%;height:100%}.upload-box[data-v-b26c3d5e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.icondrag2[data-v-b1217a28]{font-size:26px;color:#d8d8d8}.hot_imgs[data-v-b1217a28]{margin-bottom:20px}.hot_imgs .title[data-v-b1217a28]{padding:0 0 13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-b1217a28]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px}.hot_imgs .list-box .item .move-icon[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move;color:#d8d8d8}.hot_imgs .list-box .item .img-box[data-v-b1217a28]{position:relative;width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-b1217a28]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-b1217a28]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px;width:300px}.hot_imgs .list-box .item .info .info-item span[data-v-b1217a28]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-b1217a28]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .list-box .item .delect-btn[data-v-b1217a28]{position:absolute;right:-12px;top:-12px;color:#999}.hot_imgs .list-box .item .delect-btn .iconfont[data-v-b1217a28]{font-size:28px;color:#999}.hot_imgs .add-btn[data-v-b1217a28]{margin-top:10px}.upload-box[data-v-b1217a28]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc}.iconfont[data-v-b1217a28]{color:#ddd;font-size:28px}.em{background:url(https://v4.wuht.net/statics/images/look.png)}.em.em-smile{background-position:65% 60%}.em.em-laughing{background-position:65% 65%}.em.em-blush{background-position:65% 75%}.em.em-smiley{background-position:65% 57.5%}.em.em-smirk{background-position:65% 87.5%}.em.em-heart_eyes{background-position:65% 82.5%}.em.em-kissing_heart{background-position:67.5% 7.5%}.em.em-kissing_closed_eyes{background-position:67.5% 12.5%}.em.em-flushed{background-position:67.5% 75%}.em.em-relieved{background-position:65% 80%}.em.em-satisfied{background-position:65% 65%}.em.em-grin{background-position:65% 52.5%}.em.em-wink{background-position:65% 72.5%}.em.em-stuck_out_tongue_winking_eye{background-position:67.5% 17.5%}.em.em-stuck_out_tongue_closed_eyes{background-position:67.5% 20%}.em.em-grinning{background-position:65% 50%}.em.em-kissing{background-position:67.5% 5%}.em.em-kissing_smiling_eyes{background-position:67.5% 10%}.em.em-stuck_out_tongue{background-position:67.5% 15%}.em.em-sleeping{background-position:67.5% 77.5%}.em.em-worried{background-position:67.5% 25%}.em.em-frowning{background-position:67.5% 42.5%}.em.em-anguished{background-position:67.5% 45%}.em.em-open_mouth{background-position:67.5% 62.5%}.em.em-grimacing{background-position:67.5% 57.5%}.em.em-confused{background-position:67.5% 0}.em.em-hushed{background-position:67.5% 65%}.em.em-expressionless{background-position:65% 92.5%}.em.em-unamused{background-position:65% 95%}.em.em-sweat_smile{background-position:65% 62.5%}.em.em-sweat{background-position:65% 97.5%}.em.em-disappointed_relieved{background-position:67.5% 40%}.em.em-weary{background-position:67.5% 50%}.em.em-pensive{background-position:65% 100%}.em.em-disappointed{background-position:67.5% 22.5%}.em.em-confounded{background-position:67.5% 2.5%}.em.em-fearful{background-position:67.5% 47.5%}.em.em-cold_sweat{background-position:67.5% 67.5%}.em.em-persevere{background-position:67.5% 35%}.em.em-cry{background-position:67.5% 32.5%}.em.em-sob{background-position:67.5% 60%}.em.em-joy{background-position:65% 55%}.em.em-astonished{background-position:67.5% 72.5%}.em.em-scream{background-position:67.5% 70%}.em.em-tired_face{background-position:67.5% 55%}.em.em-angry{background-position:67.5% 27.5%}.em.em-rage{background-position:67.5% 30%}.em.em-triumph{background-position:67.5% 37.5%}.em.em-sleepy{background-position:67.5% 52.5%}.em.em-yum{background-position:65% 77.5%}.em.em-mask{background-position:67.5% 85%}.em.em-sunglasses{background-position:65% 85%}.em.em-dizzy_face{background-position:67.5% 80%}.em.em-imp{background-position:45% 77.5%}.em.em-smiling_imp{background-position:65% 70%}.em.em-neutral_face{background-position:65% 90%}.em.em-no_mouth{background-position:67.5% 82.5%}.em.em-innocent{background-position:65% 67.5%}.em.em-alien{background-position:45% 72.5%}.em.em-yellow_heart{background-position:50% 17.5%}.em.em-blue_heart{background-position:50% 12.5%}.em.em-purple_heart{background-position:50% 20%}.em.em-green_heart{background-position:50% 15%}.em.em-broken_heart{background-position:50% 0}.em.em-heartbeat{background-position:47.5% 100%}.em.em-heartpulse{background-position:50% 7.5%}.em.em-two_hearts{background-position:50% 2.5%}.em.em-revolving_hearts{background-position:50% 25%}.em.em-cupid{background-position:50% 10%}.em.em-sparkling_heart{background-position:50% 5%}.em.em-dizzy{background-position:50% 70%}.em.em-boom,.em.em-collision{background-position:50% 42.5%}.em.em-anger{background-position:50% 35%}.em.em-exclamation{background-position:10% 20%}.em.em-zzz{background-position:50% 40%}.em.em-dash{background-position:50% 50%}.em.em-sweat_drops{background-position:50% 45%}.em.em-fire{background-position:57.5% 65%}.em.em-hankey,.em.em-poop,.em.em-shit{background-position:50% 52.5%}.em.em---1,.em.em-thumbsup{background-position:37.5% 25%}.em.em--1,.em.em-thumbsdown{background-position:37.5% 40%}.em.em-ok_hand{background-position:37.5% 10%}.em.em-facepunch,.em.em-punch{background-position:35% 82.5%}.em.em-fist{background-position:7.5% 25%}.em.em-v{background-position:7.5% 55%}.em.em-wave{background-position:35% 97.5%}.em.em-hand,.em.em-raised_hand{background-position:7.5% 40%}.em.em-open_hands{background-position:37.5% 70%}.em.em-point_up{background-position:2.5% 27.5%}.em.em-point_down{background-position:35% 37.5%}.em.em-point_left{background-position:35% 52.5%}.em.em-point_right{background-position:35% 67.5%}.em.em-raised_hands{background-position:70% 87.5%}.em.em-pray{background-position:72.5% 30%}.em.em-point_up_2{background-position:35% 22.5%}.em.em-clap{background-position:37.5% 55%}.em.em-muscle{background-position:50% 57.5%}.em.em-runner,.em.em-running{background-position:25% 25%}.em.em-couple{background-position:40% 95%}.em.em-family{background-position:40% 92.5%}.em.em-two_men_holding_hands{background-position:40% 97.5%}.em.em-two_women_holding_hands{background-position:40% 100%}.em.em-dancer{background-position:47.5% 12.5%}.em.em-dancers{background-position:42.5% 15%}.em.em-ok_woman{background-position:70% 35%}.em.em-no_good{background-position:70% 20%}.em.em-information_desk_person{background-position:45% 85%}.em.em-raising_hand{background-position:70% 72.5%}.em.em-bride_with_veil{background-position:42.5% 20%}.em.em-person_with_pouting_face{background-position:72.5% 15%}.em.em-person_frowning{background-position:72.5% 0}.em.em-bow{background-position:70% 50%}.em.em-couplekiss{background-position:47.5% 90%}.em.em-couple_with_heart{background-position:47.5% 95%}.em.em-massage{background-position:47.5% 45%}.em.em-haircut{background-position:47.5% 60%}.em.em-nail_care{background-position:47.5% 30%}.em.em-boy{background-position:40% 35%}.em.em-girl{background-position:40% 50%}.em.em-woman{background-position:40% 80%}.em.em-man{background-position:40% 65%}.em.em-baby{background-position:45% 7.5%}.em.em-older_woman{background-position:42.5% 95%}.em.em-older_man{background-position:42.5% 80%}.em.em-person_with_blond_hair{background-position:42.5% 35%}.em.em-man_with_gua_pi_mao{background-position:42.5% 50%}.em.em-man_with_turban{background-position:42.5% 65%}.em.em-construction_worker{background-position:45% 22.5%}.em.em-cop{background-position:42.5% 2.5%}.em.em-angel{background-position:45% 60%}.em.em-princess{background-position:45% 37.5%}.em.em-smiley_cat{background-position:67.5% 92.5%}.em.em-smile_cat{background-position:67.5% 87.5%}.em.em-heart_eyes_cat{background-position:67.5% 95%}.em.em-kissing_cat{background-position:67.5% 100%}.em.em-smirk_cat{background-position:67.5% 97.5%}.em.em-scream_cat{background-position:70% 5%}.em.em-crying_cat_face{background-position:70% 2.5%}.em.em-joy_cat{background-position:67.5% 90%}.em.em-pouting_cat{background-position:70% 0}.em.em-japanese_ogre{background-position:45% 50%}.em.em-japanese_goblin{background-position:45% 52.5%}.em.em-see_no_evil{background-position:70% 62.5%}.em.em-hear_no_evil{background-position:70% 65%}.em.em-speak_no_evil{background-position:70% 67.5%}.em.em-guardsman{background-position:45% 100%}.em.em-skull{background-position:45% 80%}.em.em-feet{background-position:32.5% 77.5%}.em.em-lips{background-position:35% 15%}.em.em-kiss{background-position:47.5% 80%}.em.em-droplet{background-position:50% 47.5%}.em.em-ear{background-position:32.5% 90%}.em.em-eyes{background-position:32.5% 82.5%}.em.em-nose{background-position:35% 2.5%}.em.em-tongue{background-position:35% 17.5%}.em.em-love_letter{background-position:47.5% 82.5%}.em.em-bust_in_silhouette{background-position:40% 27.5%}.em.em-busts_in_silhouette{background-position:40% 30%}.em.em-speech_balloon{background-position:50% 72.5%}.em.em-thought_balloon{background-position:50% 75%}.em.em-cat{background-position:32.5% 45%}.em.em-dog{background-position:32.5% 57.5%}.em.em-mouse{background-position:32.5% 35%}.em.em-hamster{background-position:32.5% 65%}.em.em-rabbit{background-position:32.5% 42.5%}.em.em-wolf{background-position:32.5% 67.5%}.em.em-frog{background-position:32.5% 62.5%}.em.em-tiger{background-position:32.5% 40%}.em.em-koala{background-position:32.5% 22.5%}.em.em-bear{background-position:32.5% 70%}.em.em-pig{background-position:32.5% 60%}.em.em-pig_nose{background-position:32.5% 75%}.em.em-cow{background-position:32.5% 37.5%}.em.em-boar{background-position:30% 82.5%}.em.em-monkey_face{background-position:32.5% 55%}.em.em-monkey{background-position:30% 70%}.em.em-horse{background-position:32.5% 52.5%}.em.em-racehorse{background-position:30% 60%}.em.em-camel{background-position:32.5% 30%}.em.em-sheep{background-position:30% 67.5%}.em.em-elephant{background-position:30% 85%}.em.em-panda_face{background-position:32.5% 72.5%}.em.em-snake{background-position:30% 57.5%}.em.em-bird{background-position:32.5% 17.5%}.em.em-baby_chick{background-position:32.5% 12.5%}.em.em-hatched_chick{background-position:32.5% 15%}.em.em-hatching_chick{background-position:32.5% 10%}.em.em-chicken{background-position:30% 75%}.em.em-penguin{background-position:32.5% 20%}.em.em-turtle{background-position:32.5% 7.5%}.em.em-bug{background-position:30% 92.5%}.em.em-honeybee{background-position:30% 97.5%}.em.em-ant{background-position:30% 95%}.em.em-beetle{background-position:30% 100%}.em.em-snail{background-position:30% 55%}.em.em-octopus{background-position:30% 87.5%}.em.em-tropical_fish{background-position:32.5% 2.5%}.em.em-fish{background-position:32.5% 0}.em.em-whale{background-position:32.5% 50%}.em.em-whale2{background-position:30% 52.5%}.em.em-dolphin{background-position:32.5% 32.5%}.em.em-cow2{background-position:30% 35%}.em.em-ram{background-position:30% 62.5%}.em.em-rat{background-position:30% 25%}.em.em-water_buffalo{background-position:30% 32.5%}.em.em-tiger2{background-position:30% 37.5%}.em.em-rabbit2{background-position:30% 42.5%}.em.em-dragon{background-position:30% 47.5%}.em.em-goat{background-position:30% 65%}.em.em-rooster{background-position:30% 72.5%}.em.em-dog2{background-position:30% 77.5%}.em.em-pig2{background-position:30% 80%}.em.em-mouse2{background-position:30% 27.5%}.em.em-ox{background-position:30% 30%}.em.em-dragon_face{background-position:32.5% 47.5%}.em.em-blowfish{background-position:32.5% 5%}.em.em-crocodile{background-position:30% 50%}.em.em-dromedary_camel{background-position:32.5% 27.5%}.em.em-leopard{background-position:30% 40%}.em.em-cat2{background-position:30% 45%}.em.em-poodle{background-position:32.5% 25%}.em.em-paw_prints{background-position:32.5% 77.5%}.em.em-bouquet{background-position:47.5% 92.5%}.em.em-shell{background-position:30% 90%}.em.em-waxing_gibbous_moon{background-position:15% 0}.em.em-gift_heart{background-position:50% 22.5%}.em.em-ghost{background-position:45% 55%}.em.em-santa{background-position:20% 75%}.em.em-bell{background-position:57.5% 22.5%}.em.em-no_bell{background-position:57.5% 25%}.em.em-crystal_ball{background-position:57.5% 87.5%}.em.em-cd{background-position:52.5% 17.5%}.em.em-dvd{background-position:52.5% 20%}.em.em-floppy_disk{background-position:52.5% 15%}.em.em-camera{background-position:55% 55%}.em.em-video_camera{background-position:55% 60%}.em.em-computer{background-position:52.5% 7.5%}.em.em-tv{background-position:55% 62.5%}.em.em-iphone{background-position:55% 40%}.em.em-telephone_receiver{background-position:52.5% 95%}.em.em-pager{background-position:52.5% 97.5%}.em.em-fax{background-position:52.5% 100%}.em.em-minidisc{background-position:52.5% 12.5%}.em.em-vhs{background-position:55% 67.5%}.em.em-sound,.em.em-speaker{background-position:55% 97.5%}.em.em-mute{background-position:55% 92.5%}.em.em-loudspeaker{background-position:55% 2.5%}.em.em-mega{background-position:55% 5%}.em.em-radio{background-position:55% 65%}.em.em-satellite{background-position:80% 10%}.em.em-satellite_antenna{background-position:55% 0}.em.em-mag{background-position:57.5% 5%}.em.em-mag_right{background-position:57.5% 7.5%}.em.em-unlock{background-position:57.5% 20%}.em.em-lock{background-position:57.5% 17.5%}.em.em-lock_with_ink_pen{background-position:57.5% 10%}.em.em-closed_lock_with_key{background-position:57.5% 12.5%}.em.em-key{background-position:57.5% 15%}.em.em-bulb{background-position:50% 32.5%}.em.em-flashlight{background-position:57.5% 67.5%}.em.em-high_brightness{background-position:55% 90%}.em.em-low_brightness{background-position:55% 87.5%}.em.em-electric_plug{background-position:57.5% 2.5%}.em.em-battery{background-position:57.5% 0}.em.em-calling{background-position:55% 42.5%}.em.em-mailbox{background-position:55% 25%}.em.em-postbox{background-position:55% 32.5%}.em.em-bath{background-position:77.5% 47.5%}.em.em-bathtub{background-position:77.5% 62.5%}.em.em-shower{background-position:77.5% 45%}.em.em-toilet{background-position:77.5% 40%}.em.em-wrench{background-position:57.5% 70%}.em.em-nut_and_bolt{background-position:57.5% 75%}.em.em-hammer{background-position:57.5% 72.5%}.em.em-seat{background-position:52.5% 5%}.em.em-moneybag{background-position:50% 82.5%}.em.em-yen{background-position:50% 92.5%}.em.em-dollar{background-position:50% 95%}.em.em-pound{background-position:50% 100%}.em.em-euro{background-position:50% 97.5%}.em.em-credit_card{background-position:50% 90%}.em.em-money_with_wings{background-position:52.5% 0}.em.em-e-mail{background-position:55% 15%}.em.em-inbox_tray{background-position:55% 10%}.em.em-outbox_tray{background-position:55% 7.5%}.em.em-envelope{background-position:7.5% 20%}.em.em-incoming_envelope{background-position:55% 17.5%}.em.em-postal_horn{background-position:55% 35%}.em.em-mailbox_closed{background-position:55% 22.5%}.em.em-mailbox_with_mail{background-position:55% 27.5%}.em.em-mailbox_with_no_mail{background-position:55% 30%}.em.em-package{background-position:55% 12.5%}.em.em-door{background-position:75% 57.5%}.em.em-smoking{background-position:75% 62.5%}.em.em-bomb{background-position:50% 37.5%}.em.em-gun{background-position:57.5% 80%}.em.em-hocho{background-position:57.5% 77.5%}.em.em-pill{background-position:47.5% 77.5%}.em.em-syringe{background-position:47.5% 75%}.em.em-page_facing_up{background-position:52.5% 30%}.em.em-page_with_curl{background-position:52.5% 27.5%}.em.em-bookmark_tabs{background-position:52.5% 62.5%}.em.em-bar_chart{background-position:52.5% 45%}.em.em-chart_with_upwards_trend{background-position:52.5% 40%}.em.em-chart_with_downwards_trend{background-position:52.5% 42.5%}.em.em-scroll{background-position:52.5% 90%}.em.em-clipboard{background-position:52.5% 47.5%}.em.em-calendar{background-position:52.5% 35%}.em.em-date{background-position:52.5% 32.5%}.em.em-card_index{background-position:52.5% 37.5%}.em.em-file_folder{background-position:52.5% 22.5%}.em.em-open_file_folder{background-position:52.5% 25%}.em.em-pushpin{background-position:52.5% 50%}.em.em-paperclip{background-position:52.5% 55%}.em.em-straight_ruler{background-position:52.5% 57.5%}.em.em-triangular_ruler{background-position:52.5% 60%}.em.em-closed_book{background-position:52.5% 72.5%}.em.em-green_book{background-position:52.5% 77.5%}.em.em-blue_book{background-position:52.5% 80%}.em.em-orange_book{background-position:52.5% 82.5%}.em.em-notebook{background-position:52.5% 67.5%}.em.em-notebook_with_decorative_cover{background-position:52.5% 70%}.em.em-ledger{background-position:52.5% 65%}.em.em-books{background-position:52.5% 85%}.em.em-bookmark{background-position:57.5% 27.5%}.em.em-name_badge{background-position:52.5% 87.5%}.em.em-microscope{background-position:57.5% 82.5%}.em.em-telescope{background-position:57.5% 85%}.em.em-newspaper{background-position:55% 37.5%}.em.em-football{background-position:25% 72.5%}.em.em-rugby_football{background-position:25% 75%}.em.em-mountain_bicyclist{background-position:75% 97.5%}.em.em-bicyclist{background-position:75% 82.5%}.em.em-swimmer{background-position:25% 77.5%}.em.em-gem{background-position:47.5% 87.5%}.em.em-ring{background-position:47.5% 85%}.em.em-space_invader{background-position:45% 75%}.em.em-memo,.em.em-pencil{background-position:52.5% 92.5%}.em.em-book{background-position:52.5% 75%}.em.em-shoe{background-position:40% 12.5%}.em.em-sandal{background-position:40% 20%}.em.em-high_heel{background-position:40% 17.5%}.em.em-lipstick{background-position:47.5% 25%}.em.em-boot{background-position:40% 22.5%}.em.em-shirt,.em.em-tshirt{background-position:37.5% 92.5%}.em.em-necktie{background-position:37.5% 90%}.em.em-womans_clothes{background-position:40% 2.5%}.em.em-dress{background-position:37.5% 97.5%}.em.em-jeans{background-position:37.5% 95%}.em.em-kimono{background-position:37.5% 100%}.em.em-bikini{background-position:40% 0}.em.em-crown{background-position:37.5% 82.5%}.em.em-womans_hat{background-position:37.5% 85%}.em.em-mans_shoe{background-position:40% 12.5%}.em.em-briefcase{background-position:52.5% 10%}.em.em-handbag{background-position:40% 7.5%}.em.em-pouch{background-position:40% 10%}.em.em-purse{background-position:40% 5%}.em.em-eyeglasses{background-position:37.5% 87.5%}.em.em-house{background-position:27.5% 55%}.em.em-house_with_garden{background-position:27.5% 57.5%}.em.em-school{background-position:27.5% 82.5%}.em.em-office{background-position:27.5% 60%}.em.em-post_office{background-position:27.5% 62.5%}.em.em-hospital{background-position:27.5% 67.5%}.em.em-bank{background-position:27.5% 70%}.em.em-convenience_store{background-position:27.5% 80%}.em.em-love_hotel{background-position:27.5% 77.5%}.em.em-hotel{background-position:27.5% 75%}.em.em-wedding{background-position:47.5% 97.5%}.em.em-department_store{background-position:27.5% 85%}.em.em-european_post_office{background-position:27.5% 65%}.em.em-japanese_castle{background-position:27.5% 92.5%}.em.em-european_castle{background-position:27.5% 95%}.em.em-factory{background-position:27.5% 87.5%}.em.em-tokyo_tower{background-position:65% 40%}.em.em-japan{background-position:65% 45%}.em.em-mount_fuji{background-position:65% 37.5%}.em.em-statue_of_liberty{background-position:65% 42.5%}.em.em-ship{background-position:75% 25%}.em.em-speedboat{background-position:75% 42.5%}.em.em-rowboat{background-position:75% 27.5%}.em.em-rocket{background-position:72.5% 42.5%}.em.em-helicopter{background-position:72.5% 45%}.em.em-steam_locomotive{background-position:72.5% 47.5%}.em.em-tram{background-position:72.5% 67.5%}.em.em-mountain_railway{background-position:75% 15%}.em.em-bike{background-position:75% 77.5%}.em.em-aerial_tramway{background-position:75% 22.5%}.em.em-suspension_railway{background-position:75% 17.5%}.em.em-mountain_cableway{background-position:75% 20%}.em.em-tractor{background-position:75% 10%}.em.em-blue_car{background-position:75% 2.5%}.em.em-oncoming_automobile{background-position:75% 0}.em.em-car,.em.em-red_car{background-position:72.5% 100%}.em.em-taxi{background-position:72.5% 95%}.em.em-oncoming_taxi{background-position:72.5% 97.5%}.em.em-articulated_lorry{background-position:75% 7.5%}.em.em-bus{background-position:72.5% 72.5%}.em.em-oncoming_bus{background-position:72.5% 75%}.em.em-rotating_light{background-position:75% 52.5%}.em.em-police_car{background-position:72.5% 90%}.em.em-oncoming_police_car{background-position:72.5% 92.5%}.em.em-fire_engine{background-position:72.5% 87.5%}.em.em-ambulance{background-position:72.5% 85%}.em.em-minibus{background-position:72.5% 82.5%}.em.em-truck{background-position:75% 5%}.em.em-train{background-position:72.5% 70%}.em.em-station{background-position:72.5% 65%}.em.em-bullettrain_front,.em.em-train2{background-position:72.5% 57.5%}.em.em-bullettrain_side{background-position:72.5% 52.5%}.em.em-light_rail{background-position:72.5% 62.5%}.em.em-monorail{background-position:75% 12.5%}.em.em-railway_car{background-position:72.5% 50%}.em.em-trolleybus{background-position:72.5% 77.5%}.em.em-vertical_traffic_light{background-position:75% 47.5%}.em.em-traffic_light{background-position:75% 45%}.em.em-construction{background-position:75% 50%}.em.em-beginner{background-position:57.5% 92.5%}.em.em-atm{background-position:27.5% 72.5%}.em.em-busstop{background-position:72.5% 80%}.em.em-barber{background-position:47.5% 72.5%}.em.em-izakaya_lantern{background-position:27.5% 90%}.em.em-moyai{background-position:65% 47.5%}.em.em-round_pushpin{background-position:52.5% 52.5%}.em.em-triangular_flag_on_post{background-position:75% 55%}.em.em-jp{background-position:87.5% 85%}.em.em-kr{background-position:90% 2.5%}.em.em-cn{background-position:85% 10%}.em.em-us{background-position:95% 77.5%}.em.em-fr{background-position:85% 87.5%}.em.em-es{background-position:85% 67.5%}.em.em-it{background-position:87.5% 75%}.em.em-ru{background-position:92.5% 72.5%}.em.em-gb,.em.em-uk{background-position:85% 92.5%}.em.em-de{background-position:85% 35%}.em.em-one{background-position:80% 72.5%}.em.em-two{background-position:80% 75%}.em.em-three{background-position:80% 77.5%}.em.em-four{background-position:80% 80%}.em.em-five{background-position:80% 82.5%}.em.em-six{background-position:80% 85%}.em.em-seven{background-position:80% 87.5%}.em.em-eight{background-position:80% 90%}.em.em-nine{background-position:80% 92.5%}.em.em-keycap_ten{background-position:57.5% 50%}.em.em-1234{background-position:57.5% 57.5%}.em.em-zero{background-position:80% 70%}.em.em-hash{background-position:80% 65%}.em.em-symbols{background-position:57.5% 60%}.em.em-arrow_left{background-position:0 87.5%}.em.em-capital_abcd{background-position:57.5% 52.5%}.em.em-abcd{background-position:57.5% 55%}.em.em-abc{background-position:57.5% 62.5%}.em.em-arrow_down_small{background-position:60% 22.5%}.em.em-arrow_up_small{background-position:60% 20%}.em.em-arrows_clockwise{background-position:55% 82.5%}.em.em-arrows_counterclockwise{background-position:55% 85%}.em.em-twisted_rightwards_arrows{background-position:55% 75%}.em.em-repeat{background-position:55% 77.5%}.em.em-repeat_one{background-position:55% 80%}.em.em-top{background-position:57.5% 45%}.em.em-signal_strength{background-position:55% 52.5%}.em.em-restroom{background-position:77.5% 35%}.em.em-mens{background-position:77.5% 30%}.em.em-womens{background-position:77.5% 32.5%}.em.em-baby_symbol{background-position:77.5% 37.5%}.em.em-no_smoking{background-position:75% 65%}.em.em-metro{background-position:72.5% 60%}.em.em-baggage_claim{background-position:77.5% 70%}.em.em-wc{background-position:77.5% 42.5%}.em.em-potable_water{background-position:75% 72.5%}.em.em-put_litter_in_its_place{background-position:75% 67.5%}.em.em-passport_control{background-position:77.5% 65%}.em.em-left_luggage{background-position:77.5% 72.5%}.em.em-customs{background-position:77.5% 67.5%}.em.em-no_entry_sign{background-position:75% 60%}.em.em-underage{background-position:57.5% 47.5%}.em.em-no_mobile_phones{background-position:55% 50%}.em.em-do_not_litter{background-position:75% 70%}.em.em-non-potable_water{background-position:75% 75%}.em.em-no_bicycles{background-position:75% 80%}.em.em-no_pedestrians{background-position:77.5% 25%}.em.em-children_crossing{background-position:77.5% 27.5%}.em.em-heart_decoration{background-position:50% 27.5%}.em.em-vibration_mode{background-position:55% 45%}.em.em-mobile_phone_off{background-position:55% 47.5%}.em.em-chart{background-position:52.5% 2.5%}.em.em-currency_exchange{background-position:50% 85%}.em.em-six_pointed_star{background-position:57.5% 90%}.em.em-diamond_shape_with_a_dot_inside{background-position:50% 30%}.em.em-end{background-position:57.5% 37.5%}.em.em-back{background-position:57.5% 35%}.em.em-on{background-position:57.5% 40%}.em.em-soon{background-position:57.5% 42.5%}.em.em-clock1{background-position:60% 40%}.em.em-clock130{background-position:60% 70%}.em.em-clock10{background-position:60% 62.5%}.em.em-clock1030{background-position:60% 92.5%}.em.em-clock11,.em.em-clock1130{background-position:60% 65%}.em.em-clock12{background-position:60% 67.5%}.em.em-clock1230{background-position:60% 97.5%}.em.em-clock2{background-position:60% 42.5%}.em.em-clock230{background-position:60% 72.5%}.em.em-clock3{background-position:60% 45%}.em.em-clock330{background-position:60% 75%}.em.em-clock4{background-position:60% 47.5%}.em.em-clock430{background-position:60% 77.5%}.em.em-clock5{background-position:60% 50%}.em.em-clock530{background-position:60% 80%}.em.em-clock6{background-position:60% 52.5%}.em.em-clock630{background-position:60% 82.5%}.em.em-clock7{background-position:60% 55%}.em.em-clock730{background-position:60% 85%}.em.em-clock8{background-position:60% 57.5%}.em.em-clock830{background-position:60% 87.5%}.em.em-clock9{background-position:60% 60%}.em.em-clock930{background-position:60% 90%}.em.em-heavy_dollar_sign{background-position:50% 87.5%}.em.em-heavy_exclamation_mark{background-position:10% 20%}.em.em-white_flower{background-position:50% 77.5%}.em.em-100{background-position:50% 80%}.em.em-radio_button{background-position:57.5% 32.5%}.em.em-link{background-position:57.5% 30%}.em.em-trident{background-position:57.5% 95%}.em.em-black_square_button{background-position:57.5% 97.5%}.em.em-white_square_button{background-position:57.5% 100%}.em.em-red_circle{background-position:60% 0}.em.em-large_blue_circle{background-position:60% 2.5%}.em.em-large_blue_diamond{background-position:60% 7.5%}.em.em-large_orange_diamond{background-position:60% 5%}.em.em-small_blue_diamond{background-position:60% 12.5%}.em.em-small_orange_diamond{background-position:60% 10%}.em.em-small_red_triangle{background-position:60% 15%}.em.em-small_red_triangle_down{background-position:60% 17.5%}.em{background:url(../img/sheet_emojione_64_indexed_128.5953c7ea.png)}.em.em-hand,.em.em-raised_hand{background-position:7.5% 37.5%}.em.em-phone{background-position:2.5% 12.5%}.em{background:url(../img/sheet_facebook_64_indexed_128.f1911246.png)}.em.em-boat,.em.em-sailboat{background-position:5% 87.5%}.em{background-image:url(../img/look.62b51bae.png)!important}.em.em-tlj-1{background-position:0 0}.em.em-tlj-2{background-position:0 2.5%}.em.em-tlj-3{background-position:0 5%}.em.em-tlj-4{background-position:0 7.5%}.em.em-tlj-5{background-position:0 10%}.em.em-tlj-6{background-position:0 12.5%}.em.em-tlj-7{background-position:0 15%}.em.em-tlj-8{background-position:0 17.5%}.em.em-tlj-9{background-position:0 20%}.em.em-tlj-10{background-position:0 22.5%}.em.em-tlj-11{background-position:0 25%}.em.em-tlj-12{background-position:0 27.5%}.em.em-tlj-13{background-position:0 30%}.em.em-tlj-14{background-position:0 32.5%}.em.em-tlj-15{background-position:0 35%}.em.em-tlj-16{background-position:0 37.5%}.em.em-tlj-17{background-position:0 40%}.em.em-tlj-18{background-position:0 42.5%}.em.em-tlj-19{background-position:0 45%}.em.em-tlj-20{background-position:0 47.5%}.em.em-tlj-21{background-position:0 50%}.em.em-tlj-22{background-position:0 52.5%}.em.em-tlj-23{background-position:0 55%}.em.em-tlj-24{background-position:0 57.5%}.em.em-tlj-25{background-position:0 60%}.em.em-tlj-26{background-position:0 62.5%}.em.em-tlj-27{background-position:0 65%}.em.em-tlj-28{background-position:0 67.5%}.em.em-tlj-29{background-position:0 70%}.em.em-tlj-30{background-position:0 72.5%}.em.em-tlj-31{background-position:0 75%}.em.em-tlj-32{background-position:0 77.5%}.em.em-tlj-33{background-position:0 80%}.em.em-tlj-34{background-position:0 82.5%}.em.em-tlj-35{background-position:0 85%}.em.em-tlj-36{background-position:0 87.5%}.em.em-tlj-37{background-position:0 90%}.em.em-tlj-38{background-position:0 92.5%}.em.em-tlj-39{background-position:0 95%}.em.em-tlj-40{background-position:0 97.5%}.em.em-tlj-41{background-position:0 100%}.em.em-tlj-42{background-position:2.5% 0}.em.em-tlj-43{background-position:2.5% 2.5%}.em.em-tlj-44{background-position:2.5% 5%}.em.em-tlj-45{background-position:2.5% 7.5%}.em.em-tlj-46{background-position:2.5% 10%}.em.em-tlj-47{background-position:2.5% 12.5%}.em.em-tlj-48{background-position:2.5% 15%}.em.em-tlj-49{background-position:2.5% 17.5%}.em.em-tlj-50{background-position:2.5% 20%}.em.em-tlj-51{background-position:2.5% 22.5%}.em.em-tlj-52{background-position:2.5% 25%}.em.em-tlj-53{background-position:2.5% 27.5%}.em.em-tlj-54{background-position:2.5% 30%}.em.em-tlj-55{background-position:2.5% 32.5%}.em.em-tlj-56{background-position:2.5% 35%}.em.em-tlj-57{background-position:2.5% 37.5%}.em.em-tlj-58{background-position:2.5% 40%}.em.em-tlj-59{background-position:2.5% 42.5%}.em.em-tlj-60{background-position:2.5% 45%}.em.em-tlj-61{background-position:2.5% 47.5%}.em.em-tlj-62{background-position:2.5% 50%}.em.em-tlj-63{background-position:2.5% 52.5%}.em.em-tlj-64{background-position:2.5% 55%}.em.em-tlj-65{background-position:2.5% 57.5%}.em.em-tlj-66{background-position:2.5% 60%}.em.em-tlj-67{background-position:2.5% 62.5%}.em.em-tlj-68{background-position:2.5% 65%}.em.em-tlj-69{background-position:2.5% 67.5%}.em.em-tlj-70{background-position:2.5% 70%}.em.em-tlj-71{background-position:2.5% 72.5%}.em.em-tlj-72{background-position:2.5% 75%}.em.em-tlj-73{background-position:2.5% 77.5%}.em.em-tlj-74{background-position:2.5% 80%}.em.em-tlj-75{background-position:2.5% 82.5%}.em.em-tlj-76{background-position:2.5% 85%}.em.em-tlj-77{background-position:2.5% 87.5%}.em.em-tlj-78{background-position:2.5% 90%}.em.em-tlj-79{background-position:2.5% 92.5%}.em.em-tlj-80{background-position:2.5% 95%}.em.em-tlj-81{background-position:2.5% 97.5%}.em.em-tlj-82{background-position:2.5% 100%}.em.em-tlj-83{background-position:5% 0}.em.em-tlj-84{background-position:5% 2.5%}.em.em-tlj-85{background-position:5% 5%}.em.em-tlj-86{background-position:5% 7.5%}.em.em-tlj-87{background-position:5% 10%}.em.em-tlj-88{background-position:5% 12.5%}.em.em-tlj-89{background-position:5% 15%}.em.em-tlj-90{background-position:5% 17.5%}.em.em-tlj-91{background-position:5% 20%}.em.em-tlj-92{background-position:5% 22.5%}.em.em-tlj-93{background-position:5% 25%}.em.em-tlj-94{background-position:5% 27.5%}.em.em-tlj-95{background-position:5% 30%}.em.em-tlj-96{background-position:5% 32.5%}.em{background:url(../img/sheet_messenger_64_indexed_128.68a885d7.png)}.em.em-bee{background-position:30% 85%}.em.em-car,.em.em-red_car{background-position:72.5% 87.5%}.em{display:inline-block;height:1em;width:1em;overflow:hidden;line-height:18px;font-size:22px;vertical-align:middle;margin-top:-4px;color:transparent!important;background:url(../img/sheet_twitter_64_indexed_128.0ebbf2e8.png);background-size:4100%}.em.em-grinning{background-position:65% 37.5%}.em.em-grimacing{background-position:67.5% 45%}.em.em-grin{background-position:65% 40%}.em.em-joy{background-position:65% 42.5%}.em.em-smiley{background-position:65% 45%}.em.em-smile{background-position:65% 47.5%}.em.em-sweat_smile{background-position:65% 50%}.em.em-laughing,.em.em-satisfied{background-position:65% 52.5%}.em.em-innocent{background-position:65% 55%}.em.em-wink{background-position:65% 60%}.em.em-blush{background-position:65% 62.5%}.em.em-slightly_smiling_face{background-position:67.5% 100%}.em.em-upside_down_face{background-position:70% 0}.em.em-relaxed{background-position:2.5% 62.5%}.em.em-yum{background-position:65% 65%}.em.em-relieved{background-position:65% 67.5%}.em.em-heart_eyes{background-position:65% 70%}.em.em-kissing_heart{background-position:65% 97.5%}.em.em-kissing{background-position:65% 95%}.em.em-kissing_smiling_eyes{background-position:65% 100%}.em.em-kissing_closed_eyes{background-position:67.5% 0}.em.em-stuck_out_tongue_winking_eye{background-position:67.5% 5%}.em.em-stuck_out_tongue_closed_eyes{background-position:67.5% 7.5%}.em.em-stuck_out_tongue{background-position:67.5% 2.5%}.em.em-money_mouth_face{background-position:80% 5%}.em.em-nerd_face{background-position:80% 10%}.em.em-sunglasses{background-position:65% 72.5%}.em.em-hugging_face{background-position:80% 20%}.em.em-smirk{background-position:65% 75%}.em.em-no_mouth{background-position:67.5% 70%}.em.em-neutral_face{background-position:65% 77.5%}.em.em-expressionless{background-position:65% 80%}.em.em-unamused{background-position:65% 82.5%}.em.em-face_with_rolling_eyes{background-position:70% 2.5%}.em.em-thinking_face{background-position:80% 12.5%}.em.em-flushed{background-position:67.5% 62.5%}.em.em-disappointed{background-position:67.5% 10%}.em.em-worried{background-position:67.5% 12.5%}.em.em-angry{background-position:67.5% 15%}.em.em-rage{background-position:67.5% 17.5%}.em.em-pensive{background-position:65% 87.5%}.em.em-confused{background-position:65% 90%}.em.em-slightly_frowning_face{background-position:67.5% 97.5%}.em.em-white_frowning_face{background-position:2.5% 60%}.em.em-persevere{background-position:67.5% 22.5%}.em.em-confounded{background-position:65% 92.5%}.em.em-tired_face{background-position:67.5% 42.5%}.em.em-weary{background-position:67.5% 37.5%}.em.em-triumph{background-position:67.5% 25%}.em.em-open_mouth{background-position:67.5% 50%}.em.em-scream{background-position:67.5% 57.5%}.em.em-fearful{background-position:67.5% 35%}.em.em-cold_sweat{background-position:67.5% 55%}.em.em-hushed{background-position:67.5% 52.5%}.em.em-frowning{background-position:67.5% 30%}.em.em-anguished{background-position:67.5% 32.5%}.em.em-cry{background-position:67.5% 20%}.em.em-disappointed_relieved{background-position:67.5% 27.5%}.em.em-sleepy{background-position:67.5% 40%}.em.em-sweat{background-position:65% 85%}.em.em-sob{background-position:67.5% 47.5%}.em.em-dizzy_face{background-position:67.5% 67.5%}.em.em-astonished{background-position:67.5% 60%}.em.em-zipper_mouth_face{background-position:80% 2.5%}.em.em-mask{background-position:67.5% 72.5%}.em.em-face_with_thermometer{background-position:80% 7.5%}.em.em-face_with_head_bandage{background-position:80% 15%}.em.em-sleeping{background-position:67.5% 65%}.em.em-zzz{background-position:50% 27.5%}.em.em-hankey,.em.em-poop,.em.em-shit{background-position:50% 40%}.em.em-smiling_imp{background-position:65% 57.5%}.em.em-imp{background-position:45% 65%}.em.em-japanese_ogre{background-position:45% 37.5%}.em.em-japanese_goblin{background-position:45% 40%}.em.em-skull{background-position:45% 67.5%}.em.em-ghost{background-position:45% 42.5%}.em.em-alien{background-position:45% 60%}.em.em-robot_face{background-position:80% 17.5%}.em.em-smiley_cat{background-position:67.5% 80%}.em.em-smile_cat{background-position:67.5% 75%}.em.em-joy_cat{background-position:67.5% 77.5%}.em.em-heart_eyes_cat{background-position:67.5% 82.5%}.em.em-smirk_cat{background-position:67.5% 85%}.em.em-kissing_cat{background-position:67.5% 87.5%}.em.em-scream_cat{background-position:67.5% 95%}.em.em-crying_cat_face{background-position:67.5% 92.5%}.em.em-pouting_cat{background-position:67.5% 90%}.em.em-raised_hands{background-position:70% 72.5%}.em.em-clap{background-position:37.5% 40%}.em.em-wave{background-position:35% 82.5%}.em.em---1,.em.em-thumbsup{background-position:37.5% 10%}.em.em--1,.em.em-thumbsdown{background-position:37.5% 25%}.em.em-facepunch,.em.em-punch{background-position:35% 67.5%}.em.em-fist{background-position:7.5% 22.5%}.em.em-v{background-position:7.5% 52.5%}.em.em-ok_hand{background-position:35% 97.5%}.em.em-hand,.em.em-raised_hand{background-position:7.5% 37.5%}.em.em-open_hands{background-position:37.5% 55%}.em.em-muscle{background-position:50% 42.5%}.em.em-pray{background-position:72.5% 15%}.em.em-point_up{background-position:2.5% 25%}.em.em-point_up_2{background-position:35% 7.5%}.em.em-point_down{background-position:35% 22.5%}.em.em-point_left{background-position:35% 37.5%}.em.em-point_right{background-position:35% 52.5%}.em.em-middle_finger{background-position:62.5% 47.5%}.em.em-raised_hand_with_fingers_splayed{background-position:62.5% 32.5%}.em.em-the_horns{background-position:80% 22.5%}.em.em-spock-hand{background-position:62.5% 62.5%}.em.em-writing_hand{background-position:7.5% 67.5%}.em.em-nail_care{background-position:47.5% 15%}.em.em-lips{background-position:35% 2.5%}.em.em-tongue{background-position:35% 5%}.em.em-ear{background-position:32.5% 75%}.em.em-nose{background-position:32.5% 90%}.em.em-eye{background-position:32.5% 72.5%}.em.em-eyes{background-position:32.5% 70%}.em.em-bust_in_silhouette{background-position:40% 15%}.em.em-busts_in_silhouette{background-position:40% 17.5%}.em.em-speaking_head_in_silhouette{background-position:65% 12.5%}.em.em-baby{background-position:42.5% 95%}.em.em-boy{background-position:40% 20%}.em.em-girl{background-position:40% 35%}.em.em-man{background-position:40% 50%}.em.em-woman{background-position:40% 65%}.em.em-person_with_blond_hair{background-position:42.5% 20%}.em.em-older_man{background-position:42.5% 65%}.em.em-older_woman{background-position:42.5% 80%}.em.em-man_with_gua_pi_mao{background-position:42.5% 35%}.em.em-man_with_turban{background-position:42.5% 50%}.em.em-cop{background-position:40% 90%}.em.em-construction_worker{background-position:45% 7.5%}.em.em-guardsman{background-position:45% 85%}.em.em-sleuth_or_spy{background-position:60% 97.5%}.em.em-santa{background-position:20% 72.5%}.em.em-angel{background-position:45% 45%}.em.em-princess{background-position:45% 22.5%}.em.em-bride_with_veil{background-position:42.5% 5%}.em.em-walking{background-position:75% 100%}.em.em-runner,.em.em-running{background-position:25% 22.5%}.em.em-dancer{background-position:45% 100%}.em.em-dancers{background-position:42.5% 2.5%}.em.em-couple{background-position:40% 82.5%}.em.em-two_men_holding_hands{background-position:40% 85%}.em.em-two_women_holding_hands{background-position:40% 87.5%}.em.em-bow{background-position:70% 35%}.em.em-information_desk_person{background-position:45% 70%}.em.em-no_good{background-position:70% 5%}.em.em-ok_woman{background-position:70% 20%}.em.em-raising_hand{background-position:70% 57.5%}.em.em-person_with_pouting_face{background-position:72.5% 0}.em.em-person_frowning{background-position:70% 87.5%}.em.em-haircut{background-position:47.5% 45%}.em.em-massage{background-position:47.5% 30%}.em.em-couple_with_heart{background-position:47.5% 82.5%}.em.em-woman-heart-woman{background-position:97.5% 47.5%}.em.em-man-heart-man{background-position:97.5% 30%}.em.em-couplekiss{background-position:47.5% 77.5%}.em.em-woman-kiss-woman{background-position:97.5% 50%}.em.em-man-kiss-man{background-position:97.5% 32.5%}.em.em-family{background-position:40% 80%}.em.em-man-woman-girl{background-position:97.5% 22.5%}.em.em-man-woman-girl-boy{background-position:97.5% 25%}.em.em-man-woman-boy-boy{background-position:97.5% 20%}.em.em-man-woman-girl-girl{background-position:97.5% 27.5%}.em.em-woman-woman-boy{background-position:97.5% 35%}.em.em-woman-woman-girl{background-position:97.5% 40%}.em.em-woman-woman-girl-boy{background-position:97.5% 42.5%}.em.em-woman-woman-boy-boy{background-position:97.5% 37.5%}.em.em-woman-woman-girl-girl{background-position:97.5% 45%}.em.em-man-man-boy{background-position:97.5% 7.5%}.em.em-man-man-girl{background-position:97.5% 12.5%}.em.em-man-man-girl-boy{background-position:97.5% 15%}.em.em-man-man-boy-boy{background-position:97.5% 10%}.em.em-man-man-girl-girl{background-position:97.5% 17.5%}.em.em-womans_clothes{background-position:37.5% 92.5%}.em.em-shirt,.em.em-tshirt{background-position:37.5% 80%}.em.em-jeans{background-position:37.5% 82.5%}.em.em-necktie{background-position:37.5% 77.5%}.em.em-dress{background-position:37.5% 85%}.em.em-bikini{background-position:37.5% 90%}.em.em-kimono{background-position:37.5% 87.5%}.em.em-lipstick{background-position:47.5% 12.5%}.em.em-kiss{background-position:47.5% 67.5%}.em.em-footprints{background-position:40% 12.5%}.em.em-high_heel{background-position:40% 5%}.em.em-sandal{background-position:40% 7.5%}.em.em-boot{background-position:40% 10%}.em.em-mans_shoe,.em.em-shoe{background-position:40% 0}.em.em-athletic_shoe{background-position:40% 2.5%}.em.em-womans_hat{background-position:37.5% 72.5%}.em.em-tophat{background-position:22.5% 60%}.em.em-helmet_with_white_cross{background-position:5% 62.5%}.em.em-mortar_board{background-position:22.5% 17.5%}.em.em-crown{background-position:37.5% 70%}.em.em-school_satchel{background-position:22.5% 15%}.em.em-pouch{background-position:37.5% 100%}.em.em-purse{background-position:37.5% 95%}.em.em-handbag{background-position:37.5% 97.5%}.em.em-briefcase{background-position:50% 100%}.em.em-eyeglasses{background-position:37.5% 75%}.em.em-dark_sunglasses{background-position:62.5% 10%}.em.em-ring{background-position:47.5% 72.5%}.em.em-closed_umbrella{background-position:12.5% 57.5%}.em.em-dog{background-position:32.5% 45%}.em.em-cat{background-position:32.5% 32.5%}.em.em-mouse{background-position:32.5% 22.5%}.em.em-hamster{background-position:32.5% 52.5%}.em.em-rabbit{background-position:32.5% 30%}.em.em-bear{background-position:32.5% 57.5%}.em.em-panda_face{background-position:32.5% 60%}.em.em-koala{background-position:32.5% 10%}.em.em-tiger{background-position:32.5% 27.5%}.em.em-lion_face{background-position:80% 40%}.em.em-cow{background-position:32.5% 25%}.em.em-pig{background-position:32.5% 47.5%}.em.em-pig_nose{background-position:32.5% 62.5%}.em.em-frog{background-position:32.5% 50%}.em.em-octopus{background-position:30% 75%}.em.em-monkey_face{background-position:32.5% 42.5%}.em.em-see_no_evil{background-position:70% 50%}.em.em-hear_no_evil{background-position:70% 52.5%}.em.em-speak_no_evil{background-position:70% 55%}.em.em-monkey{background-position:30% 57.5%}.em.em-chicken{background-position:30% 62.5%}.em.em-penguin{background-position:32.5% 7.5%}.em.em-bird{background-position:32.5% 5%}.em.em-baby_chick{background-position:32.5% 0}.em.em-hatching_chick{background-position:30% 100%}.em.em-hatched_chick{background-position:32.5% 2.5%}.em.em-wolf{background-position:32.5% 55%}.em.em-boar{background-position:30% 70%}.em.em-horse{background-position:32.5% 40%}.em.em-unicorn_face{background-position:80% 47.5%}.em.em-bee,.em.em-honeybee{background-position:30% 85%}.em.em-bug{background-position:30% 80%}.em.em-snail{background-position:30% 42.5%}.em.em-beetle{background-position:30% 87.5%}.em.em-ant{background-position:30% 82.5%}.em.em-spider{background-position:62.5% 12.5%}.em.em-scorpion{background-position:80% 42.5%}.em.em-crab{background-position:80% 37.5%}.em.em-snake{background-position:30% 45%}.em.em-turtle{background-position:30% 97.5%}.em.em-tropical_fish{background-position:30% 92.5%}.em.em-fish{background-position:30% 90%}.em.em-blowfish{background-position:30% 95%}.em.em-dolphin{background-position:32.5% 20%}.em.em-whale{background-position:32.5% 37.5%}.em.em-whale2{background-position:30% 40%}.em.em-crocodile{background-position:30% 37.5%}.em.em-leopard{background-position:30% 27.5%}.em.em-tiger2{background-position:30% 25%}.em.em-water_buffalo{background-position:30% 20%}.em.em-ox{background-position:30% 17.5%}.em.em-cow2{background-position:30% 22.5%}.em.em-dromedary_camel{background-position:32.5% 15%}.em.em-camel{background-position:32.5% 17.5%}.em.em-elephant{background-position:30% 72.5%}.em.em-goat{background-position:30% 52.5%}.em.em-ram{background-position:30% 50%}.em.em-sheep{background-position:30% 55%}.em.em-racehorse{background-position:30% 47.5%}.em.em-pig2{background-position:30% 67.5%}.em.em-rat{background-position:30% 12.5%}.em.em-mouse2{background-position:30% 15%}.em.em-rooster{background-position:30% 60%}.em.em-turkey{background-position:80% 45%}.em.em-dove_of_peace{background-position:60% 15%}.em.em-dog2{background-position:30% 65%}.em.em-poodle{background-position:32.5% 12.5%}.em.em-cat2{background-position:30% 32.5%}.em.em-rabbit2{background-position:30% 30%}.em.em-chipmunk{background-position:32.5% 67.5%}.em.em-feet,.em.em-paw_prints{background-position:32.5% 65%}.em.em-dragon{background-position:30% 35%}.em.em-dragon_face{background-position:32.5% 35%}.em.em-cactus{background-position:15% 77.5%}.em.em-christmas_tree{background-position:20% 70%}.em.em-evergreen_tree{background-position:15% 70%}.em.em-deciduous_tree{background-position:15% 72.5%}.em.em-palm_tree{background-position:15% 75%}.em.em-seedling{background-position:15% 67.5%}.em.em-herb{background-position:17.5% 0}.em.em-shamrock{background-position:2.5% 22.5%}.em.em-four_leaf_clover{background-position:17.5% 2.5%}.em.em-bamboo{background-position:22.5% 2.5%}.em.em-tanabata_tree{background-position:20% 100%}.em.em-leaves{background-position:17.5% 10%}.em.em-fallen_leaf{background-position:17.5% 7.5%}.em.em-maple_leaf{background-position:17.5% 5%}.em.em-ear_of_rice{background-position:15% 100%}.em.em-hibiscus{background-position:15% 90%}.em.em-sunflower{background-position:15% 92.5%}.em.em-rose{background-position:15% 87.5%}.em.em-tulip{background-position:15% 82.5%}.em.em-blossom{background-position:15% 95%}.em.em-cherry_blossom{background-position:15% 85%}.em.em-bouquet{background-position:47.5% 80%}.em.em-mushroom{background-position:17.5% 12.5%}.em.em-chestnut{background-position:15% 65%}.em.em-jack_o_lantern{background-position:20% 67.5%}.em.em-shell{background-position:30% 77.5%}.em.em-spider_web{background-position:62.5% 15%}.em.em-earth_americas{background-position:12.5% 87.5%}.em.em-earth_africa{background-position:12.5% 85%}.em.em-earth_asia{background-position:12.5% 90%}.em.em-full_moon{background-position:15% 2.5%}.em.em-waning_gibbous_moon{background-position:15% 5%}.em.em-last_quarter_moon{background-position:15% 7.5%}.em.em-waning_crescent_moon{background-position:15% 10%}.em.em-new_moon{background-position:12.5% 95%}.em.em-waxing_crescent_moon{background-position:12.5% 97.5%}.em.em-first_quarter_moon{background-position:12.5% 100%}.em.em-moon,.em.em-waxing_gibbous_moon{background-position:15% 0}.em.em-new_moon_with_face{background-position:15% 15%}.em.em-full_moon_with_face{background-position:15% 22.5%}.em.em-first_quarter_moon_with_face{background-position:15% 17.5%}.em.em-last_quarter_moon_with_face{background-position:15% 20%}.em.em-sun_with_face{background-position:15% 25%}.em.em-crescent_moon{background-position:15% 12.5%}.em.em-star{background-position:10% 60%}.em.em-star2{background-position:15% 27.5%}.em.em-dizzy{background-position:50% 57.5%}.em.em-sparkles{background-position:7.5% 97.5%}.em.em-comet{background-position:2.5% 10%}.em.em-sunny{background-position:2.5% 0}.em.em-mostly_sunny{background-position:15% 35%}.em.em-partly_sunny{background-position:5% 52.5%}.em.em-barely_sunny{background-position:15% 37.5%}.em.em-partly_sunny_rain{background-position:15% 40%}.em.em-cloud{background-position:2.5% 2.5%}.em.em-rain_cloud{background-position:15% 42.5%}.em.em-thunder_cloud_and_rain{background-position:5% 55%}.em.em-lightning{background-position:15% 47.5%}.em.em-zap{background-position:5% 32.5%}.em.em-fire{background-position:57.5% 52.5%}.em.em-boom,.em.em-collision{background-position:50% 30%}.em.em-snowflake{background-position:10% 2.5%}.em.em-snow_cloud{background-position:15% 45%}.em.em-snowman{background-position:2.5% 7.5%}.em.em-snowman_without_snow{background-position:5% 50%}.em.em-wind_blowing_face{background-position:15% 55%}.em.em-dash{background-position:50% 37.5%}.em.em-tornado{background-position:15% 50%}.em.em-fog{background-position:15% 52.5%}.em.em-umbrella{background-position:2.5% 5%}.em.em-umbrella_with_rain_drops{background-position:2.5% 17.5%}.em.em-droplet{background-position:50% 35%}.em.em-sweat_drops{background-position:50% 32.5%}.em.em-ocean{background-position:12.5% 77.5%}.em.em-green_apple{background-position:17.5% 40%}.em.em-apple{background-position:17.5% 37.5%}.em.em-pear{background-position:17.5% 42.5%}.em.em-tangerine{background-position:17.5% 27.5%}.em.em-lemon{background-position:17.5% 30%}.em.em-banana{background-position:17.5% 32.5%}.em.em-watermelon{background-position:17.5% 25%}.em.em-grapes{background-position:17.5% 20%}.em.em-strawberry{background-position:17.5% 50%}.em.em-melon{background-position:17.5% 22.5%}.em.em-cherries{background-position:17.5% 47.5%}.em.em-peach{background-position:17.5% 45%}.em.em-pineapple{background-position:17.5% 35%}.em.em-tomato{background-position:17.5% 15%}.em.em-eggplant{background-position:17.5% 17.5%}.em.em-hot_pepper{background-position:15% 80%}.em.em-corn{background-position:15% 97.5%}.em.em-sweet_potato{background-position:17.5% 82.5%}.em.em-honey_pot{background-position:20% 17.5%}.em.em-bread{background-position:17.5% 77.5%}.em.em-cheese_wedge{background-position:80% 50%}.em.em-poultry_leg{background-position:17.5% 60%}.em.em-meat_on_bone{background-position:17.5% 57.5%}.em.em-fried_shrimp{background-position:17.5% 92.5%}.em.em-egg{background-position:20% 27.5%}.em.em-hamburger{background-position:17.5% 52.5%}.em.em-fries{background-position:17.5% 80%}.em.em-hotdog{background-position:15% 57.5%}.em.em-pizza{background-position:17.5% 55%}.em.em-spaghetti{background-position:17.5% 75%}.em.em-taco{background-position:15% 60%}.em.em-burrito{background-position:15% 62.5%}.em.em-ramen{background-position:17.5% 72.5%}.em.em-stew{background-position:20% 25%}.em.em-fish_cake{background-position:17.5% 95%}.em.em-sushi{background-position:17.5% 90%}.em.em-bento{background-position:20% 22.5%}.em.em-curry{background-position:17.5% 70%}.em.em-rice_ball{background-position:17.5% 65%}.em.em-rice{background-position:17.5% 67.5%}.em.em-rice_cracker{background-position:17.5% 62.5%}.em.em-oden{background-position:17.5% 87.5%}.em.em-dango{background-position:17.5% 85%}.em.em-shaved_ice{background-position:17.5% 100%}.em.em-ice_cream{background-position:20% 0}.em.em-icecream{background-position:17.5% 97.5%}.em.em-cake{background-position:20% 20%}.em.em-birthday{background-position:20% 65%}.em.em-custard{background-position:20% 15%}.em.em-candy{background-position:20% 10%}.em.em-lollipop{background-position:20% 12.5%}.em.em-chocolate_bar{background-position:20% 7.5%}.em.em-popcorn{background-position:20% 57.5%}.em.em-doughnut{background-position:20% 2.5%}.em.em-cookie{background-position:20% 5%}.em.em-beer{background-position:20% 45%}.em.em-beers{background-position:20% 47.5%}.em.em-wine_glass{background-position:20% 37.5%}.em.em-cocktail{background-position:20% 40%}.em.em-tropical_drink{background-position:20% 42.5%}.em.em-champagne{background-position:20% 55%}.em.em-sake{background-position:20% 35%}.em.em-tea{background-position:20% 32.5%}.em.em-coffee{background-position:2.5% 20%}.em.em-baby_bottle{background-position:20% 50%}.em.em-fork_and_knife{background-position:20% 30%}.em.em-knife_fork_plate{background-position:20% 52.5%}.em.em-soccer{background-position:5% 45%}.em.em-basketball{background-position:25% 15%}.em.em-football{background-position:25% 60%}.em.em-baseball{background-position:5% 47.5%}.em.em-tennis{background-position:25% 10%}.em.em-volleyball{background-position:27.5% 2.5%}.em.em-rugby_football{background-position:25% 62.5%}.em.em-8ball{background-position:22.5% 80%}.em.em-golf{background-position:5% 82.5%}.em.em-golfer{background-position:25% 95%}.em.em-table_tennis_paddle_and_ball{background-position:27.5% 10%}.em.em-badminton_racquet_and_shuttlecock{background-position:27.5% 95%}.em.em-ice_hockey_stick_and_puck{background-position:27.5% 7.5%}.em.em-field_hockey_stick_and_ball{background-position:27.5% 5%}.em.em-cricket_bat_and_ball{background-position:27.5% 0}.em.em-ski{background-position:25% 12.5%}.em.em-skier{background-position:5% 90%}.em.em-snowboarder{background-position:25% 20%}.em.em-ice_skate{background-position:5% 92.5%}.em.em-bow_and_arrow{background-position:27.5% 97.5%}.em.em-fishing_pole_and_fish{background-position:22.5% 45%}.em.em-rowboat{background-position:75% 15%}.em.em-swimmer{background-position:25% 65%}.em.em-surfer{background-position:25% 37.5%}.em.em-bath{background-position:77.5% 35%}.em.em-person_with_ball{background-position:5% 95%}.em.em-weight_lifter{background-position:25% 80%}.em.em-bicyclist{background-position:75% 70%}.em.em-mountain_bicyclist{background-position:75% 85%}.em.em-horse_racing{background-position:25% 57.5%}.em.em-man_in_business_suit_levitating{background-position:60% 95%}.em.em-trophy{background-position:25% 55%}.em.em-running_shirt_with_sash{background-position:25% 7.5%}.em.em-sports_medal{background-position:25% 52.5%}.em.em-medal{background-position:22.5% 20%}.em.em-reminder_ribbon{background-position:22.5% 22.5%}.em.em-rosette{background-position:27.5% 90%}.em.em-ticket{background-position:22.5% 65%}.em.em-admission_tickets{background-position:22.5% 35%}.em.em-performing_arts{background-position:22.5% 70%}.em.em-art{background-position:22.5% 57.5%}.em.em-circus_tent{background-position:22.5% 62.5%}.em.em-microphone{background-position:22.5% 47.5%}.em.em-headphones{background-position:22.5% 55%}.em.em-musical_score{background-position:25% 5%}.em.em-musical_keyboard{background-position:22.5% 100%}.em.em-saxophone{background-position:22.5% 95%}.em.em-trumpet{background-position:25% 0}.em.em-guitar{background-position:22.5% 97.5%}.em.em-violin{background-position:25% 2.5%}.em.em-clapper{background-position:22.5% 67.5%}.em.em-video_game{background-position:22.5% 72.5%}.em.em-space_invader{background-position:45% 62.5%}.em.em-dart{background-position:22.5% 75%}.em.em-game_die{background-position:22.5% 82.5%}.em.em-slot_machine{background-position:22.5% 77.5%}.em.em-bowling{background-position:22.5% 85%}.em.em-car{background-position:72.5% 87.5%}.em.em-taxi{background-position:72.5% 82.5%}.em.em-blue_car{background-position:72.5% 92.5%}.em.em-bus{background-position:72.5% 60%}.em.em-trolleybus{background-position:72.5% 65%}.em.em-racing_car{background-position:25% 100%}.em.em-police_car{background-position:72.5% 77.5%}.em.em-ambulance{background-position:72.5% 72.5%}.em.em-fire_engine{background-position:72.5% 75%}.em.em-minibus{background-position:72.5% 70%}.em.em-truck{background-position:72.5% 95%}.em.em-articulated_lorry{background-position:72.5% 97.5%}.em.em-tractor{background-position:72.5% 100%}.em.em-racing_motorcycle{background-position:25% 97.5%}.em.em-bike{background-position:75% 65%}.em.em-rotating_light{background-position:75% 40%}.em.em-oncoming_police_car{background-position:72.5% 80%}.em.em-oncoming_bus{background-position:72.5% 62.5%}.em.em-oncoming_automobile{background-position:72.5% 90%}.em.em-oncoming_taxi{background-position:72.5% 85%}.em.em-aerial_tramway{background-position:75% 10%}.em.em-mountain_cableway{background-position:75% 7.5%}.em.em-suspension_railway{background-position:75% 5%}.em.em-railway_car{background-position:72.5% 37.5%}.em.em-train{background-position:72.5% 57.5%}.em.em-monorail{background-position:75% 0}.em.em-bullettrain_side{background-position:72.5% 40%}.em.em-bullettrain_front{background-position:72.5% 42.5%}.em.em-light_rail{background-position:72.5% 50%}.em.em-mountain_railway{background-position:75% 2.5%}.em.em-steam_locomotive{background-position:72.5% 35%}.em.em-train2{background-position:72.5% 45%}.em.em-metro{background-position:72.5% 47.5%}.em.em-tram{background-position:72.5% 55%}.em.em-station{background-position:72.5% 52.5%}.em.em-helicopter{background-position:72.5% 32.5%}.em.em-small_airplane{background-position:77.5% 92.5%}.em.em-airplane{background-position:7.5% 17.5%}.em.em-airplane_departure{background-position:77.5% 95%}.em.em-airplane_arriving{background-position:77.5% 97.5%}.em.em-boat{background-position:5% 87.5%}.em.em-motor_boat{background-position:77.5% 90%}.em.em-speedboat{background-position:75% 30%}.em.em-ferry{background-position:5% 85%}.em.em-passenger_ship{background-position:80% 0}.em.em-rocket{background-position:72.5% 30%}.em.em-satellite{background-position:77.5% 100%}.em.em-seat{background-position:50% 95%}.em.em-anchor{background-position:5% 12.5%}.em.em-construction{background-position:75% 37.5%}.em.em-fuelpump{background-position:7.5% 10%}.em.em-busstop{background-position:72.5% 67.5%}.em.em-vertical_traffic_light{background-position:75% 35%}.em.em-traffic_light{background-position:75% 32.5%}.em.em-checkered_flag{background-position:25% 17.5%}.em.em-ship{background-position:75% 12.5%}.em.em-ferris_wheel{background-position:22.5% 40%}.em.em-roller_coaster{background-position:22.5% 42.5%}.em.em-carousel_horse{background-position:22.5% 37.5%}.em.em-building_construction{background-position:27.5% 20%}.em.em-foggy{background-position:12.5% 55%}.em.em-tokyo_tower{background-position:65% 27.5%}.em.em-factory{background-position:27.5% 75%}.em.em-fountain{background-position:5% 80%}.em.em-rice_scene{background-position:22.5% 12.5%}.em.em-mountain{background-position:5% 75%}.em.em-snow_capped_mountain{background-position:27.5% 12.5%}.em.em-mount_fuji{background-position:65% 25%}.em.em-volcano{background-position:12.5% 80%}.em.em-japan{background-position:65% 32.5%}.em.em-camping{background-position:27.5% 15%}.em.em-tent{background-position:7.5% 7.5%}.em.em-national_park{background-position:27.5% 37.5%}.em.em-motorway{background-position:77.5% 85%}.em.em-railway_track{background-position:77.5% 87.5%}.em.em-sunrise{background-position:12.5% 65%}.em.em-sunrise_over_mountains{background-position:12.5% 62.5%}.em.em-desert{background-position:27.5% 32.5%}.em.em-beach_with_umbrella{background-position:27.5% 17.5%}.em.em-desert_island{background-position:27.5% 35%}.em.em-city_sunrise{background-position:12.5% 70%}.em.em-city_sunset{background-position:12.5% 67.5%}.em.em-cityscape{background-position:27.5% 25%}.em.em-night_with_stars{background-position:12.5% 60%}.em.em-bridge_at_night{background-position:12.5% 75%}.em.em-milky_way{background-position:12.5% 82.5%}.em.em-stars{background-position:15% 30%}.em.em-sparkler{background-position:20% 90%}.em.em-fireworks{background-position:20% 87.5%}.em.em-rainbow{background-position:12.5% 72.5%}.em.em-house_buildings{background-position:27.5% 22.5%}.em.em-european_castle{background-position:27.5% 82.5%}.em.em-japanese_castle{background-position:27.5% 80%}.em.em-stadium{background-position:27.5% 40%}.em.em-statue_of_liberty{background-position:65% 30%}.em.em-house{background-position:27.5% 42.5%}.em.em-house_with_garden{background-position:27.5% 45%}.em.em-derelict_house_building{background-position:27.5% 27.5%}.em.em-office{background-position:27.5% 47.5%}.em.em-department_store{background-position:27.5% 72.5%}.em.em-post_office{background-position:27.5% 50%}.em.em-european_post_office{background-position:27.5% 52.5%}.em.em-hospital{background-position:27.5% 55%}.em.em-bank{background-position:27.5% 57.5%}.em.em-hotel{background-position:27.5% 62.5%}.em.em-convenience_store{background-position:27.5% 67.5%}.em.em-school{background-position:27.5% 70%}.em.em-love_hotel{background-position:27.5% 65%}.em.em-wedding{background-position:47.5% 85%}.em.em-classical_building{background-position:27.5% 30%}.em.em-church{background-position:5% 72.5%}.em.em-mosque{background-position:60% 20%}.em.em-synagogue{background-position:60% 22.5%}.em.em-kaaba{background-position:60% 17.5%}.em.em-shinto_shrine{background-position:5% 70%}.em.em-watch{background-position:0 35%}.em.em-iphone{background-position:55% 27.5%}.em.em-calling{background-position:55% 30%}.em.em-computer{background-position:50% 97.5%}.em.em-keyboard{background-position:0 40%}.em.em-desktop_computer{background-position:62.5% 77.5%}.em.em-printer{background-position:62.5% 80%}.em.em-three_button_mouse{background-position:62.5% 82.5%}.em.em-trackball{background-position:62.5% 85%}.em.em-joystick{background-position:62.5% 17.5%}.em.em-compression{background-position:65% 2.5%}.em.em-minidisc{background-position:52.5% 0}.em.em-floppy_disk{background-position:52.5% 2.5%}.em.em-cd{background-position:52.5% 5%}.em.em-dvd{background-position:52.5% 7.5%}.em.em-vhs{background-position:55% 55%}.em.em-camera{background-position:55% 42.5%}.em.em-camera_with_flash{background-position:55% 45%}.em.em-video_camera{background-position:55% 47.5%}.em.em-movie_camera{background-position:22.5% 50%}.em.em-film_projector{background-position:55% 57.5%}.em.em-film_frames{background-position:22.5% 32.5%}.em.em-telephone_receiver{background-position:52.5% 82.5%}.em.em-phone,.em.em-telephone{background-position:2.5% 12.5%}.em.em-pager{background-position:52.5% 85%}.em.em-fax{background-position:52.5% 87.5%}.em.em-tv{background-position:55% 50%}.em.em-radio{background-position:55% 52.5%}.em.em-studio_microphone{background-position:22.5% 25%}.em.em-level_slider{background-position:22.5% 27.5%}.em.em-control_knobs{background-position:22.5% 30%}.em.em-stopwatch{background-position:0 65%}.em.em-timer_clock{background-position:0 67.5%}.em.em-alarm_clock{background-position:0 62.5%}.em.em-mantelpiece_clock{background-position:60% 90%}.em.em-hourglass_flowing_sand{background-position:0 70%}.em.em-hourglass{background-position:0 37.5%}.em.em-satellite_antenna{background-position:52.5% 90%}.em.em-battery{background-position:55% 90%}.em.em-electric_plug{background-position:55% 92.5%}.em.em-bulb{background-position:50% 20%}.em.em-flashlight{background-position:57.5% 55%}.em.em-candle{background-position:60% 87.5%}.em.em-wastebasket{background-position:62.5% 97.5%}.em.em-oil_drum{background-position:77.5% 82.5%}.em.em-money_with_wings{background-position:50% 90%}.em.em-dollar{background-position:50% 82.5%}.em.em-yen{background-position:50% 80%}.em.em-euro{background-position:50% 85%}.em.em-pound{background-position:50% 87.5%}.em.em-moneybag{background-position:50% 70%}.em.em-credit_card{background-position:50% 77.5%}.em.em-gem{background-position:47.5% 75%}.em.em-scales{background-position:5% 17.5%}.em.em-wrench{background-position:57.5% 57.5%}.em.em-hammer{background-position:57.5% 60%}.em.em-hammer_and_pick{background-position:5% 10%}.em.em-hammer_and_wrench{background-position:77.5% 77.5%}.em.em-pick{background-position:5% 60%}.em.em-nut_and_bolt{background-position:57.5% 62.5%}.em.em-gear{background-position:5% 22.5%}.em.em-chains{background-position:5% 65%}.em.em-gun{background-position:57.5% 67.5%}.em.em-bomb{background-position:50% 25%}.em.em-hocho{background-position:57.5% 65%}.em.em-dagger_knife{background-position:65% 10%}.em.em-crossed_swords{background-position:5% 15%}.em.em-shield{background-position:77.5% 80%}.em.em-smoking{background-position:75% 50%}.em.em-skull_and_crossbones{background-position:2.5% 40%}.em.em-coffin{background-position:5% 40%}.em.em-funeral_urn{background-position:5% 42.5%}.em.em-amphora{background-position:27.5% 100%}.em.em-crystal_ball{background-position:57.5% 75%}.em.em-prayer_beads{background-position:55% 60%}.em.em-barber{background-position:47.5% 60%}.em.em-alembic{background-position:5% 20%}.em.em-telescope{background-position:57.5% 72.5%}.em.em-microscope{background-position:57.5% 70%}.em.em-hole{background-position:60% 92.5%}.em.em-pill{background-position:47.5% 65%}.em.em-syringe{background-position:47.5% 62.5%}.em.em-thermometer{background-position:15% 32.5%}.em.em-label{background-position:27.5% 92.5%}.em.em-bookmark{background-position:57.5% 15%}.em.em-toilet{background-position:77.5% 27.5%}.em.em-shower{background-position:77.5% 32.5%}.em.em-bathtub{background-position:77.5% 50%}.em.em-key{background-position:57.5% 2.5%}.em.em-old_key{background-position:65% 5%}.em.em-couch_and_lamp{background-position:77.5% 62.5%}.em.em-sleeping_accommodation{background-position:77.5% 65%}.em.em-bed{background-position:77.5% 72.5%}.em.em-door{background-position:75% 45%}.em.em-bellhop_bell{background-position:77.5% 70%}.em.em-frame_with_picture{background-position:62.5% 87.5%}.em.em-world_map{background-position:65% 22.5%}.em.em-umbrella_on_ground{background-position:5% 77.5%}.em.em-moyai{background-position:65% 35%}.em.em-shopping_bags{background-position:77.5% 67.5%}.em.em-balloon{background-position:20% 92.5%}.em.em-flags{background-position:22.5% 7.5%}.em.em-ribbon{background-position:20% 60%}.em.em-gift{background-position:20% 62.5%}.em.em-confetti_ball{background-position:20% 97.5%}.em.em-tada{background-position:20% 95%}.em.em-dolls{background-position:22.5% 5%}.em.em-wind_chime{background-position:22.5% 10%}.em.em-crossed_flags{background-position:22.5% 0}.em.em-izakaya_lantern{background-position:27.5% 77.5%}.em.em-email{background-position:7.5% 20%}.em.em-envelope_with_arrow{background-position:55% 7.5%}.em.em-incoming_envelope{background-position:55% 5%}.em.em-e-mail{background-position:55% 2.5%}.em.em-love_letter{background-position:47.5% 70%}.em.em-postbox{background-position:55% 20%}.em.em-mailbox_closed{background-position:55% 10%}.em.em-mailbox{background-position:55% 12.5%}.em.em-mailbox_with_mail{background-position:55% 15%}.em.em-mailbox_with_no_mail{background-position:55% 17.5%}.em.em-package{background-position:55% 0}.em.em-postal_horn{background-position:55% 22.5%}.em.em-inbox_tray{background-position:52.5% 100%}.em.em-outbox_tray{background-position:52.5% 97.5%}.em.em-scroll{background-position:52.5% 77.5%}.em.em-page_with_curl{background-position:52.5% 15%}.em.em-bookmark_tabs{background-position:52.5% 50%}.em.em-bar_chart{background-position:52.5% 32.5%}.em.em-chart_with_upwards_trend{background-position:52.5% 27.5%}.em.em-chart_with_downwards_trend{background-position:52.5% 30%}.em.em-page_facing_up{background-position:52.5% 17.5%}.em.em-date{background-position:52.5% 20%}.em.em-calendar{background-position:52.5% 22.5%}.em.em-spiral_calendar_pad{background-position:65% 0}.em.em-card_index{background-position:52.5% 25%}.em.em-card_file_box{background-position:62.5% 92.5%}.em.em-ballot_box_with_ballot{background-position:65% 20%}.em.em-file_cabinet{background-position:62.5% 95%}.em.em-clipboard{background-position:52.5% 35%}.em.em-spiral_note_pad{background-position:62.5% 100%}.em.em-file_folder{background-position:52.5% 10%}.em.em-open_file_folder{background-position:52.5% 12.5%}.em.em-card_index_dividers{background-position:62.5% 90%}.em.em-rolled_up_newspaper{background-position:65% 7.5%}.em.em-newspaper{background-position:55% 25%}.em.em-notebook{background-position:52.5% 55%}.em.em-closed_book{background-position:52.5% 60%}.em.em-green_book{background-position:52.5% 65%}.em.em-blue_book{background-position:52.5% 67.5%}.em.em-orange_book{background-position:52.5% 70%}.em.em-notebook_with_decorative_cover{background-position:52.5% 57.5%}.em.em-ledger{background-position:52.5% 52.5%}.em.em-books{background-position:52.5% 72.5%}.em.em-book{background-position:52.5% 62.5%}.em.em-link{background-position:57.5% 17.5%}.em.em-paperclip{background-position:52.5% 42.5%}.em.em-linked_paperclips{background-position:62.5% 20%}.em.em-scissors{background-position:7.5% 12.5%}.em.em-triangular_ruler{background-position:52.5% 47.5%}.em.em-straight_ruler{background-position:52.5% 45%}.em.em-pushpin{background-position:52.5% 37.5%}.em.em-round_pushpin{background-position:52.5% 40%}.em.em-triangular_flag_on_post{background-position:75% 42.5%}.em.em-waving_white_flag{background-position:27.5% 85%}.em.em-waving_black_flag{background-position:27.5% 87.5%}.em.em-closed_lock_with_key{background-position:57.5% 0}.em.em-lock{background-position:57.5% 5%}.em.em-unlock{background-position:57.5% 7.5%}.em.em-lock_with_ink_pen{background-position:55% 100%}.em.em-lower_left_ballpoint_pen{background-position:62.5% 22.5%}.em.em-lower_left_fountain_pen{background-position:62.5% 25%}.em.em-black_nib{background-position:7.5% 85%}.em.em-memo,.em.em-pencil{background-position:52.5% 80%}.em.em-pencil2{background-position:7.5% 82.5%}.em.em-lower_left_crayon{background-position:62.5% 30%}.em.em-lower_left_paintbrush{background-position:62.5% 27.5%}.em.em-mag{background-position:55% 95%}.em.em-mag_right{background-position:55% 97.5%}.em.em-heart{background-position:10% 25%}.em.em-yellow_heart{background-position:50% 5%}.em.em-green_heart{background-position:50% 2.5%}.em.em-blue_heart{background-position:50% 0}.em.em-purple_heart{background-position:50% 7.5%}.em.em-broken_heart{background-position:47.5% 90%}.em.em-heavy_heart_exclamation_mark_ornament{background-position:10% 22.5%}.em.em-two_hearts{background-position:47.5% 92.5%}.em.em-revolving_hearts{background-position:50% 12.5%}.em.em-heartbeat{background-position:47.5% 87.5%}.em.em-heartpulse{background-position:47.5% 97.5%}.em.em-sparkling_heart{background-position:47.5% 95%}.em.em-cupid{background-position:47.5% 100%}.em.em-gift_heart{background-position:50% 10%}.em.em-heart_decoration{background-position:50% 15%}.em.em-peace_symbol{background-position:2.5% 52.5%}.em.em-latin_cross{background-position:7.5% 92.5%}.em.em-star_and_crescent{background-position:2.5% 50%}.em.em-om_symbol{background-position:60% 12.5%}.em.em-wheel_of_dharma{background-position:2.5% 57.5%}.em.em-star_of_david{background-position:7.5% 95%}.em.em-six_pointed_star{background-position:57.5% 77.5%}.em.em-menorah_with_nine_branches{background-position:60% 25%}.em.em-yin_yang{background-position:2.5% 55%}.em.em-orthodox_cross{background-position:2.5% 47.5%}.em.em-place_of_worship{background-position:77.5% 75%}.em.em-ophiuchus{background-position:5% 57.5%}.em.em-aries{background-position:2.5% 65%}.em.em-taurus{background-position:2.5% 67.5%}.em.em-gemini{background-position:2.5% 70%}.em.em-cancer{background-position:2.5% 72.5%}.em.em-leo{background-position:2.5% 75%}.em.em-virgo{background-position:2.5% 77.5%}.em.em-libra{background-position:2.5% 80%}.em.em-scorpius{background-position:2.5% 82.5%}.em.em-sagittarius{background-position:2.5% 85%}.em.em-capricorn{background-position:2.5% 87.5%}.em.em-aquarius{background-position:2.5% 90%}.em.em-pisces{background-position:2.5% 92.5%}.em.em-id{background-position:10% 100%}.em.em-atom_symbol{background-position:5% 25%}.em.em-u7a7a{background-position:12.5% 27.5%}.em.em-u5272{background-position:12.5% 42.5%}.em.em-radioactive_sign{background-position:2.5% 42.5%}.em.em-biohazard_sign{background-position:2.5% 45%}.em.em-mobile_phone_off{background-position:55% 35%}.em.em-vibration_mode{background-position:55% 32.5%}.em.em-u6709{background-position:12.5% 35%}.em.em-u7121{background-position:12.5% 20%}.em.em-u7533{background-position:12.5% 40%}.em.em-u55b6{background-position:12.5% 45%}.em.em-u6708{background-position:12.5% 37.5%}.em.em-eight_pointed_black_star{background-position:10% 0}.em.em-vs{background-position:12.5% 12.5%}.em.em-accept{background-position:12.5% 50%}.em.em-white_flower{background-position:50% 65%}.em.em-ideograph_advantage{background-position:12.5% 47.5%}.em.em-secret{background-position:10% 72.5%}.em.em-congratulations{background-position:10% 70%}.em.em-u5408{background-position:12.5% 30%}.em.em-u6e80{background-position:12.5% 32.5%}.em.em-u7981{background-position:12.5% 25%}.em.em-a{background-position:10% 80%}.em.em-b{background-position:10% 82.5%}.em.em-ab{background-position:10% 90%}.em.em-cl{background-position:10% 92.5%}.em.em-o2{background-position:10% 85%}.em.em-sos{background-position:12.5% 7.5%}.em.em-no_entry{background-position:5% 67.5%}.em.em-name_badge{background-position:52.5% 75%}.em.em-no_entry_sign{background-position:75% 47.5%}.em.em-x{background-position:10% 7.5%}.em.em-o{background-position:10% 62.5%}.em.em-anger{background-position:50% 22.5%}.em.em-hotsprings{background-position:5% 2.5%}.em.em-no_pedestrians{background-position:77.5% 12.5%}.em.em-do_not_litter{background-position:75% 57.5%}.em.em-no_bicycles{background-position:75% 67.5%}.em.em-non-potable_water{background-position:75% 62.5%}.em.em-underage{background-position:57.5% 35%}.em.em-no_mobile_phones{background-position:55% 37.5%}.em.em-exclamation,.em.em-heavy_exclamation_mark{background-position:10% 20%}.em.em-grey_exclamation{background-position:10% 17.5%}.em.em-question{background-position:10% 12.5%}.em.em-grey_question{background-position:10% 15%}.em.em-bangbang{background-position:0 5%}.em.em-interrobang{background-position:0 7.5%}.em.em-100{background-position:50% 67.5%}.em.em-low_brightness{background-position:55% 75%}.em.em-high_brightness{background-position:55% 77.5%}.em.em-trident{background-position:57.5% 82.5%}.em.em-fleur_de_lis{background-position:5% 27.5%}.em.em-part_alternation_mark{background-position:10% 67.5%}.em.em-warning{background-position:5% 30%}.em.em-children_crossing{background-position:77.5% 15%}.em.em-beginner{background-position:57.5% 80%}.em.em-recycle{background-position:5% 5%}.em.em-u6307{background-position:12.5% 22.5%}.em.em-chart{background-position:50% 92.5%}.em.em-sparkle{background-position:10% 5%}.em.em-eight_spoked_asterisk{background-position:7.5% 100%}.em.em-negative_squared_cross_mark{background-position:10% 10%}.em.em-white_check_mark{background-position:7.5% 15%}.em.em-diamond_shape_with_a_dot_inside{background-position:50% 17.5%}.em.em-cyclone{background-position:12.5% 52.5%}.em.em-loop{background-position:10% 40%}.em.em-globe_with_meridians{background-position:12.5% 92.5%}.em.em-m{background-position:0 80%}.em.em-atm{background-position:27.5% 60%}.em.em-sa{background-position:12.5% 17.5%}.em.em-passport_control{background-position:77.5% 52.5%}.em.em-customs{background-position:77.5% 55%}.em.em-baggage_claim{background-position:77.5% 57.5%}.em.em-left_luggage{background-position:77.5% 60%}.em.em-wheelchair{background-position:5% 7.5%}.em.em-no_smoking{background-position:75% 52.5%}.em.em-wc{background-position:77.5% 30%}.em.em-parking{background-position:10% 87.5%}.em.em-potable_water{background-position:75% 60%}.em.em-mens{background-position:77.5% 17.5%}.em.em-womens{background-position:77.5% 20%}.em.em-baby_symbol{background-position:77.5% 25%}.em.em-restroom{background-position:77.5% 22.5%}.em.em-put_litter_in_its_place{background-position:75% 55%}.em.em-cinema{background-position:22.5% 52.5%}.em.em-signal_strength{background-position:55% 40%}.em.em-koko{background-position:12.5% 15%}.em.em-ng{background-position:12.5% 2.5%}.em.em-ok{background-position:12.5% 5%}.em.em-up{background-position:12.5% 10%}.em.em-cool{background-position:10% 95%}.em.em-new{background-position:12.5% 0}.em.em-free{background-position:10% 97.5%}.em.em-zero{background-position:80% 57.5%}.em.em-one{background-position:80% 60%}.em.em-two{background-position:80% 62.5%}.em.em-three{background-position:80% 65%}.em.em-four{background-position:80% 67.5%}.em.em-five{background-position:80% 70%}.em.em-six{background-position:80% 72.5%}.em.em-seven{background-position:80% 75%}.em.em-eight{background-position:80% 77.5%}.em.em-nine{background-position:80% 80%}.em.em-keycap_ten{background-position:57.5% 37.5%}.em.em-keycap_star{background-position:80% 55%}.em.em-1234{background-position:57.5% 45%}.em.em-arrow_forward{background-position:0 87.5%}.em.em-double_vertical_bar{background-position:0 72.5%}.em.em-black_right_pointing_triangle_with_double_vertical_bar{background-position:0 60%}.em.em-black_square_for_stop{background-position:0 75%}.em.em-eject{background-position:0 42.5%}.em.em-black_circle_for_record{background-position:0 77.5%}.em.em-black_right_pointing_double_triangle_with_vertical_bar{background-position:0 55%}.em.em-black_left_pointing_double_triangle_with_vertical_bar{background-position:0 57.5%}.em.em-fast_forward{background-position:0 45%}.em.em-rewind{background-position:0 47.5%}.em.em-twisted_rightwards_arrows{background-position:55% 62.5%}.em.em-repeat{background-position:55% 65%}.em.em-repeat_one{background-position:55% 67.5%}.em.em-arrow_backward{background-position:0 90%}.em.em-arrow_up_small{background-position:60% 7.5%}.em.em-arrow_down_small{background-position:60% 10%}.em.em-arrow_double_up{background-position:0 50%}.em.em-arrow_double_down{background-position:0 52.5%}.em.em-arrow_right{background-position:10% 35%}.em.em-arrow_left{background-position:10% 47.5%}.em.em-arrow_up{background-position:10% 50%}.em.em-arrow_down{background-position:10% 52.5%}.em.em-arrow_upper_right{background-position:0 22.5%}.em.em-arrow_lower_right{background-position:0 25%}.em.em-arrow_lower_left{background-position:0 27.5%}.em.em-arrow_upper_left{background-position:0 20%}.em.em-arrow_up_down{background-position:0 17.5%}.em.em-left_right_arrow{background-position:0 15%}.em.em-arrows_counterclockwise{background-position:55% 72.5%}.em.em-arrow_right_hook{background-position:0 32.5%}.em.em-leftwards_arrow_with_hook{background-position:0 30%}.em.em-arrow_heading_up{background-position:10% 42.5%}.em.em-arrow_heading_down{background-position:10% 45%}.em.em-hash{background-position:80% 52.5%}.em.em-information_source{background-position:0 12.5%}.em.em-abc{background-position:57.5% 50%}.em.em-abcd{background-position:57.5% 42.5%}.em.em-capital_abcd{background-position:57.5% 40%}.em.em-symbols{background-position:57.5% 47.5%}.em.em-musical_note{background-position:22.5% 90%}.em.em-notes{background-position:22.5% 92.5%}.em.em-wavy_dash{background-position:10% 65%}.em.em-curly_loop{background-position:10% 37.5%}.em.em-heavy_check_mark{background-position:7.5% 87.5%}.em.em-arrows_clockwise{background-position:55% 70%}.em.em-heavy_plus_sign{background-position:10% 27.5%}.em.em-heavy_minus_sign{background-position:10% 30%}.em.em-heavy_division_sign{background-position:10% 32.5%}.em.em-heavy_multiplication_x{background-position:7.5% 90%}.em.em-heavy_dollar_sign{background-position:50% 75%}.em.em-currency_exchange{background-position:50% 72.5%}.em.em-copyright{background-position:0 0}.em.em-registered{background-position:0 2.5%}.em.em-tm{background-position:0 10%}.em.em-end{background-position:57.5% 25%}.em.em-back{background-position:57.5% 22.5%}.em.em-on{background-position:57.5% 27.5%}.em.em-top{background-position:57.5% 32.5%}.em.em-soon{background-position:57.5% 30%}.em.em-ballot_box_with_check{background-position:2.5% 15%}.em.em-radio_button{background-position:57.5% 20%}.em.em-white_circle{background-position:5% 35%}.em.em-black_circle{background-position:5% 37.5%}.em.em-red_circle{background-position:57.5% 90%}.em.em-large_blue_circle{background-position:57.5% 92.5%}.em.em-small_orange_diamond{background-position:57.5% 100%}.em.em-small_blue_diamond{background-position:60% 0}.em.em-large_orange_diamond{background-position:57.5% 95%}.em.em-large_blue_diamond{background-position:57.5% 97.5%}.em.em-small_red_triangle{background-position:60% 2.5%}.em.em-black_small_square{background-position:0 82.5%}.em.em-white_small_square{background-position:0 85%}.em.em-black_large_square{background-position:10% 55%}.em.em-white_large_square{background-position:10% 57.5%}.em.em-small_red_triangle_down{background-position:60% 5%}.em.em-black_medium_square{background-position:0 95%}.em.em-white_medium_square{background-position:0 92.5%}.em.em-black_medium_small_square{background-position:0 100%}.em.em-white_medium_small_square{background-position:0 97.5%}.em.em-black_square_button{background-position:57.5% 85%}.em.em-white_square_button{background-position:57.5% 87.5%}.em.em-speaker{background-position:55% 82.5%}.em.em-sound{background-position:55% 85%}.em.em-loud_sound{background-position:55% 87.5%}.em.em-mute{background-position:55% 80%}.em.em-mega{background-position:52.5% 95%}.em.em-loudspeaker{background-position:52.5% 92.5%}.em.em-bell{background-position:57.5% 10%}.em.em-no_bell{background-position:57.5% 12.5%}.em.em-black_joker{background-position:10% 77.5%}.em.em-mahjong{background-position:10% 75%}.em.em-spades{background-position:2.5% 95%}.em.em-clubs{background-position:2.5% 97.5%}.em.em-hearts{background-position:2.5% 100%}.em.em-diamonds{background-position:5% 0}.em.em-flower_playing_cards{background-position:22.5% 87.5%}.em.em-thought_balloon{background-position:50% 62.5%}.em.em-right_anger_bubble{background-position:65% 17.5%}.em.em-speech_balloon{background-position:50% 60%}.em.em-left_speech_bubble{background-position:65% 15%}.em.em-clock1{background-position:60% 27.5%}.em.em-clock2{background-position:60% 30%}.em.em-clock3{background-position:60% 32.5%}.em.em-clock4{background-position:60% 35%}.em.em-clock5{background-position:60% 37.5%}.em.em-clock6{background-position:60% 40%}.em.em-clock7{background-position:60% 42.5%}.em.em-clock8{background-position:60% 45%}.em.em-clock9{background-position:60% 47.5%}.em.em-clock10{background-position:60% 50%}.em.em-clock11{background-position:60% 52.5%}.em.em-clock12{background-position:60% 55%}.em.em-clock130{background-position:60% 57.5%}.em.em-clock230{background-position:60% 60%}.em.em-clock330{background-position:60% 62.5%}.em.em-clock430{background-position:60% 65%}.em.em-clock530{background-position:60% 67.5%}.em.em-clock630{background-position:60% 70%}.em.em-clock730{background-position:60% 72.5%}.em.em-clock830{background-position:60% 75%}.em.em-clock930{background-position:60% 77.5%}.em.em-clock1030{background-position:60% 80%}.em.em-clock1130{background-position:60% 82.5%}.em.em-clock1230{background-position:60% 85%}.em.em-flag-af{background-position:80% 90%}.em.em-flag-ax{background-position:82.5% 17.5%}.em.em-flag-al{background-position:80% 97.5%}.em.em-flag-dz{background-position:85% 37.5%}.em.em-flag-as{background-position:82.5% 7.5%}.em.em-flag-ad{background-position:80% 85%}.em.em-flag-ao{background-position:82.5% 0}.em.em-flag-ai{background-position:80% 95%}.em.em-flag-aq{background-position:82.5% 2.5%}.em.em-flag-ag{background-position:80% 92.5%}.em.em-flag-ar{background-position:82.5% 5%}.em.em-flag-am{background-position:80% 100%}.em.em-flag-aw{background-position:82.5% 15%}.em.em-flag-au{background-position:82.5% 12.5%}.em.em-flag-at{background-position:82.5% 10%}.em.em-flag-az{background-position:82.5% 20%}.em.em-flag-bs{background-position:82.5% 60%}.em.em-flag-bh{background-position:82.5% 37.5%}.em.em-flag-bd{background-position:82.5% 27.5%}.em.em-flag-bb{background-position:82.5% 25%}.em.em-flag-by{background-position:82.5% 70%}.em.em-flag-be{background-position:82.5% 30%}.em.em-flag-bz{background-position:82.5% 72.5%}.em.em-flag-bj{background-position:82.5% 42.5%}.em.em-flag-bm{background-position:82.5% 47.5%}.em.em-flag-bt{background-position:82.5% 62.5%}.em.em-flag-bo{background-position:82.5% 52.5%}.em.em-flag-bq{background-position:82.5% 55%}.em.em-flag-ba{background-position:82.5% 22.5%}.em.em-flag-bw{background-position:82.5% 67.5%}.em.em-flag-br{background-position:82.5% 57.5%}.em.em-flag-io{background-position:87.5% 52.5%}.em.em-flag-vg{background-position:95% 80%}.em.em-flag-bn{background-position:82.5% 50%}.em.em-flag-bg{background-position:82.5% 35%}.em.em-flag-bf{background-position:82.5% 32.5%}.em.em-flag-bi{background-position:82.5% 40%}.em.em-flag-cv{background-position:85% 10%}.em.em-flag-kh{background-position:87.5% 80%}.em.em-flag-cm{background-position:82.5% 97.5%}.em.em-flag-ca{background-position:82.5% 75%}.em.em-flag-ic{background-position:87.5% 37.5%}.em.em-flag-ky{background-position:87.5% 97.5%}.em.em-flag-cf{background-position:82.5% 82.5%}.em.em-flag-td{background-position:95% 20%}.em.em-flag-cl{background-position:82.5% 95%}.em.em-cn,.em.em-flag-cn{background-position:82.5% 100%}.em.em-flag-cx{background-position:85% 15%}.em.em-flag-cc{background-position:82.5% 77.5%}.em.em-flag-co{background-position:85% 0}.em.em-flag-km{background-position:87.5% 85%}.em.em-flag-cg{background-position:82.5% 85%}.em.em-flag-cd{background-position:82.5% 80%}.em.em-flag-ck{background-position:82.5% 92.5%}.em.em-flag-cr{background-position:85% 5%}.em.em-flag-hr{background-position:87.5% 30%}.em.em-flag-cu{background-position:85% 7.5%}.em.em-flag-cw{background-position:85% 12.5%}.em.em-flag-cy{background-position:85% 17.5%}.em.em-flag-cz{background-position:85% 20%}.em.em-flag-dk{background-position:85% 30%}.em.em-flag-dj{background-position:85% 27.5%}.em.em-flag-dm{background-position:85% 32.5%}.em.em-flag-do{background-position:85% 35%}.em.em-flag-ec{background-position:85% 42.5%}.em.em-flag-eg{background-position:85% 47.5%}.em.em-flag-sv{background-position:95% 5%}.em.em-flag-gq{background-position:87.5% 5%}.em.em-flag-er{background-position:85% 52.5%}.em.em-flag-ee{background-position:85% 45%}.em.em-flag-et{background-position:85% 57.5%}.em.em-flag-eu{background-position:85% 60%}.em.em-flag-fk{background-position:85% 67.5%}.em.em-flag-fo{background-position:85% 72.5%}.em.em-flag-fj{background-position:85% 65%}.em.em-flag-fi{background-position:85% 62.5%}.em.em-flag-fr,.em.em-fr{background-position:85% 75%}.em.em-flag-gf{background-position:85% 87.5%}.em.em-flag-pf{background-position:92.5% 20%}.em.em-flag-tf{background-position:95% 22.5%}.em.em-flag-ga{background-position:85% 77.5%}.em.em-flag-gm{background-position:85% 100%}.em.em-flag-ge{background-position:85% 85%}.em.em-de,.em.em-flag-de{background-position:85% 22.5%}.em.em-flag-gh{background-position:85% 92.5%}.em.em-flag-gi{background-position:85% 95%}.em.em-flag-gr{background-position:87.5% 7.5%}.em.em-flag-gl{background-position:85% 97.5%}.em.em-flag-gd{background-position:85% 82.5%}.em.em-flag-gp{background-position:87.5% 2.5%}.em.em-flag-gu{background-position:87.5% 15%}.em.em-flag-gt{background-position:87.5% 12.5%}.em.em-flag-gg{background-position:85% 90%}.em.em-flag-gn{background-position:87.5% 0}.em.em-flag-gw{background-position:87.5% 17.5%}.em.em-flag-gy{background-position:87.5% 20%}.em.em-flag-ht{background-position:87.5% 32.5%}.em.em-flag-hn{background-position:87.5% 27.5%}.em.em-flag-hk{background-position:87.5% 22.5%}.em.em-flag-hu{background-position:87.5% 35%}.em.em-flag-is{background-position:87.5% 60%}.em.em-flag-in{background-position:87.5% 50%}.em.em-flag-id{background-position:87.5% 40%}.em.em-flag-ir{background-position:87.5% 57.5%}.em.em-flag-iq{background-position:87.5% 55%}.em.em-flag-ie{background-position:87.5% 42.5%}.em.em-flag-im{background-position:87.5% 47.5%}.em.em-flag-il{background-position:87.5% 45%}.em.em-flag-it,.em.em-it{background-position:87.5% 62.5%}.em.em-flag-ci{background-position:82.5% 90%}.em.em-flag-jm{background-position:87.5% 67.5%}.em.em-flag-jp,.em.em-jp{background-position:87.5% 72.5%}.em.em-flag-je{background-position:87.5% 65%}.em.em-flag-jo{background-position:87.5% 70%}.em.em-flag-kz{background-position:87.5% 100%}.em.em-flag-ke{background-position:87.5% 75%}.em.em-flag-ki{background-position:87.5% 82.5%}.em.em-flag-xk{background-position:95% 95%}.em.em-flag-kw{background-position:87.5% 95%}.em.em-flag-kg{background-position:87.5% 77.5%}.em.em-flag-la{background-position:90% 0}.em.em-flag-lv{background-position:90% 22.5%}.em.em-flag-lb{background-position:90% 2.5%}.em.em-flag-ls{background-position:90% 15%}.em.em-flag-lr{background-position:90% 12.5%}.em.em-flag-ly{background-position:90% 25%}.em.em-flag-li{background-position:90% 7.5%}.em.em-flag-lt{background-position:90% 17.5%}.em.em-flag-lu{background-position:90% 20%}.em.em-flag-mo{background-position:90% 55%}.em.em-flag-mk{background-position:90% 45%}.em.em-flag-mg{background-position:90% 40%}.em.em-flag-mw{background-position:90% 75%}.em.em-flag-my{background-position:90% 80%}.em.em-flag-mv{background-position:90% 72.5%}.em.em-flag-ml{background-position:90% 47.5%}.em.em-flag-mt{background-position:90% 67.5%}.em.em-flag-mh{background-position:90% 42.5%}.em.em-flag-mq{background-position:90% 60%}.em.em-flag-mr{background-position:90% 62.5%}.em.em-flag-mu{background-position:90% 70%}.em.em-flag-yt{background-position:95% 100%}.em.em-flag-mx{background-position:90% 77.5%}.em.em-flag-fm{background-position:85% 70%}.em.em-flag-md{background-position:90% 32.5%}.em.em-flag-mc{background-position:90% 30%}.em.em-flag-mn{background-position:90% 52.5%}.em.em-flag-me{background-position:90% 35%}.em.em-flag-ms{background-position:90% 65%}.em.em-flag-ma{background-position:90% 27.5%}.em.em-flag-mz{background-position:90% 82.5%}.em.em-flag-mm{background-position:90% 50%}.em.em-flag-na{background-position:90% 85%}.em.em-flag-nr{background-position:92.5% 5%}.em.em-flag-np{background-position:92.5% 2.5%}.em.em-flag-nl{background-position:90% 100%}.em.em-flag-nc{background-position:90% 87.5%}.em.em-flag-nz{background-position:92.5% 10%}.em.em-flag-ni{background-position:90% 97.5%}.em.em-flag-ne{background-position:90% 90%}.em.em-flag-ng{background-position:90% 95%}.em.em-flag-nu{background-position:92.5% 7.5%}.em.em-flag-nf{background-position:90% 92.5%}.em.em-flag-mp{background-position:90% 57.5%}.em.em-flag-kp{background-position:87.5% 90%}.em.em-flag-no{background-position:92.5% 0}.em.em-flag-om{background-position:92.5% 12.5%}.em.em-flag-pk{background-position:92.5% 27.5%}.em.em-flag-pw{background-position:92.5% 45%}.em.em-flag-ps{background-position:92.5% 40%}.em.em-flag-pa{background-position:92.5% 15%}.em.em-flag-pg{background-position:92.5% 22.5%}.em.em-flag-py{background-position:92.5% 47.5%}.em.em-flag-pe{background-position:92.5% 17.5%}.em.em-flag-ph{background-position:92.5% 25%}.em.em-flag-pn{background-position:92.5% 35%}.em.em-flag-pl{background-position:92.5% 30%}.em.em-flag-pt{background-position:92.5% 42.5%}.em.em-flag-pr{background-position:92.5% 37.5%}.em.em-flag-qa{background-position:92.5% 50%}.em.em-flag-re{background-position:92.5% 52.5%}.em.em-flag-ro{background-position:92.5% 55%}.em.em-flag-ru,.em.em-ru{background-position:92.5% 60%}.em.em-flag-rw{background-position:92.5% 62.5%}.em.em-flag-bl{background-position:82.5% 45%}.em.em-flag-sh{background-position:92.5% 80%}.em.em-flag-kn{background-position:87.5% 87.5%}.em.em-flag-lc{background-position:90% 5%}.em.em-flag-pm{background-position:92.5% 32.5%}.em.em-flag-vc{background-position:95% 75%}.em.em-flag-ws{background-position:95% 92.5%}.em.em-flag-sm{background-position:92.5% 92.5%}.em.em-flag-st{background-position:95% 2.5%}.em.em-flag-sa{background-position:92.5% 65%}.em.em-flag-sn{background-position:92.5% 95%}.em.em-flag-rs{background-position:92.5% 57.5%}.em.em-flag-sc{background-position:92.5% 70%}.em.em-flag-sl{background-position:92.5% 90%}.em.em-flag-sg{background-position:92.5% 77.5%}.em.em-flag-sx{background-position:95% 7.5%}.em.em-flag-sk{background-position:92.5% 87.5%}.em.em-flag-si{background-position:92.5% 82.5%}.em.em-flag-sb{background-position:92.5% 67.5%}.em.em-flag-so{background-position:92.5% 97.5%}.em.em-flag-za{background-position:97.5% 0}.em.em-flag-gs{background-position:87.5% 10%}.em.em-flag-kr,.em.em-kr{background-position:87.5% 92.5%}.em.em-flag-ss{background-position:95% 0}.em.em-es,.em.em-flag-es{background-position:85% 55%}.em.em-flag-lk{background-position:90% 10%}.em.em-flag-sd{background-position:92.5% 72.5%}.em.em-flag-sr{background-position:92.5% 100%}.em.em-flag-sz{background-position:95% 12.5%}.em.em-flag-se{background-position:92.5% 75%}.em.em-flag-ch{background-position:82.5% 87.5%}.em.em-flag-sy{background-position:95% 10%}.em.em-flag-tw{background-position:95% 52.5%}.em.em-flag-tj{background-position:95% 30%}.em.em-flag-tz{background-position:95% 55%}.em.em-flag-th{background-position:95% 27.5%}.em.em-flag-tl{background-position:95% 35%}.em.em-flag-tg{background-position:95% 25%}.em.em-flag-tk{background-position:95% 32.5%}.em.em-flag-to{background-position:95% 42.5%}.em.em-flag-tt{background-position:95% 47.5%}.em.em-flag-tn{background-position:95% 40%}.em.em-flag-tr{background-position:95% 45%}.em.em-flag-tm{background-position:95% 37.5%}.em.em-flag-tc{background-position:95% 17.5%}.em.em-flag-tv{background-position:95% 50%}.em.em-flag-ug{background-position:95% 60%}.em.em-flag-ua{background-position:95% 57.5%}.em.em-flag-ae{background-position:80% 87.5%}.em.em-flag-gb,.em.em-gb,.em.em-uk{background-position:85% 80%}.em.em-flag-us,.em.em-us{background-position:95% 65%}.em.em-flag-vi{background-position:95% 82.5%}.em.em-flag-uy{background-position:95% 67.5%}.em.em-flag-uz{background-position:95% 70%}.em.em-flag-vu{background-position:95% 87.5%}.em.em-flag-va{background-position:95% 72.5%}.em.em-flag-ve{background-position:95% 77.5%}.em.em-flag-vn{background-position:95% 85%}.em.em-flag-wf{background-position:95% 90%}.em.em-flag-eh{background-position:85% 50%}.em.em-flag-ye{background-position:95% 97.5%}.em.em-flag-zm{background-position:97.5% 2.5%}.em.em-flag-zw{background-position:97.5% 5%}.em.em-flag-ac{background-position:80% 82.5%}.em.em-flag-bv{background-position:82.5% 65%}.em.em-flag-cp{background-position:85% 2.5%}.em.em-flag-dg{background-position:85% 25%}.em.em-flag-ea{background-position:85% 40%}.em.em-flag-hm{background-position:87.5% 25%}.em.em-flag-mf{background-position:90% 37.5%}.em.em-flag-sj{background-position:92.5% 85%}.em.em-flag-ta{background-position:95% 15%}.em.em-flag-um{background-position:95% 62.5%}.ivu-load-loop{-webkit-animation:ani-load-loop 1s linear infinite;animation:ani-load-loop 1s linear infinite}@-webkit-keyframes ani-load-loop{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ani-load-loop{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.input-group-error-append,.input-group-error-prepend{background-color:#fff;border:1px solid #ed4014}.input-group-error-append .ivu-select-selection,.input-group-error-prepend .ivu-select-selection{background-color:inherit;border:1px solid transparent}.input-group-error-prepend{border-right:0}.input-group-error-append{border-left:0} /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}*{-webkit-tap-highlight-color:rgba(0,0,0,0)}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}body{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif;font-size:12px;line-height:1.5;color:#515a6e;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}article,aside,blockquote,body,button,dd,details,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,input,legend,li,menu,nav,ol,p,section,td,textarea,th,ul{margin:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}input::-ms-clear,input::-ms-reveal{display:none}a{color:#2d8cf0;background:transparent;text-decoration:none;outline:none;cursor:pointer;-webkit-transition:color .2s ease;transition:color .2s ease}a:hover{color:#57a3f3}a:active{color:#2b85e4}a:active,a:hover{outline:0;text-decoration:none}a[disabled]{color:#ccc;cursor:not-allowed;pointer-events:none}code,kbd,pre,samp{font-family:Consolas,Menlo,Courier,monospace}@font-face{font-family:Ionicons;src:url(../fonts/ionicons.143146fa.woff2) format("woff2"),url(../fonts/ionicons.99ac3308.woff) format("woff"),url(../fonts/ionicons.d535a25a.ttf) format("truetype"),url(../img/ionicons.a2c4a261.svg#Ionicons) format("svg");font-weight:400;font-style:normal}.ivu-icon{display:inline-block;font-family:Ionicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle}.ivu-icon-ios-add-circle-outline:before{content:"\F100"}.ivu-icon-ios-add-circle:before{content:"\F101"}.ivu-icon-ios-add:before{content:"\F102"}.ivu-icon-ios-alarm-outline:before{content:"\F103"}.ivu-icon-ios-alarm:before{content:"\F104"}.ivu-icon-ios-albums-outline:before{content:"\F105"}.ivu-icon-ios-albums:before{content:"\F106"}.ivu-icon-ios-alert-outline:before{content:"\F107"}.ivu-icon-ios-alert:before{content:"\F108"}.ivu-icon-ios-american-football-outline:before{content:"\F109"}.ivu-icon-ios-american-football:before{content:"\F10A"}.ivu-icon-ios-analytics-outline:before{content:"\F10B"}.ivu-icon-ios-analytics:before{content:"\F10C"}.ivu-icon-ios-aperture-outline:before{content:"\F10D"}.ivu-icon-ios-aperture:before{content:"\F10E"}.ivu-icon-ios-apps-outline:before{content:"\F10F"}.ivu-icon-ios-apps:before{content:"\F110"}.ivu-icon-ios-appstore-outline:before{content:"\F111"}.ivu-icon-ios-appstore:before{content:"\F112"}.ivu-icon-ios-archive-outline:before{content:"\F113"}.ivu-icon-ios-archive:before{content:"\F114"}.ivu-icon-ios-arrow-back:before{content:"\F115"}.ivu-icon-ios-arrow-down:before{content:"\F116"}.ivu-icon-ios-arrow-dropdown-circle:before{content:"\F117"}.ivu-icon-ios-arrow-dropdown:before{content:"\F118"}.ivu-icon-ios-arrow-dropleft-circle:before{content:"\F119"}.ivu-icon-ios-arrow-dropleft:before{content:"\F11A"}.ivu-icon-ios-arrow-dropright-circle:before{content:"\F11B"}.ivu-icon-ios-arrow-dropright:before{content:"\F11C"}.ivu-icon-ios-arrow-dropup-circle:before{content:"\F11D"}.ivu-icon-ios-arrow-dropup:before{content:"\F11E"}.ivu-icon-ios-arrow-forward:before{content:"\F11F"}.ivu-icon-ios-arrow-round-back:before{content:"\F120"}.ivu-icon-ios-arrow-round-down:before{content:"\F121"}.ivu-icon-ios-arrow-round-forward:before{content:"\F122"}.ivu-icon-ios-arrow-round-up:before{content:"\F123"}.ivu-icon-ios-arrow-up:before{content:"\F124"}.ivu-icon-ios-at-outline:before{content:"\F125"}.ivu-icon-ios-at:before{content:"\F126"}.ivu-icon-ios-attach:before{content:"\F127"}.ivu-icon-ios-backspace-outline:before{content:"\F128"}.ivu-icon-ios-backspace:before{content:"\F129"}.ivu-icon-ios-barcode-outline:before{content:"\F12A"}.ivu-icon-ios-barcode:before{content:"\F12B"}.ivu-icon-ios-baseball-outline:before{content:"\F12C"}.ivu-icon-ios-baseball:before{content:"\F12D"}.ivu-icon-ios-basket-outline:before{content:"\F12E"}.ivu-icon-ios-basket:before{content:"\F12F"}.ivu-icon-ios-basketball-outline:before{content:"\F130"}.ivu-icon-ios-basketball:before{content:"\F131"}.ivu-icon-ios-battery-charging:before{content:"\F132"}.ivu-icon-ios-battery-dead:before{content:"\F133"}.ivu-icon-ios-battery-full:before{content:"\F134"}.ivu-icon-ios-beaker-outline:before{content:"\F135"}.ivu-icon-ios-beaker:before{content:"\F136"}.ivu-icon-ios-beer-outline:before{content:"\F137"}.ivu-icon-ios-beer:before{content:"\F138"}.ivu-icon-ios-bicycle:before{content:"\F139"}.ivu-icon-ios-bluetooth:before{content:"\F13A"}.ivu-icon-ios-boat-outline:before{content:"\F13B"}.ivu-icon-ios-boat:before{content:"\F13C"}.ivu-icon-ios-body-outline:before{content:"\F13D"}.ivu-icon-ios-body:before{content:"\F13E"}.ivu-icon-ios-bonfire-outline:before{content:"\F13F"}.ivu-icon-ios-bonfire:before{content:"\F140"}.ivu-icon-ios-book-outline:before{content:"\F141"}.ivu-icon-ios-book:before{content:"\F142"}.ivu-icon-ios-bookmark-outline:before{content:"\F143"}.ivu-icon-ios-bookmark:before{content:"\F144"}.ivu-icon-ios-bookmarks-outline:before{content:"\F145"}.ivu-icon-ios-bookmarks:before{content:"\F146"}.ivu-icon-ios-bowtie-outline:before{content:"\F147"}.ivu-icon-ios-bowtie:before{content:"\F148"}.ivu-icon-ios-briefcase-outline:before{content:"\F149"}.ivu-icon-ios-briefcase:before{content:"\F14A"}.ivu-icon-ios-browsers-outline:before{content:"\F14B"}.ivu-icon-ios-browsers:before{content:"\F14C"}.ivu-icon-ios-brush-outline:before{content:"\F14D"}.ivu-icon-ios-brush:before{content:"\F14E"}.ivu-icon-ios-bug-outline:before{content:"\F14F"}.ivu-icon-ios-bug:before{content:"\F150"}.ivu-icon-ios-build-outline:before{content:"\F151"}.ivu-icon-ios-build:before{content:"\F152"}.ivu-icon-ios-bulb-outline:before{content:"\F153"}.ivu-icon-ios-bulb:before{content:"\F154"}.ivu-icon-ios-bus-outline:before{content:"\F155"}.ivu-icon-ios-bus:before{content:"\F156"}.ivu-icon-ios-cafe-outline:before{content:"\F157"}.ivu-icon-ios-cafe:before{content:"\F158"}.ivu-icon-ios-calculator-outline:before{content:"\F159"}.ivu-icon-ios-calculator:before{content:"\F15A"}.ivu-icon-ios-calendar-outline:before{content:"\F15B"}.ivu-icon-ios-calendar:before{content:"\F15C"}.ivu-icon-ios-call-outline:before{content:"\F15D"}.ivu-icon-ios-call:before{content:"\F15E"}.ivu-icon-ios-camera-outline:before{content:"\F15F"}.ivu-icon-ios-camera:before{content:"\F160"}.ivu-icon-ios-car-outline:before{content:"\F161"}.ivu-icon-ios-car:before{content:"\F162"}.ivu-icon-ios-card-outline:before{content:"\F163"}.ivu-icon-ios-card:before{content:"\F164"}.ivu-icon-ios-cart-outline:before{content:"\F165"}.ivu-icon-ios-cart:before{content:"\F166"}.ivu-icon-ios-cash-outline:before{content:"\F167"}.ivu-icon-ios-cash:before{content:"\F168"}.ivu-icon-ios-chatboxes-outline:before{content:"\F169"}.ivu-icon-ios-chatboxes:before{content:"\F16A"}.ivu-icon-ios-chatbubbles-outline:before{content:"\F16B"}.ivu-icon-ios-chatbubbles:before{content:"\F16C"}.ivu-icon-ios-checkbox-outline:before{content:"\F16D"}.ivu-icon-ios-checkbox:before{content:"\F16E"}.ivu-icon-ios-checkmark-circle-outline:before{content:"\F16F"}.ivu-icon-ios-checkmark-circle:before{content:"\F170"}.ivu-icon-ios-checkmark:before{content:"\F171"}.ivu-icon-ios-clipboard-outline:before{content:"\F172"}.ivu-icon-ios-clipboard:before{content:"\F173"}.ivu-icon-ios-clock-outline:before{content:"\F174"}.ivu-icon-ios-clock:before{content:"\F175"}.ivu-icon-ios-close-circle-outline:before{content:"\F176"}.ivu-icon-ios-close-circle:before{content:"\F177"}.ivu-icon-ios-close:before{content:"\F178"}.ivu-icon-ios-closed-captioning-outline:before{content:"\F179"}.ivu-icon-ios-closed-captioning:before{content:"\F17A"}.ivu-icon-ios-cloud-circle-outline:before{content:"\F17B"}.ivu-icon-ios-cloud-circle:before{content:"\F17C"}.ivu-icon-ios-cloud-done-outline:before{content:"\F17D"}.ivu-icon-ios-cloud-done:before{content:"\F17E"}.ivu-icon-ios-cloud-download-outline:before{content:"\F17F"}.ivu-icon-ios-cloud-download:before{content:"\F180"}.ivu-icon-ios-cloud-outline:before{content:"\F181"}.ivu-icon-ios-cloud-upload-outline:before{content:"\F182"}.ivu-icon-ios-cloud-upload:before{content:"\F183"}.ivu-icon-ios-cloud:before{content:"\F184"}.ivu-icon-ios-cloudy-night-outline:before{content:"\F185"}.ivu-icon-ios-cloudy-night:before{content:"\F186"}.ivu-icon-ios-cloudy-outline:before{content:"\F187"}.ivu-icon-ios-cloudy:before{content:"\F188"}.ivu-icon-ios-code-download:before{content:"\F189"}.ivu-icon-ios-code-working:before{content:"\F18A"}.ivu-icon-ios-code:before{content:"\F18B"}.ivu-icon-ios-cog-outline:before{content:"\F18C"}.ivu-icon-ios-cog:before{content:"\F18D"}.ivu-icon-ios-color-fill-outline:before{content:"\F18E"}.ivu-icon-ios-color-fill:before{content:"\F18F"}.ivu-icon-ios-color-filter-outline:before{content:"\F190"}.ivu-icon-ios-color-filter:before{content:"\F191"}.ivu-icon-ios-color-palette-outline:before{content:"\F192"}.ivu-icon-ios-color-palette:before{content:"\F193"}.ivu-icon-ios-color-wand-outline:before{content:"\F194"}.ivu-icon-ios-color-wand:before{content:"\F195"}.ivu-icon-ios-compass-outline:before{content:"\F196"}.ivu-icon-ios-compass:before{content:"\F197"}.ivu-icon-ios-construct-outline:before{content:"\F198"}.ivu-icon-ios-construct:before{content:"\F199"}.ivu-icon-ios-contact-outline:before{content:"\F19A"}.ivu-icon-ios-contact:before{content:"\F19B"}.ivu-icon-ios-contacts-outline:before{content:"\F19C"}.ivu-icon-ios-contacts:before{content:"\F19D"}.ivu-icon-ios-contract:before{content:"\F19E"}.ivu-icon-ios-contrast:before{content:"\F19F"}.ivu-icon-ios-copy-outline:before{content:"\F1A0"}.ivu-icon-ios-copy:before{content:"\F1A1"}.ivu-icon-ios-create-outline:before{content:"\F1A2"}.ivu-icon-ios-create:before{content:"\F1A3"}.ivu-icon-ios-crop-outline:before{content:"\F1A4"}.ivu-icon-ios-crop:before{content:"\F1A5"}.ivu-icon-ios-cube-outline:before{content:"\F1A6"}.ivu-icon-ios-cube:before{content:"\F1A7"}.ivu-icon-ios-cut-outline:before{content:"\F1A8"}.ivu-icon-ios-cut:before{content:"\F1A9"}.ivu-icon-ios-desktop-outline:before{content:"\F1AA"}.ivu-icon-ios-desktop:before{content:"\F1AB"}.ivu-icon-ios-disc-outline:before{content:"\F1AC"}.ivu-icon-ios-disc:before{content:"\F1AD"}.ivu-icon-ios-document-outline:before{content:"\F1AE"}.ivu-icon-ios-document:before{content:"\F1AF"}.ivu-icon-ios-done-all:before{content:"\F1B0"}.ivu-icon-ios-download-outline:before{content:"\F1B1"}.ivu-icon-ios-download:before{content:"\F1B2"}.ivu-icon-ios-easel-outline:before{content:"\F1B3"}.ivu-icon-ios-easel:before{content:"\F1B4"}.ivu-icon-ios-egg-outline:before{content:"\F1B5"}.ivu-icon-ios-egg:before{content:"\F1B6"}.ivu-icon-ios-exit-outline:before{content:"\F1B7"}.ivu-icon-ios-exit:before{content:"\F1B8"}.ivu-icon-ios-expand:before{content:"\F1B9"}.ivu-icon-ios-eye-off-outline:before{content:"\F1BA"}.ivu-icon-ios-eye-off:before{content:"\F1BB"}.ivu-icon-ios-eye-outline:before{content:"\F1BC"}.ivu-icon-ios-eye:before{content:"\F1BD"}.ivu-icon-ios-fastforward-outline:before{content:"\F1BE"}.ivu-icon-ios-fastforward:before{content:"\F1BF"}.ivu-icon-ios-female:before{content:"\F1C0"}.ivu-icon-ios-filing-outline:before{content:"\F1C1"}.ivu-icon-ios-filing:before{content:"\F1C2"}.ivu-icon-ios-film-outline:before{content:"\F1C3"}.ivu-icon-ios-film:before{content:"\F1C4"}.ivu-icon-ios-finger-print:before{content:"\F1C5"}.ivu-icon-ios-flag-outline:before{content:"\F1C6"}.ivu-icon-ios-flag:before{content:"\F1C7"}.ivu-icon-ios-flame-outline:before{content:"\F1C8"}.ivu-icon-ios-flame:before{content:"\F1C9"}.ivu-icon-ios-flash-outline:before{content:"\F1CA"}.ivu-icon-ios-flash:before{content:"\F1CB"}.ivu-icon-ios-flask-outline:before{content:"\F1CC"}.ivu-icon-ios-flask:before{content:"\F1CD"}.ivu-icon-ios-flower-outline:before{content:"\F1CE"}.ivu-icon-ios-flower:before{content:"\F1CF"}.ivu-icon-ios-folder-open-outline:before{content:"\F1D0"}.ivu-icon-ios-folder-open:before{content:"\F1D1"}.ivu-icon-ios-folder-outline:before{content:"\F1D2"}.ivu-icon-ios-folder:before{content:"\F1D3"}.ivu-icon-ios-football-outline:before{content:"\F1D4"}.ivu-icon-ios-football:before{content:"\F1D5"}.ivu-icon-ios-funnel-outline:before{content:"\F1D6"}.ivu-icon-ios-funnel:before{content:"\F1D7"}.ivu-icon-ios-game-controller-a-outline:before{content:"\F1D8"}.ivu-icon-ios-game-controller-a:before{content:"\F1D9"}.ivu-icon-ios-game-controller-b-outline:before{content:"\F1DA"}.ivu-icon-ios-game-controller-b:before{content:"\F1DB"}.ivu-icon-ios-git-branch:before{content:"\F1DC"}.ivu-icon-ios-git-commit:before{content:"\F1DD"}.ivu-icon-ios-git-compare:before{content:"\F1DE"}.ivu-icon-ios-git-merge:before{content:"\F1DF"}.ivu-icon-ios-git-network:before{content:"\F1E0"}.ivu-icon-ios-git-pull-request:before{content:"\F1E1"}.ivu-icon-ios-glasses-outline:before{content:"\F1E2"}.ivu-icon-ios-glasses:before{content:"\F1E3"}.ivu-icon-ios-globe-outline:before{content:"\F1E4"}.ivu-icon-ios-globe:before{content:"\F1E5"}.ivu-icon-ios-grid-outline:before{content:"\F1E6"}.ivu-icon-ios-grid:before{content:"\F1E7"}.ivu-icon-ios-hammer-outline:before{content:"\F1E8"}.ivu-icon-ios-hammer:before{content:"\F1E9"}.ivu-icon-ios-hand-outline:before{content:"\F1EA"}.ivu-icon-ios-hand:before{content:"\F1EB"}.ivu-icon-ios-happy-outline:before{content:"\F1EC"}.ivu-icon-ios-happy:before{content:"\F1ED"}.ivu-icon-ios-headset-outline:before{content:"\F1EE"}.ivu-icon-ios-headset:before{content:"\F1EF"}.ivu-icon-ios-heart-outline:before{content:"\F1F0"}.ivu-icon-ios-heart:before{content:"\F1F1"}.ivu-icon-ios-help-buoy-outline:before{content:"\F1F2"}.ivu-icon-ios-help-buoy:before{content:"\F1F3"}.ivu-icon-ios-help-circle-outline:before{content:"\F1F4"}.ivu-icon-ios-help-circle:before{content:"\F1F5"}.ivu-icon-ios-help:before{content:"\F1F6"}.ivu-icon-ios-home-outline:before{content:"\F1F7"}.ivu-icon-ios-home:before{content:"\F1F8"}.ivu-icon-ios-ice-cream-outline:before{content:"\F1F9"}.ivu-icon-ios-ice-cream:before{content:"\F1FA"}.ivu-icon-ios-image-outline:before{content:"\F1FB"}.ivu-icon-ios-image:before{content:"\F1FC"}.ivu-icon-ios-images-outline:before{content:"\F1FD"}.ivu-icon-ios-images:before{content:"\F1FE"}.ivu-icon-ios-infinite-outline:before{content:"\F1FF"}.ivu-icon-ios-infinite:before{content:"\F200"}.ivu-icon-ios-information-circle-outline:before{content:"\F201"}.ivu-icon-ios-information-circle:before{content:"\F202"}.ivu-icon-ios-information:before{content:"\F203"}.ivu-icon-ios-ionic-outline:before{content:"\F204"}.ivu-icon-ios-ionic:before{content:"\F205"}.ivu-icon-ios-ionitron-outline:before{content:"\F206"}.ivu-icon-ios-ionitron:before{content:"\F207"}.ivu-icon-ios-jet-outline:before{content:"\F208"}.ivu-icon-ios-jet:before{content:"\F209"}.ivu-icon-ios-key-outline:before{content:"\F20A"}.ivu-icon-ios-key:before{content:"\F20B"}.ivu-icon-ios-keypad-outline:before{content:"\F20C"}.ivu-icon-ios-keypad:before{content:"\F20D"}.ivu-icon-ios-laptop:before{content:"\F20E"}.ivu-icon-ios-leaf-outline:before{content:"\F20F"}.ivu-icon-ios-leaf:before{content:"\F210"}.ivu-icon-ios-link-outline:before{content:"\F211"}.ivu-icon-ios-link:before{content:"\F212"}.ivu-icon-ios-list-box-outline:before{content:"\F213"}.ivu-icon-ios-list-box:before{content:"\F214"}.ivu-icon-ios-list:before{content:"\F215"}.ivu-icon-ios-locate-outline:before{content:"\F216"}.ivu-icon-ios-locate:before{content:"\F217"}.ivu-icon-ios-lock-outline:before{content:"\F218"}.ivu-icon-ios-lock:before{content:"\F219"}.ivu-icon-ios-log-in:before{content:"\F21A"}.ivu-icon-ios-log-out:before{content:"\F21B"}.ivu-icon-ios-magnet-outline:before{content:"\F21C"}.ivu-icon-ios-magnet:before{content:"\F21D"}.ivu-icon-ios-mail-open-outline:before{content:"\F21E"}.ivu-icon-ios-mail-open:before{content:"\F21F"}.ivu-icon-ios-mail-outline:before{content:"\F220"}.ivu-icon-ios-mail:before{content:"\F221"}.ivu-icon-ios-male:before{content:"\F222"}.ivu-icon-ios-man-outline:before{content:"\F223"}.ivu-icon-ios-man:before{content:"\F224"}.ivu-icon-ios-map-outline:before{content:"\F225"}.ivu-icon-ios-map:before{content:"\F226"}.ivu-icon-ios-medal-outline:before{content:"\F227"}.ivu-icon-ios-medal:before{content:"\F228"}.ivu-icon-ios-medical-outline:before{content:"\F229"}.ivu-icon-ios-medical:before{content:"\F22A"}.ivu-icon-ios-medkit-outline:before{content:"\F22B"}.ivu-icon-ios-medkit:before{content:"\F22C"}.ivu-icon-ios-megaphone-outline:before{content:"\F22D"}.ivu-icon-ios-megaphone:before{content:"\F22E"}.ivu-icon-ios-menu-outline:before{content:"\F22F"}.ivu-icon-ios-menu:before{content:"\F230"}.ivu-icon-ios-mic-off-outline:before{content:"\F231"}.ivu-icon-ios-mic-off:before{content:"\F232"}.ivu-icon-ios-mic-outline:before{content:"\F233"}.ivu-icon-ios-mic:before{content:"\F234"}.ivu-icon-ios-microphone-outline:before{content:"\F235"}.ivu-icon-ios-microphone:before{content:"\F236"}.ivu-icon-ios-moon-outline:before{content:"\F237"}.ivu-icon-ios-moon:before{content:"\F238"}.ivu-icon-ios-more-outline:before{content:"\F239"}.ivu-icon-ios-more:before{content:"\F23A"}.ivu-icon-ios-move:before{content:"\F23B"}.ivu-icon-ios-musical-note-outline:before{content:"\F23C"}.ivu-icon-ios-musical-note:before{content:"\F23D"}.ivu-icon-ios-musical-notes-outline:before{content:"\F23E"}.ivu-icon-ios-musical-notes:before{content:"\F23F"}.ivu-icon-ios-navigate-outline:before{content:"\F240"}.ivu-icon-ios-navigate:before{content:"\F241"}.ivu-icon-ios-no-smoking-outline:before{content:"\F242"}.ivu-icon-ios-no-smoking:before{content:"\F243"}.ivu-icon-ios-notifications-off-outline:before{content:"\F244"}.ivu-icon-ios-notifications-off:before{content:"\F245"}.ivu-icon-ios-notifications-outline:before{content:"\F246"}.ivu-icon-ios-notifications:before{content:"\F247"}.ivu-icon-ios-nuclear-outline:before{content:"\F248"}.ivu-icon-ios-nuclear:before{content:"\F249"}.ivu-icon-ios-nutrition-outline:before{content:"\F24A"}.ivu-icon-ios-nutrition:before{content:"\F24B"}.ivu-icon-ios-open-outline:before{content:"\F24C"}.ivu-icon-ios-open:before{content:"\F24D"}.ivu-icon-ios-options-outline:before{content:"\F24E"}.ivu-icon-ios-options:before{content:"\F24F"}.ivu-icon-ios-outlet-outline:before{content:"\F250"}.ivu-icon-ios-outlet:before{content:"\F251"}.ivu-icon-ios-paper-outline:before{content:"\F252"}.ivu-icon-ios-paper-plane-outline:before{content:"\F253"}.ivu-icon-ios-paper-plane:before{content:"\F254"}.ivu-icon-ios-paper:before{content:"\F255"}.ivu-icon-ios-partly-sunny-outline:before{content:"\F256"}.ivu-icon-ios-partly-sunny:before{content:"\F257"}.ivu-icon-ios-pause-outline:before{content:"\F258"}.ivu-icon-ios-pause:before{content:"\F259"}.ivu-icon-ios-paw-outline:before{content:"\F25A"}.ivu-icon-ios-paw:before{content:"\F25B"}.ivu-icon-ios-people-outline:before{content:"\F25C"}.ivu-icon-ios-people:before{content:"\F25D"}.ivu-icon-ios-person-add-outline:before{content:"\F25E"}.ivu-icon-ios-person-add:before{content:"\F25F"}.ivu-icon-ios-person-outline:before{content:"\F260"}.ivu-icon-ios-person:before{content:"\F261"}.ivu-icon-ios-phone-landscape:before{content:"\F262"}.ivu-icon-ios-phone-portrait:before{content:"\F263"}.ivu-icon-ios-photos-outline:before{content:"\F264"}.ivu-icon-ios-photos:before{content:"\F265"}.ivu-icon-ios-pie-outline:before{content:"\F266"}.ivu-icon-ios-pie:before{content:"\F267"}.ivu-icon-ios-pin-outline:before{content:"\F268"}.ivu-icon-ios-pin:before{content:"\F269"}.ivu-icon-ios-pint-outline:before{content:"\F26A"}.ivu-icon-ios-pint:before{content:"\F26B"}.ivu-icon-ios-pizza-outline:before{content:"\F26C"}.ivu-icon-ios-pizza:before{content:"\F26D"}.ivu-icon-ios-plane-outline:before{content:"\F26E"}.ivu-icon-ios-plane:before{content:"\F26F"}.ivu-icon-ios-planet-outline:before{content:"\F270"}.ivu-icon-ios-planet:before{content:"\F271"}.ivu-icon-ios-play-outline:before{content:"\F272"}.ivu-icon-ios-play:before{content:"\F273"}.ivu-icon-ios-podium-outline:before{content:"\F274"}.ivu-icon-ios-podium:before{content:"\F275"}.ivu-icon-ios-power-outline:before{content:"\F276"}.ivu-icon-ios-power:before{content:"\F277"}.ivu-icon-ios-pricetag-outline:before{content:"\F278"}.ivu-icon-ios-pricetag:before{content:"\F279"}.ivu-icon-ios-pricetags-outline:before{content:"\F27A"}.ivu-icon-ios-pricetags:before{content:"\F27B"}.ivu-icon-ios-print-outline:before{content:"\F27C"}.ivu-icon-ios-print:before{content:"\F27D"}.ivu-icon-ios-pulse-outline:before{content:"\F27E"}.ivu-icon-ios-pulse:before{content:"\F27F"}.ivu-icon-ios-qr-scanner:before{content:"\F280"}.ivu-icon-ios-quote-outline:before{content:"\F281"}.ivu-icon-ios-quote:before{content:"\F282"}.ivu-icon-ios-radio-button-off:before{content:"\F283"}.ivu-icon-ios-radio-button-on:before{content:"\F284"}.ivu-icon-ios-radio-outline:before{content:"\F285"}.ivu-icon-ios-radio:before{content:"\F286"}.ivu-icon-ios-rainy-outline:before{content:"\F287"}.ivu-icon-ios-rainy:before{content:"\F288"}.ivu-icon-ios-recording-outline:before{content:"\F289"}.ivu-icon-ios-recording:before{content:"\F28A"}.ivu-icon-ios-redo-outline:before{content:"\F28B"}.ivu-icon-ios-redo:before{content:"\F28C"}.ivu-icon-ios-refresh-circle-outline:before{content:"\F28D"}.ivu-icon-ios-refresh-circle:before{content:"\F28E"}.ivu-icon-ios-refresh:before{content:"\F28F"}.ivu-icon-ios-remove-circle-outline:before{content:"\F290"}.ivu-icon-ios-remove-circle:before{content:"\F291"}.ivu-icon-ios-remove:before{content:"\F292"}.ivu-icon-ios-reorder:before{content:"\F293"}.ivu-icon-ios-repeat:before{content:"\F294"}.ivu-icon-ios-resize:before{content:"\F295"}.ivu-icon-ios-restaurant-outline:before{content:"\F296"}.ivu-icon-ios-restaurant:before{content:"\F297"}.ivu-icon-ios-return-left:before{content:"\F298"}.ivu-icon-ios-return-right:before{content:"\F299"}.ivu-icon-ios-reverse-camera-outline:before{content:"\F29A"}.ivu-icon-ios-reverse-camera:before{content:"\F29B"}.ivu-icon-ios-rewind-outline:before{content:"\F29C"}.ivu-icon-ios-rewind:before{content:"\F29D"}.ivu-icon-ios-ribbon-outline:before{content:"\F29E"}.ivu-icon-ios-ribbon:before{content:"\F29F"}.ivu-icon-ios-rose-outline:before{content:"\F2A0"}.ivu-icon-ios-rose:before{content:"\F2A1"}.ivu-icon-ios-sad-outline:before{content:"\F2A2"}.ivu-icon-ios-sad:before{content:"\F2A3"}.ivu-icon-ios-school-outline:before{content:"\F2A4"}.ivu-icon-ios-school:before{content:"\F2A5"}.ivu-icon-ios-search-outline:before{content:"\F2A6"}.ivu-icon-ios-search:before{content:"\F2A7"}.ivu-icon-ios-send-outline:before{content:"\F2A8"}.ivu-icon-ios-send:before{content:"\F2A9"}.ivu-icon-ios-settings-outline:before{content:"\F2AA"}.ivu-icon-ios-settings:before{content:"\F2AB"}.ivu-icon-ios-share-alt-outline:before{content:"\F2AC"}.ivu-icon-ios-share-alt:before{content:"\F2AD"}.ivu-icon-ios-share-outline:before{content:"\F2AE"}.ivu-icon-ios-share:before{content:"\F2AF"}.ivu-icon-ios-shirt-outline:before{content:"\F2B0"}.ivu-icon-ios-shirt:before{content:"\F2B1"}.ivu-icon-ios-shuffle:before{content:"\F2B2"}.ivu-icon-ios-skip-backward-outline:before{content:"\F2B3"}.ivu-icon-ios-skip-backward:before{content:"\F2B4"}.ivu-icon-ios-skip-forward-outline:before{content:"\F2B5"}.ivu-icon-ios-skip-forward:before{content:"\F2B6"}.ivu-icon-ios-snow-outline:before{content:"\F2B7"}.ivu-icon-ios-snow:before{content:"\F2B8"}.ivu-icon-ios-speedometer-outline:before{content:"\F2B9"}.ivu-icon-ios-speedometer:before{content:"\F2BA"}.ivu-icon-ios-square-outline:before{content:"\F2BB"}.ivu-icon-ios-square:before{content:"\F2BC"}.ivu-icon-ios-star-half:before{content:"\F2BD"}.ivu-icon-ios-star-outline:before{content:"\F2BE"}.ivu-icon-ios-star:before{content:"\F2BF"}.ivu-icon-ios-stats-outline:before{content:"\F2C0"}.ivu-icon-ios-stats:before{content:"\F2C1"}.ivu-icon-ios-stopwatch-outline:before{content:"\F2C2"}.ivu-icon-ios-stopwatch:before{content:"\F2C3"}.ivu-icon-ios-subway-outline:before{content:"\F2C4"}.ivu-icon-ios-subway:before{content:"\F2C5"}.ivu-icon-ios-sunny-outline:before{content:"\F2C6"}.ivu-icon-ios-sunny:before{content:"\F2C7"}.ivu-icon-ios-swap:before{content:"\F2C8"}.ivu-icon-ios-switch-outline:before{content:"\F2C9"}.ivu-icon-ios-switch:before{content:"\F2CA"}.ivu-icon-ios-sync:before{content:"\F2CB"}.ivu-icon-ios-tablet-landscape:before{content:"\F2CC"}.ivu-icon-ios-tablet-portrait:before{content:"\F2CD"}.ivu-icon-ios-tennisball-outline:before{content:"\F2CE"}.ivu-icon-ios-tennisball:before{content:"\F2CF"}.ivu-icon-ios-text-outline:before{content:"\F2D0"}.ivu-icon-ios-text:before{content:"\F2D1"}.ivu-icon-ios-thermometer-outline:before{content:"\F2D2"}.ivu-icon-ios-thermometer:before{content:"\F2D3"}.ivu-icon-ios-thumbs-down-outline:before{content:"\F2D4"}.ivu-icon-ios-thumbs-down:before{content:"\F2D5"}.ivu-icon-ios-thumbs-up-outline:before{content:"\F2D6"}.ivu-icon-ios-thumbs-up:before{content:"\F2D7"}.ivu-icon-ios-thunderstorm-outline:before{content:"\F2D8"}.ivu-icon-ios-thunderstorm:before{content:"\F2D9"}.ivu-icon-ios-time-outline:before{content:"\F2DA"}.ivu-icon-ios-time:before{content:"\F2DB"}.ivu-icon-ios-timer-outline:before{content:"\F2DC"}.ivu-icon-ios-timer:before{content:"\F2DD"}.ivu-icon-ios-train-outline:before{content:"\F2DE"}.ivu-icon-ios-train:before{content:"\F2DF"}.ivu-icon-ios-transgender:before{content:"\F2E0"}.ivu-icon-ios-trash-outline:before{content:"\F2E1"}.ivu-icon-ios-trash:before{content:"\F2E2"}.ivu-icon-ios-trending-down:before{content:"\F2E3"}.ivu-icon-ios-trending-up:before{content:"\F2E4"}.ivu-icon-ios-trophy-outline:before{content:"\F2E5"}.ivu-icon-ios-trophy:before{content:"\F2E6"}.ivu-icon-ios-umbrella-outline:before{content:"\F2E7"}.ivu-icon-ios-umbrella:before{content:"\F2E8"}.ivu-icon-ios-undo-outline:before{content:"\F2E9"}.ivu-icon-ios-undo:before{content:"\F2EA"}.ivu-icon-ios-unlock-outline:before{content:"\F2EB"}.ivu-icon-ios-unlock:before{content:"\F2EC"}.ivu-icon-ios-videocam-outline:before{content:"\F2ED"}.ivu-icon-ios-videocam:before{content:"\F2EE"}.ivu-icon-ios-volume-down:before{content:"\F2EF"}.ivu-icon-ios-volume-mute:before{content:"\F2F0"}.ivu-icon-ios-volume-off:before{content:"\F2F1"}.ivu-icon-ios-volume-up:before{content:"\F2F2"}.ivu-icon-ios-walk:before{content:"\F2F3"}.ivu-icon-ios-warning-outline:before{content:"\F2F4"}.ivu-icon-ios-warning:before{content:"\F2F5"}.ivu-icon-ios-watch:before{content:"\F2F6"}.ivu-icon-ios-water-outline:before{content:"\F2F7"}.ivu-icon-ios-water:before{content:"\F2F8"}.ivu-icon-ios-wifi-outline:before{content:"\F2F9"}.ivu-icon-ios-wifi:before{content:"\F2FA"}.ivu-icon-ios-wine-outline:before{content:"\F2FB"}.ivu-icon-ios-wine:before{content:"\F2FC"}.ivu-icon-ios-woman-outline:before{content:"\F2FD"}.ivu-icon-ios-woman:before{content:"\F2FE"}.ivu-icon-logo-android:before{content:"\F2FF"}.ivu-icon-logo-angular:before{content:"\F300"}.ivu-icon-logo-apple:before{content:"\F301"}.ivu-icon-logo-bitcoin:before{content:"\F302"}.ivu-icon-logo-buffer:before{content:"\F303"}.ivu-icon-logo-chrome:before{content:"\F304"}.ivu-icon-logo-codepen:before{content:"\F305"}.ivu-icon-logo-css3:before{content:"\F306"}.ivu-icon-logo-designernews:before{content:"\F307"}.ivu-icon-logo-dribbble:before{content:"\F308"}.ivu-icon-logo-dropbox:before{content:"\F309"}.ivu-icon-logo-euro:before{content:"\F30A"}.ivu-icon-logo-facebook:before{content:"\F30B"}.ivu-icon-logo-foursquare:before{content:"\F30C"}.ivu-icon-logo-freebsd-devil:before{content:"\F30D"}.ivu-icon-logo-github:before{content:"\F30E"}.ivu-icon-logo-google:before{content:"\F30F"}.ivu-icon-logo-googleplus:before{content:"\F310"}.ivu-icon-logo-hackernews:before{content:"\F311"}.ivu-icon-logo-html5:before{content:"\F312"}.ivu-icon-logo-instagram:before{content:"\F313"}.ivu-icon-logo-javascript:before{content:"\F314"}.ivu-icon-logo-linkedin:before{content:"\F315"}.ivu-icon-logo-markdown:before{content:"\F316"}.ivu-icon-logo-nodejs:before{content:"\F317"}.ivu-icon-logo-octocat:before{content:"\F318"}.ivu-icon-logo-pinterest:before{content:"\F319"}.ivu-icon-logo-playstation:before{content:"\F31A"}.ivu-icon-logo-python:before{content:"\F31B"}.ivu-icon-logo-reddit:before{content:"\F31C"}.ivu-icon-logo-rss:before{content:"\F31D"}.ivu-icon-logo-sass:before{content:"\F31E"}.ivu-icon-logo-skype:before{content:"\F31F"}.ivu-icon-logo-snapchat:before{content:"\F320"}.ivu-icon-logo-steam:before{content:"\F321"}.ivu-icon-logo-tumblr:before{content:"\F322"}.ivu-icon-logo-tux:before{content:"\F323"}.ivu-icon-logo-twitch:before{content:"\F324"}.ivu-icon-logo-twitter:before{content:"\F325"}.ivu-icon-logo-usd:before{content:"\F326"}.ivu-icon-logo-vimeo:before{content:"\F327"}.ivu-icon-logo-whatsapp:before{content:"\F328"}.ivu-icon-logo-windows:before{content:"\F329"}.ivu-icon-logo-wordpress:before{content:"\F32A"}.ivu-icon-logo-xbox:before{content:"\F32B"}.ivu-icon-logo-yahoo:before{content:"\F32C"}.ivu-icon-logo-yen:before{content:"\F32D"}.ivu-icon-logo-youtube:before{content:"\F32E"}.ivu-icon-md-add-circle:before{content:"\F32F"}.ivu-icon-md-add:before{content:"\F330"}.ivu-icon-md-alarm:before{content:"\F331"}.ivu-icon-md-albums:before{content:"\F332"}.ivu-icon-md-alert:before{content:"\F333"}.ivu-icon-md-american-football:before{content:"\F334"}.ivu-icon-md-analytics:before{content:"\F335"}.ivu-icon-md-aperture:before{content:"\F336"}.ivu-icon-md-apps:before{content:"\F337"}.ivu-icon-md-appstore:before{content:"\F338"}.ivu-icon-md-archive:before{content:"\F339"}.ivu-icon-md-arrow-back:before{content:"\F33A"}.ivu-icon-md-arrow-down:before{content:"\F33B"}.ivu-icon-md-arrow-dropdown-circle:before{content:"\F33C"}.ivu-icon-md-arrow-dropdown:before{content:"\F33D"}.ivu-icon-md-arrow-dropleft-circle:before{content:"\F33E"}.ivu-icon-md-arrow-dropleft:before{content:"\F33F"}.ivu-icon-md-arrow-dropright-circle:before{content:"\F340"}.ivu-icon-md-arrow-dropright:before{content:"\F341"}.ivu-icon-md-arrow-dropup-circle:before{content:"\F342"}.ivu-icon-md-arrow-dropup:before{content:"\F343"}.ivu-icon-md-arrow-forward:before{content:"\F344"}.ivu-icon-md-arrow-round-back:before{content:"\F345"}.ivu-icon-md-arrow-round-down:before{content:"\F346"}.ivu-icon-md-arrow-round-forward:before{content:"\F347"}.ivu-icon-md-arrow-round-up:before{content:"\F348"}.ivu-icon-md-arrow-up:before{content:"\F349"}.ivu-icon-md-at:before{content:"\F34A"}.ivu-icon-md-attach:before{content:"\F34B"}.ivu-icon-md-backspace:before{content:"\F34C"}.ivu-icon-md-barcode:before{content:"\F34D"}.ivu-icon-md-baseball:before{content:"\F34E"}.ivu-icon-md-basket:before{content:"\F34F"}.ivu-icon-md-basketball:before{content:"\F350"}.ivu-icon-md-battery-charging:before{content:"\F351"}.ivu-icon-md-battery-dead:before{content:"\F352"}.ivu-icon-md-battery-full:before{content:"\F353"}.ivu-icon-md-beaker:before{content:"\F354"}.ivu-icon-md-beer:before{content:"\F355"}.ivu-icon-md-bicycle:before{content:"\F356"}.ivu-icon-md-bluetooth:before{content:"\F357"}.ivu-icon-md-boat:before{content:"\F358"}.ivu-icon-md-body:before{content:"\F359"}.ivu-icon-md-bonfire:before{content:"\F35A"}.ivu-icon-md-book:before{content:"\F35B"}.ivu-icon-md-bookmark:before{content:"\F35C"}.ivu-icon-md-bookmarks:before{content:"\F35D"}.ivu-icon-md-bowtie:before{content:"\F35E"}.ivu-icon-md-briefcase:before{content:"\F35F"}.ivu-icon-md-browsers:before{content:"\F360"}.ivu-icon-md-brush:before{content:"\F361"}.ivu-icon-md-bug:before{content:"\F362"}.ivu-icon-md-build:before{content:"\F363"}.ivu-icon-md-bulb:before{content:"\F364"}.ivu-icon-md-bus:before{content:"\F365"}.ivu-icon-md-cafe:before{content:"\F366"}.ivu-icon-md-calculator:before{content:"\F367"}.ivu-icon-md-calendar:before{content:"\F368"}.ivu-icon-md-call:before{content:"\F369"}.ivu-icon-md-camera:before{content:"\F36A"}.ivu-icon-md-car:before{content:"\F36B"}.ivu-icon-md-card:before{content:"\F36C"}.ivu-icon-md-cart:before{content:"\F36D"}.ivu-icon-md-cash:before{content:"\F36E"}.ivu-icon-md-chatboxes:before{content:"\F36F"}.ivu-icon-md-chatbubbles:before{content:"\F370"}.ivu-icon-md-checkbox-outline:before{content:"\F371"}.ivu-icon-md-checkbox:before{content:"\F372"}.ivu-icon-md-checkmark-circle-outline:before{content:"\F373"}.ivu-icon-md-checkmark-circle:before{content:"\F374"}.ivu-icon-md-checkmark:before{content:"\F375"}.ivu-icon-md-clipboard:before{content:"\F376"}.ivu-icon-md-clock:before{content:"\F377"}.ivu-icon-md-close-circle:before{content:"\F378"}.ivu-icon-md-close:before{content:"\F379"}.ivu-icon-md-closed-captioning:before{content:"\F37A"}.ivu-icon-md-cloud-circle:before{content:"\F37B"}.ivu-icon-md-cloud-done:before{content:"\F37C"}.ivu-icon-md-cloud-download:before{content:"\F37D"}.ivu-icon-md-cloud-outline:before{content:"\F37E"}.ivu-icon-md-cloud-upload:before{content:"\F37F"}.ivu-icon-md-cloud:before{content:"\F380"}.ivu-icon-md-cloudy-night:before{content:"\F381"}.ivu-icon-md-cloudy:before{content:"\F382"}.ivu-icon-md-code-download:before{content:"\F383"}.ivu-icon-md-code-working:before{content:"\F384"}.ivu-icon-md-code:before{content:"\F385"}.ivu-icon-md-cog:before{content:"\F386"}.ivu-icon-md-color-fill:before{content:"\F387"}.ivu-icon-md-color-filter:before{content:"\F388"}.ivu-icon-md-color-palette:before{content:"\F389"}.ivu-icon-md-color-wand:before{content:"\F38A"}.ivu-icon-md-compass:before{content:"\F38B"}.ivu-icon-md-construct:before{content:"\F38C"}.ivu-icon-md-contact:before{content:"\F38D"}.ivu-icon-md-contacts:before{content:"\F38E"}.ivu-icon-md-contract:before{content:"\F38F"}.ivu-icon-md-contrast:before{content:"\F390"}.ivu-icon-md-copy:before{content:"\F391"}.ivu-icon-md-create:before{content:"\F392"}.ivu-icon-md-crop:before{content:"\F393"}.ivu-icon-md-cube:before{content:"\F394"}.ivu-icon-md-cut:before{content:"\F395"}.ivu-icon-md-desktop:before{content:"\F396"}.ivu-icon-md-disc:before{content:"\F397"}.ivu-icon-md-document:before{content:"\F398"}.ivu-icon-md-done-all:before{content:"\F399"}.ivu-icon-md-download:before{content:"\F39A"}.ivu-icon-md-easel:before{content:"\F39B"}.ivu-icon-md-egg:before{content:"\F39C"}.ivu-icon-md-exit:before{content:"\F39D"}.ivu-icon-md-expand:before{content:"\F39E"}.ivu-icon-md-eye-off:before{content:"\F39F"}.ivu-icon-md-eye:before{content:"\F3A0"}.ivu-icon-md-fastforward:before{content:"\F3A1"}.ivu-icon-md-female:before{content:"\F3A2"}.ivu-icon-md-filing:before{content:"\F3A3"}.ivu-icon-md-film:before{content:"\F3A4"}.ivu-icon-md-finger-print:before{content:"\F3A5"}.ivu-icon-md-flag:before{content:"\F3A6"}.ivu-icon-md-flame:before{content:"\F3A7"}.ivu-icon-md-flash:before{content:"\F3A8"}.ivu-icon-md-flask:before{content:"\F3A9"}.ivu-icon-md-flower:before{content:"\F3AA"}.ivu-icon-md-folder-open:before{content:"\F3AB"}.ivu-icon-md-folder:before{content:"\F3AC"}.ivu-icon-md-football:before{content:"\F3AD"}.ivu-icon-md-funnel:before{content:"\F3AE"}.ivu-icon-md-game-controller-a:before{content:"\F3AF"}.ivu-icon-md-game-controller-b:before{content:"\F3B0"}.ivu-icon-md-git-branch:before{content:"\F3B1"}.ivu-icon-md-git-commit:before{content:"\F3B2"}.ivu-icon-md-git-compare:before{content:"\F3B3"}.ivu-icon-md-git-merge:before{content:"\F3B4"}.ivu-icon-md-git-network:before{content:"\F3B5"}.ivu-icon-md-git-pull-request:before{content:"\F3B6"}.ivu-icon-md-glasses:before{content:"\F3B7"}.ivu-icon-md-globe:before{content:"\F3B8"}.ivu-icon-md-grid:before{content:"\F3B9"}.ivu-icon-md-hammer:before{content:"\F3BA"}.ivu-icon-md-hand:before{content:"\F3BB"}.ivu-icon-md-happy:before{content:"\F3BC"}.ivu-icon-md-headset:before{content:"\F3BD"}.ivu-icon-md-heart-outline:before{content:"\F3BE"}.ivu-icon-md-heart:before{content:"\F3BF"}.ivu-icon-md-help-buoy:before{content:"\F3C0"}.ivu-icon-md-help-circle:before{content:"\F3C1"}.ivu-icon-md-help:before{content:"\F3C2"}.ivu-icon-md-home:before{content:"\F3C3"}.ivu-icon-md-ice-cream:before{content:"\F3C4"}.ivu-icon-md-image:before{content:"\F3C5"}.ivu-icon-md-images:before{content:"\F3C6"}.ivu-icon-md-infinite:before{content:"\F3C7"}.ivu-icon-md-information-circle:before{content:"\F3C8"}.ivu-icon-md-information:before{content:"\F3C9"}.ivu-icon-md-ionic:before{content:"\F3CA"}.ivu-icon-md-ionitron:before{content:"\F3CB"}.ivu-icon-md-jet:before{content:"\F3CC"}.ivu-icon-md-key:before{content:"\F3CD"}.ivu-icon-md-keypad:before{content:"\F3CE"}.ivu-icon-md-laptop:before{content:"\F3CF"}.ivu-icon-md-leaf:before{content:"\F3D0"}.ivu-icon-md-link:before{content:"\F3D1"}.ivu-icon-md-list-box:before{content:"\F3D2"}.ivu-icon-md-list:before{content:"\F3D3"}.ivu-icon-md-locate:before{content:"\F3D4"}.ivu-icon-md-lock:before{content:"\F3D5"}.ivu-icon-md-log-in:before{content:"\F3D6"}.ivu-icon-md-log-out:before{content:"\F3D7"}.ivu-icon-md-magnet:before{content:"\F3D8"}.ivu-icon-md-mail-open:before{content:"\F3D9"}.ivu-icon-md-mail:before{content:"\F3DA"}.ivu-icon-md-male:before{content:"\F3DB"}.ivu-icon-md-man:before{content:"\F3DC"}.ivu-icon-md-map:before{content:"\F3DD"}.ivu-icon-md-medal:before{content:"\F3DE"}.ivu-icon-md-medical:before{content:"\F3DF"}.ivu-icon-md-medkit:before{content:"\F3E0"}.ivu-icon-md-megaphone:before{content:"\F3E1"}.ivu-icon-md-menu:before{content:"\F3E2"}.ivu-icon-md-mic-off:before{content:"\F3E3"}.ivu-icon-md-mic:before{content:"\F3E4"}.ivu-icon-md-microphone:before{content:"\F3E5"}.ivu-icon-md-moon:before{content:"\F3E6"}.ivu-icon-md-more:before{content:"\F3E7"}.ivu-icon-md-move:before{content:"\F3E8"}.ivu-icon-md-musical-note:before{content:"\F3E9"}.ivu-icon-md-musical-notes:before{content:"\F3EA"}.ivu-icon-md-navigate:before{content:"\F3EB"}.ivu-icon-md-no-smoking:before{content:"\F3EC"}.ivu-icon-md-notifications-off:before{content:"\F3ED"}.ivu-icon-md-notifications-outline:before{content:"\F3EE"}.ivu-icon-md-notifications:before{content:"\F3EF"}.ivu-icon-md-nuclear:before{content:"\F3F0"}.ivu-icon-md-nutrition:before{content:"\F3F1"}.ivu-icon-md-open:before{content:"\F3F2"}.ivu-icon-md-options:before{content:"\F3F3"}.ivu-icon-md-outlet:before{content:"\F3F4"}.ivu-icon-md-paper-plane:before{content:"\F3F5"}.ivu-icon-md-paper:before{content:"\F3F6"}.ivu-icon-md-partly-sunny:before{content:"\F3F7"}.ivu-icon-md-pause:before{content:"\F3F8"}.ivu-icon-md-paw:before{content:"\F3F9"}.ivu-icon-md-people:before{content:"\F3FA"}.ivu-icon-md-person-add:before{content:"\F3FB"}.ivu-icon-md-person:before{content:"\F3FC"}.ivu-icon-md-phone-landscape:before{content:"\F3FD"}.ivu-icon-md-phone-portrait:before{content:"\F3FE"}.ivu-icon-md-photos:before{content:"\F3FF"}.ivu-icon-md-pie:before{content:"\F400"}.ivu-icon-md-pin:before{content:"\F401"}.ivu-icon-md-pint:before{content:"\F402"}.ivu-icon-md-pizza:before{content:"\F403"}.ivu-icon-md-plane:before{content:"\F404"}.ivu-icon-md-planet:before{content:"\F405"}.ivu-icon-md-play:before{content:"\F406"}.ivu-icon-md-podium:before{content:"\F407"}.ivu-icon-md-power:before{content:"\F408"}.ivu-icon-md-pricetag:before{content:"\F409"}.ivu-icon-md-pricetags:before{content:"\F40A"}.ivu-icon-md-print:before{content:"\F40B"}.ivu-icon-md-pulse:before{content:"\F40C"}.ivu-icon-md-qr-scanner:before{content:"\F40D"}.ivu-icon-md-quote:before{content:"\F40E"}.ivu-icon-md-radio-button-off:before{content:"\F40F"}.ivu-icon-md-radio-button-on:before{content:"\F410"}.ivu-icon-md-radio:before{content:"\F411"}.ivu-icon-md-rainy:before{content:"\F412"}.ivu-icon-md-recording:before{content:"\F413"}.ivu-icon-md-redo:before{content:"\F414"}.ivu-icon-md-refresh-circle:before{content:"\F415"}.ivu-icon-md-refresh:before{content:"\F416"}.ivu-icon-md-remove-circle:before{content:"\F417"}.ivu-icon-md-remove:before{content:"\F418"}.ivu-icon-md-reorder:before{content:"\F419"}.ivu-icon-md-repeat:before{content:"\F41A"}.ivu-icon-md-resize:before{content:"\F41B"}.ivu-icon-md-restaurant:before{content:"\F41C"}.ivu-icon-md-return-left:before{content:"\F41D"}.ivu-icon-md-return-right:before{content:"\F41E"}.ivu-icon-md-reverse-camera:before{content:"\F41F"}.ivu-icon-md-rewind:before{content:"\F420"}.ivu-icon-md-ribbon:before{content:"\F421"}.ivu-icon-md-rose:before{content:"\F422"}.ivu-icon-md-sad:before{content:"\F423"}.ivu-icon-md-school:before{content:"\F424"}.ivu-icon-md-search:before{content:"\F425"}.ivu-icon-md-send:before{content:"\F426"}.ivu-icon-md-settings:before{content:"\F427"}.ivu-icon-md-share-alt:before{content:"\F428"}.ivu-icon-md-share:before{content:"\F429"}.ivu-icon-md-shirt:before{content:"\F42A"}.ivu-icon-md-shuffle:before{content:"\F42B"}.ivu-icon-md-skip-backward:before{content:"\F42C"}.ivu-icon-md-skip-forward:before{content:"\F42D"}.ivu-icon-md-snow:before{content:"\F42E"}.ivu-icon-md-speedometer:before{content:"\F42F"}.ivu-icon-md-square-outline:before{content:"\F430"}.ivu-icon-md-square:before{content:"\F431"}.ivu-icon-md-star-half:before{content:"\F432"}.ivu-icon-md-star-outline:before{content:"\F433"}.ivu-icon-md-star:before{content:"\F434"}.ivu-icon-md-stats:before{content:"\F435"}.ivu-icon-md-stopwatch:before{content:"\F436"}.ivu-icon-md-subway:before{content:"\F437"}.ivu-icon-md-sunny:before{content:"\F438"}.ivu-icon-md-swap:before{content:"\F439"}.ivu-icon-md-switch:before{content:"\F43A"}.ivu-icon-md-sync:before{content:"\F43B"}.ivu-icon-md-tablet-landscape:before{content:"\F43C"}.ivu-icon-md-tablet-portrait:before{content:"\F43D"}.ivu-icon-md-tennisball:before{content:"\F43E"}.ivu-icon-md-text:before{content:"\F43F"}.ivu-icon-md-thermometer:before{content:"\F440"}.ivu-icon-md-thumbs-down:before{content:"\F441"}.ivu-icon-md-thumbs-up:before{content:"\F442"}.ivu-icon-md-thunderstorm:before{content:"\F443"}.ivu-icon-md-time:before{content:"\F444"}.ivu-icon-md-timer:before{content:"\F445"}.ivu-icon-md-train:before{content:"\F446"}.ivu-icon-md-transgender:before{content:"\F447"}.ivu-icon-md-trash:before{content:"\F448"}.ivu-icon-md-trending-down:before{content:"\F449"}.ivu-icon-md-trending-up:before{content:"\F44A"}.ivu-icon-md-trophy:before{content:"\F44B"}.ivu-icon-md-umbrella:before{content:"\F44C"}.ivu-icon-md-undo:before{content:"\F44D"}.ivu-icon-md-unlock:before{content:"\F44E"}.ivu-icon-md-videocam:before{content:"\F44F"}.ivu-icon-md-volume-down:before{content:"\F450"}.ivu-icon-md-volume-mute:before{content:"\F451"}.ivu-icon-md-volume-off:before{content:"\F452"}.ivu-icon-md-volume-up:before{content:"\F453"}.ivu-icon-md-walk:before{content:"\F454"}.ivu-icon-md-warning:before{content:"\F455"}.ivu-icon-md-watch:before{content:"\F456"}.ivu-icon-md-water:before{content:"\F457"}.ivu-icon-md-wifi:before{content:"\F458"}.ivu-icon-md-wine:before{content:"\F459"}.ivu-icon-md-woman:before{content:"\F45A"}.ivu-icon-ios-loading:before{content:"\F45B"}.ivu-row{position:relative;margin-left:0;margin-right:0;height:auto;zoom:1;display:block}.ivu-row:after,.ivu-row:before{content:"";display:table}.ivu-row:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-row-flex{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.ivu-row-flex,.ivu-row-flex:after,.ivu-row-flex:before{display:-webkit-box;display:-ms-flexbox;display:flex}.ivu-row-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.ivu-row-flex-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ivu-row-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.ivu-row-flex-space-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ivu-row-flex-space-around{-ms-flex-pack:distribute;justify-content:space-around}.ivu-row-flex-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.ivu-row-flex-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ivu-row-flex-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.ivu-col{position:relative;display:block}.ivu-col-span-1,.ivu-col-span-2,.ivu-col-span-3,.ivu-col-span-4,.ivu-col-span-5,.ivu-col-span-6,.ivu-col-span-7,.ivu-col-span-8,.ivu-col-span-9,.ivu-col-span-10,.ivu-col-span-11,.ivu-col-span-12,.ivu-col-span-13,.ivu-col-span-14,.ivu-col-span-15,.ivu-col-span-16,.ivu-col-span-17,.ivu-col-span-18,.ivu-col-span-19,.ivu-col-span-20,.ivu-col-span-21,.ivu-col-span-22,.ivu-col-span-23,.ivu-col-span-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-24{display:block;width:100%}.ivu-col-push-24{left:100%}.ivu-col-pull-24{right:100%}.ivu-col-offset-24{margin-left:100%}.ivu-col-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-23{display:block;width:95.83333333%}.ivu-col-push-23{left:95.83333333%}.ivu-col-pull-23{right:95.83333333%}.ivu-col-offset-23{margin-left:95.83333333%}.ivu-col-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-22{display:block;width:91.66666667%}.ivu-col-push-22{left:91.66666667%}.ivu-col-pull-22{right:91.66666667%}.ivu-col-offset-22{margin-left:91.66666667%}.ivu-col-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-21{display:block;width:87.5%}.ivu-col-push-21{left:87.5%}.ivu-col-pull-21{right:87.5%}.ivu-col-offset-21{margin-left:87.5%}.ivu-col-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-20{display:block;width:83.33333333%}.ivu-col-push-20{left:83.33333333%}.ivu-col-pull-20{right:83.33333333%}.ivu-col-offset-20{margin-left:83.33333333%}.ivu-col-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-19{display:block;width:79.16666667%}.ivu-col-push-19{left:79.16666667%}.ivu-col-pull-19{right:79.16666667%}.ivu-col-offset-19{margin-left:79.16666667%}.ivu-col-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-18{display:block;width:75%}.ivu-col-push-18{left:75%}.ivu-col-pull-18{right:75%}.ivu-col-offset-18{margin-left:75%}.ivu-col-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-17{display:block;width:70.83333333%}.ivu-col-push-17{left:70.83333333%}.ivu-col-pull-17{right:70.83333333%}.ivu-col-offset-17{margin-left:70.83333333%}.ivu-col-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-16{display:block;width:66.66666667%}.ivu-col-push-16{left:66.66666667%}.ivu-col-pull-16{right:66.66666667%}.ivu-col-offset-16{margin-left:66.66666667%}.ivu-col-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-15{display:block;width:62.5%}.ivu-col-push-15{left:62.5%}.ivu-col-pull-15{right:62.5%}.ivu-col-offset-15{margin-left:62.5%}.ivu-col-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-14{display:block;width:58.33333333%}.ivu-col-push-14{left:58.33333333%}.ivu-col-pull-14{right:58.33333333%}.ivu-col-offset-14{margin-left:58.33333333%}.ivu-col-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-13{display:block;width:54.16666667%}.ivu-col-push-13{left:54.16666667%}.ivu-col-pull-13{right:54.16666667%}.ivu-col-offset-13{margin-left:54.16666667%}.ivu-col-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-12{display:block;width:50%}.ivu-col-push-12{left:50%}.ivu-col-pull-12{right:50%}.ivu-col-offset-12{margin-left:50%}.ivu-col-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-11{display:block;width:45.83333333%}.ivu-col-push-11{left:45.83333333%}.ivu-col-pull-11{right:45.83333333%}.ivu-col-offset-11{margin-left:45.83333333%}.ivu-col-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-10{display:block;width:41.66666667%}.ivu-col-push-10{left:41.66666667%}.ivu-col-pull-10{right:41.66666667%}.ivu-col-offset-10{margin-left:41.66666667%}.ivu-col-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-9{display:block;width:37.5%}.ivu-col-push-9{left:37.5%}.ivu-col-pull-9{right:37.5%}.ivu-col-offset-9{margin-left:37.5%}.ivu-col-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-8{display:block;width:33.33333333%}.ivu-col-push-8{left:33.33333333%}.ivu-col-pull-8{right:33.33333333%}.ivu-col-offset-8{margin-left:33.33333333%}.ivu-col-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-7{display:block;width:29.16666667%}.ivu-col-push-7{left:29.16666667%}.ivu-col-pull-7{right:29.16666667%}.ivu-col-offset-7{margin-left:29.16666667%}.ivu-col-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-6{display:block;width:25%}.ivu-col-push-6{left:25%}.ivu-col-pull-6{right:25%}.ivu-col-offset-6{margin-left:25%}.ivu-col-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-5{display:block;width:20.83333333%}.ivu-col-push-5{left:20.83333333%}.ivu-col-pull-5{right:20.83333333%}.ivu-col-offset-5{margin-left:20.83333333%}.ivu-col-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-4{display:block;width:16.66666667%}.ivu-col-push-4{left:16.66666667%}.ivu-col-pull-4{right:16.66666667%}.ivu-col-offset-4{margin-left:16.66666667%}.ivu-col-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-3{display:block;width:12.5%}.ivu-col-push-3{left:12.5%}.ivu-col-pull-3{right:12.5%}.ivu-col-offset-3{margin-left:12.5%}.ivu-col-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-2{display:block;width:8.33333333%}.ivu-col-push-2{left:8.33333333%}.ivu-col-pull-2{right:8.33333333%}.ivu-col-offset-2{margin-left:8.33333333%}.ivu-col-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-1{display:block;width:4.16666667%}.ivu-col-push-1{left:4.16666667%}.ivu-col-pull-1{right:4.16666667%}.ivu-col-offset-1{margin-left:4.16666667%}.ivu-col-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-0{display:none}.ivu-col-push-0{left:auto}.ivu-col-pull-0{right:auto}.ivu-col-offset-0{margin-left:0}.ivu-col-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.ivu-col-span-xs-1,.ivu-col-span-xs-2,.ivu-col-span-xs-3,.ivu-col-span-xs-4,.ivu-col-span-xs-5,.ivu-col-span-xs-6,.ivu-col-span-xs-7,.ivu-col-span-xs-8,.ivu-col-span-xs-9,.ivu-col-span-xs-10,.ivu-col-span-xs-11,.ivu-col-span-xs-12,.ivu-col-span-xs-13,.ivu-col-span-xs-14,.ivu-col-span-xs-15,.ivu-col-span-xs-16,.ivu-col-span-xs-17,.ivu-col-span-xs-18,.ivu-col-span-xs-19,.ivu-col-span-xs-20,.ivu-col-span-xs-21,.ivu-col-span-xs-22,.ivu-col-span-xs-23,.ivu-col-span-xs-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-xs-24{display:block;width:100%}.ivu-col-xs-push-24{left:100%}.ivu-col-xs-pull-24{right:100%}.ivu-col-xs-offset-24{margin-left:100%}.ivu-col-xs-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-xs-23{display:block;width:95.83333333%}.ivu-col-xs-push-23{left:95.83333333%}.ivu-col-xs-pull-23{right:95.83333333%}.ivu-col-xs-offset-23{margin-left:95.83333333%}.ivu-col-xs-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-xs-22{display:block;width:91.66666667%}.ivu-col-xs-push-22{left:91.66666667%}.ivu-col-xs-pull-22{right:91.66666667%}.ivu-col-xs-offset-22{margin-left:91.66666667%}.ivu-col-xs-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-xs-21{display:block;width:87.5%}.ivu-col-xs-push-21{left:87.5%}.ivu-col-xs-pull-21{right:87.5%}.ivu-col-xs-offset-21{margin-left:87.5%}.ivu-col-xs-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-xs-20{display:block;width:83.33333333%}.ivu-col-xs-push-20{left:83.33333333%}.ivu-col-xs-pull-20{right:83.33333333%}.ivu-col-xs-offset-20{margin-left:83.33333333%}.ivu-col-xs-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-xs-19{display:block;width:79.16666667%}.ivu-col-xs-push-19{left:79.16666667%}.ivu-col-xs-pull-19{right:79.16666667%}.ivu-col-xs-offset-19{margin-left:79.16666667%}.ivu-col-xs-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-xs-18{display:block;width:75%}.ivu-col-xs-push-18{left:75%}.ivu-col-xs-pull-18{right:75%}.ivu-col-xs-offset-18{margin-left:75%}.ivu-col-xs-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-xs-17{display:block;width:70.83333333%}.ivu-col-xs-push-17{left:70.83333333%}.ivu-col-xs-pull-17{right:70.83333333%}.ivu-col-xs-offset-17{margin-left:70.83333333%}.ivu-col-xs-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-xs-16{display:block;width:66.66666667%}.ivu-col-xs-push-16{left:66.66666667%}.ivu-col-xs-pull-16{right:66.66666667%}.ivu-col-xs-offset-16{margin-left:66.66666667%}.ivu-col-xs-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-xs-15{display:block;width:62.5%}.ivu-col-xs-push-15{left:62.5%}.ivu-col-xs-pull-15{right:62.5%}.ivu-col-xs-offset-15{margin-left:62.5%}.ivu-col-xs-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-xs-14{display:block;width:58.33333333%}.ivu-col-xs-push-14{left:58.33333333%}.ivu-col-xs-pull-14{right:58.33333333%}.ivu-col-xs-offset-14{margin-left:58.33333333%}.ivu-col-xs-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-xs-13{display:block;width:54.16666667%}.ivu-col-xs-push-13{left:54.16666667%}.ivu-col-xs-pull-13{right:54.16666667%}.ivu-col-xs-offset-13{margin-left:54.16666667%}.ivu-col-xs-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-xs-12{display:block;width:50%}.ivu-col-xs-push-12{left:50%}.ivu-col-xs-pull-12{right:50%}.ivu-col-xs-offset-12{margin-left:50%}.ivu-col-xs-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-xs-11{display:block;width:45.83333333%}.ivu-col-xs-push-11{left:45.83333333%}.ivu-col-xs-pull-11{right:45.83333333%}.ivu-col-xs-offset-11{margin-left:45.83333333%}.ivu-col-xs-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-xs-10{display:block;width:41.66666667%}.ivu-col-xs-push-10{left:41.66666667%}.ivu-col-xs-pull-10{right:41.66666667%}.ivu-col-xs-offset-10{margin-left:41.66666667%}.ivu-col-xs-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-xs-9{display:block;width:37.5%}.ivu-col-xs-push-9{left:37.5%}.ivu-col-xs-pull-9{right:37.5%}.ivu-col-xs-offset-9{margin-left:37.5%}.ivu-col-xs-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-xs-8{display:block;width:33.33333333%}.ivu-col-xs-push-8{left:33.33333333%}.ivu-col-xs-pull-8{right:33.33333333%}.ivu-col-xs-offset-8{margin-left:33.33333333%}.ivu-col-xs-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-xs-7{display:block;width:29.16666667%}.ivu-col-xs-push-7{left:29.16666667%}.ivu-col-xs-pull-7{right:29.16666667%}.ivu-col-xs-offset-7{margin-left:29.16666667%}.ivu-col-xs-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-xs-6{display:block;width:25%}.ivu-col-xs-push-6{left:25%}.ivu-col-xs-pull-6{right:25%}.ivu-col-xs-offset-6{margin-left:25%}.ivu-col-xs-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-xs-5{display:block;width:20.83333333%}.ivu-col-xs-push-5{left:20.83333333%}.ivu-col-xs-pull-5{right:20.83333333%}.ivu-col-xs-offset-5{margin-left:20.83333333%}.ivu-col-xs-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-xs-4{display:block;width:16.66666667%}.ivu-col-xs-push-4{left:16.66666667%}.ivu-col-xs-pull-4{right:16.66666667%}.ivu-col-xs-offset-4{margin-left:16.66666667%}.ivu-col-xs-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-xs-3{display:block;width:12.5%}.ivu-col-xs-push-3{left:12.5%}.ivu-col-xs-pull-3{right:12.5%}.ivu-col-xs-offset-3{margin-left:12.5%}.ivu-col-xs-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-xs-2{display:block;width:8.33333333%}.ivu-col-xs-push-2{left:8.33333333%}.ivu-col-xs-pull-2{right:8.33333333%}.ivu-col-xs-offset-2{margin-left:8.33333333%}.ivu-col-xs-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-xs-1{display:block;width:4.16666667%}.ivu-col-xs-push-1{left:4.16666667%}.ivu-col-xs-pull-1{right:4.16666667%}.ivu-col-xs-offset-1{margin-left:4.16666667%}.ivu-col-xs-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-xs-0{display:none}.ivu-col-xs-push-0{left:auto}.ivu-col-xs-pull-0{right:auto}.ivu-col-xs-offset-0{margin-left:0}.ivu-col-xs-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}@media (min-width:576px){.ivu-col-span-sm-1,.ivu-col-span-sm-2,.ivu-col-span-sm-3,.ivu-col-span-sm-4,.ivu-col-span-sm-5,.ivu-col-span-sm-6,.ivu-col-span-sm-7,.ivu-col-span-sm-8,.ivu-col-span-sm-9,.ivu-col-span-sm-10,.ivu-col-span-sm-11,.ivu-col-span-sm-12,.ivu-col-span-sm-13,.ivu-col-span-sm-14,.ivu-col-span-sm-15,.ivu-col-span-sm-16,.ivu-col-span-sm-17,.ivu-col-span-sm-18,.ivu-col-span-sm-19,.ivu-col-span-sm-20,.ivu-col-span-sm-21,.ivu-col-span-sm-22,.ivu-col-span-sm-23,.ivu-col-span-sm-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-sm-24{display:block;width:100%}.ivu-col-sm-push-24{left:100%}.ivu-col-sm-pull-24{right:100%}.ivu-col-sm-offset-24{margin-left:100%}.ivu-col-sm-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-sm-23{display:block;width:95.83333333%}.ivu-col-sm-push-23{left:95.83333333%}.ivu-col-sm-pull-23{right:95.83333333%}.ivu-col-sm-offset-23{margin-left:95.83333333%}.ivu-col-sm-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-sm-22{display:block;width:91.66666667%}.ivu-col-sm-push-22{left:91.66666667%}.ivu-col-sm-pull-22{right:91.66666667%}.ivu-col-sm-offset-22{margin-left:91.66666667%}.ivu-col-sm-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-sm-21{display:block;width:87.5%}.ivu-col-sm-push-21{left:87.5%}.ivu-col-sm-pull-21{right:87.5%}.ivu-col-sm-offset-21{margin-left:87.5%}.ivu-col-sm-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-sm-20{display:block;width:83.33333333%}.ivu-col-sm-push-20{left:83.33333333%}.ivu-col-sm-pull-20{right:83.33333333%}.ivu-col-sm-offset-20{margin-left:83.33333333%}.ivu-col-sm-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-sm-19{display:block;width:79.16666667%}.ivu-col-sm-push-19{left:79.16666667%}.ivu-col-sm-pull-19{right:79.16666667%}.ivu-col-sm-offset-19{margin-left:79.16666667%}.ivu-col-sm-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-sm-18{display:block;width:75%}.ivu-col-sm-push-18{left:75%}.ivu-col-sm-pull-18{right:75%}.ivu-col-sm-offset-18{margin-left:75%}.ivu-col-sm-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-sm-17{display:block;width:70.83333333%}.ivu-col-sm-push-17{left:70.83333333%}.ivu-col-sm-pull-17{right:70.83333333%}.ivu-col-sm-offset-17{margin-left:70.83333333%}.ivu-col-sm-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-sm-16{display:block;width:66.66666667%}.ivu-col-sm-push-16{left:66.66666667%}.ivu-col-sm-pull-16{right:66.66666667%}.ivu-col-sm-offset-16{margin-left:66.66666667%}.ivu-col-sm-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-sm-15{display:block;width:62.5%}.ivu-col-sm-push-15{left:62.5%}.ivu-col-sm-pull-15{right:62.5%}.ivu-col-sm-offset-15{margin-left:62.5%}.ivu-col-sm-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-sm-14{display:block;width:58.33333333%}.ivu-col-sm-push-14{left:58.33333333%}.ivu-col-sm-pull-14{right:58.33333333%}.ivu-col-sm-offset-14{margin-left:58.33333333%}.ivu-col-sm-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-sm-13{display:block;width:54.16666667%}.ivu-col-sm-push-13{left:54.16666667%}.ivu-col-sm-pull-13{right:54.16666667%}.ivu-col-sm-offset-13{margin-left:54.16666667%}.ivu-col-sm-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-sm-12{display:block;width:50%}.ivu-col-sm-push-12{left:50%}.ivu-col-sm-pull-12{right:50%}.ivu-col-sm-offset-12{margin-left:50%}.ivu-col-sm-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-sm-11{display:block;width:45.83333333%}.ivu-col-sm-push-11{left:45.83333333%}.ivu-col-sm-pull-11{right:45.83333333%}.ivu-col-sm-offset-11{margin-left:45.83333333%}.ivu-col-sm-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-sm-10{display:block;width:41.66666667%}.ivu-col-sm-push-10{left:41.66666667%}.ivu-col-sm-pull-10{right:41.66666667%}.ivu-col-sm-offset-10{margin-left:41.66666667%}.ivu-col-sm-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-sm-9{display:block;width:37.5%}.ivu-col-sm-push-9{left:37.5%}.ivu-col-sm-pull-9{right:37.5%}.ivu-col-sm-offset-9{margin-left:37.5%}.ivu-col-sm-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-sm-8{display:block;width:33.33333333%}.ivu-col-sm-push-8{left:33.33333333%}.ivu-col-sm-pull-8{right:33.33333333%}.ivu-col-sm-offset-8{margin-left:33.33333333%}.ivu-col-sm-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-sm-7{display:block;width:29.16666667%}.ivu-col-sm-push-7{left:29.16666667%}.ivu-col-sm-pull-7{right:29.16666667%}.ivu-col-sm-offset-7{margin-left:29.16666667%}.ivu-col-sm-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-sm-6{display:block;width:25%}.ivu-col-sm-push-6{left:25%}.ivu-col-sm-pull-6{right:25%}.ivu-col-sm-offset-6{margin-left:25%}.ivu-col-sm-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-sm-5{display:block;width:20.83333333%}.ivu-col-sm-push-5{left:20.83333333%}.ivu-col-sm-pull-5{right:20.83333333%}.ivu-col-sm-offset-5{margin-left:20.83333333%}.ivu-col-sm-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-sm-4{display:block;width:16.66666667%}.ivu-col-sm-push-4{left:16.66666667%}.ivu-col-sm-pull-4{right:16.66666667%}.ivu-col-sm-offset-4{margin-left:16.66666667%}.ivu-col-sm-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-sm-3{display:block;width:12.5%}.ivu-col-sm-push-3{left:12.5%}.ivu-col-sm-pull-3{right:12.5%}.ivu-col-sm-offset-3{margin-left:12.5%}.ivu-col-sm-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-sm-2{display:block;width:8.33333333%}.ivu-col-sm-push-2{left:8.33333333%}.ivu-col-sm-pull-2{right:8.33333333%}.ivu-col-sm-offset-2{margin-left:8.33333333%}.ivu-col-sm-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-sm-1{display:block;width:4.16666667%}.ivu-col-sm-push-1{left:4.16666667%}.ivu-col-sm-pull-1{right:4.16666667%}.ivu-col-sm-offset-1{margin-left:4.16666667%}.ivu-col-sm-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-sm-0{display:none}.ivu-col-sm-push-0{left:auto}.ivu-col-sm-pull-0{right:auto}.ivu-col-sm-offset-0{margin-left:0}.ivu-col-sm-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:768px){.ivu-col-span-md-1,.ivu-col-span-md-2,.ivu-col-span-md-3,.ivu-col-span-md-4,.ivu-col-span-md-5,.ivu-col-span-md-6,.ivu-col-span-md-7,.ivu-col-span-md-8,.ivu-col-span-md-9,.ivu-col-span-md-10,.ivu-col-span-md-11,.ivu-col-span-md-12,.ivu-col-span-md-13,.ivu-col-span-md-14,.ivu-col-span-md-15,.ivu-col-span-md-16,.ivu-col-span-md-17,.ivu-col-span-md-18,.ivu-col-span-md-19,.ivu-col-span-md-20,.ivu-col-span-md-21,.ivu-col-span-md-22,.ivu-col-span-md-23,.ivu-col-span-md-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-md-24{display:block;width:100%}.ivu-col-md-push-24{left:100%}.ivu-col-md-pull-24{right:100%}.ivu-col-md-offset-24{margin-left:100%}.ivu-col-md-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-md-23{display:block;width:95.83333333%}.ivu-col-md-push-23{left:95.83333333%}.ivu-col-md-pull-23{right:95.83333333%}.ivu-col-md-offset-23{margin-left:95.83333333%}.ivu-col-md-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-md-22{display:block;width:91.66666667%}.ivu-col-md-push-22{left:91.66666667%}.ivu-col-md-pull-22{right:91.66666667%}.ivu-col-md-offset-22{margin-left:91.66666667%}.ivu-col-md-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-md-21{display:block;width:87.5%}.ivu-col-md-push-21{left:87.5%}.ivu-col-md-pull-21{right:87.5%}.ivu-col-md-offset-21{margin-left:87.5%}.ivu-col-md-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-md-20{display:block;width:83.33333333%}.ivu-col-md-push-20{left:83.33333333%}.ivu-col-md-pull-20{right:83.33333333%}.ivu-col-md-offset-20{margin-left:83.33333333%}.ivu-col-md-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-md-19{display:block;width:79.16666667%}.ivu-col-md-push-19{left:79.16666667%}.ivu-col-md-pull-19{right:79.16666667%}.ivu-col-md-offset-19{margin-left:79.16666667%}.ivu-col-md-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-md-18{display:block;width:75%}.ivu-col-md-push-18{left:75%}.ivu-col-md-pull-18{right:75%}.ivu-col-md-offset-18{margin-left:75%}.ivu-col-md-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-md-17{display:block;width:70.83333333%}.ivu-col-md-push-17{left:70.83333333%}.ivu-col-md-pull-17{right:70.83333333%}.ivu-col-md-offset-17{margin-left:70.83333333%}.ivu-col-md-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-md-16{display:block;width:66.66666667%}.ivu-col-md-push-16{left:66.66666667%}.ivu-col-md-pull-16{right:66.66666667%}.ivu-col-md-offset-16{margin-left:66.66666667%}.ivu-col-md-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-md-15{display:block;width:62.5%}.ivu-col-md-push-15{left:62.5%}.ivu-col-md-pull-15{right:62.5%}.ivu-col-md-offset-15{margin-left:62.5%}.ivu-col-md-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-md-14{display:block;width:58.33333333%}.ivu-col-md-push-14{left:58.33333333%}.ivu-col-md-pull-14{right:58.33333333%}.ivu-col-md-offset-14{margin-left:58.33333333%}.ivu-col-md-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-md-13{display:block;width:54.16666667%}.ivu-col-md-push-13{left:54.16666667%}.ivu-col-md-pull-13{right:54.16666667%}.ivu-col-md-offset-13{margin-left:54.16666667%}.ivu-col-md-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-md-12{display:block;width:50%}.ivu-col-md-push-12{left:50%}.ivu-col-md-pull-12{right:50%}.ivu-col-md-offset-12{margin-left:50%}.ivu-col-md-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-md-11{display:block;width:45.83333333%}.ivu-col-md-push-11{left:45.83333333%}.ivu-col-md-pull-11{right:45.83333333%}.ivu-col-md-offset-11{margin-left:45.83333333%}.ivu-col-md-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-md-10{display:block;width:41.66666667%}.ivu-col-md-push-10{left:41.66666667%}.ivu-col-md-pull-10{right:41.66666667%}.ivu-col-md-offset-10{margin-left:41.66666667%}.ivu-col-md-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-md-9{display:block;width:37.5%}.ivu-col-md-push-9{left:37.5%}.ivu-col-md-pull-9{right:37.5%}.ivu-col-md-offset-9{margin-left:37.5%}.ivu-col-md-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-md-8{display:block;width:33.33333333%}.ivu-col-md-push-8{left:33.33333333%}.ivu-col-md-pull-8{right:33.33333333%}.ivu-col-md-offset-8{margin-left:33.33333333%}.ivu-col-md-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-md-7{display:block;width:29.16666667%}.ivu-col-md-push-7{left:29.16666667%}.ivu-col-md-pull-7{right:29.16666667%}.ivu-col-md-offset-7{margin-left:29.16666667%}.ivu-col-md-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-md-6{display:block;width:25%}.ivu-col-md-push-6{left:25%}.ivu-col-md-pull-6{right:25%}.ivu-col-md-offset-6{margin-left:25%}.ivu-col-md-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-md-5{display:block;width:20.83333333%}.ivu-col-md-push-5{left:20.83333333%}.ivu-col-md-pull-5{right:20.83333333%}.ivu-col-md-offset-5{margin-left:20.83333333%}.ivu-col-md-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-md-4{display:block;width:16.66666667%}.ivu-col-md-push-4{left:16.66666667%}.ivu-col-md-pull-4{right:16.66666667%}.ivu-col-md-offset-4{margin-left:16.66666667%}.ivu-col-md-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-md-3{display:block;width:12.5%}.ivu-col-md-push-3{left:12.5%}.ivu-col-md-pull-3{right:12.5%}.ivu-col-md-offset-3{margin-left:12.5%}.ivu-col-md-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-md-2{display:block;width:8.33333333%}.ivu-col-md-push-2{left:8.33333333%}.ivu-col-md-pull-2{right:8.33333333%}.ivu-col-md-offset-2{margin-left:8.33333333%}.ivu-col-md-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-md-1{display:block;width:4.16666667%}.ivu-col-md-push-1{left:4.16666667%}.ivu-col-md-pull-1{right:4.16666667%}.ivu-col-md-offset-1{margin-left:4.16666667%}.ivu-col-md-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-md-0{display:none}.ivu-col-md-push-0{left:auto}.ivu-col-md-pull-0{right:auto}.ivu-col-md-offset-0{margin-left:0}.ivu-col-md-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:992px){.ivu-col-span-lg-1,.ivu-col-span-lg-2,.ivu-col-span-lg-3,.ivu-col-span-lg-4,.ivu-col-span-lg-5,.ivu-col-span-lg-6,.ivu-col-span-lg-7,.ivu-col-span-lg-8,.ivu-col-span-lg-9,.ivu-col-span-lg-10,.ivu-col-span-lg-11,.ivu-col-span-lg-12,.ivu-col-span-lg-13,.ivu-col-span-lg-14,.ivu-col-span-lg-15,.ivu-col-span-lg-16,.ivu-col-span-lg-17,.ivu-col-span-lg-18,.ivu-col-span-lg-19,.ivu-col-span-lg-20,.ivu-col-span-lg-21,.ivu-col-span-lg-22,.ivu-col-span-lg-23,.ivu-col-span-lg-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-lg-24{display:block;width:100%}.ivu-col-lg-push-24{left:100%}.ivu-col-lg-pull-24{right:100%}.ivu-col-lg-offset-24{margin-left:100%}.ivu-col-lg-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-lg-23{display:block;width:95.83333333%}.ivu-col-lg-push-23{left:95.83333333%}.ivu-col-lg-pull-23{right:95.83333333%}.ivu-col-lg-offset-23{margin-left:95.83333333%}.ivu-col-lg-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-lg-22{display:block;width:91.66666667%}.ivu-col-lg-push-22{left:91.66666667%}.ivu-col-lg-pull-22{right:91.66666667%}.ivu-col-lg-offset-22{margin-left:91.66666667%}.ivu-col-lg-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-lg-21{display:block;width:87.5%}.ivu-col-lg-push-21{left:87.5%}.ivu-col-lg-pull-21{right:87.5%}.ivu-col-lg-offset-21{margin-left:87.5%}.ivu-col-lg-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-lg-20{display:block;width:83.33333333%}.ivu-col-lg-push-20{left:83.33333333%}.ivu-col-lg-pull-20{right:83.33333333%}.ivu-col-lg-offset-20{margin-left:83.33333333%}.ivu-col-lg-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-lg-19{display:block;width:79.16666667%}.ivu-col-lg-push-19{left:79.16666667%}.ivu-col-lg-pull-19{right:79.16666667%}.ivu-col-lg-offset-19{margin-left:79.16666667%}.ivu-col-lg-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-lg-18{display:block;width:75%}.ivu-col-lg-push-18{left:75%}.ivu-col-lg-pull-18{right:75%}.ivu-col-lg-offset-18{margin-left:75%}.ivu-col-lg-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-lg-17{display:block;width:70.83333333%}.ivu-col-lg-push-17{left:70.83333333%}.ivu-col-lg-pull-17{right:70.83333333%}.ivu-col-lg-offset-17{margin-left:70.83333333%}.ivu-col-lg-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-lg-16{display:block;width:66.66666667%}.ivu-col-lg-push-16{left:66.66666667%}.ivu-col-lg-pull-16{right:66.66666667%}.ivu-col-lg-offset-16{margin-left:66.66666667%}.ivu-col-lg-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-lg-15{display:block;width:62.5%}.ivu-col-lg-push-15{left:62.5%}.ivu-col-lg-pull-15{right:62.5%}.ivu-col-lg-offset-15{margin-left:62.5%}.ivu-col-lg-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-lg-14{display:block;width:58.33333333%}.ivu-col-lg-push-14{left:58.33333333%}.ivu-col-lg-pull-14{right:58.33333333%}.ivu-col-lg-offset-14{margin-left:58.33333333%}.ivu-col-lg-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-lg-13{display:block;width:54.16666667%}.ivu-col-lg-push-13{left:54.16666667%}.ivu-col-lg-pull-13{right:54.16666667%}.ivu-col-lg-offset-13{margin-left:54.16666667%}.ivu-col-lg-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-lg-12{display:block;width:50%}.ivu-col-lg-push-12{left:50%}.ivu-col-lg-pull-12{right:50%}.ivu-col-lg-offset-12{margin-left:50%}.ivu-col-lg-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-lg-11{display:block;width:45.83333333%}.ivu-col-lg-push-11{left:45.83333333%}.ivu-col-lg-pull-11{right:45.83333333%}.ivu-col-lg-offset-11{margin-left:45.83333333%}.ivu-col-lg-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-lg-10{display:block;width:41.66666667%}.ivu-col-lg-push-10{left:41.66666667%}.ivu-col-lg-pull-10{right:41.66666667%}.ivu-col-lg-offset-10{margin-left:41.66666667%}.ivu-col-lg-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-lg-9{display:block;width:37.5%}.ivu-col-lg-push-9{left:37.5%}.ivu-col-lg-pull-9{right:37.5%}.ivu-col-lg-offset-9{margin-left:37.5%}.ivu-col-lg-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-lg-8{display:block;width:33.33333333%}.ivu-col-lg-push-8{left:33.33333333%}.ivu-col-lg-pull-8{right:33.33333333%}.ivu-col-lg-offset-8{margin-left:33.33333333%}.ivu-col-lg-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-lg-7{display:block;width:29.16666667%}.ivu-col-lg-push-7{left:29.16666667%}.ivu-col-lg-pull-7{right:29.16666667%}.ivu-col-lg-offset-7{margin-left:29.16666667%}.ivu-col-lg-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-lg-6{display:block;width:25%}.ivu-col-lg-push-6{left:25%}.ivu-col-lg-pull-6{right:25%}.ivu-col-lg-offset-6{margin-left:25%}.ivu-col-lg-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-lg-5{display:block;width:20.83333333%}.ivu-col-lg-push-5{left:20.83333333%}.ivu-col-lg-pull-5{right:20.83333333%}.ivu-col-lg-offset-5{margin-left:20.83333333%}.ivu-col-lg-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-lg-4{display:block;width:16.66666667%}.ivu-col-lg-push-4{left:16.66666667%}.ivu-col-lg-pull-4{right:16.66666667%}.ivu-col-lg-offset-4{margin-left:16.66666667%}.ivu-col-lg-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-lg-3{display:block;width:12.5%}.ivu-col-lg-push-3{left:12.5%}.ivu-col-lg-pull-3{right:12.5%}.ivu-col-lg-offset-3{margin-left:12.5%}.ivu-col-lg-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-lg-2{display:block;width:8.33333333%}.ivu-col-lg-push-2{left:8.33333333%}.ivu-col-lg-pull-2{right:8.33333333%}.ivu-col-lg-offset-2{margin-left:8.33333333%}.ivu-col-lg-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-lg-1{display:block;width:4.16666667%}.ivu-col-lg-push-1{left:4.16666667%}.ivu-col-lg-pull-1{right:4.16666667%}.ivu-col-lg-offset-1{margin-left:4.16666667%}.ivu-col-lg-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-lg-0{display:none}.ivu-col-lg-push-0{left:auto}.ivu-col-lg-pull-0{right:auto}.ivu-col-lg-offset-0{margin-left:0}.ivu-col-lg-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:1200px){.ivu-col-span-xl-1,.ivu-col-span-xl-2,.ivu-col-span-xl-3,.ivu-col-span-xl-4,.ivu-col-span-xl-5,.ivu-col-span-xl-6,.ivu-col-span-xl-7,.ivu-col-span-xl-8,.ivu-col-span-xl-9,.ivu-col-span-xl-10,.ivu-col-span-xl-11,.ivu-col-span-xl-12,.ivu-col-span-xl-13,.ivu-col-span-xl-14,.ivu-col-span-xl-15,.ivu-col-span-xl-16,.ivu-col-span-xl-17,.ivu-col-span-xl-18,.ivu-col-span-xl-19,.ivu-col-span-xl-20,.ivu-col-span-xl-21,.ivu-col-span-xl-22,.ivu-col-span-xl-23,.ivu-col-span-xl-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-xl-24{display:block;width:100%}.ivu-col-xl-push-24{left:100%}.ivu-col-xl-pull-24{right:100%}.ivu-col-xl-offset-24{margin-left:100%}.ivu-col-xl-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-xl-23{display:block;width:95.83333333%}.ivu-col-xl-push-23{left:95.83333333%}.ivu-col-xl-pull-23{right:95.83333333%}.ivu-col-xl-offset-23{margin-left:95.83333333%}.ivu-col-xl-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-xl-22{display:block;width:91.66666667%}.ivu-col-xl-push-22{left:91.66666667%}.ivu-col-xl-pull-22{right:91.66666667%}.ivu-col-xl-offset-22{margin-left:91.66666667%}.ivu-col-xl-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-xl-21{display:block;width:87.5%}.ivu-col-xl-push-21{left:87.5%}.ivu-col-xl-pull-21{right:87.5%}.ivu-col-xl-offset-21{margin-left:87.5%}.ivu-col-xl-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-xl-20{display:block;width:83.33333333%}.ivu-col-xl-push-20{left:83.33333333%}.ivu-col-xl-pull-20{right:83.33333333%}.ivu-col-xl-offset-20{margin-left:83.33333333%}.ivu-col-xl-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-xl-19{display:block;width:79.16666667%}.ivu-col-xl-push-19{left:79.16666667%}.ivu-col-xl-pull-19{right:79.16666667%}.ivu-col-xl-offset-19{margin-left:79.16666667%}.ivu-col-xl-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-xl-18{display:block;width:75%}.ivu-col-xl-push-18{left:75%}.ivu-col-xl-pull-18{right:75%}.ivu-col-xl-offset-18{margin-left:75%}.ivu-col-xl-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-xl-17{display:block;width:70.83333333%}.ivu-col-xl-push-17{left:70.83333333%}.ivu-col-xl-pull-17{right:70.83333333%}.ivu-col-xl-offset-17{margin-left:70.83333333%}.ivu-col-xl-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-xl-16{display:block;width:66.66666667%}.ivu-col-xl-push-16{left:66.66666667%}.ivu-col-xl-pull-16{right:66.66666667%}.ivu-col-xl-offset-16{margin-left:66.66666667%}.ivu-col-xl-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-xl-15{display:block;width:62.5%}.ivu-col-xl-push-15{left:62.5%}.ivu-col-xl-pull-15{right:62.5%}.ivu-col-xl-offset-15{margin-left:62.5%}.ivu-col-xl-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-xl-14{display:block;width:58.33333333%}.ivu-col-xl-push-14{left:58.33333333%}.ivu-col-xl-pull-14{right:58.33333333%}.ivu-col-xl-offset-14{margin-left:58.33333333%}.ivu-col-xl-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-xl-13{display:block;width:54.16666667%}.ivu-col-xl-push-13{left:54.16666667%}.ivu-col-xl-pull-13{right:54.16666667%}.ivu-col-xl-offset-13{margin-left:54.16666667%}.ivu-col-xl-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-xl-12{display:block;width:50%}.ivu-col-xl-push-12{left:50%}.ivu-col-xl-pull-12{right:50%}.ivu-col-xl-offset-12{margin-left:50%}.ivu-col-xl-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-xl-11{display:block;width:45.83333333%}.ivu-col-xl-push-11{left:45.83333333%}.ivu-col-xl-pull-11{right:45.83333333%}.ivu-col-xl-offset-11{margin-left:45.83333333%}.ivu-col-xl-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-xl-10{display:block;width:41.66666667%}.ivu-col-xl-push-10{left:41.66666667%}.ivu-col-xl-pull-10{right:41.66666667%}.ivu-col-xl-offset-10{margin-left:41.66666667%}.ivu-col-xl-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-xl-9{display:block;width:37.5%}.ivu-col-xl-push-9{left:37.5%}.ivu-col-xl-pull-9{right:37.5%}.ivu-col-xl-offset-9{margin-left:37.5%}.ivu-col-xl-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-xl-8{display:block;width:33.33333333%}.ivu-col-xl-push-8{left:33.33333333%}.ivu-col-xl-pull-8{right:33.33333333%}.ivu-col-xl-offset-8{margin-left:33.33333333%}.ivu-col-xl-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-xl-7{display:block;width:29.16666667%}.ivu-col-xl-push-7{left:29.16666667%}.ivu-col-xl-pull-7{right:29.16666667%}.ivu-col-xl-offset-7{margin-left:29.16666667%}.ivu-col-xl-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-xl-6{display:block;width:25%}.ivu-col-xl-push-6{left:25%}.ivu-col-xl-pull-6{right:25%}.ivu-col-xl-offset-6{margin-left:25%}.ivu-col-xl-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-xl-5{display:block;width:20.83333333%}.ivu-col-xl-push-5{left:20.83333333%}.ivu-col-xl-pull-5{right:20.83333333%}.ivu-col-xl-offset-5{margin-left:20.83333333%}.ivu-col-xl-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-xl-4{display:block;width:16.66666667%}.ivu-col-xl-push-4{left:16.66666667%}.ivu-col-xl-pull-4{right:16.66666667%}.ivu-col-xl-offset-4{margin-left:16.66666667%}.ivu-col-xl-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-xl-3{display:block;width:12.5%}.ivu-col-xl-push-3{left:12.5%}.ivu-col-xl-pull-3{right:12.5%}.ivu-col-xl-offset-3{margin-left:12.5%}.ivu-col-xl-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-xl-2{display:block;width:8.33333333%}.ivu-col-xl-push-2{left:8.33333333%}.ivu-col-xl-pull-2{right:8.33333333%}.ivu-col-xl-offset-2{margin-left:8.33333333%}.ivu-col-xl-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-xl-1{display:block;width:4.16666667%}.ivu-col-xl-push-1{left:4.16666667%}.ivu-col-xl-pull-1{right:4.16666667%}.ivu-col-xl-offset-1{margin-left:4.16666667%}.ivu-col-xl-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-xl-0{display:none}.ivu-col-xl-push-0{left:auto}.ivu-col-xl-pull-0{right:auto}.ivu-col-xl-offset-0{margin-left:0}.ivu-col-xl-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}@media (min-width:1600px){.ivu-col-span-xxl-1,.ivu-col-span-xxl-2,.ivu-col-span-xxl-3,.ivu-col-span-xxl-4,.ivu-col-span-xxl-5,.ivu-col-span-xxl-6,.ivu-col-span-xxl-7,.ivu-col-span-xxl-8,.ivu-col-span-xxl-9,.ivu-col-span-xxl-10,.ivu-col-span-xxl-11,.ivu-col-span-xxl-12,.ivu-col-span-xxl-13,.ivu-col-span-xxl-14,.ivu-col-span-xxl-15,.ivu-col-span-xxl-16,.ivu-col-span-xxl-17,.ivu-col-span-xxl-18,.ivu-col-span-xxl-19,.ivu-col-span-xxl-20,.ivu-col-span-xxl-21,.ivu-col-span-xxl-22,.ivu-col-span-xxl-23,.ivu-col-span-xxl-24{float:left;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-col-span-xxl-24{display:block;width:100%}.ivu-col-xxl-push-24{left:100%}.ivu-col-xxl-pull-24{right:100%}.ivu-col-xxl-offset-24{margin-left:100%}.ivu-col-xxl-order-24{-webkit-box-ordinal-group:25;-ms-flex-order:24;order:24}.ivu-col-span-xxl-23{display:block;width:95.83333333%}.ivu-col-xxl-push-23{left:95.83333333%}.ivu-col-xxl-pull-23{right:95.83333333%}.ivu-col-xxl-offset-23{margin-left:95.83333333%}.ivu-col-xxl-order-23{-webkit-box-ordinal-group:24;-ms-flex-order:23;order:23}.ivu-col-span-xxl-22{display:block;width:91.66666667%}.ivu-col-xxl-push-22{left:91.66666667%}.ivu-col-xxl-pull-22{right:91.66666667%}.ivu-col-xxl-offset-22{margin-left:91.66666667%}.ivu-col-xxl-order-22{-webkit-box-ordinal-group:23;-ms-flex-order:22;order:22}.ivu-col-span-xxl-21{display:block;width:87.5%}.ivu-col-xxl-push-21{left:87.5%}.ivu-col-xxl-pull-21{right:87.5%}.ivu-col-xxl-offset-21{margin-left:87.5%}.ivu-col-xxl-order-21{-webkit-box-ordinal-group:22;-ms-flex-order:21;order:21}.ivu-col-span-xxl-20{display:block;width:83.33333333%}.ivu-col-xxl-push-20{left:83.33333333%}.ivu-col-xxl-pull-20{right:83.33333333%}.ivu-col-xxl-offset-20{margin-left:83.33333333%}.ivu-col-xxl-order-20{-webkit-box-ordinal-group:21;-ms-flex-order:20;order:20}.ivu-col-span-xxl-19{display:block;width:79.16666667%}.ivu-col-xxl-push-19{left:79.16666667%}.ivu-col-xxl-pull-19{right:79.16666667%}.ivu-col-xxl-offset-19{margin-left:79.16666667%}.ivu-col-xxl-order-19{-webkit-box-ordinal-group:20;-ms-flex-order:19;order:19}.ivu-col-span-xxl-18{display:block;width:75%}.ivu-col-xxl-push-18{left:75%}.ivu-col-xxl-pull-18{right:75%}.ivu-col-xxl-offset-18{margin-left:75%}.ivu-col-xxl-order-18{-webkit-box-ordinal-group:19;-ms-flex-order:18;order:18}.ivu-col-span-xxl-17{display:block;width:70.83333333%}.ivu-col-xxl-push-17{left:70.83333333%}.ivu-col-xxl-pull-17{right:70.83333333%}.ivu-col-xxl-offset-17{margin-left:70.83333333%}.ivu-col-xxl-order-17{-webkit-box-ordinal-group:18;-ms-flex-order:17;order:17}.ivu-col-span-xxl-16{display:block;width:66.66666667%}.ivu-col-xxl-push-16{left:66.66666667%}.ivu-col-xxl-pull-16{right:66.66666667%}.ivu-col-xxl-offset-16{margin-left:66.66666667%}.ivu-col-xxl-order-16{-webkit-box-ordinal-group:17;-ms-flex-order:16;order:16}.ivu-col-span-xxl-15{display:block;width:62.5%}.ivu-col-xxl-push-15{left:62.5%}.ivu-col-xxl-pull-15{right:62.5%}.ivu-col-xxl-offset-15{margin-left:62.5%}.ivu-col-xxl-order-15{-webkit-box-ordinal-group:16;-ms-flex-order:15;order:15}.ivu-col-span-xxl-14{display:block;width:58.33333333%}.ivu-col-xxl-push-14{left:58.33333333%}.ivu-col-xxl-pull-14{right:58.33333333%}.ivu-col-xxl-offset-14{margin-left:58.33333333%}.ivu-col-xxl-order-14{-webkit-box-ordinal-group:15;-ms-flex-order:14;order:14}.ivu-col-span-xxl-13{display:block;width:54.16666667%}.ivu-col-xxl-push-13{left:54.16666667%}.ivu-col-xxl-pull-13{right:54.16666667%}.ivu-col-xxl-offset-13{margin-left:54.16666667%}.ivu-col-xxl-order-13{-webkit-box-ordinal-group:14;-ms-flex-order:13;order:13}.ivu-col-span-xxl-12{display:block;width:50%}.ivu-col-xxl-push-12{left:50%}.ivu-col-xxl-pull-12{right:50%}.ivu-col-xxl-offset-12{margin-left:50%}.ivu-col-xxl-order-12{-webkit-box-ordinal-group:13;-ms-flex-order:12;order:12}.ivu-col-span-xxl-11{display:block;width:45.83333333%}.ivu-col-xxl-push-11{left:45.83333333%}.ivu-col-xxl-pull-11{right:45.83333333%}.ivu-col-xxl-offset-11{margin-left:45.83333333%}.ivu-col-xxl-order-11{-webkit-box-ordinal-group:12;-ms-flex-order:11;order:11}.ivu-col-span-xxl-10{display:block;width:41.66666667%}.ivu-col-xxl-push-10{left:41.66666667%}.ivu-col-xxl-pull-10{right:41.66666667%}.ivu-col-xxl-offset-10{margin-left:41.66666667%}.ivu-col-xxl-order-10{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.ivu-col-span-xxl-9{display:block;width:37.5%}.ivu-col-xxl-push-9{left:37.5%}.ivu-col-xxl-pull-9{right:37.5%}.ivu-col-xxl-offset-9{margin-left:37.5%}.ivu-col-xxl-order-9{-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.ivu-col-span-xxl-8{display:block;width:33.33333333%}.ivu-col-xxl-push-8{left:33.33333333%}.ivu-col-xxl-pull-8{right:33.33333333%}.ivu-col-xxl-offset-8{margin-left:33.33333333%}.ivu-col-xxl-order-8{-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.ivu-col-span-xxl-7{display:block;width:29.16666667%}.ivu-col-xxl-push-7{left:29.16666667%}.ivu-col-xxl-pull-7{right:29.16666667%}.ivu-col-xxl-offset-7{margin-left:29.16666667%}.ivu-col-xxl-order-7{-webkit-box-ordinal-group:8;-ms-flex-order:7;order:7}.ivu-col-span-xxl-6{display:block;width:25%}.ivu-col-xxl-push-6{left:25%}.ivu-col-xxl-pull-6{right:25%}.ivu-col-xxl-offset-6{margin-left:25%}.ivu-col-xxl-order-6{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.ivu-col-span-xxl-5{display:block;width:20.83333333%}.ivu-col-xxl-push-5{left:20.83333333%}.ivu-col-xxl-pull-5{right:20.83333333%}.ivu-col-xxl-offset-5{margin-left:20.83333333%}.ivu-col-xxl-order-5{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.ivu-col-span-xxl-4{display:block;width:16.66666667%}.ivu-col-xxl-push-4{left:16.66666667%}.ivu-col-xxl-pull-4{right:16.66666667%}.ivu-col-xxl-offset-4{margin-left:16.66666667%}.ivu-col-xxl-order-4{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.ivu-col-span-xxl-3{display:block;width:12.5%}.ivu-col-xxl-push-3{left:12.5%}.ivu-col-xxl-pull-3{right:12.5%}.ivu-col-xxl-offset-3{margin-left:12.5%}.ivu-col-xxl-order-3{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.ivu-col-span-xxl-2{display:block;width:8.33333333%}.ivu-col-xxl-push-2{left:8.33333333%}.ivu-col-xxl-pull-2{right:8.33333333%}.ivu-col-xxl-offset-2{margin-left:8.33333333%}.ivu-col-xxl-order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.ivu-col-span-xxl-1{display:block;width:4.16666667%}.ivu-col-xxl-push-1{left:4.16666667%}.ivu-col-xxl-pull-1{right:4.16666667%}.ivu-col-xxl-offset-1{margin-left:4.16666667%}.ivu-col-xxl-order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.ivu-col-span-xxl-0{display:none}.ivu-col-xxl-push-0{left:auto}.ivu-col-xxl-pull-0{right:auto}.ivu-col-xxl-offset-0{margin-left:0}.ivu-col-xxl-order-0{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}}.ivu-article h1{font-size:26px;font-weight:400}.ivu-article h2{font-size:20px;font-weight:400}.ivu-article h3{font-size:16px;font-weight:400}.ivu-article h4{font-size:14px;font-weight:400}.ivu-article h5,.ivu-article h6{font-size:12px;font-weight:400}.ivu-article blockquote{padding:5px 5px 3px 10px;line-height:1.5;border-left:4px solid #ddd;margin-bottom:20px;color:#666;font-size:14px}.ivu-article ul:not([class^=ivu-]){padding-left:40px;list-style-type:disc}.ivu-article li:not([class^=ivu-]){margin-bottom:5px;font-size:14px}.ivu-article ol ul:not([class^=ivu-]),.ivu-article ul ul:not([class^=ivu-]){list-style-type:circle}.ivu-article p{margin:5px;font-size:14px}.ivu-article a:not([class^=ivu-])[target=_blank]:after{content:"\F3F2";font-family:Ionicons;color:#aaa;margin-left:3px}.fade-appear,.fade-enter-active,.fade-leave-active{-webkit-animation-duration:.15s;animation-duration:.15s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.fade-appear,.fade-enter-active{-webkit-animation-name:ivuFadeIn;animation-name:ivuFadeIn;-webkit-animation-play-state:running;animation-play-state:running}.fade-leave-active{-webkit-animation-name:ivuFadeOut;animation-name:ivuFadeOut;-webkit-animation-play-state:running;animation-play-state:running}.fade-appear,.fade-enter-active{opacity:0}.fade-appear,.fade-enter-active,.fade-leave-active{-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes ivuFadeIn{0%{opacity:0}to{opacity:1}}@keyframes ivuFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes ivuFadeOut{0%{opacity:1}to{opacity:0}}@keyframes ivuFadeOut{0%{opacity:1}to{opacity:0}}.move-up-appear,.move-up-enter-active,.move-up-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-up-appear,.move-up-enter-active{-webkit-animation-name:ivuMoveUpIn;animation-name:ivuMoveUpIn;-webkit-animation-play-state:running;animation-play-state:running}.move-up-leave-active{-webkit-animation-name:ivuMoveUpOut;animation-name:ivuMoveUpOut;-webkit-animation-play-state:running;animation-play-state:running}.move-up-appear,.move-up-enter-active{opacity:0}.move-up-appear,.move-up-enter-active,.move-up-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.move-down-appear,.move-down-enter-active,.move-down-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-down-appear,.move-down-enter-active{-webkit-animation-name:ivuMoveDownIn;animation-name:ivuMoveDownIn;-webkit-animation-play-state:running;animation-play-state:running}.move-down-leave-active{-webkit-animation-name:ivuMoveDownOut;animation-name:ivuMoveDownOut;-webkit-animation-play-state:running;animation-play-state:running}.move-down-appear,.move-down-enter-active{opacity:0}.move-down-appear,.move-down-enter-active,.move-down-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.move-left-appear,.move-left-enter-active,.move-left-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-left-appear,.move-left-enter-active{-webkit-animation-name:ivuMoveLeftIn;animation-name:ivuMoveLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.move-left-leave-active{-webkit-animation-name:ivuMoveLeftOut;animation-name:ivuMoveLeftOut;-webkit-animation-play-state:running;animation-play-state:running}.move-left-appear,.move-left-enter-active{opacity:0}.move-left-appear,.move-left-enter-active,.move-left-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.move-right-appear,.move-right-enter-active,.move-right-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-right-appear,.move-right-enter-active{-webkit-animation-name:ivuMoveRightIn;animation-name:ivuMoveRightIn;-webkit-animation-play-state:running;animation-play-state:running}.move-right-leave-active{-webkit-animation-name:ivuMoveRightOut;animation-name:ivuMoveRightOut;-webkit-animation-play-state:running;animation-play-state:running}.move-right-appear,.move-right-enter-active{opacity:0}.move-right-appear,.move-right-enter-active,.move-right-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes ivuMoveDownIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes ivuMoveDownIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes ivuMoveDownOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}}@keyframes ivuMoveDownOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(100%);transform:translateY(100%);opacity:0}}@-webkit-keyframes ivuMoveLeftIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes ivuMoveLeftIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes ivuMoveLeftOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes ivuMoveLeftOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@-webkit-keyframes ivuMoveRightIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes ivuMoveRightIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes ivuMoveRightOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes ivuMoveRightOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@-webkit-keyframes ivuMoveUpIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes ivuMoveUpIn{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@-webkit-keyframes ivuMoveUpOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}}@keyframes ivuMoveUpOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(0);transform:translateY(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}}.move-notice-appear,.move-notice-enter-active,.move-notice-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.move-notice-appear,.move-notice-enter-active{-webkit-animation-name:ivuMoveNoticeIn;animation-name:ivuMoveNoticeIn;-webkit-animation-play-state:running;animation-play-state:running}.move-notice-leave-active{-webkit-animation-name:ivuMoveNoticeOut;animation-name:ivuMoveNoticeOut;-webkit-animation-play-state:running;animation-play-state:running}.move-notice-appear,.move-notice-enter-active{opacity:0}.move-notice-appear,.move-notice-enter-active,.move-notice-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes ivuMoveNoticeIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes ivuMoveNoticeIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes ivuMoveNoticeOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}70%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);height:auto;padding:16px;margin-bottom:10px;opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);height:0;padding:0;margin-bottom:0;opacity:0}}@keyframes ivuMoveNoticeOut{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}70%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);height:auto;padding:16px;margin-bottom:10px;opacity:0}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);height:0;padding:0;margin-bottom:0;opacity:0}}.ease-appear,.ease-enter-active,.ease-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.ease-appear,.ease-enter-active{-webkit-animation-name:ivuEaseIn;animation-name:ivuEaseIn;-webkit-animation-play-state:running;animation-play-state:running}.ease-leave-active{-webkit-animation-name:ivuEaseOut;animation-name:ivuEaseOut;-webkit-animation-play-state:running;animation-play-state:running}.ease-appear,.ease-enter-active{opacity:0}.ease-appear,.ease-enter-active,.ease-leave-active{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes ivuEaseIn{0%{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes ivuEaseIn{0%{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes ivuEaseOut{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}}@keyframes ivuEaseOut{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}to{opacity:0;-webkit-transform:scale(.9);transform:scale(.9)}}.transition-drop-appear,.transition-drop-enter-active,.transition-drop-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.transition-drop-appear,.transition-drop-enter-active{-webkit-animation-name:ivuTransitionDropIn;animation-name:ivuTransitionDropIn;-webkit-animation-play-state:running;animation-play-state:running}.transition-drop-leave-active{-webkit-animation-name:ivuTransitionDropOut;animation-name:ivuTransitionDropOut;-webkit-animation-play-state:running;animation-play-state:running}.transition-drop-appear,.transition-drop-enter-active{opacity:0}.transition-drop-appear,.transition-drop-enter-active,.transition-drop-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.slide-up-appear,.slide-up-enter-active,.slide-up-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-up-appear,.slide-up-enter-active{-webkit-animation-name:ivuSlideUpIn;animation-name:ivuSlideUpIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-leave-active{-webkit-animation-name:ivuSlideUpOut;animation-name:ivuSlideUpOut;-webkit-animation-play-state:running;animation-play-state:running}.slide-up-appear,.slide-up-enter-active{opacity:0}.slide-up-appear,.slide-up-enter-active,.slide-up-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.slide-down-appear,.slide-down-enter-active,.slide-down-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-down-appear,.slide-down-enter-active{-webkit-animation-name:ivuSlideDownIn;animation-name:ivuSlideDownIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-leave-active{-webkit-animation-name:ivuSlideDownOut;animation-name:ivuSlideDownOut;-webkit-animation-play-state:running;animation-play-state:running}.slide-down-appear,.slide-down-enter-active{opacity:0}.slide-down-appear,.slide-down-enter-active,.slide-down-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.slide-left-appear,.slide-left-enter-active,.slide-left-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-left-appear,.slide-left-enter-active{-webkit-animation-name:ivuSlideLeftIn;animation-name:ivuSlideLeftIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-leave-active{-webkit-animation-name:ivuSlideLeftOut;animation-name:ivuSlideLeftOut;-webkit-animation-play-state:running;animation-play-state:running}.slide-left-appear,.slide-left-enter-active{opacity:0}.slide-left-appear,.slide-left-enter-active,.slide-left-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}.slide-right-appear,.slide-right-enter-active,.slide-right-leave-active{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-play-state:paused;animation-play-state:paused}.slide-right-appear,.slide-right-enter-active{-webkit-animation-name:ivuSlideRightIn;animation-name:ivuSlideRightIn;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-leave-active{-webkit-animation-name:ivuSlideRightOut;animation-name:ivuSlideRightOut;-webkit-animation-play-state:running;animation-play-state:running}.slide-right-appear,.slide-right-enter-active{opacity:0}.slide-right-appear,.slide-right-enter-active,.slide-right-leave-active{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes ivuTransitionDropIn{0%{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes ivuTransitionDropIn{0%{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}}@-webkit-keyframes ivuTransitionDropOut{0%{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@keyframes ivuTransitionDropOut{0%{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@-webkit-keyframes ivuSlideUpIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes ivuSlideUpIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(1);transform:scaleY(1)}}@-webkit-keyframes ivuSlideUpOut{0%{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@keyframes ivuSlideUpOut{0%{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@-webkit-keyframes ivuSlideDownIn{0%{opacity:0;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes ivuSlideDownIn{0%{opacity:0;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(.8);transform:scaleY(.8)}to{opacity:1;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(1);transform:scaleY(1)}}@-webkit-keyframes ivuSlideDownOut{0%{opacity:1;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@keyframes ivuSlideDownOut{0%{opacity:1;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(1);transform:scaleY(1)}to{opacity:0;-webkit-transform-origin:100% 100%;transform-origin:100% 100%;-webkit-transform:scaleY(.8);transform:scaleY(.8)}}@-webkit-keyframes ivuSlideLeftIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes ivuSlideLeftIn{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes ivuSlideLeftOut{0%{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(1);transform:scaleX(1)}to{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}}@keyframes ivuSlideLeftOut{0%{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(1);transform:scaleX(1)}to{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}}@-webkit-keyframes ivuSlideRightIn{0%{opacity:0;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}to{opacity:1;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes ivuSlideRightIn{0%{opacity:0;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}to{opacity:1;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes ivuSlideRightOut{0%{opacity:1;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(1);transform:scaleX(1)}to{opacity:0;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}}@keyframes ivuSlideRightOut{0%{opacity:1;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(1);transform:scaleX(1)}to{opacity:0;-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-transform:scaleX(.8);transform:scaleX(.8)}}.collapse-transition{-webkit-transition:height .2s ease-in-out,padding-top .2s ease-in-out,padding-bottom .2s ease-in-out;transition:height .2s ease-in-out,padding-top .2s ease-in-out,padding-bottom .2s ease-in-out}.ivu-btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding:5px 15px 6px;font-size:12px;border-radius:4px;-webkit-transition:color .2s linear,background-color .2s linear,border .2s linear,-webkit-box-shadow .2s linear;transition:color .2s linear,background-color .2s linear,border .2s linear,-webkit-box-shadow .2s linear;transition:color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear;transition:color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear,-webkit-box-shadow .2s linear;color:#515a6e;background-color:#fff;border-color:#dcdee2}.ivu-btn,.ivu-btn>.ivu-icon{vertical-align:middle;line-height:1.5}.ivu-btn-icon-only.ivu-btn-circle>.ivu-icon{vertical-align:baseline}.ivu-btn>span{vertical-align:middle}.ivu-btn,.ivu-btn:active,.ivu-btn:focus{outline:0}.ivu-btn:not([disabled]):hover{text-decoration:none}.ivu-btn:not([disabled]):active{outline:0}.ivu-btn.disabled,.ivu-btn[disabled]{cursor:not-allowed}.ivu-btn.disabled>*,.ivu-btn[disabled]>*{pointer-events:none}.ivu-btn-large{padding:6px 15px 6px 15px;font-size:14px;border-radius:4px}.ivu-btn-small{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-icon-only{padding:5px 15px 6px;font-size:12px;border-radius:4px}.ivu-btn-icon-only.ivu-btn-small{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-icon-only.ivu-btn-large{padding:6px 15px 6px 15px;font-size:14px;border-radius:4px}.ivu-btn>a:only-child{color:currentColor}.ivu-btn>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn:hover{color:#747b8b;border-color:#e3e5e8}.ivu-btn.active,.ivu-btn:active{color:#4d5669;background-color:#f2f2f2;border-color:#f2f2f2}.ivu-btn.disabled,.ivu-btn.disabled.active,.ivu-btn.disabled:active,.ivu-btn.disabled:focus,.ivu-btn.disabled:hover,.ivu-btn[disabled],.ivu-btn[disabled].active,.ivu-btn[disabled]:active,.ivu-btn[disabled]:focus,.ivu-btn[disabled]:hover,fieldset[disabled] .ivu-btn,fieldset[disabled] .ivu-btn.active,fieldset[disabled] .ivu-btn:active,fieldset[disabled] .ivu-btn:focus,fieldset[disabled] .ivu-btn:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn.disabled.active>a:only-child,.ivu-btn.disabled:active>a:only-child,.ivu-btn.disabled:focus>a:only-child,.ivu-btn.disabled:hover>a:only-child,.ivu-btn.disabled>a:only-child,.ivu-btn[disabled].active>a:only-child,.ivu-btn[disabled]:active>a:only-child,.ivu-btn[disabled]:focus>a:only-child,.ivu-btn[disabled]:hover>a:only-child,.ivu-btn[disabled]>a:only-child,fieldset[disabled] .ivu-btn.active>a:only-child,fieldset[disabled] .ivu-btn:active>a:only-child,fieldset[disabled] .ivu-btn:focus>a:only-child,fieldset[disabled] .ivu-btn:hover>a:only-child,fieldset[disabled] .ivu-btn>a:only-child{color:currentColor}.ivu-btn.disabled.active>a:only-child:after,.ivu-btn.disabled:active>a:only-child:after,.ivu-btn.disabled:focus>a:only-child:after,.ivu-btn.disabled:hover>a:only-child:after,.ivu-btn.disabled>a:only-child:after,.ivu-btn[disabled].active>a:only-child:after,.ivu-btn[disabled]:active>a:only-child:after,.ivu-btn[disabled]:focus>a:only-child:after,.ivu-btn[disabled]:hover>a:only-child:after,.ivu-btn[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn.active>a:only-child:after,fieldset[disabled] .ivu-btn:active>a:only-child:after,fieldset[disabled] .ivu-btn:focus>a:only-child:after,fieldset[disabled] .ivu-btn:hover>a:only-child:after,fieldset[disabled] .ivu-btn>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.ivu-btn:hover>a:only-child{color:currentColor}.ivu-btn:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn.active,.ivu-btn:active{color:#2b85e4;background-color:#fff;border-color:#2b85e4}.ivu-btn.active>a:only-child,.ivu-btn:active>a:only-child{color:currentColor}.ivu-btn.active>a:only-child:after,.ivu-btn:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn:focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-long{width:100%}.ivu-btn>.ivu-icon+span,.ivu-btn>span+.ivu-icon{margin-left:4px}.ivu-btn-primary{color:#fff;background-color:#2d8cf0;border-color:#2d8cf0}.ivu-btn-primary>a:only-child{color:currentColor}.ivu-btn-primary>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-primary:hover{color:#fff;background-color:#57a3f3;border-color:#57a3f3}.ivu-btn-primary:hover>a:only-child{color:currentColor}.ivu-btn-primary:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-primary.active,.ivu-btn-primary:active{color:#f2f2f2;background-color:#2b85e4;border-color:#2b85e4}.ivu-btn-primary.active>a:only-child,.ivu-btn-primary:active>a:only-child{color:currentColor}.ivu-btn-primary.active>a:only-child:after,.ivu-btn-primary:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-primary.disabled,.ivu-btn-primary.disabled.active,.ivu-btn-primary.disabled:active,.ivu-btn-primary.disabled:focus,.ivu-btn-primary.disabled:hover,.ivu-btn-primary[disabled],.ivu-btn-primary[disabled].active,.ivu-btn-primary[disabled]:active,.ivu-btn-primary[disabled]:focus,.ivu-btn-primary[disabled]:hover,fieldset[disabled] .ivu-btn-primary,fieldset[disabled] .ivu-btn-primary.active,fieldset[disabled] .ivu-btn-primary:active,fieldset[disabled] .ivu-btn-primary:focus,fieldset[disabled] .ivu-btn-primary:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-primary.disabled.active>a:only-child,.ivu-btn-primary.disabled:active>a:only-child,.ivu-btn-primary.disabled:focus>a:only-child,.ivu-btn-primary.disabled:hover>a:only-child,.ivu-btn-primary.disabled>a:only-child,.ivu-btn-primary[disabled].active>a:only-child,.ivu-btn-primary[disabled]:active>a:only-child,.ivu-btn-primary[disabled]:focus>a:only-child,.ivu-btn-primary[disabled]:hover>a:only-child,.ivu-btn-primary[disabled]>a:only-child,fieldset[disabled] .ivu-btn-primary.active>a:only-child,fieldset[disabled] .ivu-btn-primary:active>a:only-child,fieldset[disabled] .ivu-btn-primary:focus>a:only-child,fieldset[disabled] .ivu-btn-primary:hover>a:only-child,fieldset[disabled] .ivu-btn-primary>a:only-child{color:currentColor}.ivu-btn-primary.disabled.active>a:only-child:after,.ivu-btn-primary.disabled:active>a:only-child:after,.ivu-btn-primary.disabled:focus>a:only-child:after,.ivu-btn-primary.disabled:hover>a:only-child:after,.ivu-btn-primary.disabled>a:only-child:after,.ivu-btn-primary[disabled].active>a:only-child:after,.ivu-btn-primary[disabled]:active>a:only-child:after,.ivu-btn-primary[disabled]:focus>a:only-child:after,.ivu-btn-primary[disabled]:hover>a:only-child:after,.ivu-btn-primary[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-primary.active>a:only-child:after,fieldset[disabled] .ivu-btn-primary:active>a:only-child:after,fieldset[disabled] .ivu-btn-primary:focus>a:only-child:after,fieldset[disabled] .ivu-btn-primary:hover>a:only-child:after,fieldset[disabled] .ivu-btn-primary>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-primary.active,.ivu-btn-primary:active,.ivu-btn-primary:hover{color:#fff}.ivu-btn-primary:focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:not(:first-child):not(:last-child){border-right-color:#2b85e4;border-left-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:first-child:not(:last-child){border-right-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#dcdee2}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary+.ivu-btn,.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:last-child:not(:first-child){border-left-color:#2b85e4}.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary+.ivu-btn[disabled],.ivu-btn-group:not(.ivu-btn-group-vertical) .ivu-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#dcdee2}.ivu-btn-group-vertical .ivu-btn-primary:not(:first-child):not(:last-child){border-top-color:#2b85e4;border-bottom-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary:first-child:not(:last-child){border-bottom-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary:first-child:not(:last-child)[disabled]{border-top-color:#dcdee2}.ivu-btn-group-vertical .ivu-btn-primary+.ivu-btn,.ivu-btn-group-vertical .ivu-btn-primary:last-child:not(:first-child){border-top-color:#2b85e4}.ivu-btn-group-vertical .ivu-btn-primary+.ivu-btn[disabled],.ivu-btn-group-vertical .ivu-btn-primary:last-child:not(:first-child)[disabled]{border-bottom-color:#dcdee2}.ivu-btn-dashed{color:#515a6e;background-color:#fff;border-color:#dcdee2;border-style:dashed}.ivu-btn-dashed>a:only-child{color:currentColor}.ivu-btn-dashed>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-dashed:hover{color:#747b8b;border-color:#e3e5e8}.ivu-btn-dashed.active,.ivu-btn-dashed:active{color:#4d5669;background-color:#f2f2f2;border-color:#f2f2f2}.ivu-btn-dashed.disabled,.ivu-btn-dashed.disabled.active,.ivu-btn-dashed.disabled:active,.ivu-btn-dashed.disabled:focus,.ivu-btn-dashed.disabled:hover,.ivu-btn-dashed[disabled],.ivu-btn-dashed[disabled].active,.ivu-btn-dashed[disabled]:active,.ivu-btn-dashed[disabled]:focus,.ivu-btn-dashed[disabled]:hover,fieldset[disabled] .ivu-btn-dashed,fieldset[disabled] .ivu-btn-dashed.active,fieldset[disabled] .ivu-btn-dashed:active,fieldset[disabled] .ivu-btn-dashed:focus,fieldset[disabled] .ivu-btn-dashed:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-dashed.disabled.active>a:only-child,.ivu-btn-dashed.disabled:active>a:only-child,.ivu-btn-dashed.disabled:focus>a:only-child,.ivu-btn-dashed.disabled:hover>a:only-child,.ivu-btn-dashed.disabled>a:only-child,.ivu-btn-dashed[disabled].active>a:only-child,.ivu-btn-dashed[disabled]:active>a:only-child,.ivu-btn-dashed[disabled]:focus>a:only-child,.ivu-btn-dashed[disabled]:hover>a:only-child,.ivu-btn-dashed[disabled]>a:only-child,fieldset[disabled] .ivu-btn-dashed.active>a:only-child,fieldset[disabled] .ivu-btn-dashed:active>a:only-child,fieldset[disabled] .ivu-btn-dashed:focus>a:only-child,fieldset[disabled] .ivu-btn-dashed:hover>a:only-child,fieldset[disabled] .ivu-btn-dashed>a:only-child{color:currentColor}.ivu-btn-dashed.disabled.active>a:only-child:after,.ivu-btn-dashed.disabled:active>a:only-child:after,.ivu-btn-dashed.disabled:focus>a:only-child:after,.ivu-btn-dashed.disabled:hover>a:only-child:after,.ivu-btn-dashed.disabled>a:only-child:after,.ivu-btn-dashed[disabled].active>a:only-child:after,.ivu-btn-dashed[disabled]:active>a:only-child:after,.ivu-btn-dashed[disabled]:focus>a:only-child:after,.ivu-btn-dashed[disabled]:hover>a:only-child:after,.ivu-btn-dashed[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-dashed.active>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:active>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:focus>a:only-child:after,fieldset[disabled] .ivu-btn-dashed:hover>a:only-child:after,fieldset[disabled] .ivu-btn-dashed>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-dashed:hover{color:#57a3f3;background-color:#fff;border-color:#57a3f3}.ivu-btn-dashed:hover>a:only-child{color:currentColor}.ivu-btn-dashed:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-dashed.active,.ivu-btn-dashed:active{color:#2b85e4;background-color:#fff;border-color:#2b85e4}.ivu-btn-dashed.active>a:only-child,.ivu-btn-dashed:active>a:only-child{color:currentColor}.ivu-btn-dashed.active>a:only-child:after,.ivu-btn-dashed:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-dashed:focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-text{color:#515a6e;background-color:transparent;border-color:transparent}.ivu-btn-text>a:only-child{color:currentColor}.ivu-btn-text>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-text:hover{color:#747b8b;background-color:hsla(0,0%,100%,.2);border-color:hsla(0,0%,100%,.2)}.ivu-btn-text.active,.ivu-btn-text:active{color:#4d5669;background-color:rgba(0,0,0,.05);border-color:rgba(0,0,0,.05)}.ivu-btn-text.disabled,.ivu-btn-text.disabled.active,.ivu-btn-text.disabled:active,.ivu-btn-text.disabled:focus,.ivu-btn-text.disabled:hover,.ivu-btn-text[disabled],.ivu-btn-text[disabled].active,.ivu-btn-text[disabled]:active,.ivu-btn-text[disabled]:focus,.ivu-btn-text[disabled]:hover,fieldset[disabled] .ivu-btn-text,fieldset[disabled] .ivu-btn-text.active,fieldset[disabled] .ivu-btn-text:active,fieldset[disabled] .ivu-btn-text:focus,fieldset[disabled] .ivu-btn-text:hover{background-color:#f7f7f7;border-color:#dcdee2;color:#c5c8ce;background-color:#fff;border-color:transparent}.ivu-btn-text.disabled.active>a:only-child,.ivu-btn-text.disabled:active>a:only-child,.ivu-btn-text.disabled:focus>a:only-child,.ivu-btn-text.disabled:hover>a:only-child,.ivu-btn-text.disabled>a:only-child,.ivu-btn-text[disabled].active>a:only-child,.ivu-btn-text[disabled]:active>a:only-child,.ivu-btn-text[disabled]:focus>a:only-child,.ivu-btn-text[disabled]:hover>a:only-child,.ivu-btn-text[disabled]>a:only-child,fieldset[disabled] .ivu-btn-text.active>a:only-child,fieldset[disabled] .ivu-btn-text:active>a:only-child,fieldset[disabled] .ivu-btn-text:focus>a:only-child,fieldset[disabled] .ivu-btn-text:hover>a:only-child,fieldset[disabled] .ivu-btn-text>a:only-child{color:currentColor}.ivu-btn-text.disabled.active>a:only-child:after,.ivu-btn-text.disabled:active>a:only-child:after,.ivu-btn-text.disabled:focus>a:only-child:after,.ivu-btn-text.disabled:hover>a:only-child:after,.ivu-btn-text.disabled>a:only-child:after,.ivu-btn-text[disabled].active>a:only-child:after,.ivu-btn-text[disabled]:active>a:only-child:after,.ivu-btn-text[disabled]:focus>a:only-child:after,.ivu-btn-text[disabled]:hover>a:only-child:after,.ivu-btn-text[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-text.active>a:only-child:after,fieldset[disabled] .ivu-btn-text:active>a:only-child:after,fieldset[disabled] .ivu-btn-text:focus>a:only-child:after,fieldset[disabled] .ivu-btn-text:hover>a:only-child:after,fieldset[disabled] .ivu-btn-text>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-text:hover{color:#57a3f3;background-color:#fff;border-color:transparent}.ivu-btn-text:hover>a:only-child{color:currentColor}.ivu-btn-text:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-text.active,.ivu-btn-text:active{color:#2b85e4;background-color:#fff;border-color:transparent}.ivu-btn-text.active>a:only-child,.ivu-btn-text:active>a:only-child{color:currentColor}.ivu-btn-text.active>a:only-child:after,.ivu-btn-text:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-text:focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-btn-success{color:#fff;background-color:#19be6b;border-color:#19be6b}.ivu-btn-success>a:only-child{color:currentColor}.ivu-btn-success>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-success:hover{color:#fff;background-color:#47cb89;border-color:#47cb89}.ivu-btn-success:hover>a:only-child{color:currentColor}.ivu-btn-success:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-success.active,.ivu-btn-success:active{color:#f2f2f2;background-color:#18b566;border-color:#18b566}.ivu-btn-success.active>a:only-child,.ivu-btn-success:active>a:only-child{color:currentColor}.ivu-btn-success.active>a:only-child:after,.ivu-btn-success:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-success.disabled,.ivu-btn-success.disabled.active,.ivu-btn-success.disabled:active,.ivu-btn-success.disabled:focus,.ivu-btn-success.disabled:hover,.ivu-btn-success[disabled],.ivu-btn-success[disabled].active,.ivu-btn-success[disabled]:active,.ivu-btn-success[disabled]:focus,.ivu-btn-success[disabled]:hover,fieldset[disabled] .ivu-btn-success,fieldset[disabled] .ivu-btn-success.active,fieldset[disabled] .ivu-btn-success:active,fieldset[disabled] .ivu-btn-success:focus,fieldset[disabled] .ivu-btn-success:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-success.disabled.active>a:only-child,.ivu-btn-success.disabled:active>a:only-child,.ivu-btn-success.disabled:focus>a:only-child,.ivu-btn-success.disabled:hover>a:only-child,.ivu-btn-success.disabled>a:only-child,.ivu-btn-success[disabled].active>a:only-child,.ivu-btn-success[disabled]:active>a:only-child,.ivu-btn-success[disabled]:focus>a:only-child,.ivu-btn-success[disabled]:hover>a:only-child,.ivu-btn-success[disabled]>a:only-child,fieldset[disabled] .ivu-btn-success.active>a:only-child,fieldset[disabled] .ivu-btn-success:active>a:only-child,fieldset[disabled] .ivu-btn-success:focus>a:only-child,fieldset[disabled] .ivu-btn-success:hover>a:only-child,fieldset[disabled] .ivu-btn-success>a:only-child{color:currentColor}.ivu-btn-success.disabled.active>a:only-child:after,.ivu-btn-success.disabled:active>a:only-child:after,.ivu-btn-success.disabled:focus>a:only-child:after,.ivu-btn-success.disabled:hover>a:only-child:after,.ivu-btn-success.disabled>a:only-child:after,.ivu-btn-success[disabled].active>a:only-child:after,.ivu-btn-success[disabled]:active>a:only-child:after,.ivu-btn-success[disabled]:focus>a:only-child:after,.ivu-btn-success[disabled]:hover>a:only-child:after,.ivu-btn-success[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-success.active>a:only-child:after,fieldset[disabled] .ivu-btn-success:active>a:only-child:after,fieldset[disabled] .ivu-btn-success:focus>a:only-child:after,fieldset[disabled] .ivu-btn-success:hover>a:only-child:after,fieldset[disabled] .ivu-btn-success>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-success.active,.ivu-btn-success:active,.ivu-btn-success:hover{color:#fff}.ivu-btn-success:focus{-webkit-box-shadow:0 0 0 2px rgba(25,190,107,.2);box-shadow:0 0 0 2px rgba(25,190,107,.2)}.ivu-btn-warning{color:#fff;background-color:#f90;border-color:#f90}.ivu-btn-warning>a:only-child{color:currentColor}.ivu-btn-warning>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-warning:hover{color:#fff;background-color:#ffad33;border-color:#ffad33}.ivu-btn-warning:hover>a:only-child{color:currentColor}.ivu-btn-warning:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-warning.active,.ivu-btn-warning:active{color:#f2f2f2;background-color:#f29100;border-color:#f29100}.ivu-btn-warning.active>a:only-child,.ivu-btn-warning:active>a:only-child{color:currentColor}.ivu-btn-warning.active>a:only-child:after,.ivu-btn-warning:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-warning.disabled,.ivu-btn-warning.disabled.active,.ivu-btn-warning.disabled:active,.ivu-btn-warning.disabled:focus,.ivu-btn-warning.disabled:hover,.ivu-btn-warning[disabled],.ivu-btn-warning[disabled].active,.ivu-btn-warning[disabled]:active,.ivu-btn-warning[disabled]:focus,.ivu-btn-warning[disabled]:hover,fieldset[disabled] .ivu-btn-warning,fieldset[disabled] .ivu-btn-warning.active,fieldset[disabled] .ivu-btn-warning:active,fieldset[disabled] .ivu-btn-warning:focus,fieldset[disabled] .ivu-btn-warning:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-warning.disabled.active>a:only-child,.ivu-btn-warning.disabled:active>a:only-child,.ivu-btn-warning.disabled:focus>a:only-child,.ivu-btn-warning.disabled:hover>a:only-child,.ivu-btn-warning.disabled>a:only-child,.ivu-btn-warning[disabled].active>a:only-child,.ivu-btn-warning[disabled]:active>a:only-child,.ivu-btn-warning[disabled]:focus>a:only-child,.ivu-btn-warning[disabled]:hover>a:only-child,.ivu-btn-warning[disabled]>a:only-child,fieldset[disabled] .ivu-btn-warning.active>a:only-child,fieldset[disabled] .ivu-btn-warning:active>a:only-child,fieldset[disabled] .ivu-btn-warning:focus>a:only-child,fieldset[disabled] .ivu-btn-warning:hover>a:only-child,fieldset[disabled] .ivu-btn-warning>a:only-child{color:currentColor}.ivu-btn-warning.disabled.active>a:only-child:after,.ivu-btn-warning.disabled:active>a:only-child:after,.ivu-btn-warning.disabled:focus>a:only-child:after,.ivu-btn-warning.disabled:hover>a:only-child:after,.ivu-btn-warning.disabled>a:only-child:after,.ivu-btn-warning[disabled].active>a:only-child:after,.ivu-btn-warning[disabled]:active>a:only-child:after,.ivu-btn-warning[disabled]:focus>a:only-child:after,.ivu-btn-warning[disabled]:hover>a:only-child:after,.ivu-btn-warning[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-warning.active>a:only-child:after,fieldset[disabled] .ivu-btn-warning:active>a:only-child:after,fieldset[disabled] .ivu-btn-warning:focus>a:only-child:after,fieldset[disabled] .ivu-btn-warning:hover>a:only-child:after,fieldset[disabled] .ivu-btn-warning>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-warning.active,.ivu-btn-warning:active,.ivu-btn-warning:hover{color:#fff}.ivu-btn-warning:focus{-webkit-box-shadow:0 0 0 2px rgba(255,153,0,.2);box-shadow:0 0 0 2px rgba(255,153,0,.2)}.ivu-btn-error{color:#fff;background-color:#ed4014;border-color:#ed4014}.ivu-btn-error>a:only-child{color:currentColor}.ivu-btn-error>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-error:hover{color:#fff;background-color:#f16643;border-color:#f16643}.ivu-btn-error:hover>a:only-child{color:currentColor}.ivu-btn-error:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-error.active,.ivu-btn-error:active{color:#f2f2f2;background-color:#e13d13;border-color:#e13d13}.ivu-btn-error.active>a:only-child,.ivu-btn-error:active>a:only-child{color:currentColor}.ivu-btn-error.active>a:only-child:after,.ivu-btn-error:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-error.disabled,.ivu-btn-error.disabled.active,.ivu-btn-error.disabled:active,.ivu-btn-error.disabled:focus,.ivu-btn-error.disabled:hover,.ivu-btn-error[disabled],.ivu-btn-error[disabled].active,.ivu-btn-error[disabled]:active,.ivu-btn-error[disabled]:focus,.ivu-btn-error[disabled]:hover,fieldset[disabled] .ivu-btn-error,fieldset[disabled] .ivu-btn-error.active,fieldset[disabled] .ivu-btn-error:active,fieldset[disabled] .ivu-btn-error:focus,fieldset[disabled] .ivu-btn-error:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-error.disabled.active>a:only-child,.ivu-btn-error.disabled:active>a:only-child,.ivu-btn-error.disabled:focus>a:only-child,.ivu-btn-error.disabled:hover>a:only-child,.ivu-btn-error.disabled>a:only-child,.ivu-btn-error[disabled].active>a:only-child,.ivu-btn-error[disabled]:active>a:only-child,.ivu-btn-error[disabled]:focus>a:only-child,.ivu-btn-error[disabled]:hover>a:only-child,.ivu-btn-error[disabled]>a:only-child,fieldset[disabled] .ivu-btn-error.active>a:only-child,fieldset[disabled] .ivu-btn-error:active>a:only-child,fieldset[disabled] .ivu-btn-error:focus>a:only-child,fieldset[disabled] .ivu-btn-error:hover>a:only-child,fieldset[disabled] .ivu-btn-error>a:only-child{color:currentColor}.ivu-btn-error.disabled.active>a:only-child:after,.ivu-btn-error.disabled:active>a:only-child:after,.ivu-btn-error.disabled:focus>a:only-child:after,.ivu-btn-error.disabled:hover>a:only-child:after,.ivu-btn-error.disabled>a:only-child:after,.ivu-btn-error[disabled].active>a:only-child:after,.ivu-btn-error[disabled]:active>a:only-child:after,.ivu-btn-error[disabled]:focus>a:only-child:after,.ivu-btn-error[disabled]:hover>a:only-child:after,.ivu-btn-error[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-error.active>a:only-child:after,fieldset[disabled] .ivu-btn-error:active>a:only-child:after,fieldset[disabled] .ivu-btn-error:focus>a:only-child:after,fieldset[disabled] .ivu-btn-error:hover>a:only-child:after,fieldset[disabled] .ivu-btn-error>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-error.active,.ivu-btn-error:active,.ivu-btn-error:hover{color:#fff}.ivu-btn-error:focus{-webkit-box-shadow:0 0 0 2px rgba(237,64,20,.2);box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-btn-info{color:#fff;background-color:#2db7f5;border-color:#2db7f5}.ivu-btn-info>a:only-child{color:currentColor}.ivu-btn-info>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-info:hover{color:#fff;background-color:#57c5f7;border-color:#57c5f7}.ivu-btn-info:hover>a:only-child{color:currentColor}.ivu-btn-info:hover>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-info.active,.ivu-btn-info:active{color:#f2f2f2;background-color:#2baee9;border-color:#2baee9}.ivu-btn-info.active>a:only-child,.ivu-btn-info:active>a:only-child{color:currentColor}.ivu-btn-info.active>a:only-child:after,.ivu-btn-info:active>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-info.disabled,.ivu-btn-info.disabled.active,.ivu-btn-info.disabled:active,.ivu-btn-info.disabled:focus,.ivu-btn-info.disabled:hover,.ivu-btn-info[disabled],.ivu-btn-info[disabled].active,.ivu-btn-info[disabled]:active,.ivu-btn-info[disabled]:focus,.ivu-btn-info[disabled]:hover,fieldset[disabled] .ivu-btn-info,fieldset[disabled] .ivu-btn-info.active,fieldset[disabled] .ivu-btn-info:active,fieldset[disabled] .ivu-btn-info:focus,fieldset[disabled] .ivu-btn-info:hover{color:#c5c8ce;background-color:#f7f7f7;border-color:#dcdee2}.ivu-btn-info.disabled.active>a:only-child,.ivu-btn-info.disabled:active>a:only-child,.ivu-btn-info.disabled:focus>a:only-child,.ivu-btn-info.disabled:hover>a:only-child,.ivu-btn-info.disabled>a:only-child,.ivu-btn-info[disabled].active>a:only-child,.ivu-btn-info[disabled]:active>a:only-child,.ivu-btn-info[disabled]:focus>a:only-child,.ivu-btn-info[disabled]:hover>a:only-child,.ivu-btn-info[disabled]>a:only-child,fieldset[disabled] .ivu-btn-info.active>a:only-child,fieldset[disabled] .ivu-btn-info:active>a:only-child,fieldset[disabled] .ivu-btn-info:focus>a:only-child,fieldset[disabled] .ivu-btn-info:hover>a:only-child,fieldset[disabled] .ivu-btn-info>a:only-child{color:currentColor}.ivu-btn-info.disabled.active>a:only-child:after,.ivu-btn-info.disabled:active>a:only-child:after,.ivu-btn-info.disabled:focus>a:only-child:after,.ivu-btn-info.disabled:hover>a:only-child:after,.ivu-btn-info.disabled>a:only-child:after,.ivu-btn-info[disabled].active>a:only-child:after,.ivu-btn-info[disabled]:active>a:only-child:after,.ivu-btn-info[disabled]:focus>a:only-child:after,.ivu-btn-info[disabled]:hover>a:only-child:after,.ivu-btn-info[disabled]>a:only-child:after,fieldset[disabled] .ivu-btn-info.active>a:only-child:after,fieldset[disabled] .ivu-btn-info:active>a:only-child:after,fieldset[disabled] .ivu-btn-info:focus>a:only-child:after,fieldset[disabled] .ivu-btn-info:hover>a:only-child:after,fieldset[disabled] .ivu-btn-info>a:only-child:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:transparent}.ivu-btn-info.active,.ivu-btn-info:active,.ivu-btn-info:hover{color:#fff}.ivu-btn-info:focus{-webkit-box-shadow:0 0 0 2px rgba(45,183,245,.2);box-shadow:0 0 0 2px rgba(45,183,245,.2)}.ivu-btn-circle,.ivu-btn-circle-outline{border-radius:32px}.ivu-btn-circle-outline.ivu-btn-large,.ivu-btn-circle.ivu-btn-large{border-radius:36px}.ivu-btn-circle-outline.ivu-btn-size,.ivu-btn-circle.ivu-btn-size{border-radius:24px}.ivu-btn-circle-outline.ivu-btn-icon-only,.ivu-btn-circle.ivu-btn-icon-only{width:32px;height:32px;padding:0;font-size:16px;border-radius:50%}.ivu-btn-circle-outline.ivu-btn-icon-only.ivu-btn-large,.ivu-btn-circle.ivu-btn-icon-only.ivu-btn-large{width:36px;height:36px;padding:0;font-size:16px;border-radius:50%}.ivu-btn-circle-outline.ivu-btn-icon-only.ivu-btn-small,.ivu-btn-circle.ivu-btn-icon-only.ivu-btn-small{width:24px;height:24px;padding:0;font-size:14px;border-radius:50%}.ivu-btn:before{position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;background:#fff;opacity:.35;content:"";border-radius:inherit;z-index:1;-webkit-transition:opacity .2s;transition:opacity .2s;pointer-events:none;display:none}.ivu-btn.ivu-btn-loading{pointer-events:none;position:relative}.ivu-btn.ivu-btn-loading:before{display:block}.ivu-btn-group{position:relative;display:inline-block;vertical-align:middle}.ivu-btn-group>.ivu-btn{position:relative;float:left}.ivu-btn-group>.ivu-btn.active,.ivu-btn-group>.ivu-btn:active,.ivu-btn-group>.ivu-btn:hover{z-index:2}.ivu-btn-group .ivu-btn-icon-only .ivu-icon{font-size:13px;position:relative}.ivu-btn-group-large .ivu-btn-icon-only .ivu-icon{font-size:15px}.ivu-btn-group-small .ivu-btn-icon-only .ivu-icon{font-size:12px}.ivu-btn-group-circle .ivu-btn{border-radius:32px}.ivu-btn-group-large.ivu-btn-group-circle .ivu-btn{border-radius:36px}.ivu-btn-group-large>.ivu-btn{padding:6px 15px 6px 15px;font-size:14px;border-radius:4px}.ivu-btn-group-small.ivu-btn-group-circle .ivu-btn{border-radius:24px}.ivu-btn-group-small>.ivu-btn{padding:1px 7px 2px;font-size:12px;border-radius:3px}.ivu-btn-group-small>.ivu-btn>.ivu-icon{font-size:12px}.ivu-btn+.ivu-btn-group,.ivu-btn-group+.ivu-btn,.ivu-btn-group+.ivu-btn-group,.ivu-btn-group .ivu-btn+.ivu-btn{margin-left:-1px}.ivu-btn-group .ivu-btn:not(:first-child):not(:last-child){border-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:first-child{margin-left:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:first-child:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn:last-child:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.ivu-btn-group>.ivu-btn-group{float:left}.ivu-btn-group>.ivu-btn-group:not(:first-child):not(:last-child)>.ivu-btn{border-radius:0}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn-group:first-child:not(:last-child)>.ivu-btn:last-child{border-bottom-right-radius:0;border-top-right-radius:0;padding-right:8px}.ivu-btn-group:not(.ivu-btn-group-vertical)>.ivu-btn-group:last-child:not(:first-child)>.ivu-btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px}.ivu-btn-group-vertical{display:inline-block;vertical-align:middle}.ivu-btn-group-vertical>.ivu-btn{display:block;width:100%;max-width:100%;float:none}.ivu-btn+.ivu-btn-group-vertical,.ivu-btn-group-vertical+.ivu-btn,.ivu-btn-group-vertical+.ivu-btn-group-vertical,.ivu-btn-group-vertical .ivu-btn+.ivu-btn{margin-top:-1px;margin-left:0}.ivu-btn-group-vertical>.ivu-btn:first-child{margin-top:0}.ivu-btn-group-vertical>.ivu-btn:first-child:not(:last-child){border-bottom-left-radius:0;border-bottom-right-radius:0}.ivu-btn-group-vertical>.ivu-btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.ivu-btn-group-vertical>.ivu-btn-group-vertical:first-child:not(:last-child)>.ivu-btn:last-child{border-bottom-left-radius:0;border-bottom-right-radius:0;padding-bottom:8px}.ivu-btn-group-vertical>.ivu-btn-group-vertical:last-child:not(:first-child)>.ivu-btn:first-child{border-bottom-right-radius:0;border-bottom-left-radius:0;padding-top:8px}.ivu-btn-ghost{color:#fff}.ivu-btn-ghost,.ivu-btn-ghost:hover{background:transparent}.ivu-btn-ghost.ivu-btn-dashed,.ivu-btn-ghost.ivu-btn-default{color:#fff;border-color:#fff}.ivu-btn-ghost.ivu-btn-dashed:hover,.ivu-btn-ghost.ivu-btn-default:hover{color:#57a3f3;border-color:#57a3f3}.ivu-btn-ghost.ivu-btn-primary{color:#2d8cf0}.ivu-btn-ghost.ivu-btn-primary:hover{color:#57a3f3;background:rgba(245,249,254,.5)}.ivu-btn-ghost.ivu-btn-info{color:#2db7f5}.ivu-btn-ghost.ivu-btn-info:hover{color:#57c5f7;background:rgba(245,251,254,.5)}.ivu-btn-ghost.ivu-btn-success{color:#19be6b}.ivu-btn-ghost.ivu-btn-success:hover{color:#47cb89;background:rgba(244,252,248,.5)}.ivu-btn-ghost.ivu-btn-warning{color:#f90}.ivu-btn-ghost.ivu-btn-warning:hover{color:#ffad33;background:rgba(255,250,242,.5)}.ivu-btn-ghost.ivu-btn-error{color:#ed4014}.ivu-btn-ghost.ivu-btn-error:hover{color:#f16643;background:rgba(254,245,243,.5)}.ivu-btn-ghost.ivu-btn-dashed[disabled],.ivu-btn-ghost.ivu-btn-default[disabled],.ivu-btn-ghost.ivu-btn-error[disabled],.ivu-btn-ghost.ivu-btn-info[disabled],.ivu-btn-ghost.ivu-btn-primary[disabled],.ivu-btn-ghost.ivu-btn-success[disabled],.ivu-btn-ghost.ivu-btn-warning[disabled]{background:transparent;color:rgba(0,0,0,.25);border-color:#dcdee2}.ivu-btn-ghost.ivu-btn-text[disabled]{background:transparent;color:rgba(0,0,0,.25)}.ivu-affix,.ivu-back-top{position:fixed;z-index:10}.ivu-back-top{cursor:pointer;display:none}.ivu-back-top.ivu-back-top-show{display:block}.ivu-back-top-inner{background-color:rgba(0,0,0,.6);border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-back-top-inner:hover{background-color:rgba(0,0,0,.7)}.ivu-back-top i{color:#fff;font-size:24px;padding:8px 12px}.ivu-badge{position:relative;display:inline-block}.ivu-badge-count{font-family:"Monospaced Number";line-height:1;vertical-align:middle;position:absolute;-webkit-transform:translateX(50%);transform:translateX(50%);top:-10px;right:0;height:20px;border-radius:10px;min-width:20px;background:#ed4014;border:1px solid transparent;color:#fff;line-height:18px;text-align:center;padding:0 6px;font-size:12px;white-space:nowrap;-webkit-transform-origin:-10% center;transform-origin:-10% center;z-index:10;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ivu-badge-count a,.ivu-badge-count a:hover{color:#fff}.ivu-badge-count-alone{top:auto;display:block;position:relative;-webkit-transform:translateX(0);transform:translateX(0)}.ivu-badge-count-primary{background:#2d8cf0}.ivu-badge-count-success{background:#19be6b}.ivu-badge-count-error{background:#ed4014}.ivu-badge-count-warning{background:#f90}.ivu-badge-count-info{background:#2db7f5}.ivu-badge-count-normal{background:#e6ebf1;color:#808695}.ivu-badge-dot{position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);-webkit-transform-origin:0 center;transform-origin:0 center;top:-4px;right:-8px;height:8px;width:8px;border-radius:100%;background:#ed4014;z-index:10;-webkit-box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px #fff}.ivu-badge-status{line-height:inherit;vertical-align:baseline}.ivu-badge-status-dot{width:6px;height:6px;display:inline-block;border-radius:50%;vertical-align:middle;position:relative;top:-1px}.ivu-badge-status-success{background-color:#19be6b}.ivu-badge-status-processing{background-color:#2d8cf0;position:relative}.ivu-badge-status-processing:after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;border:1px solid #2d8cf0;content:"";-webkit-animation:aniStatusProcessing 1.2s ease-in-out infinite;animation:aniStatusProcessing 1.2s ease-in-out infinite}.ivu-badge-status-default{background-color:#e6ebf1}.ivu-badge-status-error{background-color:#ed4014}.ivu-badge-status-warning{background-color:#f90}.ivu-badge-status-text{display:inline-block;color:#515a6e;font-size:12px;margin-left:6px}@-webkit-keyframes aniStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}@keyframes aniStatusProcessing{0%{-webkit-transform:scale(.8);transform:scale(.8);opacity:.5}to{-webkit-transform:scale(2.4);transform:scale(2.4);opacity:0}}.ivu-chart-circle{display:inline-block;position:relative}.ivu-chart-circle-inner{width:100%;text-align:center;position:absolute;left:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);line-height:1}.ivu-spin{color:#2d8cf0;vertical-align:middle;text-align:center}.ivu-spin-dot{position:relative;display:block;border-radius:50%;background-color:#2d8cf0;width:20px;height:20px;-webkit-animation:ani-spin-bounce 1s ease-in-out 0s infinite;animation:ani-spin-bounce 1s ease-in-out 0s infinite}.ivu-spin-large .ivu-spin-dot{width:32px;height:32px}.ivu-spin-small .ivu-spin-dot{width:12px;height:12px}.ivu-spin-fix{position:absolute;top:0;left:0;z-index:8;width:100%;height:100%;background-color:hsla(0,0%,100%,.9)}.ivu-spin-fullscreen{z-index:2010}.ivu-spin-fullscreen-wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.ivu-spin-fix .ivu-spin-main{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ivu-spin-fix .ivu-spin-dot{display:inline-block}.ivu-spin-show-text .ivu-spin-dot,.ivu-spin-text{display:none}.ivu-spin-show-text .ivu-spin-text{display:block}.ivu-table-wrapper>.ivu-spin-fix{border:1px solid #dcdee2;border-top:0;border-left:0}@-webkit-keyframes ani-spin-bounce{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ani-spin-bounce{0%{-webkit-transform:scale(0);transform:scale(0)}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.ivu-alert{position:relative;padding:8px 48px 8px 16px;border-radius:4px;color:#515a6e;font-size:12px;line-height:16px;margin-bottom:10px}.ivu-alert.ivu-alert-with-icon{padding:8px 48px 8px 38px}.ivu-alert-icon{font-size:16px;top:6px;left:12px;position:absolute}.ivu-alert-desc{font-size:12px;color:#515a6e;line-height:21px;display:none;text-align:justify}.ivu-alert-success{border:1px solid #8ce6b0;background-color:#edfff3}.ivu-alert-success .ivu-alert-icon{color:#19be6b}.ivu-alert-info{border:1px solid #abdcff;background-color:#f0faff}.ivu-alert-info .ivu-alert-icon{color:#2d8cf0}.ivu-alert-warning{border:1px solid #ffd77a;background-color:#fff9e6}.ivu-alert-warning .ivu-alert-icon{color:#f90}.ivu-alert-error{border:1px solid #ffb08f;background-color:#ffefe6}.ivu-alert-error .ivu-alert-icon{color:#ed4014}.ivu-alert-close{font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-alert-close .ivu-icon-ios-close{font-size:22px;color:#999;-webkit-transition:color .2s ease;transition:color .2s ease;position:relative;top:-3px}.ivu-alert-close .ivu-icon-ios-close:hover{color:#444}.ivu-alert-with-desc{padding:16px;position:relative;border-radius:4px;margin-bottom:10px;color:#515a6e;line-height:1.5}.ivu-alert-with-desc.ivu-alert-with-icon{padding:16px 16px 16px 69px}.ivu-alert-with-desc .ivu-alert-desc{display:block}.ivu-alert-with-desc .ivu-alert-message{font-size:14px;color:#17233d;display:block}.ivu-alert-with-desc .ivu-alert-icon{top:50%;left:24px;margin-top:-24px;font-size:28px}.ivu-alert-with-banner{border-radius:0}.ivu-collapse{background-color:#f7f7f7;border-radius:3px;border:1px solid #dcdee2}.ivu-collapse-simple{border-left:none;border-right:none;background-color:#fff;border-radius:0}.ivu-collapse>.ivu-collapse-item{border-top:1px solid #dcdee2}.ivu-collapse>.ivu-collapse-item:first-child{border-top:0}.ivu-collapse>.ivu-collapse-item>.ivu-collapse-header{height:38px;line-height:38px;padding-left:16px;color:#666;cursor:pointer;position:relative;border-bottom:1px solid transparent;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-collapse>.ivu-collapse-item>.ivu-collapse-header>i{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;margin-right:14px}.ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header{border-bottom:1px solid #dcdee2}.ivu-collapse-simple>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header{border-bottom:1px solid transparent}.ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header>i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ivu-collapse-content{color:#515a6e;padding:0 16px;background-color:#fff}.ivu-collapse-content>.ivu-collapse-content-box{padding-top:16px;padding-bottom:16px}.ivu-collapse-simple>.ivu-collapse-item>.ivu-collapse-content>.ivu-collapse-content-box{padding-top:0}.ivu-collapse-item:last-child>.ivu-collapse-content{border-radius:0 0 3px 3px}.ivu-card{background:#fff;border-radius:4px;font-size:14px;position:relative;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-card-bordered{border:1px solid #dcdee2;border-color:#e8eaec}.ivu-card-shadow{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ivu-card:hover{-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);border-color:#eee}.ivu-card.ivu-card-dis-hover:hover{-webkit-box-shadow:none;box-shadow:none;border-color:transparent}.ivu-card.ivu-card-dis-hover.ivu-card-bordered:hover{border-color:#e8eaec}.ivu-card.ivu-card-shadow:hover{-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.ivu-card-head{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-card-head-inner,.ivu-card-head p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-card-head p i,.ivu-card-head p span{vertical-align:middle}.ivu-card-extra{position:absolute;right:16px;top:14px}.ivu-card-body{padding:16px}.ivu-message{font-size:14px;position:fixed;z-index:1010;width:100%;top:16px;left:0;pointer-events:none}.ivu-message-notice{padding:8px;text-align:center;-webkit-transition:height .3s ease-in-out,padding .3s ease-in-out;transition:height .3s ease-in-out,padding .3s ease-in-out}.ivu-message-notice:first-child{margin-top:-8px}.ivu-message-notice-close{position:absolute;right:4px;top:10px;color:#999;outline:none}.ivu-message-notice-close i.ivu-icon{font-size:22px;color:#999;-webkit-transition:color .2s ease;transition:color .2s ease;position:relative;top:-3px}.ivu-message-notice-close i.ivu-icon:hover{color:#444}.ivu-message-notice-content{display:inline-block;pointer-events:all;padding:8px 16px;border-radius:4px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);background:#fff;position:relative}.ivu-message-notice-content-text{display:inline-block}.ivu-message-notice-closable .ivu-message-notice-content-text{padding-right:32px}.ivu-message-success .ivu-icon{color:#19be6b}.ivu-message-error .ivu-icon{color:#ed4014}.ivu-message-warning .ivu-icon{color:#f90}.ivu-message-info .ivu-icon,.ivu-message-loading .ivu-icon{color:#2d8cf0}.ivu-message .ivu-icon{margin-right:4px;font-size:16px;vertical-align:middle}.ivu-message-custom-content span{vertical-align:middle}.ivu-notice{width:335px;margin-right:24px;position:fixed;z-index:1010}.ivu-notice-content-with-icon,.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-title{margin-left:51px}.ivu-notice-notice{margin-bottom:10px;padding:16px;border-radius:4px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);background:#fff;line-height:1;position:relative;overflow:hidden}.ivu-notice-notice-close{position:absolute;right:8px;top:15px;color:#999;outline:none}.ivu-notice-notice-close i{font-size:22px;color:#999;-webkit-transition:color .2s ease;transition:color .2s ease;position:relative;top:-3px}.ivu-notice-notice-close i:hover{color:#444}.ivu-notice-notice-content-with-render .ivu-notice-desc{display:none}.ivu-notice-notice-with-desc .ivu-notice-notice-close{top:11px}.ivu-notice-content-with-render-notitle{margin-left:26px}.ivu-notice-title{font-size:14px;line-height:17px;color:#17233d;padding-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-notice-with-desc .ivu-notice-title{font-weight:700;margin-bottom:8px}.ivu-notice-desc{font-size:12px;color:#515a6e;text-align:justify;line-height:1.5}.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-desc{margin-left:51px}.ivu-notice-with-icon .ivu-notice-title{margin-left:26px}.ivu-notice-icon{position:absolute;top:-2px;font-size:16px}.ivu-notice-icon-success{color:#19be6b}.ivu-notice-icon-info{color:#2d8cf0}.ivu-notice-icon-warning{color:#f90}.ivu-notice-icon-error{color:#ed4014}.ivu-notice-with-desc .ivu-notice-icon{font-size:36px;top:-6px}.ivu-notice-custom-content{position:relative}.ivu-radio-focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2);z-index:1}.ivu-radio-group{display:inline-block;font-size:12px;vertical-align:middle}.ivu-radio-group-vertical .ivu-radio-wrapper{display:block;height:30px;line-height:30px}.ivu-radio-wrapper{font-size:12px;vertical-align:middle;display:inline-block;position:relative;white-space:nowrap;margin-right:8px;cursor:pointer}.ivu-radio-wrapper-disabled{cursor:not-allowed}.ivu-radio{display:inline-block;margin-right:4px;white-space:nowrap;position:relative;line-height:1;vertical-align:middle;cursor:pointer}.ivu-radio:hover .ivu-radio-inner{border-color:#bcbcbc}.ivu-radio-inner{display:inline-block;width:14px;height:14px;position:relative;top:0;left:0;background-color:#fff;border:1px solid #dcdee2;border-radius:50%}.ivu-radio-inner,.ivu-radio-inner:after{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-radio-inner:after{position:absolute;width:8px;height:8px;left:2px;top:2px;border-radius:6px;display:table;border-top:0;border-left:0;content:" ";background-color:#2d8cf0;opacity:0;-webkit-transform:scale(0);transform:scale(0)}.ivu-radio-large{font-size:14px}.ivu-radio-large .ivu-radio-inner{width:16px;height:16px}.ivu-radio-large .ivu-radio-inner:after{width:10px;height:10px}.ivu-radio-large.ivu-radio-wrapper,.ivu-radio-large .ivu-radio-wrapper{font-size:14px}.ivu-radio-small .ivu-radio-inner{width:12px;height:12px}.ivu-radio-small .ivu-radio-inner:after{width:6px;height:6px}.ivu-radio-input{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;opacity:0;cursor:pointer}.ivu-radio-checked .ivu-radio-inner{border-color:#2d8cf0}.ivu-radio-checked .ivu-radio-inner:after{opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-radio-checked:hover .ivu-radio-inner{border-color:#2d8cf0}.ivu-radio-disabled,.ivu-radio-disabled .ivu-radio-input{cursor:not-allowed}.ivu-radio-disabled:hover .ivu-radio-inner{border-color:#dcdee2}.ivu-radio-disabled .ivu-radio-inner{border-color:#dcdee2;background-color:#f3f3f3}.ivu-radio-disabled .ivu-radio-inner:after{background-color:#ccc}.ivu-radio-disabled .ivu-radio-disabled+span{color:#ccc}span.ivu-radio+*{margin-left:2px;margin-right:2px}.ivu-radio-group-button{font-size:0;-webkit-text-size-adjust:none}.ivu-radio-group-button .ivu-radio{width:0;margin-right:0}.ivu-radio-group-button .ivu-radio-wrapper{display:inline-block;height:32px;line-height:30px;margin:0;padding:0 15px;font-size:12px;color:#515a6e;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;cursor:pointer;border:1px solid #dcdee2;border-left:0;background:#fff;position:relative}.ivu-radio-group-button .ivu-radio-wrapper>span{margin-left:0}.ivu-radio-group-button .ivu-radio-wrapper:after,.ivu-radio-group-button .ivu-radio-wrapper:before{content:"";display:block;position:absolute;width:1px;height:100%;left:-1px;top:0;background:#dcdee2;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-radio-group-button .ivu-radio-wrapper:after{height:36px;left:-1px;top:-3px;background:rgba(45,140,240,.2);opacity:0}.ivu-radio-group-button .ivu-radio-wrapper:first-child{border-radius:4px 0 0 4px;border-left:1px solid #dcdee2}.ivu-radio-group-button .ivu-radio-wrapper:first-child:after,.ivu-radio-group-button .ivu-radio-wrapper:first-child:before{display:none}.ivu-radio-group-button .ivu-radio-wrapper:last-child{border-radius:0 4px 4px 0}.ivu-radio-group-button .ivu-radio-wrapper:first-child:last-child{border-radius:4px}.ivu-radio-group-button .ivu-radio-wrapper:hover{position:relative;color:#2d8cf0}.ivu-radio-group-button .ivu-radio-wrapper:hover .ivu-radio{background-color:#000}.ivu-radio-group-button .ivu-radio-wrapper .ivu-radio-inner,.ivu-radio-group-button .ivu-radio-wrapper input{opacity:0;width:0;height:0}.ivu-radio-group-button .ivu-radio-wrapper-checked{background:#fff;border-color:#2d8cf0;color:#2d8cf0;-webkit-box-shadow:-1px 0 0 0 #2d8cf0;box-shadow:-1px 0 0 0 #2d8cf0;z-index:1}.ivu-radio-group-button .ivu-radio-wrapper-checked:before{background:#2d8cf0;opacity:.1}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus{-webkit-box-shadow:-1px 0 0 0 #2d8cf0,0 0 0 2px rgba(45,140,240,.2);box-shadow:-1px 0 0 0 #2d8cf0,0 0 0 2px rgba(45,140,240,.2);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus:after{left:-3px;top:-3px;opacity:1;background:rgba(45,140,240,.2)}.ivu-radio-group-button .ivu-radio-wrapper-checked.ivu-radio-focus:first-child{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-radio-group-button .ivu-radio-wrapper-checked:first-child{border-color:#2d8cf0;-webkit-box-shadow:none;box-shadow:none}.ivu-radio-group-button .ivu-radio-wrapper-checked:hover{border-color:#57a3f3;color:#57a3f3}.ivu-radio-group-button .ivu-radio-wrapper-checked:active{border-color:#2b85e4;color:#2b85e4}.ivu-radio-group-button .ivu-radio-wrapper-disabled{cursor:not-allowed}.ivu-radio-group-button .ivu-radio-wrapper-disabled,.ivu-radio-group-button .ivu-radio-wrapper-disabled:first-child,.ivu-radio-group-button .ivu-radio-wrapper-disabled:hover{border-color:#dcdee2;background-color:#f7f7f7;color:#ccc}.ivu-radio-group-button .ivu-radio-wrapper-disabled:first-child{border-left-color:#dcdee2}.ivu-radio-group-button .ivu-radio-wrapper-disabled.ivu-radio-wrapper-checked{color:#fff;background-color:#e6e6e6;border-color:#dcdee2;-webkit-box-shadow:none!important;box-shadow:none!important}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper{height:36px;line-height:34px;font-size:14px}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper:after{height:40px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper{height:24px;line-height:22px;padding:0 12px;font-size:12px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:after{height:28px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:first-child{border-radius:3px 0 0 3px}.ivu-radio-group-button.ivu-radio-group-small .ivu-radio-wrapper:last-child{border-radius:0 3px 3px 0}.ivu-checkbox-focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2);z-index:1}.ivu-checkbox{display:inline-block;vertical-align:middle;white-space:nowrap;cursor:pointer;line-height:1;position:relative}.ivu-checkbox-disabled{cursor:not-allowed}.ivu-checkbox:hover .ivu-checkbox-inner{border-color:#bcbcbc}.ivu-checkbox-inner{display:inline-block;width:14px;height:14px;position:relative;top:0;left:0;border:1px solid #dcdee2;border-radius:2px;background-color:#fff;-webkit-transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-checkbox-inner:after{content:"";display:table;width:4px;height:8px;position:absolute;top:1px;left:4px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(0);transform:rotate(45deg) scale(0);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-checkbox-large .ivu-checkbox-inner{width:16px;height:16px}.ivu-checkbox-large .ivu-checkbox-inner:after{width:5px;height:9px}.ivu-checkbox-small{font-size:12px}.ivu-checkbox-small .ivu-checkbox-inner{width:12px;height:12px}.ivu-checkbox-small .ivu-checkbox-inner:after{top:0;left:3px}.ivu-checkbox-input{width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;cursor:pointer;opacity:0}.ivu-checkbox-input[disabled]{cursor:not-allowed}.ivu-checkbox-checked:hover .ivu-checkbox-inner{border-color:#2d8cf0}.ivu-checkbox-checked .ivu-checkbox-inner{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-checkbox-checked .ivu-checkbox-inner:after{content:"";display:table;width:4px;height:8px;position:absolute;top:1px;left:4px;border:2px solid #fff;border-top:0;border-left:0;-webkit-transform:rotate(45deg) scale(1);transform:rotate(45deg) scale(1);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-checkbox-large .ivu-checkbox-checked .ivu-checkbox-inner:after{width:5px;height:9px}.ivu-checkbox-small .ivu-checkbox-checked .ivu-checkbox-inner:after{top:0;left:3px}.ivu-checkbox-disabled.ivu-checkbox-checked:hover .ivu-checkbox-inner{border-color:#dcdee2}.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner{background-color:#f3f3f3;border-color:#dcdee2}.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner:after{-webkit-animation-name:none;animation-name:none;border-color:#ccc}.ivu-checkbox-disabled:hover .ivu-checkbox-inner{border-color:#dcdee2}.ivu-checkbox-disabled .ivu-checkbox-inner{border-color:#dcdee2;background-color:#f3f3f3}.ivu-checkbox-disabled .ivu-checkbox-inner:after{-webkit-animation-name:none;animation-name:none;border-color:#f3f3f3}.ivu-checkbox-disabled .ivu-checkbox-inner-input{cursor:default}.ivu-checkbox-disabled+span{color:#ccc;cursor:not-allowed}.ivu-checkbox-indeterminate .ivu-checkbox-inner:after{content:"";width:8px;height:1px;-webkit-transform:scale(1);transform:scale(1);position:absolute;left:2px;top:5px}.ivu-checkbox-indeterminate:hover .ivu-checkbox-inner{border-color:#2d8cf0}.ivu-checkbox-indeterminate .ivu-checkbox-inner{background-color:#2d8cf0;border-color:#2d8cf0}.ivu-checkbox-indeterminate.ivu-checkbox-disabled .ivu-checkbox-inner{background-color:#f3f3f3;border-color:#dcdee2}.ivu-checkbox-indeterminate.ivu-checkbox-disabled .ivu-checkbox-inner:after{border-color:#c5c8ce}.ivu-checkbox-large .ivu-checkbox-indeterminate .ivu-checkbox-inner:after{width:10px;top:6px}.ivu-checkbox-small .ivu-checkbox-indeterminate .ivu-checkbox-inner:after{width:6px;top:4px}.ivu-checkbox-wrapper{cursor:pointer;font-size:12px;display:inline-block;margin-right:8px}.ivu-checkbox-wrapper-disabled{cursor:not-allowed}.ivu-checkbox-wrapper.ivu-checkbox-large{font-size:14px}.ivu-checkbox+span,.ivu-checkbox-wrapper+span{margin-right:4px}.ivu-checkbox-group{font-size:14px}.ivu-checkbox-group-item,.ivu-switch{display:inline-block}.ivu-switch{width:44px;height:22px;line-height:20px;border-radius:22px;vertical-align:middle;border:1px solid #ccc;background-color:#ccc;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-switch-loading{opacity:.4}.ivu-switch-inner{color:#fff;font-size:12px;position:absolute;left:23px}.ivu-switch-inner i{width:12px;height:12px;text-align:center;position:relative;top:-1px}.ivu-switch:after{content:"";width:18px;height:18px;border-radius:18px;background-color:#fff;position:absolute;left:1px;top:1px;cursor:pointer;-webkit-transition:left .2s ease-in-out,width .2s ease-in-out;transition:left .2s ease-in-out,width .2s ease-in-out}.ivu-switch:active:after{width:26px}.ivu-switch:before{content:"";display:none;width:14px;height:14px;border-radius:50%;background-color:transparent;position:absolute;left:3px;top:3px;z-index:1;border:1px solid #2d8cf0;border-color:transparent transparent transparent #2d8cf0;-webkit-animation:switch-loading 1s linear;animation:switch-loading 1s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.ivu-switch-loading:before{display:block}.ivu-switch:focus{-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2);outline:0}.ivu-switch:focus:hover{-webkit-box-shadow:none;box-shadow:none}.ivu-switch-small{width:28px;height:16px;line-height:14px}.ivu-switch-small:after{width:12px;height:12px}.ivu-switch-small:active:after{width:14px}.ivu-switch-small:before{width:10px;height:10px;left:2px;top:2px}.ivu-switch-small.ivu-switch-checked:after{left:13px}.ivu-switch-small.ivu-switch-checked:before{left:14px}.ivu-switch-small:active.ivu-switch-checked:after{left:11px}.ivu-switch-large{width:56px}.ivu-switch-large:active:after{width:26px;width:30px}.ivu-switch-large.ivu-switch-checked:after{left:35px}.ivu-switch-large.ivu-switch-checked:before{left:37px}.ivu-switch-large:active.ivu-switch-checked:after{left:23px}.ivu-switch-checked{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-switch-checked .ivu-switch-inner{left:7px}.ivu-switch-checked:after{left:23px}.ivu-switch-checked:before{left:25px}.ivu-switch-checked:active:after{left:15px}.ivu-switch-disabled{cursor:not-allowed;opacity:.4}.ivu-switch-disabled:after{background:#fff;cursor:not-allowed}.ivu-switch-disabled .ivu-switch-inner{color:#fff}.ivu-switch-disabled.ivu-switch-checked{border-color:#2d8cf0;background-color:#2d8cf0;opacity:.4}.ivu-switch-disabled.ivu-switch-checked:after{background:#fff}.ivu-switch-disabled.ivu-switch-checked .ivu-switch-inner{color:#fff}@-webkit-keyframes switch-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes switch-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ivu-input-number{display:inline-block;width:100%;line-height:1.5;padding:4px 7px;font-size:12px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;-webkit-transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;margin:0;padding:0;width:80px;height:32px;line-height:32px;vertical-align:middle;border:1px solid #dcdee2;border-radius:4px;overflow:hidden;cursor:default}.ivu-input-number::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-input-number:-ms-input-placeholder{color:#c5c8ce}.ivu-input-number::-webkit-input-placeholder{color:#c5c8ce}.ivu-input-number:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input-number[disabled],fieldset[disabled] .ivu-input-number{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number[disabled]:hover,fieldset[disabled] .ivu-input-number:hover{border-color:#e3e5e8}textarea.ivu-input-number{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-input-number-large{font-size:14px;padding:6px 7px;height:36px}.ivu-input-number-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-input-number-handler-wrap{width:22px;height:100%;border-left:1px solid #dcdee2;border-radius:0 4px 4px 0;background:#fff;position:absolute;top:0;right:0;opacity:0;-webkit-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.ivu-input-number:hover .ivu-input-number-handler-wrap{opacity:1}.ivu-input-number-handler-up{cursor:pointer}.ivu-input-number-handler-up-inner{top:1px}.ivu-input-number-handler-down{border-top:1px solid #dcdee2;top:-1px;cursor:pointer}.ivu-input-number-handler{display:block;width:100%;height:16px;line-height:0;text-align:center;overflow:hidden;color:#999;position:relative}.ivu-input-number-handler:hover .ivu-input-number-handler-down-inner,.ivu-input-number-handler:hover .ivu-input-number-handler-up-inner{color:#57a3f3}.ivu-input-number-handler-down-inner,.ivu-input-number-handler-up-inner{width:12px;height:12px;line-height:12px;font-size:14px;color:#999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:5px;-webkit-transition:all .2s linear;transition:all .2s linear}.ivu-input-number:hover{border-color:#57a3f3}.ivu-input-number-focused{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input-number-disabled{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number-disabled:hover{border-color:#e3e5e8}.ivu-input-number-input-wrap{overflow:hidden;height:32px}.ivu-input-number-input{width:100%;height:32px;line-height:32px;padding:0 7px;text-align:left;outline:0;-moz-appearance:textfield;color:#666;border:0;border-radius:4px;-webkit-transition:all .2s linear;transition:all .2s linear}.ivu-input-number-input[disabled]{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input-number-input[disabled]:hover{border-color:#e3e5e8}.ivu-input-number-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-input-number-input::-moz-placeholder{color:#c5c8ce}.ivu-input-number-input:-ms-input-placeholder{color:#c5c8ce}.ivu-input-number-input::-ms-input-placeholder{color:#c5c8ce}.ivu-input-number-input::placeholder{color:#c5c8ce}.ivu-input-number-large{padding:0}.ivu-input-number-large .ivu-input-number-input-wrap{height:36px}.ivu-input-number-large .ivu-input-number-handler{height:18px}.ivu-input-number-large input{height:36px;line-height:36px}.ivu-input-number-large .ivu-input-number-handler-up-inner{top:2px}.ivu-input-number-large .ivu-input-number-handler-down-inner{bottom:2px}.ivu-input-number-small{padding:0}.ivu-input-number-small .ivu-input-number-input-wrap{height:24px}.ivu-input-number-small .ivu-input-number-handler{height:12px}.ivu-input-number-small input{height:24px;line-height:24px;margin-top:-1px;vertical-align:top}.ivu-input-number-small .ivu-input-number-handler-up-inner{top:-1px}.ivu-input-number-small .ivu-input-number-handler-down-inner{bottom:-1px}.ivu-input-number-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-disabled .ivu-input-number-handler-up-inner,.ivu-input-number-handler-down-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-handler-down-disabled .ivu-input-number-handler-up-inner,.ivu-input-number-handler-up-disabled .ivu-input-number-handler-down-inner,.ivu-input-number-handler-up-disabled .ivu-input-number-handler-up-inner{opacity:.72;color:#ccc!important;cursor:not-allowed}.ivu-input-number-disabled .ivu-input-number-input{opacity:.72;cursor:not-allowed;background-color:#f3f3f3}.ivu-input-number-disabled .ivu-input-number-handler-wrap{display:none}.ivu-input-number-disabled .ivu-input-number-handler{opacity:.72;color:#ccc!important;cursor:not-allowed}.ivu-form-item-error .ivu-input-number{border:1px solid #ed4014}.ivu-form-item-error .ivu-input-number:hover{border-color:#ed4014}.ivu-form-item-error .ivu-input-number-focused,.ivu-form-item-error .ivu-input-number:focus{border-color:#ed4014;outline:0;-webkit-box-shadow:0 0 0 2px rgba(237,64,20,.2);box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-scroll-wrapper{width:auto;margin:0 auto;position:relative;outline:none}.ivu-scroll-container{overflow-y:scroll}.ivu-scroll-content{opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s}.ivu-scroll-content-loading{opacity:.5}.ivu-scroll-loader{text-align:center;padding:0;-webkit-transition:padding .5s;transition:padding .5s}.ivu-scroll-loader-wrapper{padding:5px 0;height:0;background-color:inherit;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:opacity .3s,height .5s,-webkit-transform .5s;transition:opacity .3s,height .5s,-webkit-transform .5s;transition:opacity .3s,transform .5s,height .5s;transition:opacity .3s,transform .5s,height .5s,-webkit-transform .5s}.ivu-scroll-loader-wrapper-active{height:40px;-webkit-transform:scale(1);transform:scale(1)}@-webkit-keyframes ani-demo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes ani-demo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ivu-scroll-loader-wrapper .ivu-scroll-spinner{position:relative}.ivu-scroll-loader-wrapper .ivu-scroll-spinner-icon{-webkit-animation:ani-demo-spin 1s linear infinite;animation:ani-demo-spin 1s linear infinite}.ivu-tag{display:inline-block;height:22px;line-height:22px;margin:2px 4px 2px 0;padding:0 8px;border:1px solid #e8eaec;border-radius:3px;background:#f7f7f7;font-size:12px;vertical-align:middle;opacity:1;overflow:hidden;cursor:pointer}.ivu-tag:not(.ivu-tag-border):not(.ivu-tag-dot):not(.ivu-tag-checked){background:transparent;border:0;color:#515a6e}.ivu-tag:not(.ivu-tag-border):not(.ivu-tag-dot):not(.ivu-tag-checked) .ivu-icon-ios-close{color:#515a6e!important}.ivu-tag-color-error{color:#ed4014!important;border-color:#ed4014}.ivu-tag-color-success{color:#19be6b!important;border-color:#19be6b}.ivu-tag-color-primary{color:#2d8cf0!important;border-color:#2d8cf0}.ivu-tag-color-warning{color:#f90!important;border-color:#f90}.ivu-tag-color-white{color:#fff!important}.ivu-tag-dot{height:32px;line-height:32px;border:1px solid #e8eaec!important;color:#515a6e!important;background:#fff!important;padding:0 12px}.ivu-tag-dot-inner{display:inline-block;width:12px;height:12px;margin-right:8px;border-radius:50%;background:#e8eaec;position:relative;top:1px}.ivu-tag-dot .ivu-icon-ios-close{color:#666!important;margin-left:12px!important}.ivu-tag-border{height:24px;line-height:24px;border:1px solid #e8eaec;color:#e8eaec;background:#fff!important;position:relative}.ivu-tag-border .ivu-icon-ios-close{color:#666;margin-left:12px!important}.ivu-tag-border:after{content:"";display:none;width:1px;background:currentColor;position:absolute;top:0;bottom:0;right:22px}.ivu-tag-border.ivu-tag-closable:after{display:block}.ivu-tag-border.ivu-tag-closable .ivu-icon-ios-close{margin-left:18px!important;left:4px;top:-1px}.ivu-tag-border.ivu-tag-primary{color:#2d8cf0!important;border:1px solid #2d8cf0!important}.ivu-tag-border.ivu-tag-primary:after{background:#2d8cf0}.ivu-tag-border.ivu-tag-primary .ivu-icon-ios-close{color:#2d8cf0!important}.ivu-tag-border.ivu-tag-success{color:#19be6b!important;border:1px solid #19be6b!important}.ivu-tag-border.ivu-tag-success:after{background:#19be6b}.ivu-tag-border.ivu-tag-success .ivu-icon-ios-close{color:#19be6b!important}.ivu-tag-border.ivu-tag-warning{color:#f90!important;border:1px solid #f90!important}.ivu-tag-border.ivu-tag-warning:after{background:#f90}.ivu-tag-border.ivu-tag-warning .ivu-icon-ios-close{color:#f90!important}.ivu-tag-border.ivu-tag-error{color:#ed4014!important;border:1px solid #ed4014!important}.ivu-tag-border.ivu-tag-error:after{background:#ed4014}.ivu-tag-border.ivu-tag-error .ivu-icon-ios-close{color:#ed4014!important}.ivu-tag:hover{opacity:.85}.ivu-tag-text{color:#515a6e}.ivu-tag-text a:first-child:last-child{display:inline-block;margin:0 -8px;padding:0 8px}.ivu-tag .ivu-icon-ios-close{display:inline-block;font-size:14px;font-size:20px\9;-webkit-transform:scale(1.42857143) rotate(0deg);transform:scale(1.42857143) rotate(0deg);cursor:pointer;margin-left:2px;color:#666;opacity:.66;position:relative;top:-1px}:root .ivu-tag .ivu-icon-ios-close{font-size:14px}.ivu-tag .ivu-icon-ios-close:hover{opacity:1}.ivu-tag-error,.ivu-tag-primary,.ivu-tag-success,.ivu-tag-warning{border:0}.ivu-tag-error,.ivu-tag-error .ivu-icon-ios-close,.ivu-tag-error .ivu-icon-ios-close:hover,.ivu-tag-error a,.ivu-tag-error a:hover,.ivu-tag-primary,.ivu-tag-primary .ivu-icon-ios-close,.ivu-tag-primary .ivu-icon-ios-close:hover,.ivu-tag-primary a,.ivu-tag-primary a:hover,.ivu-tag-success,.ivu-tag-success .ivu-icon-ios-close,.ivu-tag-success .ivu-icon-ios-close:hover,.ivu-tag-success a,.ivu-tag-success a:hover,.ivu-tag-warning,.ivu-tag-warning .ivu-icon-ios-close,.ivu-tag-warning .ivu-icon-ios-close:hover,.ivu-tag-warning a,.ivu-tag-warning a:hover{color:#fff}.ivu-tag-primary,.ivu-tag-primary.ivu-tag-dot .ivu-tag-dot-inner{background:#2d8cf0}.ivu-tag-success,.ivu-tag-success.ivu-tag-dot .ivu-tag-dot-inner{background:#19be6b}.ivu-tag-warning,.ivu-tag-warning.ivu-tag-dot .ivu-tag-dot-inner{background:#f90}.ivu-tag-error,.ivu-tag-error.ivu-tag-dot .ivu-tag-dot-inner{background:#ed4014}.ivu-tag-pink{line-height:20px;background:#fff0f6;border-color:#ffadd2}.ivu-tag-pink .ivu-tag-text{color:#eb2f96!important}.ivu-tag-pink.ivu-tag-dot{line-height:32px}.ivu-tag-magenta{line-height:20px;background:#fff0f6;border-color:#ffadd2}.ivu-tag-magenta .ivu-tag-text{color:#eb2f96!important}.ivu-tag-magenta.ivu-tag-dot{line-height:32px}.ivu-tag-red{line-height:20px;background:#fff1f0;border-color:#ffa39e}.ivu-tag-red .ivu-tag-text{color:#f5222d!important}.ivu-tag-red.ivu-tag-dot{line-height:32px}.ivu-tag-volcano{line-height:20px;background:#fff2e8;border-color:#ffbb96}.ivu-tag-volcano .ivu-tag-text{color:#fa541c!important}.ivu-tag-volcano.ivu-tag-dot{line-height:32px}.ivu-tag-orange{line-height:20px;background:#fff7e6;border-color:#ffd591}.ivu-tag-orange .ivu-tag-text{color:#fa8c16!important}.ivu-tag-orange.ivu-tag-dot{line-height:32px}.ivu-tag-yellow{line-height:20px;background:#feffe6;border-color:#fffb8f}.ivu-tag-yellow .ivu-tag-text{color:#fadb14!important}.ivu-tag-yellow.ivu-tag-dot{line-height:32px}.ivu-tag-gold{line-height:20px;background:#fffbe6;border-color:#ffe58f}.ivu-tag-gold .ivu-tag-text{color:#faad14!important}.ivu-tag-gold.ivu-tag-dot{line-height:32px}.ivu-tag-cyan{line-height:20px;background:#e6fffb;border-color:#87e8de}.ivu-tag-cyan .ivu-tag-text{color:#13c2c2!important}.ivu-tag-cyan.ivu-tag-dot{line-height:32px}.ivu-tag-lime{line-height:20px;background:#fcffe6;border-color:#eaff8f}.ivu-tag-lime .ivu-tag-text{color:#a0d911!important}.ivu-tag-lime.ivu-tag-dot{line-height:32px}.ivu-tag-green{line-height:20px;background:#f6ffed;border-color:#b7eb8f}.ivu-tag-green .ivu-tag-text{color:#52c41a!important}.ivu-tag-green.ivu-tag-dot{line-height:32px}.ivu-tag-blue{line-height:20px;background:#e6f7ff;border-color:#91d5ff}.ivu-tag-blue .ivu-tag-text{color:#1890ff!important}.ivu-tag-blue.ivu-tag-dot{line-height:32px}.ivu-tag-geekblue{line-height:20px;background:#f0f5ff;border-color:#adc6ff}.ivu-tag-geekblue .ivu-tag-text{color:#2f54eb!important}.ivu-tag-geekblue.ivu-tag-dot{line-height:32px}.ivu-tag-purple{line-height:20px;background:#f9f0ff;border-color:#d3adf7}.ivu-tag-purple .ivu-tag-text{color:#722ed1!important}.ivu-tag-purple.ivu-tag-dot{line-height:32px}.ivu-layout{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:auto;flex:auto;background:#f5f7f9}.ivu-layout.ivu-layout-has-sider{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.ivu-layout.ivu-layout-has-sider>.ivu-layout,.ivu-layout.ivu-layout-has-sider>.ivu-layout-content{overflow-x:hidden}.ivu-layout-footer,.ivu-layout-header{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.ivu-layout-header{background:#515a6e;padding:0 50px;height:64px;line-height:64px}.ivu-layout-sider{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:relative;background:#001529;min-width:0}.ivu-layout-sider-children{height:100%;padding-top:.1px;margin-top:-.1px}.ivu-layout-sider-has-trigger{padding-bottom:48px}.ivu-layout-sider-trigger{position:fixed;bottom:0;text-align:center;cursor:pointer;height:48px;line-height:48px;color:#fff;background:#001529;z-index:1000;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-layout-sider-trigger .ivu-icon{font-size:16px}.ivu-layout-sider-trigger>*{-webkit-transition:all .2s;transition:all .2s}.ivu-layout-sider-trigger-collapsed .ivu-layout-sider-trigger-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ivu-layout-sider-zero-width>*{overflow:hidden}.ivu-layout-sider-zero-width-trigger{position:absolute;top:64px;right:-36px;text-align:center;width:36px;height:42px;line-height:42px;background:#001529;color:#fff;font-size:18px;border-radius:0 6px 6px 0;cursor:pointer;-webkit-transition:background .3s ease;transition:background .3s ease}.ivu-layout-sider-zero-width-trigger:hover{background:#192c3e}.ivu-layout-sider-zero-width-trigger.ivu-layout-sider-zero-width-trigger-left{right:0;left:-36px;border-radius:6px 0 0 6px}.ivu-layout-footer{background:#f5f7f9;padding:24px 50px;color:#515a6e;font-size:14px}.ivu-layout-content{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.ivu-loading-bar{width:100%;position:fixed;top:0;left:0;right:0;z-index:2000}.ivu-loading-bar-inner{-webkit-transition:width .2s linear;transition:width .2s linear}.ivu-loading-bar-inner-color-primary{background-color:#2d8cf0}.ivu-loading-bar-inner-failed-color-error{background-color:#ed4014}.ivu-progress{display:inline-block;width:100%;font-size:12px;position:relative}.ivu-progress-vertical{height:100%;width:auto}.ivu-progress-outer{display:inline-block;width:100%;margin-right:0;padding-right:0}.ivu-progress-show-info .ivu-progress-outer{padding-right:55px;margin-right:-55px}.ivu-progress-vertical .ivu-progress-outer{height:100%;width:auto}.ivu-progress-inner{display:inline-block;width:100%;background-color:#f3f3f3;border-radius:100px;vertical-align:middle;position:relative}.ivu-progress-inner-text{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 6px}.ivu-progress-vertical .ivu-progress-inner{height:100%;width:auto}.ivu-progress-vertical .ivu-progress-inner:after,.ivu-progress-vertical .ivu-progress-inner>*{display:inline-block;vertical-align:bottom}.ivu-progress-vertical .ivu-progress-inner:after{content:"";height:100%}.ivu-progress-bg{text-align:right;border-radius:100px;background-color:#2d8cf0;-webkit-transition:all .2s linear;transition:all .2s linear;position:relative}.ivu-progress-bg:after{content:"";display:inline-block;height:100%;vertical-align:middle}.ivu-progress-success-bg{border-radius:100px;background-color:#19be6b;-webkit-transition:all .2s linear;transition:all .2s linear;position:absolute;top:0;left:0}.ivu-progress-text{display:inline-block;margin-left:5px;text-align:left;font-size:1em;vertical-align:middle}.ivu-progress-active .ivu-progress-bg:before{content:"";opacity:0;position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;border-radius:10px;-webkit-animation:ivu-progress-active 2s ease-in-out infinite;animation:ivu-progress-active 2s ease-in-out infinite}.ivu-progress-vertical.ivu-progress-active .ivu-progress-bg:before{top:auto;-webkit-animation:ivu-progress-active-vertical 2s ease-in-out infinite;animation:ivu-progress-active-vertical 2s ease-in-out infinite}.ivu-progress-wrong .ivu-progress-bg{background-color:#ed4014}.ivu-progress-wrong .ivu-progress-text{color:#ed4014}.ivu-progress-success .ivu-progress-bg{background-color:#19be6b}.ivu-progress-success .ivu-progress-text{color:#19be6b}@-webkit-keyframes ivu-progress-active{0%{opacity:.3;width:0}to{opacity:0;width:100%}}@keyframes ivu-progress-active{0%{opacity:.3;width:0}to{opacity:0;width:100%}}@-webkit-keyframes ivu-progress-active-vertical{0%{opacity:.3;height:0}to{opacity:0;height:100%}}@keyframes ivu-progress-active-vertical{0%{opacity:.3;height:0}to{opacity:0;height:100%}}.ivu-timeline{list-style:none;margin:0;padding:0}.ivu-timeline-item{margin:0!important;padding:0 0 12px 0;list-style:none;position:relative}.ivu-timeline-item-tail{height:100%;border-left:1px solid #e8eaec;position:absolute;left:6px;top:0}.ivu-timeline-item-pending .ivu-timeline-item-tail{display:none}.ivu-timeline-item-head{width:13px;height:13px;background-color:#fff;border-radius:50%;border:1px solid transparent;position:absolute}.ivu-timeline-item-head-blue{border-color:#2d8cf0;color:#2d8cf0}.ivu-timeline-item-head-red{border-color:#ed4014;color:#ed4014}.ivu-timeline-item-head-green{border-color:#19be6b;color:#19be6b}.ivu-timeline-item-head-custom{width:40px;height:auto;margin-top:6px;padding:3px 0;text-align:center;line-height:1;border:0;border-radius:0;font-size:14px;position:absolute;left:-13px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ivu-timeline-item-content{padding:1px 1px 10px 24px;font-size:12px;position:relative;top:-3px}.ivu-timeline-item:last-child .ivu-timeline-item-tail{display:none}.ivu-timeline.ivu-timeline-pending .ivu-timeline-item:nth-last-of-type(2) .ivu-timeline-item-tail{border-left:1px dotted #e8eaec}.ivu-timeline.ivu-timeline-pending .ivu-timeline-item:nth-last-of-type(2) .ivu-timeline-item-content{min-height:48px}.ivu-page:after{content:"";display:block;height:0;clear:both;overflow:hidden;visibility:hidden}.ivu-page-item{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1px solid #dcdee2;border-radius:4px;-webkit-transition:border .2s ease-in-out,color .2s ease-in-out;transition:border .2s ease-in-out,color .2s ease-in-out}.ivu-page-item a{font-family:"Monospaced Number";margin:0 6px;text-decoration:none;color:#515a6e}.ivu-page-item:hover{border-color:#2d8cf0}.ivu-page-item:hover a{color:#2d8cf0}.ivu-page-item-active{border-color:#2d8cf0}.ivu-page-item-active:hover a,.ivu-page-item-active a{color:#2d8cf0}.ivu-page-item-jump-next:after,.ivu-page-item-jump-prev:after{content:"\2022\2022\2022";display:block;letter-spacing:1px;color:#ccc;text-align:center}.ivu-page-item-jump-next:hover:after,.ivu-page-item-jump-next i,.ivu-page-item-jump-prev:hover:after,.ivu-page-item-jump-prev i{display:none}.ivu-page-item-jump-next:hover i,.ivu-page-item-jump-prev:hover i{display:inline}.ivu-page-item-jump-prev:hover i:after{content:"\F115";margin-left:-8px}.ivu-page-item-jump-next:hover i:after{content:"\F11F";margin-left:-8px}.ivu-page-item-jump-next,.ivu-page-item-jump-prev,.ivu-page-prev{margin-right:4px}.ivu-page-item-jump-next,.ivu-page-item-jump-prev,.ivu-page-next,.ivu-page-prev{display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;color:#666;font-family:Arial;border:1px solid #dcdee2;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-page-item-jump-next,.ivu-page-item-jump-prev{border-color:transparent}.ivu-page-next,.ivu-page-prev{background-color:#fff}.ivu-page-next a,.ivu-page-prev a{color:#666;font-size:14px}.ivu-page-next:hover,.ivu-page-prev:hover{border-color:#2d8cf0}.ivu-page-next:hover a,.ivu-page-prev:hover a{color:#2d8cf0}.ivu-page-disabled{cursor:not-allowed}.ivu-page-disabled a{color:#ccc}.ivu-page-disabled:hover{border-color:#dcdee2}.ivu-page-disabled:hover a{color:#ccc;cursor:not-allowed}.ivu-page-options{display:inline-block;vertical-align:middle;margin-left:15px}.ivu-page-options-sizer{display:inline-block;margin-right:10px}.ivu-page-options-elevator{display:inline-block;vertical-align:middle;height:32px;line-height:32px}.ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;-webkit-transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}.ivu-page-options-elevator input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-page-options-elevator input:-ms-input-placeholder{color:#c5c8ce}.ivu-page-options-elevator input::-webkit-input-placeholder{color:#c5c8ce}.ivu-page-options-elevator input:hover{border-color:#57a3f3}.ivu-page-options-elevator input:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-page-options-elevator input[disabled],fieldset[disabled] .ivu-page-options-elevator input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-page-options-elevator input[disabled]:hover,fieldset[disabled] .ivu-page-options-elevator input:hover{border-color:#e3e5e8}textarea.ivu-page-options-elevator input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-page-options-elevator input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-page-options-elevator input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-page-total{display:inline-block;height:32px;line-height:32px;margin-right:10px}.ivu-page-simple .ivu-page-next,.ivu-page-simple .ivu-page-prev{margin:0;border:0;height:24px;line-height:normal;font-size:18px}.ivu-page-simple .ivu-page-simple-pager{display:inline-block;margin-right:8px;vertical-align:middle}.ivu-page-simple .ivu-page-simple-pager input{width:30px;height:24px;margin:0 8px;padding:5px 8px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;outline:none;border:1px solid #dcdee2;border-radius:4px;-webkit-transition:border-color .2s ease-in-out;transition:border-color .2s ease-in-out}.ivu-page-simple .ivu-page-simple-pager input:hover{border-color:#2d8cf0}.ivu-page-simple .ivu-page-simple-pager span{padding:0 8px 0 2px}.ivu-page-custom-text,.ivu-page-custom-text:hover{border-color:transparent}.ivu-page.mini .ivu-page-total{height:24px;line-height:24px}.ivu-page.mini .ivu-page-item{border:0;margin:0;min-width:24px;height:24px;line-height:24px;border-radius:3px}.ivu-page.mini .ivu-page-next,.ivu-page.mini .ivu-page-prev{margin:0;min-width:24px;height:24px;line-height:22px;border:0}.ivu-page.mini .ivu-page-next a i:after,.ivu-page.mini .ivu-page-prev a i:after{height:24px;line-height:24px}.ivu-page.mini .ivu-page-item-jump-next,.ivu-page.mini .ivu-page-item-jump-prev{height:24px;line-height:24px;border:none;margin-right:0}.ivu-page.mini .ivu-page-options{margin-left:8px}.ivu-page.mini .ivu-page-options-elevator{height:24px;line-height:24px}.ivu-page.mini .ivu-page-options-elevator input{padding:1px 7px;height:24px;border-radius:3px;width:44px}.ivu-steps{font-size:0;width:100%;line-height:1.5}.ivu-steps-item{display:inline-block;position:relative;vertical-align:top}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner{background-color:#fff}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-wait .ivu-steps-head-inner span{color:#ccc}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-content,.ivu-steps-item.ivu-steps-status-wait .ivu-steps-title{color:#999}.ivu-steps-item.ivu-steps-status-wait .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner{border-color:#2d8cf0;background-color:#2d8cf0}.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-process .ivu-steps-head-inner span{color:#fff}.ivu-steps-item.ivu-steps-status-process .ivu-steps-content,.ivu-steps-item.ivu-steps-status-process .ivu-steps-title{color:#666}.ivu-steps-item.ivu-steps-status-process .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner{background-color:#fff;border-color:#2d8cf0}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-finish .ivu-steps-head-inner span{color:#2d8cf0}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-tail>i:after{width:100%;background:#2d8cf0;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;opacity:1}.ivu-steps-item.ivu-steps-status-finish .ivu-steps-content,.ivu-steps-item.ivu-steps-status-finish .ivu-steps-title{color:#999}.ivu-steps-item.ivu-steps-status-error .ivu-steps-head-inner{background-color:#fff;border-color:#ed4014}.ivu-steps-item.ivu-steps-status-error .ivu-steps-content,.ivu-steps-item.ivu-steps-status-error .ivu-steps-head-inner>.ivu-steps-icon,.ivu-steps-item.ivu-steps-status-error .ivu-steps-title{color:#ed4014}.ivu-steps-item.ivu-steps-status-error .ivu-steps-tail>i{background-color:#e8eaec}.ivu-steps-item.ivu-steps-next-error .ivu-steps-tail>i,.ivu-steps-item.ivu-steps-next-error .ivu-steps-tail>i:after{background-color:#ed4014}.ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner{background:none;border:0;width:auto;height:auto}.ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner>.ivu-steps-icon{font-size:20px;top:2px;width:20px;height:20px}.ivu-steps-item.ivu-steps-custom.ivu-steps-status-process .ivu-steps-head-inner>.ivu-steps-icon{color:#2d8cf0}.ivu-steps-item:last-child .ivu-steps-tail{display:none}.ivu-steps .ivu-steps-head,.ivu-steps .ivu-steps-main{position:relative;display:inline-block;vertical-align:top}.ivu-steps .ivu-steps-head-inner{display:block;width:26px;height:26px;line-height:24px;margin-right:8px;text-align:center;border:1px solid #ccc;border-radius:50%;font-size:14px;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon{line-height:1;position:relative}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon{font-size:24px}.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon-ios-checkmark-empty,.ivu-steps .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon-ios-close-empty{font-weight:700}.ivu-steps .ivu-steps-main{margin-top:2.5px;display:inline}.ivu-steps .ivu-steps-custom .ivu-steps-title{margin-top:2.5px}.ivu-steps .ivu-steps-title{display:inline-block;margin-bottom:4px;padding-right:10px;font-size:14px;font-weight:700;color:#666}.ivu-steps .ivu-steps-title>a:first-child:last-child{color:#666}.ivu-steps .ivu-steps-item-last .ivu-steps-title{padding-right:0;width:100%}.ivu-steps .ivu-steps-content{font-size:12px;color:#999}.ivu-steps .ivu-steps-tail{width:100%;padding:0 10px;position:absolute;left:0;top:13px}.ivu-steps .ivu-steps-tail>i{display:inline-block;width:100%;height:1px;vertical-align:top;background:#e8eaec;border-radius:1px;position:relative}.ivu-steps .ivu-steps-tail>i:after{content:"";width:0;height:100%;background:#e8eaec;opacity:0;position:absolute;top:0}.ivu-steps.ivu-steps-small .ivu-steps-head-inner{width:18px;height:18px;line-height:16px;margin-right:10px;text-align:center;border-radius:50%;font-size:12px}.ivu-steps.ivu-steps-small .ivu-steps-head-inner>.ivu-steps-icon.ivu-icon{font-size:16px;top:0}.ivu-steps.ivu-steps-small .ivu-steps-main{margin-top:0}.ivu-steps.ivu-steps-small .ivu-steps-title{margin-bottom:4px;margin-top:0;color:#666;font-size:12px;font-weight:700}.ivu-steps.ivu-steps-small .ivu-steps-content{font-size:12px;color:#999;padding-left:30px}.ivu-steps.ivu-steps-small .ivu-steps-tail{top:8px;padding:0 8px}.ivu-steps.ivu-steps-small .ivu-steps-tail>i{height:1px;width:100%;border-radius:1px}.ivu-steps .ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner,.ivu-steps.ivu-steps-small .ivu-steps-item.ivu-steps-custom .ivu-steps-head-inner{width:inherit;height:inherit;line-height:inherit;border-radius:0;border:0;background:none}.ivu-steps-vertical .ivu-steps-item{display:block}.ivu-steps-vertical .ivu-steps-tail{position:absolute;left:13px;top:0;height:100%;width:1px;padding:30px 0 4px 0}.ivu-steps-vertical .ivu-steps-tail>i{height:100%;width:1px}.ivu-steps-vertical .ivu-steps-tail>i:after{height:0;width:100%}.ivu-steps-vertical .ivu-steps-status-finish .ivu-steps-tail>i:after{height:100%}.ivu-steps-vertical .ivu-steps-head{float:left}.ivu-steps-vertical .ivu-steps-head-inner{margin-right:16px}.ivu-steps-vertical .ivu-steps-main{min-height:47px;overflow:hidden;display:block}.ivu-steps-vertical .ivu-steps-main .ivu-steps-title{line-height:26px}.ivu-steps-vertical .ivu-steps-main .ivu-steps-content{padding-bottom:12px;padding-left:0}.ivu-steps-vertical .ivu-steps-custom .ivu-steps-icon{left:4px}.ivu-steps-vertical.ivu-steps-small .ivu-steps-custom .ivu-steps-icon{left:0}.ivu-steps-vertical.ivu-steps-small .ivu-steps-tail{position:absolute;left:9px;top:0;padding:22px 0 4px 0}.ivu-steps-vertical.ivu-steps-small .ivu-steps-tail>i{height:100%}.ivu-steps-vertical.ivu-steps-small .ivu-steps-title{line-height:18px}.ivu-steps-horizontal.ivu-steps-hidden{visibility:hidden}.ivu-steps-horizontal .ivu-steps-tail{display:none}.ivu-steps-horizontal .ivu-steps-content{padding-left:45px}.ivu-steps-horizontal .ivu-steps-item:not(:first-child) .ivu-steps-head{padding-left:10px}.ivu-steps-horizontal .ivu-steps-item{overflow:hidden}.ivu-steps-horizontal .ivu-steps-item:last-child .ivu-steps-title:after{display:none}.ivu-steps-horizontal .ivu-steps-title{position:relative}.ivu-steps-horizontal .ivu-steps-title:after{content:"";position:absolute;width:9999px;height:1px;left:100%;top:50%;background:#e8eaec}.ivu-steps-horizontal .ivu-steps-status-finish .ivu-steps-title:after{background:#2d8cf0;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;opacity:1}.ivu-modal{width:auto;margin:0 auto;position:relative;outline:none;top:100px}.ivu-modal-hidden{display:none!important}.ivu-modal-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ivu-modal-wrap *{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ivu-modal-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ivu-modal-mask-hidden{display:none}.ivu-modal-content{position:relative;background-color:#fff;border:0;border-radius:6px;background-clip:padding-box;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ivu-modal-content-no-mask{pointer-events:auto}.ivu-modal-content-drag{position:absolute}.ivu-modal-content-drag .ivu-modal-header{cursor:move}.ivu-modal-content-dragging{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-modal-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-modal-header-inner,.ivu-modal-header p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-modal-header p i,.ivu-modal-header p span{vertical-align:middle}.ivu-modal-close{z-index:1;font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-modal-close .ivu-icon-ios-close{font-size:31px;color:#999;-webkit-transition:color .2s ease;transition:color .2s ease;position:relative;top:1px}.ivu-modal-close .ivu-icon-ios-close:hover{color:#444}.ivu-modal-body{padding:16px;font-size:12px;line-height:1.5}.ivu-modal-footer{border-top:1px solid #e8eaec;padding:12px 18px 12px 18px;text-align:right}.ivu-modal-footer button+button{margin-left:8px;margin-bottom:0}.ivu-modal-fullscreen{width:100%!important;top:0;bottom:0;position:absolute}.ivu-modal-fullscreen .ivu-modal-content{width:100%;border-radius:0;position:absolute;top:0;bottom:0}.ivu-modal-fullscreen .ivu-modal-body{width:100%;overflow:auto;position:absolute;top:51px;bottom:61px}.ivu-modal-fullscreen-no-header .ivu-modal-body{top:0}.ivu-modal-fullscreen-no-footer .ivu-modal-body{bottom:0}.ivu-modal-fullscreen .ivu-modal-footer{position:absolute;width:100%;bottom:0}.ivu-modal-no-mask{pointer-events:none}@media (max-width:576px){.ivu-modal{width:auto!important;margin:10px}.ivu-modal-fullscreen{width:100%!important;margin:0}.vertical-center-modal .ivu-modal{-webkit-box-flex:1;-ms-flex:1;flex:1}}.ivu-modal-confirm{padding:0 4px}.ivu-modal-confirm-head{padding:0 12px 0 0}.ivu-modal-confirm-head-icon{display:inline-block;font-size:28px;vertical-align:middle;position:relative;top:-2px}.ivu-modal-confirm-head-icon-info{color:#2d8cf0}.ivu-modal-confirm-head-icon-success{color:#19be6b}.ivu-modal-confirm-head-icon-warning{color:#f90}.ivu-modal-confirm-head-icon-error{color:#ed4014}.ivu-modal-confirm-head-icon-confirm{color:#f90}.ivu-modal-confirm-head-title{display:inline-block;vertical-align:middle;margin-left:12px;font-size:16px;color:#17233d;font-weight:700}.ivu-modal-confirm-body{padding-left:42px;font-size:14px;color:#515a6e;position:relative}.ivu-modal-confirm-body-render{margin:0;padding:0}.ivu-modal-confirm-footer{margin-top:20px;text-align:right}.ivu-modal-confirm-footer button+button{margin-left:8px;margin-bottom:0}.ivu-select{display:inline-block;width:100%;vertical-align:middle;color:#515a6e;font-size:14px;line-height:normal}.ivu-select,.ivu-select-selection{-webkit-box-sizing:border-box;box-sizing:border-box}.ivu-select-selection{display:block;outline:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1px solid #dcdee2;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-select-selection-focused,.ivu-select-selection:hover{border-color:#57a3f3}.ivu-select-selection-focused .ivu-select-arrow,.ivu-select-selection:hover .ivu-select-arrow{display:inline-block}.ivu-select-arrow{position:absolute;top:50%;right:8px;line-height:1;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:14px;color:#808695;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-select-visible .ivu-select-selection{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-select-visible .ivu-select-arrow{-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg);display:inline-block}.ivu-select-disabled .ivu-select-selection{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-select-disabled .ivu-select-selection:hover{border-color:#e3e5e8}.ivu-select-disabled .ivu-select-selection .ivu-select-arrow{color:#ccc}.ivu-select-disabled .ivu-select-selection:hover{border-color:#dcdee2;-webkit-box-shadow:none;box-shadow:none}.ivu-select-disabled .ivu-select-selection:hover .ivu-select-arrow{display:inline-block}.ivu-select-single .ivu-select-selection{height:32px;position:relative}.ivu-select-single .ivu-select-selection .ivu-select-placeholder{color:#c5c8ce}.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-single .ivu-select-selection .ivu-select-selected-value{display:block;height:30px;line-height:30px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:8px;padding-right:24px}.ivu-select-multiple .ivu-select-selection{padding:0 24px 0 4px}.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder{display:block;height:30px;line-height:30px;color:#c5c8ce;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:4px;padding-right:22px}.ivu-select-large.ivu-select-single .ivu-select-selection{height:36px}.ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-large.ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:34px;line-height:34px;font-size:14px}.ivu-select-large.ivu-select-multiple .ivu-select-selection{min-height:36px}.ivu-select-large.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,.ivu-select-large.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value{min-height:34px;line-height:34px;font-size:14px}.ivu-select-small.ivu-select-single .ivu-select-selection{height:24px;border-radius:3px}.ivu-select-small.ivu-select-single .ivu-select-selection .ivu-select-placeholder,.ivu-select-small.ivu-select-single .ivu-select-selection .ivu-select-selected-value{height:22px;line-height:22px}.ivu-select-small.ivu-select-multiple .ivu-select-selection{min-height:24px;border-radius:3px}.ivu-select-small.ivu-select-multiple .ivu-select-selection .ivu-select-placeholder,.ivu-select-small.ivu-select-multiple .ivu-select-selection .ivu-select-selected-value{height:auto;min-height:22px;line-height:22px}.ivu-select-input{display:inline-block;height:32px;line-height:32px;padding:0 24px 0 8px;font-size:12px;outline:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#515a6e;background-color:transparent;position:relative;cursor:pointer}.ivu-select-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-select-input:-ms-input-placeholder{color:#c5c8ce}.ivu-select-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-select-input[disabled]{cursor:not-allowed;color:#ccc;-webkit-text-fill-color:#ccc}.ivu-select-single .ivu-select-input{width:100%}.ivu-select-large .ivu-select-input{font-size:14px;height:36px}.ivu-select-small .ivu-select-input{height:22px;line-height:22px}.ivu-select-multiple .ivu-select-input{height:30px;line-height:32px;padding:0 0 0 4px}.ivu-select-not-found{text-align:center;color:#c5c8ce}.ivu-select-not-found li:not([class^=ivu-]){margin-bottom:0}.ivu-select-loading{text-align:center;color:#c5c8ce}.ivu-select-multiple .ivu-tag{height:24px;line-height:22px;margin:3px 4px 3px 0;max-width:99%;position:relative}.ivu-select-multiple .ivu-tag span:not(.ivu-select-max-tag){display:block;margin-right:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-select-multiple .ivu-tag i{display:block;position:absolute;right:4px;top:4px}.ivu-select-large.ivu-select-multiple .ivu-tag{height:28px;line-height:26px;font-size:14px}.ivu-select-large.ivu-select-multiple .ivu-tag i{top:6px}.ivu-select-small.ivu-select-multiple .ivu-tag{height:17px;line-height:15px;font-size:12px;padding:0 6px;margin:3px 4px 2px 0}.ivu-select-small.ivu-select-multiple .ivu-tag span{margin-right:14px}.ivu-select-small.ivu-select-multiple .ivu-tag i{top:1px;right:2px}.ivu-select-dropdown-list{min-width:100%;list-style:none}.ivu-select .ivu-select-dropdown{width:auto}.ivu-select-prefix{display:inline-block;vertical-align:middle}.ivu-select-prefix i{vertical-align:top}.ivu-select-head-with-prefix{display:inline-block!important;vertical-align:middle}.ivu-select-single .ivu-select-prefix{padding-left:4px}.ivu-select-multiple .ivu-select-head-with-prefix,.ivu-select-single .ivu-select-head-with-prefix{padding-left:0!important}.ivu-select-head-flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ivu-select-multiple .ivu-select-head-flex .ivu-select-prefix{margin-right:4px}.ivu-select-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-select-item-focus,.ivu-select-item:hover{background:#f3f3f3}.ivu-select-item-disabled,.ivu-select-item-disabled:hover{color:#c5c8ce;cursor:not-allowed}.ivu-select-item-disabled:hover{background-color:#fff}.ivu-select-item-selected,.ivu-select-item-selected:hover{color:#2d8cf0}.ivu-select-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-select-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-select-large .ivu-select-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-select-item{white-space:normal}}.ivu-select-multiple .ivu-select-item{position:relative}.ivu-select-multiple .ivu-select-item-selected{color:rgba(45,140,240,.9);background:#fff}.ivu-select-multiple .ivu-select-item-focus,.ivu-select-multiple .ivu-select-item-selected:hover{background:#f3f3f3}.ivu-select-multiple .ivu-select-item-selected.ivu-select-multiple .ivu-select-item-focus{color:rgba(40,123,211,.91);background:#fff}.ivu-select-multiple .ivu-select-item-selected:after{display:inline-block;font-family:Ionicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:middle;font-size:24px;content:"\F171";color:rgba(45,140,240,.9);position:absolute;top:2px;right:8px}.ivu-select-group{list-style:none;margin:0;padding:0}.ivu-select-group-title{padding-left:8px;font-size:12px;color:#999;height:30px;line-height:30px}.ivu-form-item-error .ivu-select-selection{border:1px solid #ed4014}.ivu-form-item-error .ivu-select-arrow{color:#ed4014}.ivu-form-item-error .ivu-select-visible .ivu-select-selection{border-color:#ed4014;outline:0;-webkit-box-shadow:0 0 0 2px rgba(237,64,20,.2);box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-select-dropdown{width:inherit;max-height:200px;overflow:auto;margin:5px 0;padding:5px 0;background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);position:absolute;z-index:900}.ivu-select-dropdown-transfer{z-index:1060;width:auto}.ivu-select-dropdown.ivu-transfer-no-max-height{max-height:none}.ivu-modal .ivu-select-dropdown{position:absolute!important}.ivu-split-wrapper{position:relative;width:100%;height:100%}.ivu-split-pane{position:absolute}.ivu-split-pane.left-pane,.ivu-split-pane.right-pane{top:0;bottom:0}.ivu-split-pane.left-pane{left:0}.ivu-split-pane.right-pane{right:0}.ivu-split-pane.bottom-pane,.ivu-split-pane.top-pane{left:0;right:0}.ivu-split-pane.top-pane{top:0}.ivu-split-pane.bottom-pane{bottom:0}.ivu-split-pane-moving{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-split-trigger{border:1px solid #dcdee2}.ivu-split-trigger-con{position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10}.ivu-split-trigger-bar-con{position:absolute;overflow:hidden}.ivu-split-trigger-bar-con.vertical{left:1px;top:50%;height:32px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ivu-split-trigger-bar-con.horizontal{left:50%;top:1px;width:32px;-webkit-transform:translate(-50%);transform:translate(-50%)}.ivu-split-trigger-vertical{width:6px;height:100%;background:#f8f8f9;border-top:none;border-bottom:none;cursor:col-resize}.ivu-split-trigger-vertical .ivu-split-trigger-bar{width:4px;height:1px;background:rgba(23,35,61,.25);float:left;margin-top:3px}.ivu-split-trigger-horizontal{height:6px;width:100%;background:#f8f8f9;border-left:none;border-right:none;cursor:row-resize}.ivu-split-trigger-horizontal .ivu-split-trigger-bar{height:4px;width:1px;background:rgba(23,35,61,.25);float:left;margin-right:3px}.ivu-split-horizontal>.ivu-split-trigger-con{top:50%;height:100%;width:0}.ivu-split-vertical>.ivu-split-trigger-con{left:50%;height:0;width:100%}.ivu-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-tooltip,.ivu-tooltip-rel{display:inline-block}.ivu-tooltip-rel{position:relative;width:inherit}.ivu-tooltip-popper{display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-tooltip-popper[x-placement^=top]{padding:5px 0 8px 0}.ivu-tooltip-popper[x-placement^=right]{padding:0 5px 0 8px}.ivu-tooltip-popper[x-placement^=bottom]{padding:8px 0 5px 0}.ivu-tooltip-popper[x-placement^=left]{padding:0 8px 0 5px}.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow{bottom:3px;border-width:5px 5px 0;border-top-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=top] .ivu-tooltip-arrow{left:50%;margin-left:-5px}.ivu-tooltip-popper[x-placement=top-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-popper[x-placement=top-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow{left:3px;border-width:5px 5px 5px 0;border-right-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=right] .ivu-tooltip-arrow{top:50%;margin-top:-5px}.ivu-tooltip-popper[x-placement=right-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-popper[x-placement=right-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow{right:3px;border-width:5px 0 5px 5px;border-left-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=left] .ivu-tooltip-arrow{top:50%;margin-top:-5px}.ivu-tooltip-popper[x-placement=left-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-popper[x-placement=left-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow{top:3px;border-width:0 5px 5px;border-bottom-color:rgba(70,76,91,.9)}.ivu-tooltip-popper[x-placement=bottom] .ivu-tooltip-arrow{left:50%;margin-left:-5px}.ivu-tooltip-popper[x-placement=bottom-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-popper[x-placement=bottom-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper{display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top]{padding:7px 0 10px 0}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right]{padding:0 7px 0 10px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom]{padding:10px 0 7px 0}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left]{padding:0 10px 0 7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow{bottom:3px;border-width:7px 7px 0;border-top-color:hsla(0,0%,85.1%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top] .ivu-tooltip-arrow{left:50%;margin-left:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=top-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow{left:3px;border-width:7px 7px 7px 0;border-right-color:hsla(0,0%,85.1%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right] .ivu-tooltip-arrow{top:50%;margin-top:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=right-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow{right:3px;border-width:7px 0 7px 7px;border-left-color:hsla(0,0%,85.1%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left] .ivu-tooltip-arrow{top:50%;margin-top:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left-start] .ivu-tooltip-arrow{top:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=left-end] .ivu-tooltip-arrow{bottom:8px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow{top:3px;border-width:0 7px 7px;border-bottom-color:hsla(0,0%,85.1%,.5)}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom] .ivu-tooltip-arrow{left:50%;margin-left:-7px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom-start] .ivu-tooltip-arrow{left:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement=bottom-end] .ivu-tooltip-arrow{right:16px}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=top] .ivu-tooltip-arrow:after{content:" ";bottom:1px;margin-left:-7px;border-bottom-width:0;border-top-width:7px;border-top-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=right] .ivu-tooltip-arrow:after{content:" ";left:1px;bottom:-7px;border-left-width:0;border-right-width:7px;border-right-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=bottom] .ivu-tooltip-arrow:after{content:" ";top:1px;margin-left:-7px;border-top-width:0;border-bottom-width:7px;border-bottom-color:#fff}.ivu-tooltip-light.ivu-tooltip-popper[x-placement^=left] .ivu-tooltip-arrow:after{content:" ";right:1px;border-right-width:0;border-left-width:7px;border-left-color:#fff;bottom:-7px}.ivu-tooltip-inner{max-width:250px;min-height:34px;padding:8px 12px;color:#fff;text-align:left;text-decoration:none;background-color:rgba(70,76,91,.9);border-radius:4px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap}.ivu-tooltip-inner-with-width{white-space:pre-wrap;text-align:justify}.ivu-tooltip-light .ivu-tooltip-inner{background-color:#fff;color:#515a6e}.ivu-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.ivu-tooltip-light .ivu-tooltip-arrow{border-width:8px}.ivu-tooltip-light .ivu-tooltip-arrow:after{display:block;width:0;height:0;position:absolute;border-color:transparent;border-style:solid;content:"";border-width:7px}.ivu-poptip,.ivu-poptip-rel{display:inline-block}.ivu-poptip-rel{position:relative}.ivu-poptip-title{margin:0;padding:8px 16px;position:relative}.ivu-poptip-title:after{content:"";display:block;height:1px;position:absolute;left:8px;right:8px;bottom:0;background-color:#e8eaec}.ivu-poptip-title-inner{color:#17233d;font-size:14px}.ivu-poptip-body{padding:8px 16px}.ivu-poptip-body-content{overflow:auto}.ivu-poptip-body-content-word-wrap{white-space:pre-wrap;text-align:justify}.ivu-poptip-body-content-inner{color:#515a6e}.ivu-poptip-inner{width:100%;background-color:#fff;background-clip:padding-box;border-radius:4px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px rgba(0,0,0,.2);white-space:nowrap}.ivu-poptip-popper{min-width:150px;display:block;visibility:visible;font-size:12px;line-height:1.5;position:absolute;z-index:1060}.ivu-poptip-popper[x-placement^=top]{padding:7px 0 10px 0}.ivu-poptip-popper[x-placement^=right]{padding:0 7px 0 10px}.ivu-poptip-popper[x-placement^=bottom]{padding:10px 0 7px 0}.ivu-poptip-popper[x-placement^=left]{padding:0 10px 0 7px}.ivu-poptip-popper[x-placement^=top] .ivu-poptip-arrow{bottom:3px;border-width:7px 7px 0;border-top-color:hsla(0,0%,85.1%,.5)}.ivu-poptip-popper[x-placement=top] .ivu-poptip-arrow{left:50%;margin-left:-7px}.ivu-poptip-popper[x-placement=top-start] .ivu-poptip-arrow{left:16px}.ivu-poptip-popper[x-placement=top-end] .ivu-poptip-arrow{right:16px}.ivu-poptip-popper[x-placement^=right] .ivu-poptip-arrow{left:3px;border-width:7px 7px 7px 0;border-right-color:hsla(0,0%,85.1%,.5)}.ivu-poptip-popper[x-placement=right] .ivu-poptip-arrow{top:50%;margin-top:-7px}.ivu-poptip-popper[x-placement=right-start] .ivu-poptip-arrow{top:8px}.ivu-poptip-popper[x-placement=right-end] .ivu-poptip-arrow{bottom:8px}.ivu-poptip-popper[x-placement^=left] .ivu-poptip-arrow{right:3px;border-width:7px 0 7px 7px;border-left-color:hsla(0,0%,85.1%,.5)}.ivu-poptip-popper[x-placement=left] .ivu-poptip-arrow{top:50%;margin-top:-7px}.ivu-poptip-popper[x-placement=left-start] .ivu-poptip-arrow{top:8px}.ivu-poptip-popper[x-placement=left-end] .ivu-poptip-arrow{bottom:8px}.ivu-poptip-popper[x-placement^=bottom] .ivu-poptip-arrow{top:3px;border-width:0 7px 7px;border-bottom-color:hsla(0,0%,85.1%,.5)}.ivu-poptip-popper[x-placement=bottom] .ivu-poptip-arrow{left:50%;margin-left:-7px}.ivu-poptip-popper[x-placement=bottom-start] .ivu-poptip-arrow{left:16px}.ivu-poptip-popper[x-placement=bottom-end] .ivu-poptip-arrow{right:16px}.ivu-poptip-popper[x-placement^=top] .ivu-poptip-arrow:after{content:" ";bottom:1px;margin-left:-7px;border-bottom-width:0;border-top-width:7px;border-top-color:#fff}.ivu-poptip-popper[x-placement^=right] .ivu-poptip-arrow:after{content:" ";left:1px;bottom:-7px;border-left-width:0;border-right-width:7px;border-right-color:#fff}.ivu-poptip-popper[x-placement^=bottom] .ivu-poptip-arrow:after{content:" ";top:1px;margin-left:-7px;border-top-width:0;border-bottom-width:7px;border-bottom-color:#fff}.ivu-poptip-popper[x-placement^=left] .ivu-poptip-arrow:after{content:" ";right:1px;border-right-width:0;border-left-width:7px;border-left-color:#fff;bottom:-7px}.ivu-poptip-arrow,.ivu-poptip-arrow:after{display:block;width:0;height:0;position:absolute;border-color:transparent;border-style:solid}.ivu-poptip-arrow{border-width:8px}.ivu-poptip-arrow:after{content:"";border-width:7px}.ivu-poptip-confirm .ivu-poptip-popper{max-width:300px}.ivu-poptip-confirm .ivu-poptip-inner{white-space:normal}.ivu-poptip-confirm .ivu-poptip-body{padding:16px 16px 8px}.ivu-poptip-confirm .ivu-poptip-body .ivu-icon{font-size:16px;color:#f90;line-height:18px;position:absolute}.ivu-poptip-confirm .ivu-poptip-body-message{padding-left:20px}.ivu-poptip-confirm .ivu-poptip-footer{text-align:right;padding:8px 16px 16px}.ivu-poptip-confirm .ivu-poptip-footer button{margin-left:4px}.ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;-webkit-transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-input:-ms-input-placeholder{color:#c5c8ce}.ivu-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-input:focus,.ivu-input:hover{border-color:#57a3f3}.ivu-input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-input[disabled],fieldset[disabled] .ivu-input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-input[disabled]:hover,fieldset[disabled] .ivu-input:hover{border-color:#e3e5e8}textarea.ivu-input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-input-wrapper{display:inline-block;width:100%;position:relative;vertical-align:middle;line-height:normal}.ivu-input-icon{width:32px;height:32px;line-height:32px;font-size:16px;text-align:center;color:#808695;position:absolute;right:0;z-index:3}.ivu-input-hide-icon .ivu-input-icon,.ivu-input-icon-clear,.ivu-input-icon-validate{display:none}.ivu-input-wrapper:hover .ivu-input-icon-clear{display:inline-block}.ivu-input-icon-normal+.ivu-input{padding-right:32px}.ivu-input-hide-icon .ivu-input-icon-normal+.ivu-input{padding-right:7px}.ivu-input-wrapper-large .ivu-input-icon{font-size:18px;height:36px;line-height:36px}.ivu-input-wrapper-small .ivu-input-icon{width:24px;font-size:14px;height:24px;line-height:24px}.ivu-input-prefix,.ivu-input-suffix{width:32px;height:100%;text-align:center;position:absolute;left:0;top:0;z-index:1}.ivu-input-prefix i,.ivu-input-suffix i{font-size:16px;line-height:32px;color:#808695}.ivu-input-suffix{left:auto;right:0}.ivu-input-wrapper-small .ivu-input-prefix i,.ivu-input-wrapper-small .ivu-input-suffix i{font-size:14px;line-height:24px}.ivu-input-wrapper-large .ivu-input-prefix i,.ivu-input-wrapper-large .ivu-input-suffix i{font-size:18px;line-height:36px}.ivu-input-with-prefix{padding-left:32px}.ivu-input-with-suffix{padding-right:32px}.ivu-input-search{cursor:pointer;padding:0 16px!important;background:#2d8cf0!important;color:#fff!important;border-color:#2d8cf0!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:relative;z-index:2}.ivu-input-search i{font-size:16px}.ivu-input-search:hover{background:#57a3f3!important;border-color:#57a3f3!important}.ivu-input-search:active{background:#2b85e4!important;border-color:#2b85e4!important}.ivu-input-search-icon{cursor:pointer;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-input-search-icon:hover{color:inherit}.ivu-input-search:before{content:"";display:block;width:1px;position:absolute;top:-1px;bottom:-1px;left:-1px;background:inherit}.ivu-input-wrapper-small .ivu-input-search{padding:0 12px!important}.ivu-input-wrapper-small .ivu-input-search i{font-size:14px}.ivu-input-wrapper-large .ivu-input-search{padding:0 20px!important}.ivu-input-wrapper-large .ivu-input-search i{font-size:18px}.ivu-input-with-search:hover .ivu-input{border-color:#57a3f3}.ivu-input-group{display:table;width:100%;border-collapse:separate;position:relative;font-size:12px;top:1px}.ivu-input-group-large{font-size:14px}.ivu-input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ivu-input-group>[class*=col-]{padding-right:8px}.ivu-input-group-append,.ivu-input-group-prepend,.ivu-input-group>.ivu-input{display:table-cell}.ivu-input-group-with-prepend .ivu-input,.ivu-input-group-with-prepend.ivu-input-group-small .ivu-input{border-top-left-radius:0;border-bottom-left-radius:0}.ivu-input-group-with-append .ivu-input,.ivu-input-group-with-append.ivu-input-group-small .ivu-input{border-top-right-radius:0;border-bottom-right-radius:0}.ivu-input-group-append .ivu-btn,.ivu-input-group-prepend .ivu-btn{border-color:transparent;background-color:transparent;color:inherit;margin:-6px -7px}.ivu-input-group-append,.ivu-input-group-prepend{width:1px;white-space:nowrap;vertical-align:middle}.ivu-input-group .ivu-input,.ivu-input-group .ivu-input-inner-container{width:100%;float:left;margin-bottom:0;position:relative;z-index:2}.ivu-input-group-append,.ivu-input-group-prepend{padding:4px 7px;font-size:inherit;font-weight:400;line-height:1;color:#515a6e;text-align:center;background-color:#f8f8f9;border:1px solid #dcdee2;border-radius:4px}.ivu-input-group-append .ivu-select,.ivu-input-group-prepend .ivu-select{margin:-5px -7px}.ivu-input-group-append .ivu-select-selection,.ivu-input-group-prepend .ivu-select-selection{background-color:inherit;margin:-1px;border:1px solid transparent}.ivu-input-group-append .ivu-select-visible .ivu-select-selection,.ivu-input-group-prepend .ivu-select-visible .ivu-select-selection{-webkit-box-shadow:none;box-shadow:none}.ivu-input-group-prepend,.ivu-input-group>.ivu-input:first-child,.ivu-input-group>span>.ivu-input:first-child{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.ivu-input-group-prepend .ivu--select .ivu--select-selection,.ivu-input-group>.ivu-input:first-child .ivu--select .ivu--select-selection,.ivu-input-group>span>.ivu-input:first-child .ivu--select .ivu--select-selection{border-bottom-right-radius:0;border-top-right-radius:0}.ivu-input-group-prepend{border-right:0}.ivu-input-group-append{border-left:0}.ivu-input-group-append,.ivu-input-group>.ivu-input:last-child{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.ivu-input-group-append .ivu--select .ivu--select-selection,.ivu-input-group>.ivu-input:last-child .ivu--select .ivu--select-selection{border-bottom-left-radius:0;border-top-left-radius:0}.ivu-input-group-large .ivu-input,.ivu-input-group-large>.ivu-input-group-append,.ivu-input-group-large>.ivu-input-group-prepend{font-size:14px;padding:6px 7px;height:36px}.ivu-input-group-small .ivu-input,.ivu-input-group-small>.ivu-input-group-append,.ivu-input-group-small>.ivu-input-group-prepend{padding:1px 7px;height:24px;border-radius:3px}.ivu-form-item-error .ivu-input{border:1px solid #ed4014}.ivu-form-item-error .ivu-input:hover{border-color:#ed4014}.ivu-form-item-error .ivu-input:focus{border-color:#ed4014;outline:0;-webkit-box-shadow:0 0 0 2px rgba(237,64,20,.2);box-shadow:0 0 0 2px rgba(237,64,20,.2)}.ivu-form-item-error .ivu-input-icon{color:#ed4014}.ivu-form-item-error .ivu-input-group-append,.ivu-form-item-error .ivu-input-group-prepend{background-color:#fff;border:1px solid #ed4014}.ivu-form-item-error .ivu-input-group-append .ivu-select-selection,.ivu-form-item-error .ivu-input-group-prepend .ivu-select-selection{background-color:inherit;border:1px solid transparent}.ivu-form-item-error .ivu-input-group-prepend{border-right:0}.ivu-form-item-error .ivu-input-group-append{border-left:0}.ivu-form-item-error .ivu-transfer .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:12px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;-webkit-transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-form-item-error .ivu-transfer .ivu-input::-moz-placeholder{color:#c5c8ce;opacity:1}.ivu-form-item-error .ivu-transfer .ivu-input:-ms-input-placeholder{color:#c5c8ce}.ivu-form-item-error .ivu-transfer .ivu-input::-webkit-input-placeholder{color:#c5c8ce}.ivu-form-item-error .ivu-transfer .ivu-input:hover{border-color:#57a3f3}.ivu-form-item-error .ivu-transfer .ivu-input:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-form-item-error .ivu-transfer .ivu-input[disabled],fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-form-item-error .ivu-transfer .ivu-input[disabled]:hover,fieldset[disabled] .ivu-form-item-error .ivu-transfer .ivu-input:hover{border-color:#e3e5e8}textarea.ivu-form-item-error .ivu-transfer .ivu-input{max-width:100%;height:auto;min-height:32px;vertical-align:bottom;font-size:14px}.ivu-form-item-error .ivu-transfer .ivu-input-large{font-size:14px;padding:6px 7px;height:36px}.ivu-form-item-error .ivu-transfer .ivu-input-small{padding:1px 7px;height:24px;border-radius:3px}.ivu-form-item-error .ivu-transfer .ivu-input-icon{color:#808695}.ivu-form-item-validating .ivu-input-icon-validate{display:inline-block}.ivu-form-item-validating .ivu-input-icon+.ivu-input{padding-right:32px}.ivu-slider{line-height:normal}.ivu-slider-wrap{width:100%;height:4px;margin:16px 0;background-color:#e8eaec;border-radius:3px;vertical-align:middle;position:relative;cursor:pointer}.ivu-slider-button-wrap{width:18px;height:18px;text-align:center;background-color:transparent;position:absolute;top:-4px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ivu-slider-button-wrap .ivu-tooltip{display:block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-slider-button{width:12px;height:12px;border:2px solid #57a3f3;border-radius:50%;background-color:#fff;-webkit-transition:all .2s linear;transition:all .2s linear;outline:0}.ivu-slider-button-dragging,.ivu-slider-button:focus,.ivu-slider-button:hover{border-color:#2d8cf0;-webkit-transform:scale(1.5);transform:scale(1.5)}.ivu-slider-button:hover{cursor:-webkit-grab;cursor:grab}.ivu-slider-button-dragging,.ivu-slider-button-dragging:hover{cursor:-webkit-grabbing;cursor:grabbing}.ivu-slider-bar{height:4px;background:#57a3f3;border-radius:3px;position:absolute}.ivu-slider-stop{position:absolute;width:4px;height:4px;border-radius:50%;background-color:#ccc;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ivu-slider-marks{top:0;left:12px;width:18px;height:100%}.ivu-slider-marks-item{position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);color:#808695;margin-top:15px}.ivu-slider-disabled{cursor:not-allowed}.ivu-slider-disabled .ivu-slider-wrap{background-color:#ccc;cursor:not-allowed}.ivu-slider-disabled .ivu-slider-bar{background-color:#ccc}.ivu-slider-disabled .ivu-slider-button,.ivu-slider-disabled .ivu-slider-button-dragging,.ivu-slider-disabled .ivu-slider-button:hover{border-color:#ccc}.ivu-slider-disabled .ivu-slider-button-dragging,.ivu-slider-disabled .ivu-slider-button-dragging:hover,.ivu-slider-disabled .ivu-slider-button:hover{cursor:not-allowed}.ivu-slider-input .ivu-slider-wrap{width:auto;margin-right:100px}.ivu-slider-input .ivu-input-number{float:right;margin-top:-14px}.selectDropDown{width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader{line-height:normal}.ivu-cascader-rel{display:inline-block;width:100%;position:relative}.ivu-cascader .ivu-input{padding-right:24px;display:block;cursor:pointer}.ivu-cascader-disabled .ivu-input{cursor:not-allowed}.ivu-cascader-label{width:100%;height:100%;line-height:32px;padding:0 7px;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer;font-size:12px;position:absolute;left:0;top:0}.ivu-cascader-size-large .ivu-cascader-label{line-height:36px;font-size:14px}.ivu-cascader-size-small .ivu-cascader-label{line-height:26px}.ivu-cascader .ivu-cascader-arrow:first-of-type{display:none;cursor:pointer}.ivu-cascader:hover .ivu-cascader-arrow:first-of-type{display:inline-block}.ivu-cascader-show-clear:hover .ivu-cascader-arrow:nth-of-type(2){display:none}.ivu-cascader-arrow{position:absolute;top:50%;right:8px;line-height:1;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:14px;color:#808695;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-cascader-visible .ivu-cascader-arrow:nth-of-type(2){-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.ivu-cascader .ivu-select-dropdown{width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader .ivu-cascader-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-cascader .ivu-cascader-menu-item-focus,.ivu-cascader .ivu-cascader-menu-item:hover{background:#f3f3f3}.ivu-cascader .ivu-cascader-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-cascader .ivu-cascader-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-cascader .ivu-cascader-menu-item-selected,.ivu-cascader .ivu-cascader-menu-item-selected:hover{color:#2d8cf0}.ivu-cascader .ivu-cascader-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cascader .ivu-cascader-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cascader .ivu-cascader-large .ivu-cascader-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cascader .ivu-cascader-menu-item{white-space:normal}}.ivu-cascader .ivu-select-item span{color:#ed4014}.ivu-cascader-dropdown{padding:5px 0}.ivu-cascader-dropdown .ivu-select-dropdown-list{max-height:190px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:auto}.ivu-cascader-not-found-tip{padding:5px 0;text-align:center;color:#c5c8ce}.ivu-cascader-not-found-tip li:not([class^=ivu-]){list-style:none;margin-bottom:0}.ivu-cascader-not-found .ivu-select-dropdown{width:inherit}.ivu-cascader-menu{display:inline-block;min-width:100px;height:180px;margin:0;padding:5px 0!important;vertical-align:top;list-style:none;border-right:1px solid #e8eaec;overflow:auto}.ivu-cascader-menu:last-child{border-right-color:transparent;margin-right:-1px}.ivu-cascader-menu .ivu-cascader-menu-item{position:relative;padding-right:36px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-cascader-menu .ivu-cascader-menu-item i{font-size:12px;position:absolute;right:15px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ivu-cascader-menu .ivu-cascader-menu-item-loading{margin-top:-6px}.ivu-cascader-menu .ivu-cascader-menu-item-active{background-color:#f3f3f3;color:#2d8cf0}.ivu-cascader-transfer{z-index:1060;width:auto;padding:0;white-space:nowrap;overflow:visible}.ivu-cascader-transfer .ivu-cascader-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-cascader-transfer .ivu-cascader-menu-item-focus,.ivu-cascader-transfer .ivu-cascader-menu-item:hover{background:#f3f3f3}.ivu-cascader-transfer .ivu-cascader-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-cascader-transfer .ivu-cascader-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-cascader-transfer .ivu-cascader-menu-item-selected,.ivu-cascader-transfer .ivu-cascader-menu-item-selected:hover{color:#2d8cf0}.ivu-cascader-transfer .ivu-cascader-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cascader-transfer .ivu-cascader-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cascader-transfer .ivu-cascader-large .ivu-cascader-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cascader-transfer .ivu-cascader-menu-item{white-space:normal}}.ivu-cascader-transfer .ivu-select-item span{color:#ed4014}.ivu-cascader-transfer .ivu-cascader-menu-item{padding-right:24px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-cascader-transfer .ivu-cascader-menu-item-active{background-color:#f3f3f3;color:#2d8cf0}.ivu-form-item-error .ivu-cascader-arrow{color:#ed4014}.ivu-transfer{position:relative;line-height:1.5}.ivu-transfer-list{display:inline-block;width:180px;height:210px;font-size:12px;vertical-align:middle;position:relative;padding-top:35px}.ivu-transfer-list-with-footer{padding-bottom:35px}.ivu-transfer-list-header{padding:8px 16px;background:#f9fafc;color:#515a6e;border:1px solid #dcdee2;border-bottom:1px solid #e8eaec;border-radius:6px 6px 0 0;overflow:hidden;position:absolute;top:0;left:0;width:100%}.ivu-transfer-list-header-title{cursor:pointer}.ivu-transfer-list-header>span{padding-left:4px}.ivu-transfer-list-header-count{margin:0!important;float:right}.ivu-transfer-list-body{height:100%;border:1px solid #dcdee2;border-top:none;border-radius:0 0 6px 6px;position:relative;overflow:hidden}.ivu-transfer-list-body-with-search{padding-top:34px}.ivu-transfer-list-body-with-footer{border-radius:0}.ivu-transfer-list-content{height:100%;padding:4px 0;overflow:auto}.ivu-transfer-list-content-item{overflow:hidden;text-overflow:ellipsis}.ivu-transfer-list-content-item>span{padding-left:4px}.ivu-transfer-list-content-not-found{display:none;text-align:center;color:#c5c8ce}li.ivu-transfer-list-content-not-found:only-child{display:block}.ivu-transfer-list-body-with-search .ivu-transfer-list-content{padding:6px 0 0}.ivu-transfer-list-body-search-wrapper{padding:8px 8px 0;position:absolute;top:0;left:0;right:0}.ivu-transfer-list-search{position:relative}.ivu-transfer-list-footer{border:1px solid #dcdee2;border-top:none;border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0;right:0;zoom:1}.ivu-transfer-list-footer:after,.ivu-transfer-list-footer:before{content:"";display:table}.ivu-transfer-list-footer:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-transfer-operation{display:inline-block;margin:0 16px;vertical-align:middle}.ivu-transfer-operation .ivu-btn{display:block;min-width:24px}.ivu-transfer-operation .ivu-btn:first-child{margin-bottom:12px}.ivu-transfer-operation .ivu-btn span i,.ivu-transfer-operation .ivu-btn span span{vertical-align:middle}.ivu-transfer-list-content-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-transfer-list-content-item-focus,.ivu-transfer-list-content-item:hover{background:#f3f3f3}.ivu-transfer-list-content-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-transfer-list-content-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-transfer-list-content-item-selected,.ivu-transfer-list-content-item-selected:hover{color:#2d8cf0}.ivu-transfer-list-content-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-transfer-list-content-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-transfer-large .ivu-transfer-list-content-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-transfer-list-content-item{white-space:normal}}.ivu-table{width:inherit;height:100%;max-width:100%;overflow:hidden;color:#515a6e;font-size:12px;background-color:#fff;-webkit-box-sizing:border-box;box-sizing:border-box}.ivu-table-wrapper{position:relative;border:1px solid #dcdee2;border-bottom:0;border-right:0;overflow:hidden}.ivu-table-hide{opacity:0}.ivu-table:before{width:100%;height:1px;left:0;bottom:0;z-index:1}.ivu-table:after,.ivu-table:before{content:"";position:absolute;background-color:#dcdee2}.ivu-table:after{width:1px;height:100%;top:0;right:0;z-index:3}.ivu-table-footer,.ivu-table-title{height:48px;line-height:48px;border-bottom:1px solid #e8eaec}.ivu-table-footer{border-bottom:none}.ivu-table-header{overflow:hidden}.ivu-table-overflowX{overflow-x:scroll}.ivu-table-overflowY{overflow-y:scroll}.ivu-table-tip{overflow-x:auto;overflow-y:hidden}.ivu-table-with-fixed-top.ivu-table-with-footer .ivu-table-footer{border-top:1px solid #dcdee2}.ivu-table-with-fixed-top.ivu-table-with-footer tbody tr:last-child td{border-bottom:none}.ivu-table td,.ivu-table th{min-width:0;height:48px;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1px solid #e8eaec}.ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f8f8f9}.ivu-table td{background-color:#fff;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}td.ivu-table-column-left,th.ivu-table-column-left{text-align:left}td.ivu-table-column-center,th.ivu-table-column-center{text-align:center}td.ivu-table-column-right,th.ivu-table-column-right{text-align:right}.ivu-table table{table-layout:fixed}.ivu-table-border td,.ivu-table-border th{border-right:1px solid #e8eaec}.ivu-table-cell{padding-left:18px;padding-right:18px;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;-webkit-box-sizing:border-box;box-sizing:border-box}.ivu-table-cell-ellipsis{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ivu-table-cell-tooltip{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ivu-table-cell-tooltip-content{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-table-cell-with-expand{height:47px;line-height:47px;padding:0;text-align:center}.ivu-table-cell-expand{cursor:pointer;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.ivu-table-cell-expand i{font-size:14px}.ivu-table-cell-expand-expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ivu-table-cell-sort{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-table-cell-with-selection .ivu-checkbox-wrapper{margin-right:0}.ivu-table-hidden{visibility:hidden}th .ivu-table-cell{display:inline-block;word-wrap:normal;vertical-align:middle}td.ivu-table-expanded-cell{padding:20px 50px;background:#f8f8f9}.ivu-table-stripe .ivu-table-body tr:nth-child(2n) td,.ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td{background-color:#f8f8f9}.ivu-table-stripe .ivu-table-body tr.ivu-table-row-hover td,.ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-hover td,tr.ivu-table-row-hover td{background-color:#ebf7ff}.ivu-table-large{font-size:14px}.ivu-table-large th{height:48px}.ivu-table-large td{height:60px}.ivu-table-large-footer,.ivu-table-large-title{height:60px;line-height:60px}.ivu-table-large .ivu-table-cell-with-expand{height:59px;line-height:59px}.ivu-table-large .ivu-table-cell-with-expand i{font-size:16px}.ivu-table-small th{height:32px}.ivu-table-small td{height:40px}.ivu-table-small-footer,.ivu-table-small-title{height:40px;line-height:40px}.ivu-table-small .ivu-table-cell-with-expand{height:39px;line-height:39px}.ivu-table-row-highlight td,.ivu-table-stripe .ivu-table-body tr.ivu-table-row-highlight:nth-child(2n) td,.ivu-table-stripe .ivu-table-fixed-body tr.ivu-table-row-highlight:nth-child(2n) td,tr.ivu-table-row-highlight.ivu-table-row-hover td{background-color:#ebf7ff}.ivu-table-fixed,.ivu-table-fixed-right{position:absolute;top:0;left:0;-webkit-box-shadow:2px 0 6px -2px rgba(0,0,0,.2);box-shadow:2px 0 6px -2px rgba(0,0,0,.2)}.ivu-table-fixed-right:before,.ivu-table-fixed:before{content:"";width:100%;height:1px;background-color:#dcdee2;position:absolute;left:0;bottom:0;z-index:4}.ivu-table-fixed-right{top:0;left:auto;right:0;-webkit-box-shadow:-2px 0 6px -2px rgba(0,0,0,.2);box-shadow:-2px 0 6px -2px rgba(0,0,0,.2)}.ivu-table-fixed-right-header{position:absolute;top:-1px;right:0;background-color:#f8f8f9;border-top:1px solid #dcdee2;border-bottom:1px solid #e8eaec}.ivu-table-fixed-header{overflow:hidden}.ivu-table-fixed-body{overflow:hidden;position:relative;z-index:3}.ivu-table-fixed-shadow{width:1px;height:100%;position:absolute;top:0;right:0;-webkit-box-shadow:1px 0 6px rgba(0,0,0,.2);box-shadow:1px 0 6px rgba(0,0,0,.2);overflow:hidden;z-index:1}.ivu-table-sort{display:inline-block;width:14px;height:12px;margin-top:-1px;vertical-align:middle;overflow:hidden;cursor:pointer;position:relative}.ivu-table-sort i{display:block;height:6px;line-height:6px;overflow:hidden;position:absolute;color:#c5c8ce;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out;font-size:16px}.ivu-table-sort i:hover{color:inherit}.ivu-table-sort i.on{color:#2d8cf0}.ivu-table-sort i:first-child{top:0}.ivu-table-sort i:last-child{bottom:0}.ivu-table-filter{display:inline-block;cursor:pointer;position:relative}.ivu-table-filter i{color:#c5c8ce;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-table-filter i:hover{color:inherit}.ivu-table-filter i.on{color:#2d8cf0}.ivu-table-filter-list{padding:8px 0 0}.ivu-table-filter-list-item{padding:0 12px 8px}.ivu-table-filter-list-item .ivu-checkbox-wrapper+.ivu-checkbox-wrapper{margin:0}.ivu-table-filter-list-item label{display:block}.ivu-table-filter-list-item label>span{margin-right:4px}.ivu-table-filter-list ul{padding-bottom:8px}.ivu-table-filter-list .ivu-table-filter-select-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-table-filter-list .ivu-table-filter-select-item-focus,.ivu-table-filter-list .ivu-table-filter-select-item:hover{background:#f3f3f3}.ivu-table-filter-list .ivu-table-filter-select-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-table-filter-list .ivu-table-filter-select-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-table-filter-list .ivu-table-filter-select-item-selected,.ivu-table-filter-list .ivu-table-filter-select-item-selected:hover{color:#2d8cf0}.ivu-table-filter-list .ivu-table-filter-select-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-table-filter-list .ivu-table-filter-select-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-table-filter-list .ivu-table-large .ivu-table-filter-select-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-table-filter-list .ivu-table-filter-select-item{white-space:normal}}.ivu-table-filter-footer{padding:4px;border-top:1px solid #e8eaec;overflow:hidden}.ivu-table-filter-footer button:first-child{float:left}.ivu-table-filter-footer button:last-child{float:right}.ivu-table-tip table{width:100%}.ivu-table-tip table td{text-align:center}.ivu-table-expanded-hidden{visibility:hidden}.ivu-table-popper{min-width:0;text-align:left}.ivu-table-popper .ivu-poptip-body{padding:0}.ivu-dropdown{display:inline-block}.ivu-dropdown .ivu-select-dropdown{overflow:visible;max-height:none}.ivu-dropdown .ivu-dropdown{width:100%}.ivu-dropdown-rel{position:relative}.ivu-dropdown-rel-user-select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-dropdown-menu{min-width:100px}.ivu-dropdown-transfer{width:auto}.ivu-dropdown-item-selected,.ivu-dropdown-item.ivu-dropdown-item-selected:hover{background:#f0faff}.ivu-dropdown-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-dropdown-item-focus,.ivu-dropdown-item:hover{background:#f3f3f3}.ivu-dropdown-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-dropdown-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-dropdown-item-selected,.ivu-dropdown-item-selected:hover{color:#2d8cf0}.ivu-dropdown-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-dropdown-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-dropdown-large .ivu-dropdown-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-dropdown-item{white-space:normal}}.ivu-tabs{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;overflow:hidden;color:#515a6e;zoom:1}.ivu-tabs:after,.ivu-tabs:before{content:"";display:table}.ivu-tabs:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-tabs-bar{outline:none}.ivu-tabs-ink-bar{height:2px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#2d8cf0;position:absolute;left:0;bottom:1px;z-index:1;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.ivu-tabs-bar{border-bottom:1px solid #dcdee2;margin-bottom:16px}.ivu-tabs-nav-container{margin-bottom:-1px;line-height:1.5;font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;overflow:hidden;position:relative;zoom:1}.ivu-tabs-nav-container:after,.ivu-tabs-nav-container:before{content:"";display:table}.ivu-tabs-nav-container:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-tabs-nav-container:focus{outline:none}.ivu-tabs-nav-container:focus .ivu-tabs-tab-focused{border-color:#57a3f3!important}.ivu-tabs-nav-container-scrolling{padding-left:32px;padding-right:32px}.ivu-tabs-nav-wrap{overflow:hidden;margin-bottom:-1px}.ivu-tabs-nav-scroll{overflow:hidden;white-space:nowrap}.ivu-tabs-nav-right{float:right;margin-left:5px}.ivu-tabs-nav-prev{left:0}.ivu-tabs-nav-next,.ivu-tabs-nav-prev{position:absolute;line-height:32px;cursor:pointer}.ivu-tabs-nav-next{right:0}.ivu-tabs-nav-scrollable{padding:0 12px}.ivu-tabs-nav-scroll-disabled{display:none}.ivu-tabs-nav{padding-left:0;margin:0;float:left;list-style:none;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-webkit-transition:-webkit-transform .5s ease-in-out;transition:-webkit-transform .5s ease-in-out;transition:transform .5s ease-in-out;transition:transform .5s ease-in-out,-webkit-transform .5s ease-in-out}.ivu-tabs-nav:after,.ivu-tabs-nav:before{display:table;content:" "}.ivu-tabs-nav:after{clear:both}.ivu-tabs-nav .ivu-tabs-tab-disabled{pointer-events:none;cursor:default;color:#ccc}.ivu-tabs-nav .ivu-tabs-tab{display:inline-block;height:100%;padding:8px 16px;margin-right:16px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;text-decoration:none;position:relative;-webkit-transition:color .3s ease-in-out;transition:color .3s ease-in-out}.ivu-tabs-nav .ivu-tabs-tab:hover{color:#57a3f3}.ivu-tabs-nav .ivu-tabs-tab:active{color:#2b85e4}.ivu-tabs-nav .ivu-tabs-tab .ivu-icon{width:14px;height:14px;margin-right:8px}.ivu-tabs-nav .ivu-tabs-tab-active{color:#2d8cf0}.ivu-tabs-mini .ivu-tabs-nav-container{font-size:14px}.ivu-tabs-mini .ivu-tabs-tab{margin-right:0;padding:8px 16px;font-size:12px}.ivu-tabs .ivu-tabs-content-animated{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;will-change:transform;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.ivu-tabs .ivu-tabs-tabpane{-ms-flex-negative:0;flex-shrink:0;width:100%;-webkit-transition:opacity .3s;transition:opacity .3s;opacity:1;outline:none}.ivu-tabs .ivu-tabs-tabpane-inactive{opacity:0;height:0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-nav-container{height:32px}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-ink-bar{visibility:hidden}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab{margin:0;margin-right:4px;height:31px;padding:5px 16px 4px;border:1px solid #dcdee2;border-bottom:0;border-radius:4px 4px 0 0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;background:#f8f8f9}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active{height:32px;padding-bottom:5px;background:#fff;-webkit-transform:translateZ(0);transform:translateZ(0);border-color:#dcdee2;color:#2d8cf0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-nav-wrap{margin-bottom:0}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab .ivu-tabs-close{width:0;height:22px;font-size:22px;margin-right:0;color:#999;text-align:right;vertical-align:middle;overflow:hidden;position:relative;top:-1px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab .ivu-tabs-close:hover{color:#444}.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab-active .ivu-tabs-close,.ivu-tabs.ivu-tabs-card>.ivu-tabs-bar .ivu-tabs-tab:hover .ivu-tabs-close{width:22px;-webkit-transform:translateZ(0);transform:translateZ(0);margin-right:-6px}.ivu-tabs-no-animation>.ivu-tabs-content{-webkit-transform:none!important;transform:none!important}.ivu-tabs-no-animation>.ivu-tabs-content>.ivu-tabs-tabpane-inactive{display:none}.ivu-menu{display:block;margin:0;padding:0;outline:none;list-style:none;color:#515a6e;font-size:14px;position:relative;z-index:900}.ivu-menu-horizontal{height:60px;line-height:60px}.ivu-menu-horizontal.ivu-menu-light:after{content:"";display:block;width:100%;height:1px;background:#dcdee2;position:absolute;bottom:0;left:0}.ivu-menu-vertical.ivu-menu-light:after{content:"";display:block;width:1px;height:100%;background:#dcdee2;position:absolute;top:0;bottom:0;right:0;z-index:1}.ivu-menu-light{background:#fff}.ivu-menu-dark{background:#001529}.ivu-menu-primary{background:#2d8cf0}.ivu-menu-item{display:block;outline:none;list-style:none;font-size:14px;position:relative;z-index:1;cursor:pointer;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}a.ivu-menu-item,a.ivu-menu-item:active,a.ivu-menu-item:hover{color:inherit}.ivu-menu-item>i{margin-right:6px}.ivu-menu-submenu-title>i,.ivu-menu-submenu-title span>i{margin-right:8px}.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-horizontal .ivu-menu-submenu{float:left;padding:0 20px;position:relative;cursor:pointer;z-index:3;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu{height:inherit;line-height:inherit;border-bottom:2px solid transparent;color:#515a6e}.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item-active,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-item:hover,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu-active,.ivu-menu-light.ivu-menu-horizontal .ivu-menu-submenu:hover{color:#2d8cf0;border-bottom:2px solid #2d8cf0}.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu{color:hsla(0,0%,100%,.7)}.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item-active,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-item:hover,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu-active,.ivu-menu-dark.ivu-menu-horizontal .ivu-menu-submenu:hover,.ivu-menu-primary.ivu-menu-horizontal .ivu-menu-item,.ivu-menu-primary.ivu-menu-horizontal .ivu-menu-submenu{color:#fff}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown{min-width:100%;width:auto;max-height:none}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{height:auto;border-bottom:0;float:none}.ivu-menu-item-group{line-height:normal}.ivu-menu-item-group-title{height:30px;line-height:30px;padding-left:8px;font-size:12px;color:#999}.ivu-menu-item-group>ul{padding:0!important;list-style:none!important}.ivu-menu-vertical .ivu-menu-item,.ivu-menu-vertical .ivu-menu-submenu-title{padding:14px 24px;position:relative;cursor:pointer;z-index:1;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-menu-vertical .ivu-menu-item:hover,.ivu-menu-vertical .ivu-menu-submenu-title:hover{color:#2d8cf0}.ivu-menu-vertical .ivu-menu-submenu-title-icon{position:absolute;top:50%;right:24px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ivu-menu-submenu-title-icon{-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.ivu-menu-horizontal .ivu-menu-opened>*>.ivu-menu-submenu-title-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ivu-menu-vertical .ivu-menu-opened>*>.ivu-menu-submenu-title-icon{-webkit-transform:translateY(-50%) rotate(180deg);transform:translateY(-50%) rotate(180deg)}.ivu-menu-vertical .ivu-menu-submenu-nested{padding-left:20px}.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item{padding-left:43px}.ivu-menu-vertical .ivu-menu-item-group-title{height:48px;line-height:48px;font-size:14px;padding-left:28px}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-group-title{color:hsla(0,0%,100%,.36)}.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu){color:#2d8cf0;background:#f0faff;z-index:2}.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after{content:"";display:block;width:2px;position:absolute;top:0;bottom:0;right:0;background:#2d8cf0}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title{color:hsla(0,0%,100%,.7)}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):hover,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu):hover{background:#000c17}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item:hover,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title:hover{color:#fff;background:#001529}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu),.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){color:#2d8cf0}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item:hover{color:#fff;background:transparent!important}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover{border-right:none;color:#fff;background:#2d8cf0!important}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-child-item-active>.ivu-menu-submenu-title{color:#fff}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened{background:#000c17}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-title{background:#001529}.ivu-menu-dark.ivu-menu-vertical .ivu-menu-opened .ivu-menu-submenu-has-parent-submenu .ivu-menu-submenu-title{background:transparent}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-focus,.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item:hover{background:#f3f3f3}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-selected,.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-selected:hover{color:#2d8cf0}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-menu-large .ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{white-space:normal}}.ivu-menu-horizontal .ivu-menu-submenu .ivu-select-dropdown .ivu-menu-item{padding:7px 16px 8px;font-size:14px!important}.ivu-date-picker{display:inline-block;line-height:normal}.ivu-date-picker-rel{position:relative}.ivu-date-picker .ivu-select-dropdown{width:auto;padding:0;overflow:visible;max-height:none}.ivu-date-picker-cells{width:196px;margin:10px;white-space:normal}.ivu-date-picker-cells span,.ivu-date-picker-cells span em{display:inline-block;width:24px;height:24px}.ivu-date-picker-cells span em{line-height:24px;margin:2px;font-style:normal;border-radius:3px;text-align:center;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-date-picker-cells-header span{line-height:24px;text-align:center;margin:2px;color:#c5c8ce}.ivu-date-picker-cells-cell:hover em{background:#e1f0fe}.ivu-date-picker-cells-focused em{-webkit-box-shadow:0 0 0 1px #2d8cf0 inset;box-shadow:inset 0 0 0 1px #2d8cf0}span.ivu-date-picker-cells-cell{width:28px;height:28px;cursor:pointer}.ivu-date-picker-cells-cell-next-month em,.ivu-date-picker-cells-cell-prev-month em{color:#c5c8ce}.ivu-date-picker-cells-cell-next-month:hover em,.ivu-date-picker-cells-cell-prev-month:hover em{background:transparent}span.ivu-date-picker-cells-cell-disabled,span.ivu-date-picker-cells-cell-disabled:hover,span.ivu-date-picker-cells-cell-week-label,span.ivu-date-picker-cells-cell-week-label:hover{cursor:not-allowed;color:#c5c8ce}span.ivu-date-picker-cells-cell-disabled:hover em,span.ivu-date-picker-cells-cell-disabled em,span.ivu-date-picker-cells-cell-week-label:hover em,span.ivu-date-picker-cells-cell-week-label em{color:inherit;background:inherit}span.ivu-date-picker-cells-cell-disabled,span.ivu-date-picker-cells-cell-disabled:hover{background:#f7f7f7}.ivu-date-picker-cells-cell-today em{position:relative}.ivu-date-picker-cells-cell-today em:after{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#2d8cf0;position:absolute;top:1px;right:1px}.ivu-date-picker-cells-cell-range{position:relative}.ivu-date-picker-cells-cell-range em{position:relative;z-index:1}.ivu-date-picker-cells-cell-range:before{content:"";display:block;background:#e1f0fe;border-radius:0;border:0;position:absolute;top:2px;bottom:2px;left:0;right:0}.ivu-date-picker-cells-cell-selected:hover em,.ivu-date-picker-cells-cell-selected em{background:#2d8cf0;color:#fff}span.ivu-date-picker-cells-cell-disabled.ivu-date-picker-cells-cell-selected em{background:#c5c8ce;color:#f7f7f7}.ivu-date-picker-cells-cell-today.ivu-date-picker-cells-cell-selected em:after{background:#fff}.ivu-date-picker-cells-show-week-numbers{width:226px}.ivu-date-picker-cells-month,.ivu-date-picker-cells-year{margin-top:14px}.ivu-date-picker-cells-month span,.ivu-date-picker-cells-year span{width:40px;height:28px;line-height:28px;margin:10px 12px;border-radius:3px}.ivu-date-picker-cells-month span em,.ivu-date-picker-cells-year span em{width:40px;height:28px;line-height:28px;margin:0}.ivu-date-picker-cells-month .ivu-date-picker-cells-cell-focused,.ivu-date-picker-cells-year .ivu-date-picker-cells-cell-focused{background-color:#d5e8fc}.ivu-date-picker-header{height:32px;line-height:32px;text-align:center;border-bottom:1px solid #e8eaec}.ivu-date-picker-header-label{cursor:pointer;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-date-picker-header-label:hover{color:#2d8cf0}.ivu-date-picker-btn-pulse{background-color:#d5e8fc!important;border-radius:4px;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out}.ivu-date-picker-prev-btn{float:left}.ivu-date-picker-prev-btn-arrow-double{margin-left:10px}.ivu-date-picker-prev-btn-arrow-double i:after{content:"\F115";margin-left:-8px}.ivu-date-picker-next-btn{float:right}.ivu-date-picker-next-btn-arrow-double{margin-right:10px}.ivu-date-picker-next-btn-arrow-double i:after{content:"\F11F";margin-left:-8px}.ivu-date-picker-with-range .ivu-picker-panel-body{min-width:432px}.ivu-date-picker-with-range .ivu-picker-panel-content{float:left}.ivu-date-picker-with-range .ivu-picker-cells-show-week-numbers,.ivu-date-picker-with-week-numbers .ivu-picker-panel-body-date{min-width:492px}.ivu-date-picker-transfer{z-index:1060;max-height:none;width:auto}.ivu-date-picker-focused input{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-picker-panel-icon-btn{display:inline-block;width:20px;height:24px;line-height:26px;margin-top:4px;text-align:center;cursor:pointer;color:#c5c8ce;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-picker-panel-icon-btn:hover{color:#2d8cf0}.ivu-picker-panel-icon-btn i{font-size:14px}.ivu-picker-panel-body-wrapper.ivu-picker-panel-with-sidebar{padding-left:92px}.ivu-picker-panel-sidebar{width:92px;float:left;margin-left:-92px;position:absolute;top:0;bottom:0;background:#f8f8f9;border-right:1px solid #e8eaec;border-radius:4px 0 0 4px;overflow:auto}.ivu-picker-panel-shortcut{padding:6px 15px 6px 15px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-picker-panel-shortcut:hover{background:#e8eaec}.ivu-picker-panel-body{float:left}.ivu-picker-confirm{border-top:1px solid #e8eaec;text-align:right;padding:8px;clear:both}.ivu-picker-confirm>span{color:#2d8cf0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;float:left;padding:2px 0;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-picker-confirm>span:hover{color:#57a3f3}.ivu-picker-confirm>span:active{color:#2b85e4}.ivu-picker-confirm-time{float:left}.ivu-time-picker-cells{min-width:112px}.ivu-time-picker-cells-with-seconds{min-width:168px}.ivu-time-picker-cells-list{width:56px;max-height:144px;float:left;overflow:hidden;border-left:1px solid #e8eaec;position:relative}.ivu-time-picker-cells-list:hover{overflow-y:auto}.ivu-time-picker-cells-list:first-child{border-left:none;border-radius:4px 0 0 4px}.ivu-time-picker-cells-list:last-child{border-radius:0 4px 4px 0}.ivu-time-picker-cells-list ul{width:100%;margin:0;padding:0 0 120px 0;list-style:none}.ivu-time-picker-cells-list ul li{width:100%;height:24px;line-height:24px;margin:0;padding:0 0 0 16px;-webkit-box-sizing:content-box;box-sizing:content-box;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;list-style:none;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-time-picker-cells-cell:hover{background:#f3f3f3}.ivu-time-picker-cells-cell-disabled{color:#c5c8ce;cursor:not-allowed}.ivu-time-picker-cells-cell-disabled:hover{color:#c5c8ce;background-color:#fff;cursor:not-allowed}.ivu-time-picker-cells-cell-selected,.ivu-time-picker-cells-cell-selected:hover{color:#2d8cf0;background:#f3f3f3}.ivu-time-picker-cells-cell-focused{background-color:#d5e8fc}.ivu-time-picker-header{height:32px;line-height:32px;text-align:center;border-bottom:1px solid #e8eaec}.ivu-time-picker-with-range .ivu-picker-panel-body{min-width:228px}.ivu-time-picker-with-range .ivu-picker-panel-content{float:left;position:relative}.ivu-time-picker-with-range .ivu-picker-panel-content:after{content:"";display:block;width:2px;position:absolute;top:31px;bottom:0;right:-2px;background:#e8eaec;z-index:1}.ivu-time-picker-with-range .ivu-picker-panel-content-right{float:right}.ivu-time-picker-with-range .ivu-picker-panel-content-right:after{right:auto;left:-2px}.ivu-time-picker-with-range .ivu-time-picker-cells-list:first-child,.ivu-time-picker-with-range .ivu-time-picker-cells-list:last-child{border-radius:0}.ivu-time-picker-with-range.ivu-time-picker-with-seconds .ivu-picker-panel-body{min-width:340px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells,.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds{min-width:216px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds .ivu-time-picker-cells-list{width:72px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-with-seconds .ivu-time-picker-cells-list ul li{padding:0 0 0 28px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list{width:108px;max-height:216px}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list:first-child,.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list:last-child{border-radius:0}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list ul{padding:0 0 192px 0}.ivu-picker-panel-content .ivu-picker-panel-content .ivu-time-picker-cells-list ul li{padding:0 0 0 46px}.ivu-form .ivu-form-item-label{text-align:right;vertical-align:middle;float:left;font-size:12px;color:#515a6e;line-height:1;padding:10px 12px 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.ivu-form-label-left .ivu-form-item-label{text-align:left}.ivu-form-label-top .ivu-form-item-label{float:none;display:inline-block;padding:0 0 10px 0}.ivu-form-inline .ivu-form-item{display:inline-block;margin-right:10px;vertical-align:top}.ivu-form-item{margin-bottom:24px;vertical-align:top;zoom:1}.ivu-form-item:after,.ivu-form-item:before{content:"";display:table}.ivu-form-item:after{clear:both;visibility:hidden;font-size:0;height:0}.ivu-form-item-content{position:relative;line-height:32px;font-size:12px}.ivu-form-item .ivu-form-item{margin-bottom:0}.ivu-form-item .ivu-form-item .ivu-form-item-content{margin-left:0!important}.ivu-form-item-error-tip{position:absolute;top:100%;left:0;line-height:1;padding-top:6px;color:#ed4014}.ivu-form-item-required .ivu-form-item-label:before{content:"*";display:inline-block;margin-right:4px;line-height:1;font-family:SimSun;font-size:12px;color:#ed4014}.ivu-carousel{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.ivu-carousel-list,.ivu-carousel-track{-webkit-transform:translateZ(0);transform:translateZ(0)}.ivu-carousel-list{margin:0;padding:0}.ivu-carousel-list,.ivu-carousel-track{position:relative;display:block;overflow:hidden}.ivu-carousel-track{top:100%;left:0;z-index:1}.ivu-carousel-track.higher{z-index:2;top:0}.ivu-carousel-item{float:left;height:100%;min-height:1px;display:block}.ivu-carousel-arrow{border:none;outline:none;padding:0;margin:0;width:36px;height:36px;border-radius:50%;cursor:pointer;display:none;position:absolute;top:50%;z-index:10;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:.2s;transition:.2s;background-color:rgba(31,45,61,.11);color:#fff;text-align:center;font-size:1em;font-family:inherit;line-height:inherit}.ivu-carousel-arrow:hover{background-color:rgba(31,45,61,.5)}.ivu-carousel-arrow>*{vertical-align:baseline}.ivu-carousel-arrow.left{left:16px}.ivu-carousel-arrow.right{right:16px}.ivu-carousel-arrow-always{display:inherit}.ivu-carousel-arrow-hover{display:inherit;opacity:0}.ivu-carousel:hover .ivu-carousel-arrow-hover{opacity:1}.ivu-carousel-dots{z-index:10;display:none;position:relative;list-style:none;text-align:center;padding:0;width:100%;height:17px}.ivu-carousel-dots-inside{display:block;position:absolute;bottom:3px}.ivu-carousel-dots-outside{display:block;margin-top:3px}.ivu-carousel-dots li{position:relative;display:inline-block;vertical-align:top;text-align:center;margin:0 2px;padding:7px 0;cursor:pointer}.ivu-carousel-dots li button{border:0;cursor:pointer;background:#8391a5;opacity:.3;display:block;width:16px;height:3px;border-radius:1px;outline:none;font-size:0;color:transparent;-webkit-transition:all .5s;transition:all .5s}.ivu-carousel-dots li button.radius{width:6px;height:6px;border-radius:50%}.ivu-carousel-dots li:hover>button{opacity:.7}.ivu-carousel-dots li.ivu-carousel-active>button{opacity:1;width:24px}.ivu-carousel-dots li.ivu-carousel-active>button.radius{width:6px}.ivu-rate{display:inline-block;margin:0;padding:0;font-size:20px;vertical-align:middle;font-weight:400;font-style:normal}.ivu-rate-disabled .ivu-rate-star-content:before,.ivu-rate-disabled .ivu-rate-star:before{cursor:default}.ivu-rate-disabled .ivu-rate-star:hover{-webkit-transform:scale(1);transform:scale(1)}.ivu-rate-star-full,.ivu-rate-star-zero{position:relative}.ivu-rate-star-first{position:absolute;left:0;top:0;width:50%;height:100%;overflow:hidden;opacity:0}.ivu-rate-star-first,.ivu-rate-star-second{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .3s ease;transition:all .3s ease;color:#e9e9e9;cursor:pointer}.ivu-rate-star-chart{display:inline-block;margin:0;padding:0;margin-right:8px;position:relative;font-family:Ionicons;-webkit-transition:all .3s ease;transition:all .3s ease}.ivu-rate-star-chart:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.ivu-rate-star-chart.ivu-rate-star-full .ivu-rate-star-first,.ivu-rate-star-chart.ivu-rate-star-full .ivu-rate-star-second{color:#f5a623}.ivu-rate-star-chart.ivu-rate-star-half .ivu-rate-star-first{opacity:1;color:#f5a623}.ivu-rate-star{display:inline-block;margin:0;padding:0;margin-right:8px;position:relative;font-family:Ionicons;-webkit-transition:all .3s ease;transition:all .3s ease}.ivu-rate-star:hover{-webkit-transform:scale(1.1);transform:scale(1.1)}.ivu-rate-star-content:before,.ivu-rate-star:before{color:#e9e9e9;cursor:pointer;content:"\F2BF";-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:block}.ivu-rate-star-content{position:absolute;left:0;top:0;width:50%;height:100%;overflow:hidden}.ivu-rate-star-content:before{color:transparent}.ivu-rate-star-full:before,.ivu-rate-star-half .ivu-rate-star-content:before{color:#f5a623}.ivu-rate-star-full:hover:before,.ivu-rate-star-half:hover .ivu-rate-star-content:before{color:#f7b84f}.ivu-rate-text{margin-left:8px;vertical-align:middle;display:inline-block;font-size:12px}.ivu-upload input[type=file]{display:none}.ivu-upload-list{margin-top:8px}.ivu-upload-list-file{padding:4px;color:#515a6e;border-radius:4px;-webkit-transition:background-color .2s ease-in-out;transition:background-color .2s ease-in-out;overflow:hidden;position:relative}.ivu-upload-list-file>span{cursor:pointer;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-upload-list-file>span i{display:inline-block;width:12px;height:12px;color:#515a6e;text-align:center}.ivu-upload-list-file:hover{background:#f3f3f3}.ivu-upload-list-file:hover>span{color:#2d8cf0}.ivu-upload-list-file:hover>span i{color:#515a6e}.ivu-upload-list-file:hover .ivu-upload-list-remove{opacity:1}.ivu-upload-list-remove{opacity:0;font-size:18px;cursor:pointer;float:right;margin-right:4px;color:#999;-webkit-transition:all .2s ease;transition:all .2s ease}.ivu-upload-list-remove:hover{color:#444}.ivu-upload-select{display:inline-block}.ivu-upload-drag{background:#fff;border:1px dashed #dcdee2;border-radius:4px;text-align:center;cursor:pointer;position:relative;overflow:hidden;-webkit-transition:border-color .2s ease;transition:border-color .2s ease}.ivu-upload-drag:hover{border:1px dashed #2d8cf0}.ivu-upload-dragOver{border:2px dashed #2d8cf0}.ivu-tree ul{list-style:none;margin:0;padding:0;font-size:12px}.ivu-tree ul.ivu-dropdown-menu{padding:0}.ivu-tree ul li{list-style:none;margin:8px 0;padding:0;white-space:nowrap;outline:none}.ivu-tree ul li.ivu-dropdown-item{margin:0;padding:7px 16px;white-space:nowrap}.ivu-tree li ul{margin:0;padding:0 0 0 18px}.ivu-tree-title{display:inline-block;margin:0;padding:0 4px;border-radius:3px;cursor:pointer;vertical-align:top;color:#515a6e;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.ivu-tree-title:hover{background-color:#eaf4fe}.ivu-tree-title-selected,.ivu-tree-title-selected:hover{background-color:#d5e8fc}.ivu-tree-arrow{cursor:pointer;width:12px;text-align:center;display:inline-block}.ivu-tree-arrow i{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;font-size:14px;vertical-align:middle}.ivu-tree-arrow-open i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ivu-tree-arrow-disabled{cursor:not-allowed}.ivu-tree .ivu-checkbox-wrapper{margin-right:4px;margin-left:4px}.ivu-avatar{display:inline-block;text-align:center;background:#ccc;color:#fff;white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;width:32px;height:32px;line-height:32px;border-radius:16px}.ivu-avatar-image{background:transparent}.ivu-avatar .ivu-icon{position:relative;top:-1px}.ivu-avatar>*{line-height:32px}.ivu-avatar.ivu-avatar-icon{font-size:18px}.ivu-avatar-large{width:40px;height:40px;line-height:40px;border-radius:20px}.ivu-avatar-large>*{line-height:40px}.ivu-avatar-large.ivu-avatar-icon{font-size:24px}.ivu-avatar-large .ivu-icon{position:relative;top:-2px}.ivu-avatar-small{width:24px;height:24px;line-height:24px;border-radius:12px}.ivu-avatar-small>*{line-height:24px}.ivu-avatar-small.ivu-avatar-icon{font-size:14px}.ivu-avatar-square{border-radius:4px}.ivu-avatar>img{width:100%;height:100%}.ivu-color-picker{display:inline-block}.ivu-color-picker-hide{display:none}.ivu-color-picker-hide-drop{visibility:hidden}.ivu-color-picker-disabled{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc}.ivu-color-picker-disabled:hover{border-color:#e3e5e8}.ivu-color-picker>div:first-child:hover .ivu-input{border-color:#57a3f3}.ivu-color-picker>div:first-child.ivu-color-picker-disabled:hover .ivu-input{border-color:#e3e5e8}.ivu-color-picker .ivu-select-dropdown{padding:0}.ivu-color-picker-input.ivu-input:focus{-webkit-box-shadow:none;box-shadow:none}.ivu-color-picker-focused{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-rel{line-height:0}.ivu-color-picker-color{width:18px;height:18px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);border-radius:2px;position:relative;top:2px}.ivu-color-picker-color div{width:100%;height:100%;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);border-radius:2px}.ivu-color-picker-color-empty{background:#fff;overflow:hidden;text-align:center}.ivu-color-picker-color-empty i{font-size:18px;vertical-align:baseline}.ivu-color-picker-color-focused{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-large .ivu-color-picker-color{width:20px;height:20px;top:1px}.ivu-color-picker-large .ivu-color-picker-color-empty i{font-size:20px}.ivu-color-picker-small .ivu-color-picker-color{width:14px;height:14px;top:3px}.ivu-color-picker-small .ivu-color-picker-color-empty i{font-size:14px}.ivu-color-picker-picker-wrapper{padding:8px 8px 0}.ivu-color-picker-picker-panel{width:240px;margin:0 auto;-webkit-box-sizing:initial;box-sizing:initial;position:relative}.ivu-color-picker-picker-alpha-slider,.ivu-color-picker-picker-hue-slider{height:10px;margin-top:8px;position:relative}.ivu-color-picker-picker-colors{margin-top:8px;overflow:hidden;border-radius:2px;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-color-picker-picker-colors:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-picker-colors-wrapper{display:inline;width:20px;height:20px;float:left;position:relative}.ivu-color-picker-picker-colors-wrapper-color{outline:0;display:block;position:absolute;width:16px;height:16px;margin:2px;cursor:pointer;border-radius:2px;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}.ivu-color-picker-picker-colors-wrapper-circle{width:4px;height:4px;-webkit-box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px);position:absolute;top:10px;left:10px;cursor:pointer}.ivu-color-picker-picker .ivu-picker-confirm{margin-top:8px}.ivu-color-picker-saturation-wrapper{width:100%;padding-bottom:75%;position:relative;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-color-picker-saturation-wrapper:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-saturation,.ivu-color-picker-saturation--black,.ivu-color-picker-saturation--white{cursor:pointer;position:absolute;top:0;left:0;right:0;bottom:0}.ivu-color-picker-saturation--white{background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.ivu-color-picker-saturation--black{background:-webkit-gradient(linear,left bottom,left top,from(#000),to(transparent));background:linear-gradient(0deg,#000,transparent)}.ivu-color-picker-saturation-pointer{cursor:pointer;position:absolute}.ivu-color-picker-saturation-circle{width:4px;height:4px;-webkit-box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}.ivu-color-picker-hue{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;background:-webkit-gradient(linear,left top,right top,from(red),color-stop(17%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(83%,#f0f),to(red));background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-color-picker-hue:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-hue-container{cursor:pointer;margin:0 2px;position:relative;height:100%}.ivu-color-picker-hue-pointer{z-index:2;position:absolute}.ivu-color-picker-hue-picker{cursor:pointer;margin-top:1px;width:4px;border-radius:1px;height:8px;-webkit-box-shadow:0 0 2px rgba(0,0,0,.6);box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;-webkit-transform:translateX(-2px);transform:translateX(-2px)}.ivu-color-picker-alpha{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.ivu-color-picker-alpha:focus{border-color:#57a3f3;outline:0;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px rgba(45,140,240,.2)}.ivu-color-picker-alpha-checkboard-wrap{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;border-radius:2px}.ivu-color-picker-alpha-checkerboard{position:absolute;top:0;right:0;bottom:0;left:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.ivu-color-picker-alpha-gradient{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px}.ivu-color-picker-alpha-container{cursor:pointer;position:relative;z-index:2;height:100%;margin:0 3px}.ivu-color-picker-alpha-pointer{z-index:2;position:absolute}.ivu-color-picker-alpha-picker{cursor:pointer;width:4px;border-radius:1px;height:8px;-webkit-box-shadow:0 0 2px rgba(0,0,0,.6);box-shadow:0 0 2px rgba(0,0,0,.6);background:#fff;margin-top:1px;-webkit-transform:translateX(-2px);transform:translateX(-2px)}.ivu-color-picker-confirm{margin-top:8px;position:relative;border-top:1px solid #e8eaec;text-align:right;padding:8px;clear:both}.ivu-color-picker-confirm-color{position:absolute;top:11px;left:8px}.ivu-color-picker-confirm-color-editable{top:8px}.ivu-auto-complete .ivu-icon-ios-close,.ivu-auto-complete .ivu-select-not-found{display:none}.ivu-auto-complete:hover .ivu-icon-ios-close{display:inline-block}.ivu-auto-complete.ivu-select-dropdown{max-height:none}.ivu-divider{font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif;font-size:14px;line-height:1.5;color:#515a6e;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;list-style:none;background:#e8eaec}.ivu-divider,.ivu-divider-vertical{margin:0 8px;display:inline-block;height:.9em;width:1px;vertical-align:middle;position:relative;top:-.06em}.ivu-divider-horizontal{display:block;height:1px;width:100%;min-width:100%;margin:24px 0;clear:both}.ivu-divider-horizontal.ivu-divider-with-text-center,.ivu-divider-horizontal.ivu-divider-with-text-left,.ivu-divider-horizontal.ivu-divider-with-text-right{display:table;white-space:nowrap;text-align:center;background:transparent;font-weight:500;color:#17233d;font-size:16px;margin:16px 0}.ivu-divider-horizontal.ivu-divider-with-text-center:after,.ivu-divider-horizontal.ivu-divider-with-text-center:before,.ivu-divider-horizontal.ivu-divider-with-text-left:after,.ivu-divider-horizontal.ivu-divider-with-text-left:before,.ivu-divider-horizontal.ivu-divider-with-text-right:after,.ivu-divider-horizontal.ivu-divider-with-text-right:before{content:"";display:table-cell;position:relative;top:50%;width:50%;border-top:1px solid #e8eaec;-webkit-transform:translateY(50%);transform:translateY(50%)}.ivu-divider-horizontal.ivu-divider-small.ivu-divider-with-text-center,.ivu-divider-horizontal.ivu-divider-small.ivu-divider-with-text-left,.ivu-divider-horizontal.ivu-divider-small.ivu-divider-with-text-right{font-size:14px;margin:8px 0}.ivu-divider-horizontal.ivu-divider-with-text-left .ivu-divider-inner-text,.ivu-divider-horizontal.ivu-divider-with-text-right .ivu-divider-inner-text{display:inline-block;padding:0 10px}.ivu-divider-horizontal.ivu-divider-with-text-left:before{top:50%;width:5%}.ivu-divider-horizontal.ivu-divider-with-text-left:after,.ivu-divider-horizontal.ivu-divider-with-text-right:before{top:50%;width:95%}.ivu-divider-horizontal.ivu-divider-with-text-right:after{top:50%;width:5%}.ivu-divider-inner-text{display:inline-block;padding:0 24px}.ivu-divider-dashed{background:none;border-top:1px dashed #e8eaec}.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed{border-top:0}.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text-left.ivu-divider-dashed:before,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text-right.ivu-divider-dashed:before,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed:after,.ivu-divider-horizontal.ivu-divider-with-text.ivu-divider-dashed:before{border-style:dashed none none}.ivu-anchor{position:relative;padding-left:2px}.ivu-anchor-wrapper{overflow:auto;padding-left:4px;margin-left:-4px}.ivu-anchor-ink{position:absolute;height:100%;left:0;top:0}.ivu-anchor-ink:before{content:" ";position:relative;width:2px;height:100%;display:block;background-color:#e8eaec;margin:0 auto}.ivu-anchor-ink-ball{display:inline-block;position:absolute;width:8px;height:8px;border-radius:50%;border:2px solid #2d8cf0;background-color:#fff;left:50%;-webkit-transition:top .2s ease-in-out;transition:top .2s ease-in-out;-webkit-transform:translate(-50%,2px);transform:translate(-50%,2px)}.ivu-anchor.fixed .ivu-anchor-ink .ivu-anchor-ink-ball{display:none}.ivu-anchor-link{padding:8px 0 8px 16px;line-height:1}.ivu-anchor-link-title{display:block;position:relative;-webkit-transition:all .3s;transition:all .3s;color:#515a6e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.ivu-anchor-link-title:only-child{margin-bottom:0}.ivu-anchor-link-active>.ivu-anchor-link-title{color:#2d8cf0}.ivu-anchor-link .ivu-anchor-link{padding-top:6px;padding-bottom:6px}.ivu-time-with-hash{cursor:pointer}.ivu-time-with-hash:hover{text-decoration:underline}.ivu-cell{position:relative;overflow:hidden}.ivu-cell-link,.ivu-cell-link:active,.ivu-cell-link:hover{color:inherit}.ivu-cell-icon{display:inline-block;margin-right:4px;font-size:14px;vertical-align:middle}.ivu-cell-icon:empty{display:none}.ivu-cell-main{display:inline-block;vertical-align:middle}.ivu-cell-title{line-height:24px;font-size:14px}.ivu-cell-label{line-height:1.2;font-size:12px;color:#808695}.ivu-cell-selected .ivu-cell-label{color:inherit}.ivu-cell-selected,.ivu-cell.ivu-cell-selected:hover{background:#f0faff}.ivu-cell-footer{display:inline-block;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%);top:50%;right:16px;color:#515a6e}.ivu-cell-with-link .ivu-cell-footer{right:32px}.ivu-cell-selected .ivu-cell-footer{color:inherit}.ivu-cell-arrow{display:inline-block;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%);top:50%;right:16px;font-size:14px}.ivu-cell:focus{background:#f3f3f3;outline:none}.ivu-cell-selected:focus{background:rgba(40,123,211,.91)}.ivu-cell{margin:0;line-height:normal;padding:7px 16px;clear:both;color:#515a6e;font-size:12px!important;white-space:nowrap;list-style:none;cursor:pointer;-webkit-transition:background .2s ease-in-out;transition:background .2s ease-in-out}.ivu-cell-focus,.ivu-cell:hover{background:#f3f3f3}.ivu-cell-disabled,.ivu-cell-disabled:hover{color:#c5c8ce;cursor:not-allowed}.ivu-cell-disabled:hover{background-color:#fff}.ivu-cell-selected,.ivu-cell-selected:hover{color:#2d8cf0}.ivu-cell-divided{margin-top:5px;border-top:1px solid #e8eaec}.ivu-cell-divided:before{content:"";height:5px;display:block;margin:0 -16px;background-color:#fff;position:relative;top:-7px}.ivu-cell-large .ivu-cell{padding:7px 16px 8px;font-size:14px!important}@-moz-document url-prefix(){.ivu-cell{white-space:normal}}.ivu-drawer{width:auto;height:100%;position:fixed;top:0}.ivu-drawer-inner{position:absolute}.ivu-drawer-left{left:0}.ivu-drawer-right{right:0}.ivu-drawer-hidden{display:none!important}.ivu-drawer-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:1000;-webkit-overflow-scrolling:touch;outline:0}.ivu-drawer-wrap-inner{position:absolute;overflow:hidden}.ivu-drawer-wrap-dragging{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ivu-drawer-wrap *{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ivu-drawer-mask{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(55,55,55,.6);height:100%;z-index:1000}.ivu-drawer-mask-hidden{display:none}.ivu-drawer-mask-inner{position:absolute}.ivu-drawer-content{width:100%;height:100%;position:absolute;top:0;bottom:0;background-color:#fff;border:0;background-clip:padding-box;-webkit-box-shadow:0 4px 12px rgba(0,0,0,.15);box-shadow:0 4px 12px rgba(0,0,0,.15)}.ivu-drawer-content-no-mask{pointer-events:auto}.ivu-drawer-header{border-bottom:1px solid #e8eaec;padding:14px 16px;line-height:1}.ivu-drawer-header-inner,.ivu-drawer-header p{display:inline-block;width:100%;height:20px;line-height:20px;font-size:14px;color:#17233d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ivu-drawer-header p i,.ivu-drawer-header p span{vertical-align:middle}.ivu-drawer-close{z-index:1;font-size:12px;position:absolute;right:8px;top:8px;overflow:hidden;cursor:pointer}.ivu-drawer-close .ivu-icon-ios-close{font-size:31px;color:#999;-webkit-transition:color .2s ease;transition:color .2s ease;position:relative;top:1px}.ivu-drawer-close .ivu-icon-ios-close:hover{color:#444}.ivu-drawer-body{width:100%;height:calc(100% - 51px);padding:16px;font-size:12px;line-height:1.5;word-wrap:break-word;position:absolute;overflow:auto}.ivu-drawer-no-header .ivu-drawer-body{height:100%}.ivu-drawer-no-mask{pointer-events:none}.ivu-drawer-no-mask .ivu-drawer-drag{pointer-events:auto}.ivu-drawer-drag{top:0;height:100%;width:0;position:absolute}.ivu-drawer-drag-left{right:0}.ivu-drawer-drag-move-trigger{width:8px;height:100px;line-height:100px;position:absolute;top:50%;background:#f3f3f3;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:4px/6px;-webkit-box-shadow:0 0 1px 1px rgba(0,0,0,.2);box-shadow:0 0 1px 1px rgba(0,0,0,.2);cursor:col-resize}.ivu-drawer-drag-move-trigger-point{display:inline-block;width:50%;-webkit-transform:translateX(50%);transform:translateX(50%)}.ivu-drawer-drag-move-trigger-point i{display:block;border-bottom:1px solid silver;padding-bottom:2px}.ivu-breadcrumb{color:#999;font-size:14px}.ivu-breadcrumb a{color:#515a6e;-webkit-transition:color .2s ease-in-out;transition:color .2s ease-in-out}.ivu-breadcrumb a:hover{color:#57a3f3}.ivu-breadcrumb>span:last-child{font-weight:700;color:#515a6e}.ivu-breadcrumb>span:last-child .ivu-breadcrumb-item-separator{display:none}.ivu-breadcrumb-item-separator{margin:0 8px;color:#dcdee2}.ivu-breadcrumb-item-link>.ivu-icon+span{margin-left:4px}.ivu-list{position:relative}.ivu-list-items{margin:0;padding:0;list-style:none}.ivu-list-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 0}.ivu-list-item-content{color:#515a6e}.ivu-list-item-meta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;font-size:0}.ivu-list-item-meta-avatar{margin-right:16px}.ivu-list-item-meta-content{-webkit-box-flex:1;-ms-flex:1 0;flex:1 0}.ivu-list-item-meta-title{font-weight:700;margin-bottom:4px;color:#515a6e;font-size:14px;line-height:22px}.ivu-list-item-meta-title>a{color:#515a6e;-webkit-transition:all .2s;transition:all .2s}.ivu-list-item-meta-title>a:hover{color:#2d8cf0}.ivu-list-item-meta-description{color:rgba(0,0,0,.45);font-size:14px;line-height:22px}.ivu-list-item-action{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:48px;padding:0;font-size:0;list-style:none}.ivu-list-item-action>li{position:relative;display:inline-block;padding:0 8px;color:rgba(0,0,0,.45);font-size:14px;line-height:22px;text-align:center;cursor:pointer}.ivu-list-item-action>li:after{content:"";position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background-color:#e8eaec}.ivu-list-item-action>li:first-child{padding-left:0}.ivu-list-item-action>li:last-child:after{display:none}.ivu-list-footer,.ivu-list-header{background:transparent}.ivu-list-footer,.ivu-list-header{padding-top:12px;padding-bottom:12px}.ivu-list-split .ivu-list-item{border-bottom:1px solid #e8eaec}.ivu-list-split .ivu-list-item:last-child{border-bottom:none}.ivu-list-split .ivu-list-header{border-bottom:1px solid #e8eaec}.ivu-list-split .ivu-list-footer{border-top:1px solid #e8eaec}.ivu-list-large .ivu-list-item{padding-top:16px;padding-bottom:16px}.ivu-list-small .ivu-list-item{padding-top:8px;padding-bottom:8px}.ivu-list-vertical .ivu-list-item{-webkit-box-align:initial;-ms-flex-align:initial;align-items:normal}.ivu-list-vertical .ivu-list-item-main{display:block;-webkit-box-flex:1;-ms-flex:1;flex:1}.ivu-list-vertical .ivu-list-item-extra{margin-left:40px}.ivu-list-vertical .ivu-list-item-meta{margin-bottom:16px}.ivu-list-vertical .ivu-list-item-meta-title{margin-bottom:12px;color:rgba(0,0,0,.85);font-size:16px;line-height:24px}.ivu-list-vertical .ivu-list-item-action{margin-top:16px;margin-left:auto}.ivu-list-vertical .ivu-list-item-action>li{padding:0 16px}.ivu-list-vertical .ivu-list-item-action>li:first-child{padding-left:0}.ivu-list-item-no-flex{display:block}.ivu-list:not(.ivu-list-vertical) .ivu-list-item-no-flex .ivu-list-item-action{float:right}.ivu-list-bordered{border:1px solid #dcdee2;border-radius:6px}.ivu-list-bordered .ivu-list-footer,.ivu-list-bordered .ivu-list-header,.ivu-list-bordered .ivu-list-item{padding-right:24px;padding-left:24px}.ivu-list-bordered .ivu-list-item{border-bottom:1px solid #e8eaec}.ivu-list-bordered .ivu-list-pagination{margin:16px 24px}.ivu-list-bordered.ivu-list-small .ivu-list-item{padding-right:16px;padding-left:16px}.ivu-list-bordered.ivu-list-small .ivu-list-footer,.ivu-list-bordered.ivu-list-small .ivu-list-header{padding:8px 16px}.ivu-list-bordered.ivu-list-large .ivu-list-footer,.ivu-list-bordered.ivu-list-large .ivu-list-header{padding:16px 24px}@media screen and (max-width:768px){.ivu-list-item-action,.ivu-list-vertical .ivu-list-item-extra{margin-left:24px}}@media screen and (max-width:576px){.ivu-list-item{-ms-flex-wrap:wrap;flex-wrap:wrap}.ivu-list-item-action{margin-left:12px}.ivu-list-vertical .ivu-list-item{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.ivu-list-vertical .ivu-list-item-main{min-width:220px}.ivu-list-vertical .ivu-list-item-extra{margin:auto auto 16px}}@font-face{font-family:iconfont;src:url(data:application/vnd.ms-fontobject;base64,EA8AAGgOAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAARmLsUAAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8eUnXAAABfAAAAFZjbWFwL5gm4AAAAgAAAAIuZ2x5ZuHUVh4AAARIAAAHIGhlYWQTL8piAAAA4AAAADZoaGVhB90DjAAAALwAAAAkaG10eCwA//8AAAHUAAAALGxvY2EImgpGAAAEMAAAABhtYXhwARwAbgAAARgAAAAgbmFtZT5U/n0AAAtoAAACbXBvc3R4roygAAAN2AAAAI4AAQAAA4D/gABcBAD//wAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAFDsYkZfDzz1AAsEAAAAAADYCMM0AAAAANgIwzT///99BAADgAAAAAgAAgAAAAAAAAABAAAACwBiAAcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gDn5QOA/4AAXAOAAIMAAAABAAAAAAAABAAAAAQA//8EAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABpgABAAAAAACgAAMAAQAAACwAAwAKAAABpgAEAHQAAAAUABAAAwAE5gDmCeZi537ngOeD58Pn4ufl//8AAOYA5gnmYed+54Dng+fD5+Ln5f//AAAAAAAAAAAAAAAAAAAAAAAAAAEAFAAUABQAFgAWABYAFgAWABYAAAABAAUAAwAEAAYABwAIAAIACQAKAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAACIAAAAAAAAAAoAAOYAAADmAAAAAAEAAOYJAADmCQAAAAUAAOZhAADmYQAAAAMAAOZiAADmYgAAAAQAAOd+AADnfgAAAAYAAOeAAADngAAAAAcAAOeDAADngwAAAAgAAOfDAADnwwAAAAIAAOfiAADn4gAAAAkAAOflAADn5QAAAAoAAAAAAAAAjAC6AOgBFAGAAf4CbgLqAzgDkAAF////ngQAA2MAJQA2AEcAWABhAAABFAcWFRQOAiIuAjU0NyY1ND4CMzIWFz4BMhYXPgEzMh4CATI+AjQuAiIOAhQeAgEyPgI0LgIiDgIUHgIBMj4CNC4CIg4CFB4CBTIWFAYiJjQ2BAAuLlCLu9S7ilEuLhwvQCQrSBcuZWhlLhhHKyU/Lxz8zgoRDgcHDhETEg0ICA0SATs1XUYoKEZdal1GKChGXQFnChINBwcNEhMRDggIDhH+1yg4OFA4OAKrRzNZaGGqfkhIfqphaFkzRyZCMxwlHxETExEfJRwzQv47FSUwNzAkFRUkMDcwJRX+1BstPEU8LRsbLTxFPC0bASwVJTA3MCQVFSQwNzAlFSAUHRMTHRQAAgAA/4AEAAOAAAsAFQAAAQYABxYAFzYANyYAAzMHJzMRIzcXIwIA2v7fBQUBIdraASEFBf7fmkCAgEBAgIBAA4AF/t/a2v7fBQUBIdraASH9RYCAAYCAgAAAAAAGAAAAAAPNAoYAAwAHAAsADwATABcAAAEhFSEHIRUhBRUhNQUVITUlMxUjJTMVIwEeAdj+KMcDdvyKAq/+CQH3/gkB2B8f/igfHwKFkk9GUh8fkx8feHt7ewAAAAYAAP+0AygDKwADAAcACwAPABMAFwAAEzMRIxMzESMTMxEjEzMRIwM1MxUDNTMV/ZKS4EdHmR8fkh8fd3t7ewJU/igCr/yKAq7+CQH3/gkB2B8f/igfHwABAAD/fQPcA4AAQgAAEwYWBw4BBwYWFxY2FxYXFhcWBgcGFhc+ATUWMzcXMjcXFjc+AScuASc+ATc2Fjc+AScuASc2JicuAScuAScOAQcOAZMDBAEDPhUTARwdKwQDBRUoAioVFDtddlMIBA0MAgo7NVKEHRIPMwEgGQoGMRsMFBMXNwECAgEJFQEDwpGSwQMBEAHrCB0mDVE0M1sVDFkECww4LQUaHyRRBAQxBAEBAQEhHAQRSCAeHwEkOCAFWgwITk1LOwweKAUZBwSd0AQE0J0KBAAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgATQAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJQ4BBxQXMzY3PgEyFhcWFzM2NS4BAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHP7FQlkFCDAHAQQ1TjUEAQcwCAVZAdsUGxsoGxsUFBsbKBsbAVEF/b6+/QUF/b6+/f0+Mx0dHRxoQkWYRUNnHB0dHGhCRZhFQ78CVUEHAQEGJjIyJgYBAQdBVQAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgARAAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJyEGBxUWFyE2NzUmAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHKP+0AcBAQcBMAcBAQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUOfAQcwBwEBBzAHAAcAAP/AA8ADQAAAAAkACgATAB8AOABNAAABIx4BMjY0JiIGBSMeATI2NCYiBgMOAQceARc+ATcuARMGBwYiJy4BJyY0Nz4BNzYyFx4BFxYUBwYnIwYHDgEiJicmJyMGFR4BFz4BNzQBUDABGygbGygbAY8wARsoGxsoG4G+/QUF/b6+/QUF/Uk0QkWYRUNnHB0dHGhCRZhFQ2ccHR0cozAHAQQ1TjUEAQcwCAVZQkJZBQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUO/AQYmMjImBgEBB0FVAgJVQQcAAgAA//gDiAMIACUAMQAAASMGBxUWFzMHLgEjIg4CFB4CMj4CNTQmJzcVFhczNjc1NCYBLgEnPgE3HgEXDgEDavwFAQEFoMcmWTA6aFMrK1NodGhTKx4dxwEFOAUBEf4hWngCAnhaWngCAngDCAEFOAUBxx0eK1NodGhTKytTaDowWSbHoAUBAQX8DRH9PAJ4Wlp4AgJ4Wlp4AAAAAgAA//ADkwMTACkANQAAAScmDwEnJg8BBh8BBy4BIyIOAhQeAjI+AjU0Jic3FxY/ATYvATc2AS4BJz4BNx4BFw4BA44qBgZcVAYFKwQEVYgmWTA6aFMrK1NodGhTKx4dh1QGBioEBFRcBP3+WngCAnhaWngCAngC4ysEBF1VBAQqBgZUhx0eK1NodGhTKytTaDowWSaIVQQEKgYGVFwG/V4CeFpaeAICeFpaeAAAAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbgBmAG8AbgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAARiZWFyD3Jlc2l6ZS12ZXJ0aWNhbA9jaHVpemhpZmFuemh1YW4Qc2h1aXBpbmdmYW56aHVhbgJxcQVmcm93bgNtZWgFc21pbGUDbWFuBXdvbWFuAAAAAA==);src:url(data:application/vnd.ms-fontobject;base64,EA8AAGgOAAABAAIAAAAAAAIABQMAAAAAAAABAJABAAAAAExQAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAARmLsUAAAAAAAAAAAAAAAAAAAAAAAABAAaQBjAG8AbgBmAG8AbgB0AAAADgBSAGUAZwB1AGwAYQByAAAAFgBWAGUAcgBzAGkAbwBuACAAMQAuADAAAAAQAGkAYwBvAG4AZgBvAG4AdAAAAAAAAAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8eUnXAAABfAAAAFZjbWFwL5gm4AAAAgAAAAIuZ2x5ZuHUVh4AAARIAAAHIGhlYWQTL8piAAAA4AAAADZoaGVhB90DjAAAALwAAAAkaG10eCwA//8AAAHUAAAALGxvY2EImgpGAAAEMAAAABhtYXhwARwAbgAAARgAAAAgbmFtZT5U/n0AAAtoAAACbXBvc3R4roygAAAN2AAAAI4AAQAAA4D/gABcBAD//wAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAFDsYkZfDzz1AAsEAAAAAADYCMM0AAAAANgIwzT///99BAADgAAAAAgAAgAAAAAAAAABAAAACwBiAAcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gDn5QOA/4AAXAOAAIMAAAABAAAAAAAABAAAAAQA//8EAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABpgABAAAAAACgAAMAAQAAACwAAwAKAAABpgAEAHQAAAAUABAAAwAE5gDmCeZi537ngOeD58Pn4ufl//8AAOYA5gnmYed+54Dng+fD5+Ln5f//AAAAAAAAAAAAAAAAAAAAAAAAAAEAFAAUABQAFgAWABYAFgAWABYAAAABAAUAAwAEAAYABwAIAAIACQAKAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAACIAAAAAAAAAAoAAOYAAADmAAAAAAEAAOYJAADmCQAAAAUAAOZhAADmYQAAAAMAAOZiAADmYgAAAAQAAOd+AADnfgAAAAYAAOeAAADngAAAAAcAAOeDAADngwAAAAgAAOfDAADnwwAAAAIAAOfiAADn4gAAAAkAAOflAADn5QAAAAoAAAAAAAAAjAC6AOgBFAGAAf4CbgLqAzgDkAAF////ngQAA2MAJQA2AEcAWABhAAABFAcWFRQOAiIuAjU0NyY1ND4CMzIWFz4BMhYXPgEzMh4CATI+AjQuAiIOAhQeAgEyPgI0LgIiDgIUHgIBMj4CNC4CIg4CFB4CBTIWFAYiJjQ2BAAuLlCLu9S7ilEuLhwvQCQrSBcuZWhlLhhHKyU/Lxz8zgoRDgcHDhETEg0ICA0SATs1XUYoKEZdal1GKChGXQFnChINBwcNEhMRDggIDhH+1yg4OFA4OAKrRzNZaGGqfkhIfqphaFkzRyZCMxwlHxETExEfJRwzQv47FSUwNzAkFRUkMDcwJRX+1BstPEU8LRsbLTxFPC0bASwVJTA3MCQVFSQwNzAlFSAUHRMTHRQAAgAA/4AEAAOAAAsAFQAAAQYABxYAFzYANyYAAzMHJzMRIzcXIwIA2v7fBQUBIdraASEFBf7fmkCAgEBAgIBAA4AF/t/a2v7fBQUBIdraASH9RYCAAYCAgAAAAAAGAAAAAAPNAoYAAwAHAAsADwATABcAAAEhFSEHIRUhBRUhNQUVITUlMxUjJTMVIwEeAdj+KMcDdvyKAq/+CQH3/gkB2B8f/igfHwKFkk9GUh8fkx8feHt7ewAAAAYAAP+0AygDKwADAAcACwAPABMAFwAAEzMRIxMzESMTMxEjEzMRIwM1MxUDNTMV/ZKS4EdHmR8fkh8fd3t7ewJU/igCr/yKAq7+CQH3/gkB2B8f/igfHwABAAD/fQPcA4AAQgAAEwYWBw4BBwYWFxY2FxYXFhcWBgcGFhc+ATUWMzcXMjcXFjc+AScuASc+ATc2Fjc+AScuASc2JicuAScuAScOAQcOAZMDBAEDPhUTARwdKwQDBRUoAioVFDtddlMIBA0MAgo7NVKEHRIPMwEgGQoGMRsMFBMXNwECAgEJFQEDwpGSwQMBEAHrCB0mDVE0M1sVDFkECww4LQUaHyRRBAQxBAEBAQEhHAQRSCAeHwEkOCAFWgwITk1LOwweKAUZBwSd0AQE0J0KBAAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgATQAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJQ4BBxQXMzY3PgEyFhcWFzM2NS4BAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHP7FQlkFCDAHAQQ1TjUEAQcwCAVZAdsUGxsoGxsUFBsbKBsbAVEF/b6+/QUF/b6+/f0+Mx0dHRxoQkWYRUNnHB0dHGhCRZhFQ78CVUEHAQEGJjIyJgYBAQdBVQAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgARAAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJyEGBxUWFyE2NzUmAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHKP+0AcBAQcBMAcBAQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUOfAQcwBwEBBzAHAAcAAP/AA8ADQAAAAAkACgATAB8AOABNAAABIx4BMjY0JiIGBSMeATI2NCYiBgMOAQceARc+ATcuARMGBwYiJy4BJyY0Nz4BNzYyFx4BFxYUBwYnIwYHDgEiJicmJyMGFR4BFz4BNzQBUDABGygbGygbAY8wARsoGxsoG4G+/QUF/b6+/QUF/Uk0QkWYRUNnHB0dHGhCRZhFQ2ccHR0cozAHAQQ1TjUEAQcwCAVZQkJZBQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUO/AQYmMjImBgEBB0FVAgJVQQcAAgAA//gDiAMIACUAMQAAASMGBxUWFzMHLgEjIg4CFB4CMj4CNTQmJzcVFhczNjc1NCYBLgEnPgE3HgEXDgEDavwFAQEFoMcmWTA6aFMrK1NodGhTKx4dxwEFOAUBEf4hWngCAnhaWngCAngDCAEFOAUBxx0eK1NodGhTKytTaDowWSbHoAUBAQX8DRH9PAJ4Wlp4AgJ4Wlp4AAAAAgAA//ADkwMTACkANQAAAScmDwEnJg8BBh8BBy4BIyIOAhQeAjI+AjU0Jic3FxY/ATYvATc2AS4BJz4BNx4BFw4BA44qBgZcVAYFKwQEVYgmWTA6aFMrK1NodGhTKx4dh1QGBioEBFRcBP3+WngCAnhaWngCAngC4ysEBF1VBAQqBgZUhx0eK1NodGhTKytTaDowWSaIVQQEKgYGVFwG/V4CeFpaeAICeFpaeAAAAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbgBmAG8AbgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAARiZWFyD3Jlc2l6ZS12ZXJ0aWNhbA9jaHVpemhpZmFuemh1YW4Qc2h1aXBpbmdmYW56aHVhbgJxcQVmcm93bgNtZWgFc21pbGUDbWFuBXdvbWFuAAAAAA==#iefix) format("embedded-opentype"),url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAiEAAsAAAAADmgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFY8eUnXY21hcAAAAYAAAACjAAACLi+YJuBnbHlmAAACJAAABAgAAAcg4dRWHmhlYWQAAAYsAAAAMQAAADYTL8piaGhlYQAABmAAAAAgAAAAJAfdA4xobXR4AAAGgAAAABQAAAAsLAD//2xvY2EAAAaUAAAAGAAAABgImgpGbWF4cAAABqwAAAAfAAAAIAEcAG5uYW1lAAAGzAAAAUUAAAJtPlT+fXBvc3QAAAgUAAAAbgAAAI54roygeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGByeMTx/ytzwv4EhhrmBoRkozAiSAwDuUwzMeJzlkUEKwkAMRd/YabXFhQvxFF6qPYPrUujGY7jyIr1JoZNjtMnEhag3MOEN5MMk8D9QAoVyVSKEJwGrh6oh6wVN1iM3nc+cVImJVKdOehlklElmWdYVstp+ql8VdIv15a1NLW0zFXsO7Kjz3erH/3+rY37vr6kxnx1LKNWOJZlaxxJNnWOpSu+ot8jgqMvI6KjfyOSo88jsaAbI4tBsig89rQB4nLVUTWwbRRSeNzO767i2g7N/FP9s7MRrE5ON4/V6rSZyU0PiINSSNImES4IUoapWz6hEiqiMBDQqEojkAkiFStyKRC+9VSoFCeUEyqESVUAqEkcu3OAQb3hrJxAXwSGI3X0/szPz5vvm2x0i7O/vf8IJe5VkSJnUyUtklRBQJE1VIjRtUafkmk6pSu2ipleh4+xikkKxSksWTUeo8m8NoagpYtoslTmxrLl37z64e33esuJjU8P5Wd262LxoPVnPZ06Pxfe+C0YjkhSJygPhQCA8ABPOykwuN7NyuRvgUnAgLEnhATkaCQQiUe/7XKUyV6nQz+t2o7l66+rs7NVbq82GXTdrdjxjRGU5amTids2bUDMFtzCsqsMYMqr3IDY6OT05GjsI8Exv/6CSkOWEQigh+y3clxY5QVTcEZFIGtHLxDUJs6WsHR1y9SFKdr1HggCp3V1ICYL36OOpVmvKN9bC1u6R3vZ0qwWtVovgJfqOfUvfIYxIWL+fyETHNVJqSkIT1JTjW8ZWh3yDJDz0ctvsyt51etvrg9/QHhqGlzMM+vbmizPnDWPLMNbW19e7tffvsBzL99aWEfBRY46t+tbe3PypXv/IMDYN43WsQBe9HL2NC33RuxABrPsG+xH3o4bVRE2KgCRqulbWNf8W/UYVHM129aKra24VshZkq+CWD/Oy6Xt8cGYEthgHVlVliCfynAlqjo6oysTKlYUAD4docMI5/1ZioN+GwZNBcTwWUmTdBUqhTwX29QebXzF4An4JJMzwfMl+WQ01+IlQZVR4yhie53ycA16pOI/ODiYNGK4MChdCgXNnX5gIJXPCSYnf2OF850aQ+zJIyOs+u8+mMO8jQdwtg1TIWVRjKAnFcslMi8KfGUPoSUCergUyUk77dMyS69Ms6tijKZKYwUGKbpfdzu+iYeZYAHMFiOVi+MD7h9mb99qC0L7X8c+XatMfTj97KZ5IxJt/pd43tYYQKEjAnXMOB6kQEBrwg+LPjindAPOHNdC3q3ait0I3/ZIunZEARLNYNEUA6czSP3N/7j9wz6ZESdX0VNl1zGNS/szbQaQSIGk4DtVPcZf8AgXpf9A2OyTit5s2syZmand46bhEe2WtodLHkvaoqtTXuXN2/c42WADP9HGfbUcUW7JgqHss4xHtlMys679FqUomdP9VJBQBdnlPABBubpuNwqnmQj6/0HwNQzKxDUJFgKiXurBG6dqFjmeBzsvtRPJgGIZThYa5fdOvsReOticPh6JHHXxsv7ItJpOniYPYsmZ/x0QD/o5P105DeQwF6MH33ogoLi+KQp7zpY3HQV5bFMURzheXeds7gpP+jKNXljjHuYvXHke7cdCxLLZf6YX7B63UcCV4nGNgZGBgAOKAN2ZR8fw2Xxm4WRhA4AbHYRMY/f///1oWBuYGIJeDgQkkCgAvWgs2AAAAeJxjYGRgYG7438AQw8Lw/z8DAwsDA1AEBXADAHXiBHJ4nGNhYGBgYfj/nwVM48cATwECKwAAAAAAjAC6AOgBFAGAAf4CbgLqAzgDkHicY2BkYGDgZkhiYGcAASYg5gJCBob/YD4DABOmAYsAeJxlj01OwzAQhV/6B6QSqqhgh+QFYgEo/RGrblhUavdddN+mTpsqiSPHrdQDcB6OwAk4AtyAO/BIJ5s2lsffvHljTwDc4Acejt8t95E9XDI7cg0XuBeuU38QbpBfhJto41W4Rf1N2MczpsJtdGF5g9e4YvaEd2EPHXwI13CNT+E69S/hBvlbuIk7/Aq30PHqwj7mXle4jUcv9sdWL5xeqeVBxaHJIpM5v4KZXu+Sha3S6pxrW8QmU4OgX0lTnWlb3VPs10PnIhVZk6oJqzpJjMqt2erQBRvn8lGvF4kehCblWGP+tsYCjnEFhSUOjDFCGGSIyujoO1Vm9K+xQ8Jee1Y9zed0WxTU/3OFAQL0z1xTurLSeTpPgT1fG1J1dCtuy56UNJFezUkSskJe1rZUQuoBNmVXjhF6XNGJPyhnSP8ACVpuyAAAAHicbYhdDoIwEAb3a6k/YIIX8VArWewmdJFWJOnpJTG+OQ+TzJCjLy39p4ODR4OAA4444YwWHS7U3IVzn6Voldtb8ksHnvohrlqjjmw1rmzXsvdT7fEbblnCmOfNfJIYStJJfGIL27yb6AOCGR89AAA=") format("woff"),url(data:font/ttf;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8eUnXAAABfAAAAFZjbWFwL5gm4AAAAgAAAAIuZ2x5ZuHUVh4AAARIAAAHIGhlYWQTL8piAAAA4AAAADZoaGVhB90DjAAAALwAAAAkaG10eCwA//8AAAHUAAAALGxvY2EImgpGAAAEMAAAABhtYXhwARwAbgAAARgAAAAgbmFtZT5U/n0AAAtoAAACbXBvc3R4roygAAAN2AAAAI4AAQAAA4D/gABcBAD//wAABAAAAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAEAAFDsNlpfDzz1AAsEAAAAAADYCMM0AAAAANgIwzT///99BAADgAAAAAgAAgAAAAAAAAABAAAACwBiAAcAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQQAAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA5gDn5QOA/4AAXAOAAIMAAAABAAAAAAAABAAAAAQA//8EAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAFAAAAAwAAACwAAAAEAAABpgABAAAAAACgAAMAAQAAACwAAwAKAAABpgAEAHQAAAAUABAAAwAE5gDmCeZi537ngOeD58Pn4ufl//8AAOYA5gnmYed+54Dng+fD5+Ln5f//AAAAAAAAAAAAAAAAAAAAAAAAAAEAFAAUABQAFgAWABYAFgAWABYAAAABAAUAAwAEAAYABwAIAAIACQAKAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAACIAAAAAAAAAAoAAOYAAADmAAAAAAEAAOYJAADmCQAAAAUAAOZhAADmYQAAAAMAAOZiAADmYgAAAAQAAOd+AADnfgAAAAYAAOeAAADngAAAAAcAAOeDAADngwAAAAgAAOfDAADnwwAAAAIAAOfiAADn4gAAAAkAAOflAADn5QAAAAoAAAAAAAAAjAC6AOgBFAGAAf4CbgLqAzgDkAAF////ngQAA2MAJQA2AEcAWABhAAABFAcWFRQOAiIuAjU0NyY1ND4CMzIWFz4BMhYXPgEzMh4CATI+AjQuAiIOAhQeAgEyPgI0LgIiDgIUHgIBMj4CNC4CIg4CFB4CBTIWFAYiJjQ2BAAuLlCLu9S7ilEuLhwvQCQrSBcuZWhlLhhHKyU/Lxz8zgoRDgcHDhETEg0ICA0SATs1XUYoKEZdal1GKChGXQFnChINBwcNEhMRDggIDhH+1yg4OFA4OAKrRzNZaGGqfkhIfqphaFkzRyZCMxwlHxETExEfJRwzQv47FSUwNzAkFRUkMDcwJRX+1BstPEU8LRsbLTxFPC0bASwVJTA3MCQVFSQwNzAlFSAUHRMTHRQAAgAA/4AEAAOAAAsAFQAAAQYABxYAFzYANyYAAzMHJzMRIzcXIwIA2v7fBQUBIdraASEFBf7fmkCAgEBAgIBAA4AF/t/a2v7fBQUBIdraASH9RYCAAYCAgAAAAAAGAAAAAAPNAoYAAwAHAAsADwATABcAAAEhFSEHIRUhBRUhNQUVITUlMxUjJTMVIwEeAdj+KMcDdvyKAq/+CQH3/gkB2B8f/igfHwKFkk9GUh8fkx8feHt7ewAAAAYAAP+0AygDKwADAAcACwAPABMAFwAAEzMRIxMzESMTMxEjEzMRIwM1MxUDNTMV/ZKS4EdHmR8fkh8fd3t7ewJU/igCr/yKAq7+CQH3/gkB2B8f/igfHwABAAD/fQPcA4AAQgAAEwYWBw4BBwYWFxY2FxYXFhcWBgcGFhc+ATUWMzcXMjcXFjc+AScuASc+ATc2Fjc+AScuASc2JicuAScuAScOAQcOAZMDBAEDPhUTARwdKwQDBRUoAioVFDtddlMIBA0MAgo7NVKEHRIPMwEgGQoGMRsMFBMXNwECAgEJFQEDwpGSwQMBEAHrCB0mDVE0M1sVDFkECww4LQUaHyRRBAQxBAEBAQEhHAQRSCAeHwEkOCAFWgwITk1LOwweKAUZBwSd0AQE0J0KBAAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgATQAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJQ4BBxQXMzY3PgEyFhcWFzM2NS4BAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHP7FQlkFCDAHAQQ1TjUEAQcwCAVZAdsUGxsoGxsUFBsbKBsbAVEF/b6+/QUF/b6+/f0+Mx0dHRxoQkWYRUNnHB0dHGhCRZhFQ78CVUEHAQEGJjIyJgYBAQdBVQAAAAAHAAD/wAPAA0AAAAAJAAoAEwAfADgARAAAASMeATI2NCYiBgUjHgEyNjQmIgYDDgEHHgEXPgE3LgETBgcGIicuAScmNDc+ATc2MhceARcWFAcGJyEGBxUWFyE2NzUmAVAwARsoGxsoGwGPMAEbKBsbKBuBvv0FBf2+vv0FBf1JNEJFmEVDZxwdHRxoQkWYRUNnHB0dHKP+0AcBAQcBMAcBAQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUOfAQcwBwEBBzAHAAcAAP/AA8ADQAAAAAkACgATAB8AOABNAAABIx4BMjY0JiIGBSMeATI2NCYiBgMOAQceARc+ATcuARMGBwYiJy4BJyY0Nz4BNzYyFx4BFxYUBwYnIwYHDgEiJicmJyMGFR4BFz4BNzQBUDABGygbGygbAY8wARsoGxsoG4G+/QUF/b6+/QUF/Uk0QkWYRUNnHB0dHGhCRZhFQ2ccHR0cozAHAQQ1TjUEAQcwCAVZQkJZBQHbFBsbKBsbFBQbGygbGwFRBf2+vv0FBf2+vv39PjMdHR0caEJFmEVDZxwdHRxoQkWYRUO/AQYmMjImBgEBB0FVAgJVQQcAAgAA//gDiAMIACUAMQAAASMGBxUWFzMHLgEjIg4CFB4CMj4CNTQmJzcVFhczNjc1NCYBLgEnPgE3HgEXDgEDavwFAQEFoMcmWTA6aFMrK1NodGhTKx4dxwEFOAUBEf4hWngCAnhaWngCAngDCAEFOAUBxx0eK1NodGhTKytTaDowWSbHoAUBAQX8DRH9PAJ4Wlp4AgJ4Wlp4AAAAAgAA//ADkwMTACkANQAAAScmDwEnJg8BBh8BBy4BIyIOAhQeAjI+AjU0Jic3FxY/ATYvATc2AS4BJz4BNx4BFw4BA44qBgZcVAYFKwQEVYgmWTA6aFMrK1NodGhTKx4dh1QGBioEBFRcBP3+WngCAnhaWngCAngC4ysEBF1VBAQqBgZUhx0eK1NodGhTKytTaDowWSaIVQQEKgYGVFwG/V4CeFpaeAICeFpaeAAAAAAAABIA3gABAAAAAAAAABUAAAABAAAAAAABAAgAFQABAAAAAAACAAcAHQABAAAAAAADAAgAJAABAAAAAAAEAAgALAABAAAAAAAFAAsANAABAAAAAAAGAAgAPwABAAAAAAAKACsARwABAAAAAAALABMAcgADAAEECQAAACoAhQADAAEECQABABAArwADAAEECQACAA4AvwADAAEECQADABAAzQADAAEECQAEABAA3QADAAEECQAFABYA7QADAAEECQAGABABAwADAAEECQAKAFYBEwADAAEECQALACYBaQpDcmVhdGVkIGJ5IGljb25mb250Cmljb25mb250UmVndWxhcmljb25mb250aWNvbmZvbnRWZXJzaW9uIDEuMGljb25mb250R2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20ACgBDAHIAZQBhAHQAZQBkACAAYgB5ACAAaQBjAG8AbgBmAG8AbgB0AAoAaQBjAG8AbgBmAG8AbgB0AFIAZQBnAHUAbABhAHIAaQBjAG8AbgBmAG8AbgB0AGkAYwBvAG4AZgBvAG4AdABWAGUAcgBzAGkAbwBuACAAMQAuADAAaQBjAG8AbgBmAG8AbgB0AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsBAgEDAQQBBQEGAQcBCAEJAQoBCwEMAARiZWFyD3Jlc2l6ZS12ZXJ0aWNhbA9jaHVpemhpZmFuemh1YW4Qc2h1aXBpbmdmYW56aHVhbgJxcQVmcm93bgNtZWgFc21pbGUDbWFuBXdvbWFuAAAAAA==) format("truetype"),url(../img/iconfont.13b90fe6.svg#iconfont) format("svg")}.icon-bear:before{content:"\E600"}.icon-resize-vertical:before{content:"\E7C3"}.icon-chuizhifanzhuan:before{content:"\E661"}.icon-shuipingfanzhuan:before{content:"\E662"}.icon-qq:before{content:"\E609"}.icon-frown:before{content:"\E77E"}.icon-meh:before{content:"\E780"}.icon-smile:before{content:"\E783"}.icon-man:before{content:"\E7E2"}.icon-woman:before{content:"\E7E5"}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/font_1945396_k2lw9lbpkf.woff2?t=1644911706152) format("woff2"),url(//at.alicdn.com/t/font_1945396_k2lw9lbpkf.woff?t=1644911706152) format("woff"),url(//at.alicdn.com/t/font_1945396_k2lw9lbpkf.ttf?t=1644911706152) format("truetype")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconcaidanshouqi:before{content:"\E791"}.iconcaidanzhankai:before{content:"\E792"}.icondingdan:before{content:"\E760"}.iconapp:before{content:"\E75B"}.iconPC:before{content:"\E75C"}.iconxiaochengxu:before{content:"\E75D"}.icongongzhonghao:before{content:"\E75E"}.iconh5:before{content:"\E75F"}.iconshipin:before{content:"\E758"}.iconqiehuanhuiyuan:before{content:"\E757"}.iconguadan:before{content:"\E756"}.iconhexiaodingdanjine:before{content:"\E73C"}.iconmendiandingdanjine:before{content:"\E73B"}.iconmendianchengjiaoyonghushu:before{content:"\E73D"}.iconfufeihuiyuanjine:before{content:"\E73E"}.iconshouyindingdanjine:before{content:"\E73F"}.iconmendianxinzengyonghushu:before{content:"\E740"}.iconhuiyuankajihuoshu:before{content:"\E741"}.iconxinzengyonghushu1:before{content:"\E742"}.iconfenpeidingdanjine:before{content:"\E743"}.iconyuexiaohaojine:before{content:"\E744"}.iconerweima-xingerenzhongxin:before{content:"\E715"}.iconhuishan:before{content:"\E70F"}.iconshangpinshuliang-jia:before{content:"\E70E"}.iconshangpinshuliang-jian:before{content:"\E70D"}.icontupianguanggao1:before{content:"\E6FE"}.iconsousukuang1:before{content:"\E6FF"}.iconwenzhangliebiao1:before{content:"\E700"}.iconpintuan1:before{content:"\E701"}.iconshangpinliebiao1:before{content:"\E702"}.iconyouhuiquan1:before{content:"\E703"}.iconxiaochengxuzhibo1:before{content:"\E704"}.iconmiaosha1:before{content:"\E705"}.iconxinwenbobao1:before{content:"\E706"}.icondaohangzu1:before{content:"\E6F3"}.iconbiaoti1:before{content:"\E6F4"}.iconfenleidaohang1:before{content:"\E6F5"}.iconcuxiaoliebiao1:before{content:"\E6F6"}.iconfuzhukongbai1:before{content:"\E6F7"}.iconhuodongmofang1:before{content:"\E6F8"}.iconguanzhugongzhonghao1:before{content:"\E6F9"}.iconkanjia1:before{content:"\E6FA"}.iconfuzhuxian1:before{content:"\E6FB"}.iconkefu1:before{content:"\E6FC"}.iconfuwenben1:before{content:"\E6FD"}.icondantu:before{content:"\E6F0"}.iconlashen:before{content:"\E6F1"}.iconpingpu:before{content:"\E6F2"}.iconshouhou-tuikuan-lan:before{content:"\E6EA"}.icondaifukuan-lan:before{content:"\E6EB"}.icondaishouhuo-lan:before{content:"\E6EC"}.icondaipingjia-lan:before{content:"\E6EE"}.icondaifahuo-lan:before{content:"\E6EF"}.icondaifukuan-ju:before{content:"\E6E5"}.iconshouhou-tuikuan-ju:before{content:"\E6E6"}.icondaishouhuo-ju:before{content:"\E6E7"}.icondaipingjia-ju:before{content:"\E6E8"}.icondaifahuo-ju:before{content:"\E6E9"}.icondaipingjia-fen:before{content:"\E6E0"}.icondaishouhuo-fen:before{content:"\E6E1"}.icondaifukuan-fen:before{content:"\E6E2"}.icondaifahuo-fen:before{content:"\E6E3"}.icona-shouhoutuikuan-fen:before{content:"\E6E4"}.icondaifahuo-lv:before{content:"\E6DB"}.icondaishouhuo-lv:before{content:"\E6DC"}.icondaifukuan-lv:before{content:"\E6DD"}.icondaipingjia-lv:before{content:"\E6DE"}.iconshouhou-tuikuan-lv:before{content:"\E6DF"}.icondaifukuan1:before{content:"\E6D5"}.icondaipingjia1:before{content:"\E6D6"}.iconshouhou_tuikuan:before{content:"\E6D7"}.icondaifahuo1:before{content:"\E6D8"}.icondaishouhuo1:before{content:"\E6D9"}.iconshezhi:before{content:"\E6D4"}.icons-kefu:before{content:"\E6D3"}.iconduohang:before{content:"\E6B4"}.icon4ge1:before{content:"\E6B5"}.icon5ge1:before{content:"\E6B6"}.icondayuanjiao:before{content:"\E6B7"}.icon3ge1:before{content:"\E6B8"}.icondanhang:before{content:"\E6B9"}.iconzuoyoutuwen:before{content:"\E6B3"}.iconyangshi8:before{content:"\E6B1"}.iconyangshi9:before{content:"\E6B2"}.iconyangshi1:before{content:"\E6AA"}.iconyangshi4:before{content:"\E6AB"}.iconyangshi5:before{content:"\E6AC"}.iconyangshi6:before{content:"\E6AD"}.iconyangshi2:before{content:"\E6AE"}.iconyangshi7:before{content:"\E6AF"}.iconyangshi3:before{content:"\E6B0"}.iconshuzi:before{content:"\E6A8"}.iconjinyong:before{content:"\E6A9"}.icon4ge:before{content:"\E6A5"}.icon3ge:before{content:"\E6A6"}.icon5ge:before{content:"\E6A7"}.icon2hang:before{content:"\E6A2"}.icon3hang:before{content:"\E6A3"}.icon4hang:before{content:"\E6A4"}.iconxiayi:before{content:"\E69E"}.iconshangyi:before{content:"\E6A1"}.iconshanchu2:before{content:"\E69F"}.iconfuzhi:before{content:"\E6A0"}.iconzuixin:before{content:"\E683"}.iconxuanzhong6:before{content:"\E76D"}.icontianjia:before{content:"\E76C"}@font-face{font-family:iconfontYI;src:url(../fonts/iconfontYI.d1990cbc.eot);src:url(../fonts/iconfontYI.d1990cbc.eot#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAF40AAsAAAAAvagAAF3jAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCaHgqCvxyB/BIBNgIkA4VIC4JmAAQgBYRtB5B4G+6ZB5TbJwU4DwLkZG47RwaCjZPwMMDp7EDsdihQKjaf/f+fkpyM4ZgKTKvq9R9IhexQVlXhCbPCsWBzVVRYJFo7DUdIKMJx5md3D3C1zIz3KEo+wJwkG5k/6F4KJhYTitkrgYFty104rIjmo/37yxRUolB2cZjVsP5rJm97DbAFcWt479FOTV40Gp3wPL+//9Y+ex+8ez9GYIKUwfzTKCnNhDhdipBCgTv38Pzcev//VcPGGDUqBUbF2MaI2sY2qkemjaKUnoKiAhZgIGCgTckEG1DMs1DsO+9ErIT/p9/zt+9Z7w/FKEo2QwlK0iQhF4FKFgA8z/45vl9DsiA3wUiKesTn5z4Xfe5qjr7N19HPI2wDndkDsCLgf99pvWS3C1d20p6TprMILAgMlLPI/pF/rV8KFAYCnXYA2wUCx37AAwH37g1SJo6eVX+AyvenYo9EYEt8gdxKSq033bDU9Y7mrMa2FgDTHiU9IJjdKcExx6Q2FfIl239J6I4D85/TTLr+v8sfBIGCbQVaTieLkPeyy4ZAKZPhIvgiXaXrB0EyUzBI8iAEBrmCBbqtkdN5MAqJ5pBsBzZJjeM8qrWttrB/gOvG99UZxg4d0TKQc7hteUqj2r8gpaBCBt123zAyWjen9jgEGaAs2OMt/8U95DVkZTiD80IecRD/v6q+KyC6UL+6/KJkclNaHZbf95Sxrhm2dx8AEQ8gSAKkFIGQbJF0I+lCkNIPSMr+lCPn0O2XUu30CpCyP0H9Qkh2In77+JC/VSmlTaWVYWrDkrH0LVmzZswwJVPpw5Rxz7ZmGNZQ0Y7zRLMFoZsnLBlRJBIIJ1ZqpJiDK4Be59ttqQ9jzffBbMclHwwdmhISkrHmN3ccB0Gb42hpLJpaEgIzldeaH3Pfs+SvdS3LyskSF6IbEc3bPQSo6MMGNPctVA4KRrIrAWTPZ2YKKKUgZjixUBCS5jqtVY53o4SjmyyOyY+8fOu1Bg4CUUkqrtzmnw5mfgQ/40j1v+x9qFh/KjCxAgVGAdg/7yEtWIgmyVEQKt3fj0vXBm3MJDIlnhMRCxVOKVG2AqUqLbbcSmvV2e6Y8VcXXk2+uvbq5qunr168Wnj98PqJKRvO3HniT7zQSRa9ps3+s+j17/reD/7qv5j/Psqooaa21d7uOjvSicYXFsBH8MXv8uhyeplrzZMeNeZ6Rxu7HGif9sCFL2p23TuPHPjlwze2dcHBjnfqRy0ZKLTxHfyyo3+jf7h+Pekf4OpHm7hsaPt2t+N1fGbzj+BI0Qk8PPiE/udEduTBRGEsYBariUznhqOAUcjsRagJ9PMLfHj+/sfsljcbjizfs/bjwaFD23ZGyMnNm5u/enO4C0te79j15dXGQMfRY8d/fQ5x9uuqKJ9O7T9wcc3KeedPn3i5aOm63VnLNn1b+DZSrIL5716c+VlYVDyrpLSsorKquqa2rr6hMdrf1rb2fV3dPb19/QOLB4dHRsfGJyanpmcyFzzbHipegsSk5JTUtPTfGZcuX7l6rfnP9Rs3b92+e+fe/QcPHz1+Wt7U+eT7Ov+Op0Y4GdgY6gdg6f8vgGOUQFgkMOYIghmCwnJBHzcYTBAsxgsOHQWPg0LAYCGiCSHhvJBRg1BiNypQk9DQXeg4IQzsEw0cF01cECa6CQuvRAtHhI3Roo25wsEg0cF00cUI0cNJ0ccsMcAPwsVsMcREMcIUMUY9YpLuZkojZiZmLrVmAVfEEsPECuPEGnWJDVaKbcpnB4dlESaLPaaKA86IIw4JD2PECS/FGe/EBfPEFfPFDQvEHZfEA6fFE7UIH8vED2dFgKEiRAMiwikRY7GEJm/hYnLPKsFwUWKIJKKnZGOFFGCJlGKhVOKALEZfWYYBshwjZSWmyRp0kLUYKHUYK9txTo6ijxzDURlDfTKOxuQCrsokesk1HJOb2C9PsVRe4KK8wzWZx3V5jxvyAV3lI27KJ9ySz7gtX3BHvuKufMM9+Y778gMP5Cceyi88kt94LH/wRBbwVCGjIUUTLxRjvFZM8EYxxVvFBjMVB3xQHPFR4eGT4oTPijO+KO74qnjim+KDfoovvit8/KiI8ZMSiJ+VIPyiBONXJQS/KaH4XQnHH0oE/lQk+EuJQnslOv+yJtirzGKSikWoTUUdmlJRj2ZUdLI1X3RZC/ZaSwasFYPWmsvWhivWlqsiXFaJQTvVaVitOgNrVDdgreqNWKe6SWPr2WrP2SapdtvAbttIp23ioG3mkG3hsG3jiG3luG3nhMR2ynZwWmZwxnYyYLsYtD0MyZyG7Rkj9p6ztptRO4/aqljEObOYMbOEcf8oe8MBAC5EIFtCN8eEfmDWTrAdFk+UmTGMsIt6kiguVCRSEVYSgxZzOpEGS7aDRc0sFfWBHvYgJso+BBRrx2Qi095SbOkAW4gi1YIRXMLdaIp5E6MnTCSraDVGWTcxaDD3a8h4ImYpmhdRmJgMLmVtxNQNay3VivUnjQkJbyeFrjjdaz3pVVnLjoDYcNkQ1iYaNAfi154Qdc0aYJ0gplEXFzCvqEkcelxj4+gAcLh1y466cWwfmEfhmOV42TDQ7NipCJExwXg3hdJr3+U9y5qRT1PisxVSH725Cv9YZL9DcUZuqRDQcunY+8Bhh6H6wUxAnaulV+WkllqfB3eRAN5u0lO4iycitaL5OVjMZjG/DAEV6+vpHTOkjpQea5WDh5ygsarc6o6ZB5GKowTGJgeWtkQ4pyueVkbvI+AnSgKvvExpwgpN3rjqnUExMTs2iBCJ6wEvHDxY/Gb38//wsmHX4WZrs4yQR5EO22rB9cy2h50iBFQ7KvMjsWZF1KwKZNSr7WzxvowFEKgoQhiqygaHRAmBj0HGlEZmka2l9X4gpnChIQg2cIKqnpAy+DSO7rXTxO2nmjebx4IKgRD9NtKSora+ubIbY/PTN47g9+aoMjc76bpNdi/rjLqlqfh1OcvAkvmABvBbyIfIs4hiTrvdElT3su0TOovGNlChuw8He19qC1yMDo2VXdKpbA1bYTCiWhIKH9kppa2wSyUNP/JY9/rPSwlTOK0v53yKU5iVSC1RCGaToVuwJIXCJtFVWAKhR0ZTm4tAyJp2eUeg8pSAjx5RJMigQI0N77g0NeUC3XE6ZhUjb7MyCHCFtZ5FP4iss6Rk8H3kZY5diozcN5n4EtESOKLnm67xog2pcH0Yqi5mxt9WD6o1EJTkfodcAEOEVhpRChiS5MZM2V5ix27qDLZmjrc3z0d/K/+wdtFupeS4tV79uZodbJqFTbnT/iPJEMSCYF2gPTRN0AOACWt2CMfCBegtsMqjKW74t2Zy1lW/xIw3cLZWwAhA6M7UofI1WCyAIShEBP/BG25pHta2iIJmgJSKNverLdOndQ6Zp72eybP8FarcpLM99EHW0ky4UiJxZ4aXGswgupQT4TAbLnsHhndlcAx8mMKZkgwbgpWV294WZKPJqSaZGEsFtwK8dNqKi2F15SG3hUyCc8iz1kVz2iULUv+0tvG8scsI/TPGow3nAUGes7nfF6xDGxFc2U4rQT/WtoBj953e0gOuuPmVx19+yL/c2bSIkvQqKWloOL6GQ9Jb173mWqXQ3zBmzzockM9fOt4n0w43gyMAJMzmMAqSDppbHWoeGGfmTLV3brLhVD9O5w70HZBM8DVn1g6GiitzgGPhMgXdmS6z8R1jkvyolbhH7/ox99lL7pwkAei8lFg8dl980Pqq+RA8NtEgnoiIO+kSkcxsjiqSQ6J4JPaC1jc2yh/lt+HFtWY3DpLCDaTLf68aWfmq9QDQ9iiqTbdv3G3e0+7E21QbwKbDIBmpxZK6PmZiHSqdCdfFBrf1vjcVCQXVDCQ9wisQrbvsjYIVjoRFxW3WrgQ1DoiwqsFU2wks4oIInaT1TlorbAO57m06G+7aG9BKIgGwJnXjuO25YbitqYSu9hoCPBtohjzDYajyNijm7l0JwdFhQ9oZZq7iySOpb7GBDWxEdgaJCMtyJOJJNo8mAX+Msuo1QKTu7APBNvvCtiSjXEyh6Vk8NwOHzQIIRgtCGg4wodtCBMJoC8kmLvpo2gM/+LeZRpBTq76FgDJ8M7z2PX07s/HkZvyLx/eUU25e5eTnl04p4PirudwVSKsn1ypkJf8DJBM4zukribNWcG52g+qU+HFExTNUI2Q4FZPTwlFsBaIlIVyCPemjqe0pSOvIuFg4OmbmokMSmfVT/kXB5CZtTmGOlWobOwaJIOVmWk4CWYq7/EChevaUS1+WBlX9ngNfE9LAoLbnueWLz3wWElTKMPwV2g/nCm7eevjjOPpRgEl8DhJ1RiFUfctuzCqk1PZJkeVHWSqe1Wb5ohlYjgTKIrI6iGpGyj9hVi6xvzrHnzHco+7c5F19imckU2QeC5KzZw+qo/GhQ1hVFGLMzs8cULy1Qg+DgRqfBUFy2l63wu+QBCt2BpJSI5s7xAwkjor/Z1phUzROQfuKxIeyYL9EoiIndGNF8ptYQV0U33CA049Ih5MqoPwYJENuJWpEFa3qAomb6wa6RCbeToQjq1OikYROVMV9rbtXekesxmSa9EfhkOQ4VNO512F/tOKKy9mVjEdXRohXAwk4h7Ry15Dk+5gnCAzpqyMHZzvE/mC54WLb0Eor9vQjHYSVMET0GEZqQ5Cglk4SZ/yF/fVmK+YOOmpXazVjcor8jcRnsUYL38lzmhQu1xZ/7pgaGTWmeS2J+wfmqYJo9HSOF3vJ9duJslZGLXmcseBi2N+0BhY3r+xFUMBRVOKTmhWog2FaKa1VDV8HIlgupMy5Z3qsAWQpb5UeQ1D1vfzb/Y0vN711e22pv+GcLvMyC7C8UXxdA0pV5rjt+JgZSDrc+kLRaSuujGg0M2XJaCzha4VurIzIpDo7XcUSo3H6YtJ5CL1+3j6iQjgPM2YCRJlhzYvCrSv2xre5iArX0AxAhr5MSBRvSFvnopKUthKe4ksLthMzF6c6SLqgDHFvJAXmRtJ2CXn+j0QACxemPUR5QE1jaG2WEgT6iDvHpSYmKuTe7ShR4OUyJRHFrpz6niZkdIMmPikkN783MHHr09+Ghj5BLYqsjQzdHBUHh1TfDbxE8eQTzdNgIUkdVoJeMjQYVtYGqU7AO4CXLH6uyMM/WvV9BU6NzY7pvnqlxneltaEH95QG9Rr50ZaVg7/57tq1cZffODxs8hqkX9uufKL4owOdf2SFMQwAiecsFcMKISE5Cry0hjETIrsMUUQCPnw0P/dsYyGqJlSQAe96fRk5IcElDnmW22G+QmIZtFsxDAFAASA7sII9lxFEpjS6mIXIxOAknZRQSg8AGovy2Vyyd8Ajg0Om3z64I20AJPu1kfBNr3WgSkZtXIfX7wf595S1QVjzd+UsVI1H63CwFHYXKdvBuzLr8sX4FwU6YkHCsvm/wqH6gSLthGAovfTtfHRX7jVwJiLfSNPWduWx/TloTnlnwlyQbj+byZVaGzkwYsNeB6XwLubsJz/J0u7H9zyfZ0u5zXT7A5ovjpZzKQf2XnCZpNunndGlXCmoU3Sl7Ms0Ga8I+SPBaffR0gWO4NwNWMy6hySIbF7y4ExVj54HXHjdQ3MjAZY1nzdMF25G6b2CcWdgFRXuJQoafpQ4rWmM5HrV0FxzhCTSDIEFhQRBuW84gp3gOV7u6VdwhmgaNLlQSphnjhIjX62TdUn00q8nMaj29HM4Cd5opyDoxtrOR1sJDIW7c6bbbhUvlT8TqF90WkQ75mle3QztEJy1MppJymApNyW+1grgGS3drCoX8CzazYJGgLMt/SK8VlgiPLDOgYPFs3RfZgfcg9Cn+ZN4X+5NOPWV/HE5mI2qgu3FvovbYXRTyLaPMnZ/3vdpmQpX81+K9kf9zVsQ8KLaNOud8P3mmtsuLb72bekUfaWiGXpWraiC19IaVIsXkHeYtaoDW8FEAiJZ2HgoD6sZcvy52v2KFZHkeIJ79DLpnTKgopOy/4zNhMQmYCV531BTgzXDkkvFO7k9aDGDZMvaln5K8FKevVOlwm1LK6yUrdwFTIdtBhppHW1syZww/eEYjm1OfvnH8PeV0buZdwtb0XmKVyPTp3g80XEMP+eIYhOFZy1Sari8IWgrbae9jiY4Jk49zy6CuerUtmHg97n1VMUohMMnzb1SSoPkNw4j+B2IC5evk12gWeJu5W4xk/U7og1SrpYcyOiBgg3mwpHXvjUTK4QfLMiQRJV9T6bK7BLzz5TYXS/1zzrnGmJheUdc25KGqo6lqlNxPOeUtazm3rCpM6Cqr1S3lgTxUqAcdS3C+J/eyhGcfrmpd9jW2UhOM2DxQjtacjuplevXxWDtIrMnRrIPKnXJlp4safWMR0tdkDUo2E2Vh18rV5CqG2pvbEnOOxfvYNM1Ot6rN6q8o3i9rGbH05tuO0SBg76eidoeitZK+7hqOJ0sqwY3q9RdOJeVdZ577W+Ss9pdtZx3p7ev9ibIoOv1IyfsuR1/GdS087rx0tdJtlLKWCj4mDhrbabuhZlKWR8KdvRJGCH8SaHf5wlFsNmPnZ5Kq9jbs8XQDxhB0PBCvwKYvEwwbH2JvweIbL2OC0QwuxDsp2IIPsnUpl+UZMPfqE6VYocMmRN0UOLBXE/PpfjgpsVwhs+BIX+5L8upIcnO7AyC/lQM+9GVlaSZKYWi/Cl5JULhYV4XyuJLAfq2RB5z169WD2b8XLxN2Jpwk5AP7b5T+AMT+OxbSS+MaOS8JEDv63a1OlZ/BQJKuN/vh1KUrav0Vp/vhyqmqIdbCpJ+BZHmyNnLSQet2uPzhuOJ7inaWP9yohGMokv6K5vT4fH1YW9xbYfCCeaLSn1LTnBXGoE4Q3JxyVaCBDCSQfHcpbjpr2t7i/e7Co2TMAq4CYbS178eVkaGJMXc6Kc7tpD2kBvh/I+geU1mZCQIt8wPGsKFPUR10G2P9VPVH/ea8acEw2yAwgWuU+MvW0dj6gf8S23Q3B89VPzpJItasE5zKGAxLvmWwxPcRm9rl0RlJliB8iNXwqxOQ4ENo4Y1BwTJdGX32tJhEGwcHYXumjYynLbeaaOjyxug0fRKGFRDi/c3k1hBsouJ66tKwZZP8KMT16BlerpPefQu5RH4AZm9+RB1Zl2NKN6aRf9Iypb/Cmme+40aVLmEnWlTkCD8G/TixAz58imOixw85yIVM1zSWNLVK0kdeZbsB0lHELtVReKYRoVziJXesRyJ28ylMUYwClmKQPttPOGwzKc7JHW8gvsT9m64e9u4ChLC7V4zjszdxSTYPibrC+dL2hlAIsHF26Ha3kfaEqpxcyc0uGdZtxQb8VVN+togz4yoRJef258pzVjIdy1cEwKltYKofsxAYfcaudHtc/aSTLSzj/IElVhlcjG3T8ouoWZVb7RKrdireEjSXEGsv3t51p/V73uYd5/QgUO/DebS5YcHQefpCovzE2TFBTO0EYiVGPqtAsrnA1IKYT2JSIIFD0CvAklkhsa5bOfCF+6P5rSvuyNeskiY8lyfmb4M3/adHFOSY08s3u4Cv71REyrVg6QknESse+OMEqeP070V1GwExTANiTVQODMgdqqGieK4iiRmrXVI0G652lSxhYf4SHvqK++PM8DRP21xMkavIOcqWtvXiiZY+krQwV8v/CtcnXErLwRJsv4LNvvcRulMJrC36Iw4BN1Yse2PWnL/xNwWrjNIYeQ0entBzL/H3lMwE3e5QMXPUdHlkdx0Utgz9Vf0Rr84cJrxX123jr7GaciIYpSSjEGQpAQXcQG7Jqa8QgmCl0IUMJ94HeblDdzm/ydci4QIxFO9r7+uWPmh1dNUOIgg2dX3roQUbavgyahkZcztVyFBfLno0n7QpQ47jreZLi52AwlQqL2i9H/ZDEzpOEjwrIgNEMsPt6GlB/QvWcvaCVM6gmQs6ranfJbuSkmmmOk7hNtOpfMMJaNKNmxDWIb5vNunwkUNbZEY2E4TNjC5WtQ1K/oRqcNGHdFUKExzusoPOKxDC54Z/IiKH6h3pQj7PHec2M5yZJAYRn1MNOzx2I5ZWr8fhWR7aM1JXRz9u29ggoifbatHwCe4xckmXtDwy4EXdsCJUiXwippBsmPO7ZMdDfldTNzRuERcSvnF9aIthvpW4Wzhsvm5S18iI/Aeu5hP9olb+WVslIy8Bq5DXFKjlwp2cYMgQNCTBzEhiEVBP4u6++0DVdd5a0edY5MSvRnXmDo45Bys4XGKC2jvEfvwGCr6b8V7WOLnVrKR9kkvcziQtKcNwyZYUQrdrl3gAUVFgQpYhHXtOqIYliqKj/z3okowh3sJQ7Dw62azDODdBf/Fb1wf5t36Kkh6C0OL7e8JaQ4JakfEH4Pd+5U2EUs5u3o++jUX1u8lPs452ifZuCF+OXZPV/bmm+2jBh3GzqHlqTqfFWyaVmcYF5xTyuhbiMTaC4wBXjCDBOeqQF+8qP/wzr2yxbIC8EuosIpI45jtD1lHJNMZlCPbI/295o9zgx1156q7xnRnZ2ZbFBF4BR9w8eVyYB89d8nTz1z87NOXPvfsZTNslk/9fXW83Jv2Z6c8ccvUjD87jSASl1Duw3Hrw0oQQRQRzAmGcAcjukHa2VMEwQcYniM8WEueAdSQHhIyH2BCF8xxNyazfq6wi1PKe3B1UG81e/21CR/czvMIMxtRJGMAVLviAJJUxdw6VOB4AKfn7mjkioyr/0aKbAfdHP8ovephSj8HE3Vn5fPxS2rpiOqJcfjx2kQmI+gJektiSvx0cj4uFi0Jay/xx7ksd2tkAqzon8670P7jDClmoDUZdLQwfwXqNDoFyC4BdQSqJ5OpofSB6bfTbaiXSRDcT1W9W5su40U288pHJ7z1kpOcY2bsWH/GaI8sNOgTblVHlSNE6JstBrhKk+h0nyGXpHBQYaFrWlykokqhxurVuRAFtWpYp5y+pjtpGPW7ib1V7r/+//sXx87JTMmqjjs9JyewweY+FPM0wnlaLuL/pGwiOcVXM2ca2wZZQRHFSOtMVSYYzHdPa5DJgvVzEpafwJFbumO0ACBBEAJieLked+aMbgP3mW1TmnVeDnayz19bZhvSzk0YvBBDRLUQkgrHOUP0yF++KGbr3zuTb4Zw59Xm9f+fzB2dW/8+alP1Jz7GF3Bc6W95gwVUGeFQo8h283I46IfmaHHkxXjWr7yCgiLg5Y1a0F1TtH7fnC4lIztzrqj2PTZKTD9Kd/lx6PqK17J6zbP1Tu0jvarvPYGPl4kFh0t/UsgHy4W2uXFmNevqXv7/OTUmBPml6Mguop+WoeP5TOeYGbScD4ethATlICKz4WH8oLMGKVAI2i2sBQyqeM5DCGdBiOvOt+Mdv60Ss0c53wxBAwcmq0hEFE/GS57hVH2rxuG6hmtZxDq0qlci4RgAlAI8LBCML7jGYbHhRI20oDhLmSANTYxarNbF7f4wtNZhHsPNTdWPSfvsm7kxJ2mt6KZigr4hB0fgcxMlLRqueAv904c/rxqEjI8N70rqVNymn0piJWcbCwfusfNz+x4iTxce/FUbZ7dzCwBJzOaTCT4aYeRpsNbfa4/R1defjV4fJado731RSJkP0Nk5+3XszE904cbd3yozhZGns3+2ervr/IYxCs8PB0smLo4PqPGlxBP5CFL9+f7vm3g4Dxv5rW89r63XdvwA772gs7Nt5NOGFemhxmM2Qx8u5uVqVCdUDGgjbti0nVudot2T6V5TrEw21r16OkrU25ElqrTbM/KbOIq5pH0SaUH4qZJ8H3tNc8+S3SBAzaB6rsDQzUyok061PaAFcepCISx3GFIOVEY45YbE9tAUb7jAJgHnVHUD2/cBMxjUhzhKlxPLsFyX20jSEhRZZaoWngS+COycW9dMPc3R08wRS3mkGaKaM9HrkQuvjBr3qrdwdD7zLI4nOJ2cdQcFPR5fsGuPOe6Uc5EkVwo6KU/Zpwr0sCZlIX3Atlyg10AY45PfgcJsuoCX2vN66wqSawta7kKwn6cm835PXkfNbXoedchIpbAexHMJedI2Y+XxEybw23MLz803orE5BGpctdnWUitGC8CqzXYZI3oce5q5ouU7OfdbzhU7DFdGWkk1nMPA3urI4lql2mHDGHVy+D9EayFkxVYqa9A6UemZ0SfiT5lOPqtR2g+7W0kuj0URP2/jjqjRK/BpVmEcjbXvuuNHi3urpZ7RrJT75uk2MrgkCNKoLCP1JolaVTtn+kkX74N/pOlKqMtKp2K4i3SNjM1AOe+E+K0cgvsILpX7dAKFzjO4RBTAGoEwh3zA55ctlaBLaYqn7eOsPOGp21NLGtXLmlRKigSCtlfHksGjWBJID6cY7OgVEQ8H0XcV0wOMR0vEfRMmiMCWnOVKTjsmLsGAHjBoU0L0ClKMqYhXQAmTARkGTrlbYitd5m3RGi+lBgLcHCuEIDxmbiIgmWd4hkJCcOBNjcklYDh2P04yZ9ckACZPC9elRMPkdKK+hRmuUrq2PRqLZxR2ElUUzo3dQhLtPhkPnuBIiRFQONJwE2RFlR29CSDtekWoLn7avIWbMfCu8shlAiRMkS2CDO9rW5ci7CAlxRBiTwyK6LaFqnUZXpV7MkgOwkRxG5U4s6wMSPZoyHdK0CR1HAGiMUxm27zj82pJTN4fx7peDY+h2bIhCmuoqAc5lNiMmKG6IWbsVmP+6QV8bHsFVguwUkY8oxAh0jlIHiA+kUiAQ/yPI5zhgyDAI7+3exdVDbNS0yrVZWxaNQPVdK1pVVUaNrSKXr+nK8L2nWxV7VQ9W0FV3bSMJoERdOjiV6ro1lw3BAUqtbozs4mOg4xlWWVNf0omPKxUbjnnFlYoyYlXo5WzrK7RsxwhQiUZEcKRRyrEMqhu4cowbVU9i0qAfI1IUxB38EubjVQitWf4pz6LmsfraDUQqWPUbLSa9fFZVCA5q0Jk+lMrY2Qw+j1MTi08E+g4MuCqxjGXBl7t1ATx/QBzvaExo0+vBggRSwqjgleHSDTyXMugHFui1orSAa40JMXxGJG0RfXpfLUSblY/bCbyZ8ihJms/IWa1aqNpx9RZPIM5bk08+TW6+hRRu++Rc6YkM6QlCJnyUfYCJrk59c/+BfpssIKI3GeMdzEStefdrSnHsxitDnWrqFeL0dgiM51go8rq+L6R5VeZIEKo9boEkZBwtiB77uYpOfI4thl6dZ4zBARpz+twCSrzTVKpL9aay/C0gsvQ3Ks7Iwvw0pzNMc+kJ+ny0oNI/yUjC8tSqlaAmbxDSFFmU/ospy1JpTjb+KjeMZpUbz1XJ63Z3LIStQardDpEIJZrjuhzFTLdwLxLpy0LN5+VFu6U4jhpthpPlfpMrM8az3Rx14N2FJ3d0uJd1Wk8hS1cJ9NkqtHCU0+WG1rKUyNclccDnJLRJ2AupQU6cowpF6uRHwf4wAuoN6GsloTfakY4UieGmVXTrBOufyzGca3PeGw6Vlt0+G0WmXnWYgajZqs++9xMHLB/u6o35udeWWg8Mzf/1qMrvldP4ktZ4qXZUzg1FdwsDrSu/4yoBCMdI7ApwW7Qup4LIKHrmoKkHx6pSK0N3mDj4LnwtEFiDCvsttSj2prdrO4gJFn/FzNuSzjsPZfaypT+sqQZhv+a11XW/rz09X9UXBGjafB4nptnfnpOYu0EFQp0laG0Ld/2oIKd0sh6rXBsbchbWl8dS2+GNt4UFU4nrVSJfMX+2ygkss2Nwsw6hdOyHTiESJYGODoAo5vOBsANIhhuzg+RF3VOvVMgx3lD9dj40VPNGj5J2WOT7y9KrTZeiR4Z3pygIQ1BxeP1IrYvQ06kpzc7YYHlCG/tvAxXgTvsjMF04BMvPA2w+5bqeukCq7j90Eon6a6v1dfVjdj6LYMz8fDjEWzEA799dCuVVXtKmEHLK16kGVwJeNnsRDl6cHZwCqOkU9EPN16bFqmcpQaqc6YWMQLC1tC01k6ysoSdiFl7bAxvwrHE0NgAXXaJWVBjNP9MdXDOejAC3OaOboVyRrFoxtpfms58CES6g1q+BxJDDRrMlM+m+ZBPjiNvo2IOAMnZg634AVKxuSaobOUKDicQXAnIcKmXGeH1gPIVi6FZCWo4ji9p7RIMB56QWnfoJ0G8KCaXDfwwag8L6tBOdkGeOeecPb0cLBvi1S/AB6XO17ziB8s7b1cfC/5Sorf4HBUvUSYOOk994r5fRAVRo1YrZkqs3xr4fGVMX1DuLOunntDhT9bDrqkONrfGVuyjNTD2kMueaISqVRMkJ6qh+uG6WRcuXCMMsYgSzyQLIqrqk51ixVpxZUDbDo4mdlqLM+WI9nwtkkkd4gP8lL8OSfIh9tYRLChw2wNr2fBKa0fsWKYomc3SfSrcl/d8XKYPFr2+QjCvBWuyQ3Nkvqmf2h68KuPXnPf+dADbFFBRd+UDe8AEcbzINC4YV1Ajl0XQA+IJwCT4cUr+C0JAKOxnF+DJYlyDmQkh5nNxHpAi7z1OnRekdXGBoPJMKm9M68oInpYjeMIBNADDSPrT5FrKNd/7y1XC8gcx9GQUIa2lPi79x0ZKVfupMYBEVZvxUqhMkEkgOXCBdWDcJCg88AUxNNx2BLva4bPHbI7O3+bR6KBHT4I8icVEq5inV2Mx525tn3Qundk1Mz718fLE+LaJjAnjZvVxQmP7VWh4xHzPy8yXgIsIz6L+/EHBn10Aj0pitGkqY9abCEBe3wHPR+dujG86P31uxjXx9WfX7ujldstsV0R3u356ldQOJTjg1+8Dfv064PevO+H37+e/CqHEVa5gn0VJqsSWEgpN7Fx+Yt7ipEXtnAMXinK7E+3zdDUAhMYOIIyNFQJti4mFhHJMjKgNio0BXnxGZ+dXp/URyIn5+ZOoE6ilICdUTSdQ4WAdb2VXZ7uev+77+K3IpcuI8lsV4d9G/6UAUQJot1FyF3Qa+D6GbJ5k5GdM21wHwm7jKCMHl5LSkv0OYlgIKr0IgeigoMilOoWabOvQIIZ87/jRlaVl522iIE8+HVIGY2StQrn5ilyw6CVFB2FWwAYnyzdFFYlvakYpZKpMFFVddPshK4At8WyIjLy38uAKt6CguqPRmhLGz7VrBGV+pXFcgrleWlgQJBBVMUKE5ySZBY2kg3kQ4LbGGhmmSS0PJUcLqGms4ODW8d6AplkNrwa53P1U+Ck8WBitg0+cgOHrDFBAU+IXw11dMPxiAxTQVN1pKKq8PAoeMoCHmgL3sbPtuu2TPbo9OunVI2S40q2j2xtpOjrteu1DdapOr14JLMhERdbVmVuPri5wgTtTMVvk/Hz+ttGB9I56wlVCXYe6o046r+9YmCPwOvIItZq2rCNNeUWLTdPjSPkdvGOahzDsZimhsjJIGW1lpUoYDaOMZUqoKgBKSoKaD1BAIZ26OGCH66H14uywvbQeLHBH+GlkO1XHnoWHtSmGP3/NCSSbntJPnVJqxmn2aq7Binp7WxeTdBwXFs5zNu7pFWECsQ2Y2J64eHQttQKd0ConNZBEw1GTIrIcPEkXkXpITrSJw3FkTArJ9WRRawK/kpJZ7l6tkLGFFhuYvVajgzZzlBg9jwlx+vxDdBLjlggqmP7pDGw7LXkIRAsiMIKG/tMvBAiex4F1slvyJBoG/gD2nzTUjJHD0+GRvZA4NpfoTxUBcijOsGiaF6GqbXXvZ+NmIRuvz6tXjTcH1j4AdO3qaey2wONmVQGe5oFsQ5wNrvxfwZdqL/s1KLxrYPWd2jvrT91b4iXoZ6l3MB7hdUlyT/8PXGXLIml9wTTPyS7/IoYwZxVL4RrVo8ejJIoMrIT9HT89MiP5OrQNAb0ivQwPhYfSQ2Wo6w/pfzD5oG8arQC8c2ZNztCsvo0zZ0tbsLvt9ju3NhQpk+sxSkwDVolt4+FW9z8aWagcDESiPlmZ3KqVqyvQaSQqSViD4vGHSEInKdnLywbXd/Ox9Vh+eriNM91Jp2b9dBYZ1JwfNuJdkyRYuPFJyvra2uqNEoulLHmB/8m5/eU68VG0bYGn4fOd5muZa3ebb8tQy6dWi55SwSQ4NfTU2zgl788A4AJ17F49nUGvv0enENfutrAj74y9oB7kmDSubpd5LVh4My2V6epJpTcMovwP24lDg9PsUb8WrdHyY2c81Qq+F6z1NOMP+qzNzp8ciSkuwsiQlKU1yXA8tGQpHLdrWrIk7sdS6zxybgFVROPSRNRCcg5rgIGxk8xy+hrUqUk1yyL/LLWCzptD5VLduVZ1Z1gtuD5LoRqQpjvbjRQ7DY8Th7EHikYtx3x8btodIw0V0gesjkZGdhhb2BOnu9DuHQsVuGA5Ptb3UsbapDvjdMRrV7A8WpAHb9wI5zmbxRmdhA3DPM4ZzmvaePAsgeciZO+vjsAzmThi3KeB+yQXfv0R7VtITOkMw/Gt/G0sgwXMULQk84iwyHUsz9Sdndqd67ps3r4WFiElwfHfvkOPrtpl3xxpWhRsJMWh+BI+PjcYF4rZ+q49Vbbc2I/A/Ln4+MImKO8zLvDQ0md7silank1eVKGe0IBXoP3Tbx2kV8YVgwgD/7K7TxGsV3a0SQzEZVPOakW/slpVr6KtxVVKQzKe+ddrRN7MEBrxBmfomW3/c5QTBjR76iPQgMMQsRZa4nwaY5NvHcuQYX4jgyUo2FbgwWzWC2K7fgxmWWHQIYyOG93K1rejFdVVxbo9vMs2sDNgHwSAi/i2IBcuIC2Mdq3kyw0UaLohb9k9AliHtPxnQMsPIRQTc5OHb/441UTgIbNXz5Npl5+q6u624c7h/BDyPGdeG5AJu1bHSXruDdgPEfidajZg9upOAn/R0JV7kp64ksMEMtCGs3ZORnAC3LmGO6r695ep1+97aIfCVHiTaSu8D64zMSpKd0D3A22AqcMdZh6m7WLtlJLJn40+a6ON0P5k3C7mLtph1k7b0zCMNTlmlRex73K/r8pGjspyRprbHVMx3dxpk2tiyB9X/bd+PMz0WR3uQhOztqFDTEwp2vmhuy/1dEqCkRDEEyPVxofodTHDvyWAXMAsxVUg9Epdexx7BN3A+seD9ucvbTjzbio06Dg3OKYG/iKWLQ/ddfqK/RCe3zyNndeeb0fb0xFfpXfhSfNkjMAtCW2sy4jynVlU1iWZNx3Q4ddWG44WAh+zIUYFwZvx4swz/1nAr9PeiQ3q7rdrOQ1WkfB4ciYixkpijbZUGwtiGin48sycYzJW3gI6mri3naHX0RHojHsV2BmIdYgnTrEeEeKbHjGf4FviO6ZYDzt+QTeDJ814tNQTzX138/BtMsLreDuuKV/Fzc4gPiL8RZoioIvKGkkPCZYHXRoFzvF+zr0TUg0gjbS2fXij0DlOQ4XvG/7Llrag+QZKvU+bz+IdYL7Bt9W3wafBzPXIV+K3u7Wu32gYcMpA/CjrQ168QJrvM4CHNsLdS9N3YG9dXWDrleNyPERQmkjF0EMa4PHw2FbcPHGva3PUsJc4j2vFZhip+I9Y86xHfMcNwu6ljJmjDZfxqbyGSNBqSE9VpTU3avgsD9IManRNpDlNlZ6q1YDdvj4T5ZDhrFGMVcoiimnVro4qDbhW3+irBiVWozjD2YG5D9OAW4pto7RhJ7NnMQbbhrUDIAPk7GFUmjDfQLbjICPTJLNilkXCYuvPt3rXP32m8Xrv1vP1B5X19AAx8sGlXaADbjjydtWiv7P2I//B67ou7MpMmeXp8WbFcGRkX5r8WFZgqPMVl625KjzCCBFQeHpOlADjgGkzOvNtGdtMtkG2gVTr9xHjMkaWT8Qd3zB6FoMFvYbtUyibOpOpXPg1hBilAqdZ/3XaSEWi9iZObtJftEQ1TYemTtQZxm0inOlobDqjIyHRdehkCe/2pzuc6J10FbfvwM6r3Eqr4e3N6WuBwS3+COrnT1TzIwvgURWIz8P7kOcvUL2ovufP++BRBuB7/1m5fpAEcYICkyeoUOao25G6//MyQydgUJvydEf1L4YBVfxguSovmO/NB81xd9j8ZThaj6NDvkB68funaQjHX8ZwenpSb3WvD8QPoadBfiGQz4fTrlJcH7UXVybD99J68bIyXC9lCFcWLd3UQRPsqmoFrZemWFzlTKZWV2PrCa2xLhpoHOeP0lZVfbOBE7QWUxNlieaQUibNmMyH1awbzWD1bo3l9z8xWMPJRA7xEAHXg0dFrW5CaRKaTQbGRIijTiMLm7PvZjLLmHOLJ2guH0klprP54qvp99J7E5mFV9F4kvl1OYGD4QSuReMHCdiY0/gzlQNF81gENw/p1gTZz9jzuBZ5xfWt2PmiAcIZ7Xmw0HxDJtXXk8mmpyWgp/+mrmxC6k+cqG8eWQgTwIlaC82v2mixUf5thNZyooCLX+te8/iOqhyd+yS/vw/4ekYYF+okWqicsIgkyJCYru8/gg1mU7JWmlpv7ectXmlVbwPx8a/77ZUCcbj9cJc6kKiRqhUjTrgRYBzi/YaavCjW/cmmcsvCdVQ+QwCVufRpiMY2jnDEzOTfNu/R1oRzgZG1ApdQ1a0DWKXvPbG3HyvqpgZBSyfGTwnTBIOh+ceN9TDC+tQgKYGisC7Q0dauseY2B8f9LBujBoNc8PuXZs5nNzMRFuIrJdN8EC2B+HrRykc7r2tIUmRQTiEkTYDVtFQGJM9dfr1J7mYq0gqmJy+GpIxUmhpOgKQ5hTZtpQqoqAiSx8CAG6exjYHkBUV1unwoKgpZHSPvaJOSTx6snyzqGj0TLfj4jyYfKKPhVTHyTj5QSFD89SBmEQp2Spf2Ezs1shlLsWI8WTcvxxWbrxdw/v38e5qKVshekN9KwfqhD6OrpueajmgRWhODoJ/+y+hw0pDSsnTjns3VHe9v0rCHNvivE68SoexXPX6tiYYwmh4Z8+8P2TGRcsVN86IlDAOTbWwtbjlsZoHuZrKYdaZoTTBnFD0u+Ok6jPrxAxlGA8KPqDsRlayrb8YLfXDoCPQegA+QiSECRLLAnSlCKAghCmHoAwDvoWOjJ+OjEH0UiKTnqDhLXP6SlqJsAhtkrMYM7Vg6iEQB+6cVBygLswfOwZG/5b/V9Fz3/EIf0I2En8ifyC50u6kLs/OzC9TuypQAvkbjB2foEyh7moT9AJ9OnGHNECUb1sRRo7adiqJWxdGi6rgRSMAPf5q/Thgm5HOAH/o7M81ed1Wcm4i7IaCWYORMltuLHrDzmvliNxH7Id4OGxm55DLpKViYOYOFZ9CVEBiF26nVXdg3F1DxiuZUXVhi2D2K8YOio6He3i8qWgDtD/bD4M5N6OlNnJu+A4HZNy6+3EdNpS83c8pHajkPoxfKKYTydyoy57/oJ+U6NZ/TqmsV3EU7/Wkzk/Pv/6PPD09x5Ua3A0CyI8uEleQYCEzMOywItlR0NpvpUEtN0qKyjZnEa0rmMZnzUN6MnPE9Bqahxlpeukm3gwQMRYCFim9auup+kvBtv27HzJ+Px+Ns1Z66sNGze0nX4WFM6dAz9sBWkesxHrrUynGqrY1H4g1j23si1anXUZNfhfXU9cTWH7ZbtmLKXKXXmVzMRDEB8idIhcqqxImGY+/pBwqPqYkF3a8JtGdWt5VpqgRcw0omK9mhKQmrFt/sNrARmtnsstKxmodOTk1NRvOqHVe6bJ6BGmOFe1au3CNE74mSbvYqKfHa3KVoo2fTrl29dFSuZCg7E2ThSUZGRme4lHNpk7Q7Z8MG8O3wS/s1gUtXny+0L7Z9bROtUCjtXtsWLyo6X7MEuGTqPKSGm/egtsbIN0NRmIbBEw1IoEG3YxDkXbOB5392+C0IFhZ52HrY9dr2QqlaIHale2IuV8NRb+mT7VuhHvjZKKoZyCJrQ5zMq9b5iwVEPsPwtA1ce/aYNjxbwa2cTe7m7v8IdppYtI26v88RWXJ+7zq4GR7dCy+Bl47uaYb1Jy4VeOqnPQorB19uEWY0Z5hcLrG/ewS5kfmodwV+iD7EiK7BlOxMdA7fcmk0hqO/n+vHZULw5wQTg3R5KCQCKeJurD+ID9OG+RjID4C3udwMbT5QBKDRFeADu9vkAUyDj+BHoWFfIoJHIs5AxudoiK6vJNwpXM8l/DkKieiGTY5yTUgCuC8cKULpuYSF89yKDGpFhl23HzzEnGKU7Z0sdJWjW8SO4uw1DS7i5uAo7PsLieUot5cl/Fj6iXhGMdq1HJ1wcTOIph2OoiXejCDWieLD6kURBHF8GudSPkx2X00Ce8CmZmhx9Fse+e/lOssv6VxKM/9WD7pgZxaxMlef2pMvxHPiL3BQRwbnr5IGD3x48L41xR9uKsHMo25k5gGyH9mT3zeoWNAmLrT+Lbxd24jsnXlUfeqz/aqARuBbqzVlM4UBWo9trjmpw+z5M3aPmfasa3ZTLtwb9fyMclgww7eXTB2nm+agrLWstCw+fnBg0J95qaXxzLjbtjHBo+say8pqEbKtbVF4LebFDwwmDFIJymACIVpoLX39vglsIg0805359hnOnjnwhu1wGSS0Tdsiq3h/0/oB9z/P+VuR5Vts0iAhXLZhO2YmKFndNa4/PrIvNK3YIUYHZGatSAR+aSEkUnqIXyLIXwEydV0SwGzHGDJN12FQLlAYOvTpp0/iZEYRhkuXGkYYyU4ZRW70oM9umdGpDEsMl2ioSEqGjEhgQB8P6UYeP0Ga379Idyw/edKvfLd+BMHz7T2kBfYCqYecCZ3aDbQO4C4xoLQ6pGlNbXabcCjVUvGKfxgSCCk8VTXerW2Eb4hTWwEX8XkyEnx1mgGct8YA8vULaoAh875+HkBpoM2WMr60b79qWEm/U7UOhLVz/03QIpMSik1Kub3e5OXAw6iw5wD1Ppra02PibpKXJ9osVIr2/M4orddxAt0dWNALeJ55QhMei2/CplstmDPas0bstKGuEQVLMdI1JB+ZitOzpyE/KxQfbhIH7tIk5IbOHTRPgm4MbY8RhjWGCccMtg1XGQRBgugbFVdQkwQIflJjkpA9h/H2Qs8RJjQmCOiHxsYP0fgJzYmH7rMxq78mF5ZOzb4kS5R/evfVR9fWHxVasyqAO19qASro3ku9xdZ+XtZt2d0p67Lq+rSRXgFqawHLli4DHvOor18Trcr5SOvly9uaR7QNboW31dqKzBdbPP/2rVenQo/n9xpe0tm5BF4MC4FjBFmMm6tzD5CGislij10PLtRfGbtKO3G/rV1E9ncUTrImgZnQjLbUeim4AANNyS6Y//FzvqM/f1C7T+bSCmhIGdTxc4cjRW2j238RmzRdQV0DBfjn6NUga2CR4V3edV5K6OjXaLpEWhLiyYD8mkxVv1RTox5A9qgljLlHYbSSwAGAZHXf6RWfgW5D0/mvrKi2GohUEiC3kQHpFXme1EaaJ3swn452QzMIQ6p04iE8vhsJ9L9SzxPdDID34ezCHuGJ7L/w1lBiFHnyZqnm2LC/HM5CVwCZQSXWAlaVtagL+ftvpDPQdHYhitkkCOqGTNYve3vJnYIo21ZlJqSL3d0CEjMqKNg35otaTbc2qRytCVY8FTeOOKv1jlhMhUBRbiYzk3cGTaxM87702vR3X5WKcgFELSbOsmaJhZzCjpN69y4aTJjTmiMEFxLfsWY7Cjlg/SLQAY1UnbtRdRDSIW0u5f9oKYbWAVgo5KJnxY5IpU8VzFNSUVyhCAbroOLNPxcL9hB1oOGMo+fkw6CJtLec/3Nz85FEXBRVyUPqfepQkUt4L7T8qPRr+QqQfC+TfVgoID5ZjGYlOSSxxKj4FCgAu88kzxMBgz1EjWgNUs8QzC30tjksRYzi0QDaTjKzPcoP9ZKcYk11e5dNC6HYF4XYF4jQgMAqE6ceIpGG1KRmsNyC9PQtlTI3S5qdo1DfnuhLgJYtgxICEUiA8ajU+iAoJQUKAhkIDzXontmvhIqLIXiFIdhClgJSlhR321QnmZEu+/2gKOVdOT7KHoZ67HiFhipJ84OUUTXWSpBhOUmYIdKYQ8x2bkIjzsTPFUlqVDVqXoG806j4vlU7NGTV5VXSUPxWvnuF/WPE4xoNP9PU3jSDp91SoKj2YTRK22z7bBuFFmYCUOML/27hb5HI9XhFx427SlQQ0rGCuwPpdiibj5T1lOe6Q32xxs+r4rvU1vX70GRN/MWJfQJjTKnS4CJdYw65yoCoX6/P2ZjbVpE5xrpFwXEXZea++Ek8kUe1XS3Y+62E4dKXyLGX2FfxBPwDdt9sazrCvwFVDzruAiu+Z+8zwxUyAoRH/dkZ7762n9pCQcWgubbbdOO13szqBJiNeqfHz1It/aZRdCOK36q5azD5A4XWoElhUOhgyM/9oM2y46l1h0ciDaJSr++oKC9d0jJt+uJ6fDLgw9sX16/9SxLp5GHhJJGBY5pYrFbqkRVLoUZ4YCdSAYTCklPcpDyPzX6ArL6NQ3K6N4ji7Qcthyz7LHsnk5gpsTw0dH+G03asKYcC6TjhNDh9R0057HAwkacjLfRJy02YVxiiaw/Ih/kETwo/hkynnCsz0gBkB0WS6ORzFLHeOMH35YNSPJvPzs0V9Rg834pcvgRvJe8zzZ17Z5jP6EK2Xr7UXlwGb79ORoEGqEdVBF6rGHDK9lX5cCm8dRWcIkh3uxRm/1uuXKQVgXjFpyWQjLSNSAyZtmxnflcItAWrH1Dfa6WdWL4YqodPt8PlQmH+VYOUYveL0dPUp7tN4Ly2JtdYDQXK3+yC6YXrEg1MGTOFqQI4HVsi4kBYGT2+RWAaeOvf/B3PaFzJflZusI2v2ojqr+9EQ4I2CDn4ARxhP64X/xdn1lTPYXo9J9mIRdiHNZ4o8L1nlO7ozHM27tI+QUEZQ18l7UkLpOnrbkgdDwtVRvhkduaJdOjbSjYXvSv27yPcSx0xkXp58xEr1y5ABWxetqilVLDqIH0FFlZcjlrkgWn7/GOck2IUIYoYp6Qg/yUutnE56Q/7D3GwcIoQo/BUxLzMYOCS2cfyp4k+RGKXjf48jk07nqk0rMasOpFZlix4Q7B2aPGPyTy+/Cf3r/ST0SJg8L2/66VaRTIiqdQvn5T7gbqcYE437Nm1RFqdWT0jUaPerM7m2SS3x3gqOblOkUGNUlQtLWVMxMVNGbcZP9xVG2IOJABD2K3Abf97SsW+9hu4CvvbKRUWBTWujUjrlSutOhHk6hW4tdGtpgb8J8D38jVXh2r69brwQzSvad61uwZsLbnmfa1kxQrVmjU1a1Tgi95MU9NUaYkbZpqEbcjEBKJ8+wJgheDbMGk3rUVOnoTXwrVDamNEG1KLrNUDwxxDwxnfpAkzt1Osq61BztNjx2ZaWnZao3rvHDs+07Kl3foX0KwYHZ3pjMIzo64CUGIGvNFPcUixd7CnwA1VVfSCgsIC+gmFPXrRbB+1xbYl6rf9w5Qmz6bUB/bJ5ypO3L9Ftdhuifrqbn+/916vrMOzQ0qI1GIl0DcvcA3kfCG8WxnLVqzIyM8vyFecpmWuBfsnps1fNFy2e6re4+5O0cEoM+y9l+zNN+rQdZjI4SQd5BAC/vAP4vUccmhFrlxBWnsTBRpDq+NK5GAfvBLEkpXICqUCp/7w+fysOT3JdfHRa0fb2jc72EHZ69ZlQzlQ4zo4O9CQnNhk3TqnbEiSny+BFSkIrHjIECngUfLiqrwMpye7OFPtVe5quqUvrmKdTmxrP1rg9EnS4/MJhAtgn4B/AfX4DbIEnZ8DSQohROktS/7z4JkZUrB26gwLJRQSwsI6+kPDsskeGgqeFkTm7xReM1Fk5+51O5KXe78m+FSbwvB/4U6XO6d9GPSHloaSLt9FHJufwcahWyZqN0oMtUNtQ8fGwIKPYSbeYeCrWVTvt97fZrKBD3h7w93PZaiPW87+I1x3rfbKVNt6Fv0RWMU8UPOxsgQgeun8JgVCKFpwcWIYiIMqKqHYSrGMQJbLn6ofpKTOfOSmbyalwtonzLeulkK5uZAU8MWppZTEdUvTYTm0OoETHE5QlUHyiOSWSYmjzPim17oc3rEdLkfesUPMgrfvkK2RjRNGKIDAh4j3hHkzhaIJVqvNWn7+JKfX1QErbX9r/w8z66i/bKr/DIfEHVz4agz/bvuUNllRreiztr5Tfceq787K3j7rPuAG6Q/NDP2ruSdkSYBZ78qA0BbTnpWBpr3NKKtelLzXsg33luYzd2ZPh/F1RM70sDVwSX6ckzNTXx8dM9O0zj7Vo7+6+m61VXRb37Ue+bZVzq8s5GcqY9/CzyK34+V4nr+zzHrlicKDaTXgFelnZvEyr3den2pZmfNJZqYpLkhlR2clXHnbuOZKF5MUl1u3/tn9/Pnb53OuS0AgsnFkeAMSSM3hjQKbkkNfU4oCAllaRYqkG4uJl8xP8CepcQKUT2Rmzpi97cRmjSGNzYp6fOAmTe2t2YzOrblJegwzjaMtUhmQSUvNE10e0RFTBRiX+rQYVhD+6RC7rEau9i+ED8gL/U8Rx5fJBx6oHC06iF6EZvi5funWSLHA5Ojh2e3UfEI8aWeX2DTW3/KiLEvoU1SaVu3SENr9wUVRQOWgHLxMJc6qsWmb+CXc42XV/fMkxjepU+y+8dj92/wbRJrvry6Lc8sdhSoCzW9uZu2yTYHjuSv8LXDyyuokSJE2GEre4pe8wG5n/0kWF81h27HvOJRYDNYeg4nFRTD1Kj0zScyIWIzWJkJ4eGdnEc6VwNQVrMGfA0+w8kvTF0Uzj+u1aFp1U7eu3arTAlpVYC07EktbEXkSRsjTKEGSaN80rmTssnfAcGQxGEF+3UB2KqRNAbxuClrzWrQWhjSNNkp220/GSkUaoXP1P2+gdtlpRz0wm1x+HzMuOWdcfFXfhWvBtuV/8PlgfsIDf8MDtz1h5fN1z7y/t41VLxlaf4FpkDqp81DTXbXZb0RHQn/xjMI8v75vycZjCvD77GiAeHQUVeO+azl7ViwG7p3VGiDSIPS5jWAoK3CZGErlmwRLDtr4vXwbAmRUG7pGIy+mvBi9te2xWmKIQRlLOqa2b0tAO8YbNJIXyHrlnNRIoXPo5EYMr0gPs3FsrAneAI+dw2wyaFrbQbSRRI/PxR5EbTQhzvXrdcwRD5Kg9GojgULCHP9/Nlb7P785sPBlL3LrFtL8rgUoUCm+Z1CfPqHgzxjAQ+/JYy+8KBSvm8B99mJLROp4vJesJTzteJ5X5AJdJqVFuGWHW55Pxj0IoJ5jCMFOm+6whp5Hy3RHz+UPj013N+41PYw7ebc+9bmYIMoIqS40SYnzOpUSNQY49GuYdleflTRgC3g1PU/QBXwGPxFtZLlo2gj0zePmhwyNbvw2SddyOiJRg+D/1GXRBqOqiGkOgeeZ00F5pvOM0kHo6O/W6aA81blBvm2bjwKceO1N60Vls45vp+lCzp79FFZ6omEWsrjWSAoSblkiJl8RGE7zlnPWjUa4zd1Lzy1v3AzTIrSwaDSeYzPzWC+QUsRN16JPackpeus8Dugd8ERH4QVBp/ROeWxCOEn6El0FF7gUuVKNKbEkqeRc1rmuTIqlGOvzqLHWBmGTYQbWWdaSO2kQRoil8MrViHLDorjaYiX0Viq1VEoiO8PWRMgkqRR4/2JU0o3olQxTRgUwAhWMusReg0FX+wx6Uyz2sNegj5gHqWiGNBVkCmUyDBmZ0D0TS8nUcQoDXvH/0yKSAM6SB4k9T7KUFk0BmG1ojD4Q0mb9COAOuEtcrdsK2oAT4OsdwOP8LZ0DgTA8S8TONxxKp2d60wzQyagBohBn+AY3iI/AD+KacIPVEdXyLrFPa27jqn3uU93J+os4v5N/WWGw6fDPuI2BDquBiKafr5/3Y+p1yM6wzpdq8Ol+7Vp/g1/3yVJ+GSjWrjXKSpWEX7+Iqtq1S8j6GUNDRpJXoVHx7FmlZkVhlsJLWTbDxwa4Pg/51wI1ZMUMKHC9sy3HukIbEhlpk+Nly1FsGREZ2u602pxhaeU1VaW7dDvT39TBWCkURhknC9ro+RPnEHIobKluldeUlWXGZivbnSLDkS0cha2XTU5WbIudKeVFrdOYcMt2WyXPl7dvK6/F6wsFf99ceKF+4zyK5+toq1y/RTjmXHuLYmrHC9pYL7zg7h6wyYrXshWs1O6YYc10IB1vWW87cB8NKzQr1OoFsWa2rvFYNjNtYVRdqVnpuSY5WcFXqNW9UVmaPI/BvY6a2eW9anWGT8faAwd4+q8tcKbe9dqV5/31cK53wsW/A5YGkeoM1/mx8o5xLmwaC9S7c6F53T9lAnPRikoFJe/+B0KHo+mef0v495eT11wR0BAWgra1IVc/3EgxEYMNg9jqf5qNA81oy6/wiU2I6+7J1or0/Vv+NRM+ZAhuNfgUQismqklezcxpaOV3LVIzvMy10mSlpQC3CxK/eitpwh2hKyuNi7TV+AeJlLSBP98Oj0KRd9dDI7TCb8eacH/R+08JNqFpVH1fOuE5Vy0pdsahg0noPcKq9vOY70HOYSbBJ6tcPzoK4svueqpcYkzoMp0tmhuNaUVSnKWCEbvP1sEwKnZFzP7DaSYOgaXpqfK/TgV2BZSRyk2WabhwdctMTzA2O4L9Z6sxAQHJknKzmG5pismBwb9n26h3qW2zp1UP9y6357NT0SD+7sYY/BuHZNEp57vzRmkeiNbqXg+/SNWnfrunBrhFQNnZUPPhKxgBKT58A1J8VgUHY3FFVslWHNboQFTZ1qHnJZXTD/UeeMH+Lw/zdWEB3DYdYBDmmHMEYsJ6i1WxiHOox0SxfMyawe44SZxjPiacvG8vv+2fpj5mzhFPEt9+VEn52DFD1EUPSw7zZ5i6z6R9MQguoHf+2ewwxYUwA/74nkX9+vX63g7FvAbigJcv0WB0UPPG5kOHlIwomoquOnT4CGTQY5VCI+pQnwaKHQCYAC4SNo5CENR4yAgiPMriT9XQaFbLNgI105xwPoP68uUmAQ2IArUVuqiyP7PAczXAAN48whMKQbwrKi4g7sXzZa7LnlcTtOqUKhcF5P1d+XcGtQmPSSUo7+f73PM/kEHrpBJoeBoBT6Dj6QQajkZi4DX5VzK6vah4OgoNU28aYb3jDzJUJAscioHGDQeH0ULwj6lEtRb9ucVRMglPQqVXirdb4i3iFrsPhlEiabhqDl77BG7cGc97vVWVody6rlal8O92CsJKUCjNzRbSFE0intgGN7xrWvCbOXi8ZgCLjCezcCwKA+fdu/aE64VtB1643tra643GaVJYLz3qq4KXsHEIormZ7Zei8RSCGnB4HDUVn6pDo3RdcFp4DZwGQULhs5s0Tpq6+qcfpBQhqEA/iK2VaGVktYaNYZekE0y3k5Plk4wajxgfPF1A1MBrUA+IX58mBeeNo2gSZflt5a15sVRNqvdIdFn2ThetZATVUJVKNYPCJ/F4X0Zfg6+J68K1aeDC2mcFXKhbFPC8ttf2rreqr/dYa8zEM03wumslytIGN7zbjuKAxDqdQ3XO6c5VIQieaII3IWnjCh5Epuzpiuo6kZr+XREg+jt9BwuL1yPd5C43ZbZHDjSzsVMfbpEi5fFmSavB12gT8EFcDB4TPaBFqBx2B4JickX4inpBh2fhnfDM/ilLH6l0TnepvGZIoeuwmsc7WFoEtOo4uW6bLo/qwyYTNPA+2j74uVu82d5UnqPCiE2Y0pwisDUHrQZ9k9mLsF4m4qzzfnw0G11uGIDgZnnkkGyw6rMbx34N4+3CY9Was0cRZgio2Fh2NH7S/pHmDDNTbzW+fgKWg0h4BRcjg01NGQKszBRjOstFy0wwJjKtQROjOQthEAYCuGIIIP4QWrphgK23HyJBCJYLIBiCgNcNSrsEUTN0GWpEku/MnR+8wf+pqb7pU385zCezKqDzVUzVX3+t/6tCc04zE+QPl6n5mKlan1Gh+ZaZub5yLuA7+HaTlf+9TOsPDEPaROYWx6OpR+thd0Xv6nfsTzVvAYtumf0IgBIToYAfifZpAqCSLi1rrHjsAC1YlXEhR2e/HmLe2HtLfVO9d/ogc/YLcvSZnsmZVEhOKS1NIcutrDzhBbmFrvOvyPRN29j+7qzf4k3qlLHXm+fS3QmaOjJ51+lOXb/SUr6uyMpyPc3fijUn3tQvU++2nUuz0HMiyMpWFz0aR1AoZDxkFEp4lIEkrDqF+vABBX9qATzUQCy13YM8eIDA7zFAAU2Z34FMTyPwOwzA0JsTZ5A5UVrj91tuxXEiSx2Dd0e7WH0P07GKAtU5DMUHWkRVmhQyD9S+99cGsrnt+smZVVGlMAp/eTtnXMr6XrFtyf6eVwEhUYfPH0aHMI8+gcIuP6yfuKcIfCOgoGe3XYeJtlGemfcCPEsNWWQGt8rT7F5WSGX8cfPCK/eu9rQ4bzluVmyhdeJM8VheYmlVUf8nNqrWpB9PE3sEGCW9MMvpum1OWbz7QHvN+zdtn04Giz2EM52LA/TJzGUq+eXNcefSMznpil5et3xHVfTYk70HN/7UPv9iMVq6aMcV5tvVJ5b/Gyhmtx9PCPm5DxWPr/e841mvJ+m+6rl1bMml/ZzG8bOH9aSNrZ+y0egEbfEbSDu088IOdgCoD2kdyj+xeyvIJN2dxw+tCWkJ9uL4a4d82a22/XgejvjLqttziQ35i6eflra3xwbH/Nu/MNfEZjnHDZM2GCXtMcu122O8K+Bd95xR1Yzbv3FXgrz37z48Zkume2x+q/Aqsy33Uj7vfq6UEnXMMPOl9ufBQgN+WPVJZIbDxLvAY5lUEb0WLcBnO2p/Ti0XIoWOAjxhCI8V+8Fj8S7s5Sk4viEwuMXJ0EhlmeL+OWKjsHnX9Yu+A9GLrL8sTPGsjKQg9ElW9iKPgK6li4BqLBicGWMtH5Y64YdJA4Z8XMpydjcP4yfG4ocIvy8VOiLC8tH0vjp5otTS1fN4klGKpusuyqaUvZkmAeXGqefbVaa0FbZe6xyDK7UTfmw7WLK6kll8WmCfmng+vi2wxytfW+y3xfCT19Vo/SUeRt91c7yfZvMQ64pYLtv/mPSL1CP5S/Iq3vPlnuOJsaavQmnf+HkrpOel1p46EW88Q3X2/0IpaYW2MMogJJQS/vlz7qrzzJ/5nC8hX47gIsdSUbWDw/UjV0kNXvp082DsNNN5uaVsfOXokxTf04Whf9ajjQtPepE54/+jO6/wbp12/PcDh0o2ZTKLT0UapiTdyat3OxCynO0v20JDeV2J1lviwcDr5vg8XSLQsKqI4Wr7H5d8kXiWKm0W/g/mHQ/PcXk56ys//3GOp9h42iS98ZjrQeS3eXpTwqgcikVpl+SzjmhFnktFVQxM1cWVvfUZFkG4aZbzCm2/sZX9T1KleQVhf3YgJoWnPCna48sLbx8VsLnRtzxkhXdY/EjP8wbRAi19WSQ9UsEWMWC/8lqigfO+1/PwoAFhPXK2w0Zo4+Il9NoKOlLiUjJ06VxBkUioKyGTSKJApZj8jdbTQ8P/vQAeavx8ygtZ3NFRBQey8mDmLJdMJ3FJdDVXLWXSrhmZbMA5EmvexaUUyLQRE0CEQqcYcACmPdPxPrFERk/oCNe1R82d9iHtaiaRFztLTbuWeTYSBk6THbBJ43qonCN80509cuG/Hv8OQoJX20yS+Rth6V/w3EnrDzcjK9fapQEBqrxpBxhwF/tHrSr6qh8bnBCozPPdZJbreHxg4Lhjbqqlb74yJDYwVvcIYZUS3HiXhSQ610oZCDS/nfFIkIkkFVemoWJtbmOxyZP5wARrct/qfmr3ADg0nyEtkBpJf/rD+/9I0wVSmFu4/QLSiPyxF/pP+kKYMyt6XeHTm0jRnerBLurbWAlF6sGNWkWVxkrvalOIjfa0Orixf4G8VefKkf5QRv3C7UBCaIE8akn6IQ3fXX/Y/zF5ZAKgLPII+YMNc3RzZKdYvb2cr4hh3kYtY2obFLB3IvkbZLbc9ZjDMVvKwIL3m3wMXMRrGPX9O6r54QUoUEpK4HsI+cBAgPCoYd53tOk+HwctroRi7xmDOKgyC0BxYxIH3d3b8Elh2qZcV/KBGUe86N5sPYvJwtmha3HIivBEN0wV1g5TgYXcwuMeoHW2WPhReLp1axU1u0E/jIvOMuXXa4LtK0OobXx2hocMTnSAVzJVHHJ/H1WoqBp6twjJpPWkDWotu6cDcbmQzrRUpgdnAkijzrQShlU55StN6zQApIL1ZdLIpvRNqo4qPKGuSaWAiothBSwvLiFtUo2B7GVdTSOvjCsV9irCv6SBvGhzC2uqh/qhS7Rjz9Wrnxn6c5fzaP45UUFAAZUUQwqgKCnB/bNixQuarxGgpctU0OAJy/LqlhP91xbbmrWuQIpXTVRWQHKoqACJBA43j0sCA9GYckuS3Ri0qUsYcwhFubiMk3eRctsWTXNu+BrMNh0ND9f5nvYdvPdABHKlcSUdfFs16YSHSxqV69OqM2Sq6jQZXJAPyQLNzQ3XpA1RXnbuPnQbyRSh0pru/RrIjWZZWJPdmm7ZyxcdGB9/AdSPzmRSBJlyMZC9KAcuSL9J2NnFS17QqjNw9PzCNHDiMEteVK2UKaqZvjNlJDMb1O+oUigvB5EYD+m3ejZ4tuppwNxaho6/i8Ilw1mUGWBO+UWgKWoA7IdoXMYZIH4YlCkKjbAwziREUo6Q7tMGcWh7cDJX2C90ilSI+kUpGZMxpMB99zZfBR10Il2xdbRXIBW0prcCLrL0LkpfH6X83QXwqHRy6Y0rKCLx6gkZUA9N1ZEYasCwWarYCKvHNkkspyzuNlQsajvqgSjCf1pUWVkuIoky1NhWjAVuMaYXzP6/fVtYmPvt2x7O2ZGyHdskkvdR89Qo1T8LGQsXRmH0iR3U/CgAj7oTtFbXNtlHyeVR9htyXG3YHj9Sz2738zvz1n9DZ/cJ4KDGE/3dFK7yo/3+ZRxdhZu/q+horsLuaZattUGW1hks5o4dXkKJdrK8u39lx2NDouOTYKZxjbEn8Fy1e39PL6e3h1g7URetJGnMnqQ4UlfbRzWKcoqbOg6TNebjyQIqoI/bK6GSEkhmRZWUpHZotGl0QEq061s7dELUIcxhPmWG/TNRZqvzM53g0NPaVAGeXVXt1CrWSh190qYbkC5EqWQv8xKhnamR/1tHcBIjrP6fsw67njKqayDfc0xh4KmjLz/RUkPK731M+uMeKnKcfUcxWmzxbGGcSQv2s76v37h2qzarHrBiFXDMIFwlQ5SpNGjtGjgD75Qxvdym5SZUS6FTflAgct27MT1wRFnTTvUwZndqvaLvML6yKb6pEn+4b4X2uVKjgZ3Qfu020TjVhqgNGzgREUc7y83ROcseWItfEzjKz0acqbrrc+FWCdpymNAyIphnY9Sqd/+igwgKBCNnsyODmVsOaAFYUQMc0wkTZDA9lQb3LXpVp/QbOPwGVEfVf79FuSb/cqnRZmjXuPxSm4GA5OQAqK8P8o9J9EfTxOjYxP5nxPTy9njT0luWFRS6LkSu4nyoSTQp3x7E+PQOeGKjLvyhcc4BH5G08JY5a4wgIJycdcCPui4iQK/uYfmYi3zKs2dOvfC+bq6z7+yT9ahz+OHD8oii+V+MIWx/wxVBSL7SjuNyroMAAXL4CAatsXDSSU7CiS4y/A0161BdY18ZPXaQhp+TxDcAenM7yMvwry7ArxvxS16HbAKgN3agvM8hUeGDEMW+9CP8wi/paB9tdL/Kmto9V22YAHOHFJJpStvPn7Mfe+5lA9LZPg2fvjCSCYV+PH/cSV7TD5KzXYkym3P3igxRe+GpL3IjhHzbAOj1ne1TbT3y0GljuKGKo33e4ZKcdZr3ULWcA5OkHjLtymps/AdDkwRDKx7pU2moD8dzaefKH1jGLODnneJhK51fV/Fm6NqobV1qI+6akpfd23wfedWhfFEuWJcEGOFXgT7YDwpSSu969oN9LT+hm2fArzvKIWTo5Yzwi/aRVWr7OY2Z4O5SjXBSrtsHGSC8Lee/2N7yfe6PDe2iGtfwRWoaBV2PR/K/3RIpnXRhdIzv/L7yjx7suZz+DlH83KQdkjtUeMy3CDov8kVISl+3aegHhd9jJj8bRdS1PIj5AFRI6044jhfwKbn9pB6LfHYMafKyddx0bFkbs2Ss9p7e1JhFwQ6ddmPfL0LiLpvkVo8ljaXeXfRM4nKfri48VFg+yzHXhD8S6O2zb+7Lcc/z5Hy4igAf4jKidd6rseLaL6lD25Av2S+usxQptyQ1JfpNk5Dgfl+0tl/jl2VUu+fSWJ+/x0Nx2lWbxsiOZxWwJJvK+qzjIqCdNzxmtQknr/I4OQrouTNZkH9tKjr3611zLej63DUsdNpJry+y2593lXzMJm+6wMBW3DyEwzLRDyT7v+byRWXd5QukpEevPxzRAPgwr+V1+Jq7d5YFhQDW7N9uCRUQtOewIwldqP0fAX5U2dZiu7lu5aN23tIS/DJ9DXVrKvyqzOqvITi2db+KPcL4YYNU+POdOEKACznQMwAEoGKngr9Ps6SDx2Nf6mwdB6GU2El7INO7XSkMom36qPZIzaT2RGFGe8VIAddf01EJilgDGGFt1C60c6Q90MI1orrpU8QwfaY90sVbPnFwDaS9Yr1o7EfNkBp/0E0AgRMoJgZzsmRdMk3Zib/BHJEjOrZ29Q/YXclsm9fjNR/IgD5s+ml2Is00lsTeUQWIsbCKxYOk2bK6vpZF79Qxy5K+JgABjgCFCSN9YkcqMn3+ZKp8+L8B4xBxaNjgwRP/A6hzrzjb5tWC/ojZaoOhZHcnYyeiaozHUZFy6U1VEFmyYFVfzgMSma1DvHotZHPaVpy7l9Jlr7jxPc9kdOuOBRvKtGzH/TJm/MXLH+jt+QAiTCjjQiptrPNBGMVJmuVFWdVN2/XDOM3Luu3Hed3P+/0QDBAUwwmSohn2bRglBFGSlXeGpOmG+XTR+6fjen4QRnGSZnlRVnXTdv0wTvOybvtxXvfzfr+/fAUKFSlWolSZchUqValWo1adeg0aNWn2jR3vYAJatGrTrkOnLt169OrTb8CgIcNGjBozbsKkKdNm/PM/YN4eEgfI1jADSX6DdJHBjDuaGuuRkn4fa4kXiZHw4y4Iia/vShHJT0afoby40ywO/1cXE6wKOtyhsGc1P81nqKUZgjpFFvDpnL5J5K2BfNa1JES1N7OfHCDRXcsvx0vgqLyMSWKJB7/NXTsGrx8cBaj9e1I78vWhEIbS4kSDvR7rhcLWfFfbmDan+01hTChs6jGr/tIqCiC7yS5bwIobqGNSMrY3ZIBkfL3WfT6M0e2n5gRIZsguli18s4V7QiZj1nXmKyG9hd3F9LIy5CWLJ7C8NxTooeBZzGluEneQGGtxZMKqMGp7myQO7nWkBYnzkA7BZ3yocenBuJceIP7Q+ZVHmBMcqcQZMlrXk3hYe4aXlGcYmbwJFwJBzndeh0usWBY3cBCgzXQJkjmoC3L4MhfgXLNsouWAvEJiuTy1Dk4ZEqlXkBjRwJpsAAmKIHNPHROKDKd31aXhNWcpmF5fgP6Q0q6miDgUPMGdNLnU5bDgLScwFOriFSn3gjUVgEhc5Xy7mhwXca51jITKGnUkU+tYXOCpteoi9gf9E4nA2iApslUbEwPmhFZvb3bVHkBHHLnVV8BkEDjpV+BkJOE6th7EsqU17bCAteoLTGv1OsnaVi3/wG1eMxlNKioZQHQUCwTUhglG74S4LheQuA2ZddeRRtP2lchZTsw8dyuuqh9GJ+mqU2+cPN/Tb6MLSEwGRFDoLQtdKwqMYA7u3p7RqnsSz9UuInV0vzLiPVO/czemI/xQIyI6EQmFKt8ZjqSXHhKPZIueHcNFbieqnlgKP6kSfeAXLmWZJJNkIUfo7Uirghpyc1wlLDGjw2W810GJvlHrIfG1LxzKkUAB8dtJrVkWjCMvWzymUCRPhas4z/kqq7US6q+OK+9lvQtvEpAet/LYJBsTFBR0hLkHh36qUFYXphXMfNvyZutSBZYvCYlnhGkp78QNq0xjJkQa3A28RzpCcRi0xQESq1Aj8CWtGNgaIpPqIxO7zjy2EGy6oqNpTXn9Fst2ShO+sa0/52OntO6LEgVVqQpIEln9JAhL5EjeWya159btywVXkwq3vqf+wlfkXFGTVaThYY/NrGGRak/mdjRvWGJvmsn1kju3TwRnCQXKNga5b+6GRYKHvZ5kVKZxk3QYILENCDWOd56mIPiV1RnO66Av7w/gwG8XDic=") format("woff2"),url(../fonts/iconfontYI.40366cb7.woff) format("woff"),url(../fonts/iconfontYI.61aade08.ttf) format("truetype"),url(../img/iconfontYI.2ade83ca.svg#iconfontYI) format("svg")}.iconfontYI{font-family:iconfontYI!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-jingpintuijian:before{content:"\E60D"}.icon-xiaolian:before{content:"\E60F"}.icon-tuiguang:before{content:"\E63B"}.icon-yuandianxiao:before{content:"\E82F"}.icon-xiazai5:before{content:"\E605"}.icon-icon34:before{content:"\E62B"}.icon-dadianhua01:before{content:"\E623"}.icon-webicon318:before{content:"\E6C2"}.icon-iconfontguanbi:before{content:"\E643"}.icon-icon25201:before{content:"\E70D"}.icon-cuxiaoguanli:before{content:"\E60E"}.icon-miaosha:before{content:"\E6C3"}.icon-huiyuan:before{content:"\E60B"}.icon-caigou-xianxing:before{content:"\E887"}.icon-caigou:before{content:"\E888"}.icon-yingyongchengxu-xianxing:before{content:"\E8A1"}.icon-yingyongchengxu:before{content:"\E8A2"}.icon-ziyuan-xianxing:before{content:"\E8A4"}.icon-shouye:before{content:"\E8B9"}.icon-shouye-xianxing:before{content:"\E8BA"}.icon-yonghu-xianxing:before{content:"\E8C8"}.icon-yonghu:before{content:"\E8C9"}.icon-ditu:before{content:"\E906"}.icon-sousuo2:before{content:"\E757"}.icon-2:before{content:"\E684"}.icon-dizhi:before{content:"\E608"}.icon-huangguan:before{content:"\E624"}.icon-huangguan1:before{content:"\E625"}.icon-huangguan2:before{content:"\E626"}.icon-wuliu:before{content:"\E6F2"}.icon-xuanzhong:before{content:"\E615"}.icon-xinpin:before{content:"\E610"}.icon-arrow:before{content:"\E627"}.icon-yuezhifu:before{content:"\E65E"}.icon-bianji:before{content:"\E6CC"}.icon-wenti:before{content:"\E758"}.icon-qiandai:before{content:"\E6B1"}.icon-xiangyou:before{content:"\E679"}.icon-paihang:before{content:"\E73E"}.icon-weizhi:before{content:"\E62D"}.icon-remen:before{content:"\E67C"}.icon-tuandui:before{content:"\E685"}.icon-yuezhifu1:before{content:"\E61A"}.icon-yonghu2:before{content:"\E60A"}.icon-hebingxingzhuang:before{content:"\E656"}.icon-gouwuche1:before{content:"\E642"}.icon-liulan:before{content:"\E629"}.icon-jinbi1:before{content:"\E655"}.icon-guanbi2:before{content:"\E61C"}.icon-sousuo:before{content:"\E67D"}.icon-weixin:before{content:"\E600"}.icon-weixin3:before{content:"\E618"}.icon-paihang1:before{content:"\E633"}.icon-tongji:before{content:"\E687"}.icon-caidan:before{content:"\E62A"}.icon-erweima:before{content:"\E607"}.icon-shoucang:before{content:"\E606"}.icon-jian:before{content:"\E621"}.icon-jia:before{content:"\E7E0"}.icon-guanbi:before{content:"\E62F"}.icon-xiangshang1:before{content:"\E622"}.icon-shuoming:before{content:"\E630"}.icon-xiala:before{content:"\E67F"}.icon-pailie:before{content:"\E61B"}.icon-fenxiang:before{content:"\E603"}.icon-yinhangqia:before{content:"\E72C"}.icon-sousuo1:before{content:"\E64C"}.icon-duihao:before{content:"\E64E"}.icon-dingdan:before{content:"\E61E"}.icon-tupianpailie:before{content:"\E620"}.icon-chongzhi:before{content:"\E602"}.icon-shezhi:before{content:"\E619"}.icon-gerenzhongxin:before{content:"\E636"}.icon-shouye1:before{content:"\E637"}.icon-gouwuche2:before{content:"\E638"}.icon-shuoming1:before{content:"\E673"}.icon-duihao2:before{content:"\E601"}.icon-complete:before{content:"\E646"}.icon-weixin1:before{content:"\E66E"}.icon-xianxiazhifu:before{content:"\E6E1"}.icon-tianjiadizhi:before{content:"\E640"}.icon-weixin2:before{content:"\E604"}.icon-gouwuche:before{content:"\E669"}.icon-jiazai:before{content:"\E62C"}.icon-huabanfuben:before{content:"\E654"}.icon-kefu_o:before{content:"\EB63"}.icon-liwu_o:before{content:"\EB65"}.icon-anniu_jiantouzhankai_o:before{content:"\EB89"}.icon-jiantou_xiayiye_o:before{content:"\EB8F"}.icon-jiantou_shangxiaqiehuan_o:before{content:"\EB90"}.icon-shangxiazhankai_o:before{content:"\EB9A"}.icon-huobiliu_o:before{content:"\EB9F"}.icon-jinbi_o:before{content:"\EBA1"}.icon-gerentouxiang_o:before{content:"\EBAC"}.icon-qunzu_o:before{content:"\EBAD"}.icon-dianhua_o:before{content:"\EBAF"}.icon-shoucang_o:before{content:"\EBAE"}.icon-yunshangchuan_o:before{content:"\EBB3"}.icon-bingtu_o:before{content:"\EBB4"}.icon-baoguo_huanbaohe_o:before{content:"\EBB6"}.icon-baoguo_quxiaoshouhuo_o:before{content:"\EBB7"}.icon-baoguo_shouhuo_o:before{content:"\EBB8"}.icon-baoguo_lingjian_o:before{content:"\EBB9"}.icon-baoguo_shouna_o:before{content:"\EBBE"}.icon-didiandingwei_o:before{content:"\EBBA"}.icon-zhekou:before{content:"\E790"}.icon-laba:before{content:"\E612"}.icon-quanxianguanlisuozi:before{content:"\E6D2"}.icon-youjian:before{content:"\E677"}.icon-xiala1:before{content:"\E609"}.icon-weixinzhifu:before{content:"\E632"}.icon-jingyanzhi:before{content:"\E62E"}.icon-up:before{content:"\E617"}.icon-kefu:before{content:"\E6B2"}.icon-shenhezhong:before{content:"\E6CE"}.icon-kanjia1:before{content:"\E613"}.icon-shanchu1:before{content:"\E611"}.icon-zhifubao:before{content:"\E61D"}.icon-yonghu1:before{content:"\E644"}.icon-gongneng:before{content:"\E63A"}.icon-suozi:before{content:"\E631"}.icon-jiantou:before{content:"\E641"}.icon-kanjia:before{content:"\E69B"}.icon-pintuan:before{content:"\E60C"}.icon-bianji1:before{content:"\E614"}.icon-youhuiquan:before{content:"\E6E4"}.icon-fenleiyemian:before{content:"\E639"}.icon-xiangxia:before{content:"\E8CA"}.icon-shanchu:before{content:"\E628"}.icon-guanbi3:before{content:"\E6C5"}.icon-xuanzhong1:before{content:"\E6EF"}.icon-weixuanzhong:before{content:"\E6F0"}.icon-zhuangshixian:before{content:"\E6F1"}.icon-jishuzhichi:before{content:"\E6F3"}.icon-biankuang:before{content:"\E6F4"}.icon-guanbi1:before{content:"\E6F5"}.icon-xiangshang:before{content:"\EBBB"}.icon-icon-test:before{content:"\E6F6"}.icon-mingxi:before{content:"\E6F7"}.icon-tishengfenzhi:before{content:"\E6F8"}.icon-pintuanchenggong:before{content:"\E6F9"}.icon-pintuanshibai:before{content:"\E6FA"}.icon-shitixing:before{content:"\E6FB"}.icon-kongxinxing:before{content:"\E6FC"}.icon-yituikuan:before{content:"\E6FD"}.icon-tuikuanzhong:before{content:"\E6FE"}.icon-lingxing:before{content:"\E6FF"}.icon-xiangzuo:before{content:"\EBBC"}.icon-icon_im_face:before{content:"\EB96"}.icon-icon_im_keyboard:before{content:"\EB97"}.icon-shoucang1:before{content:"\E714"}.icon-dianhau:before{content:"\E634"}.icon-zhinengkefu-:before{content:"\E616"}.icon-code_:before{content:"\E723"}.icon-code_1:before{content:"\E724"}.icon-phone_:before{content:"\E725"}.icon-shijian:before{content:"\E635"}.icon-xiangxia2:before{content:"\EBBD"}.icon-xuanzhong2:before{content:"\E731"}.icon-shujutongji:before{content:"\E732"}.icon-xiangxishuju:before{content:"\E733"}.icon-gengduo:before{content:"\E734"}.icon-crmeb:before{content:"\E735"}.icon-crmeb1:before{content:"\E739"}.icon-haibao:before{content:"\E73B"}.icon-tupian-:before{content:"\E73F"}.icon-xiugai:before{content:"\E61F"}.icon-pintuan-copy:before{content:"\EBBF"}.icon-tonghua:before{content:"\E740"}.icon-gerenzhongxin-copy:before{content:"\EBC0"}.icon-shouye1-copy:before{content:"\EBC1"}.icon-gouwuche2-copy:before{content:"\EBC2"}.icon-fenleiyemian-copy:before{content:"\EBC3"}.icon-mzshopping:before{content:"\E746"}.icon-shouye3:before{content:"\E74C"}.icon-shouye2:before{content:"\E748"}.icon-fenlei1:before{content:"\E74E"}.icon-fenlei:before{content:"\E749"}.icon-gouwuche4:before{content:"\E74F"}.icon-gouwuche3:before{content:"\E74A"}.icon-geren1:before{content:"\E750"}.icon-geren:before{content:"\E74B"}@font-face{font-family:iconfont;src:url(../fonts/iconfont.edf75d6a.eot);src:url(../fonts/iconfont.edf75d6a.eot#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAE+YAAsAAAAAnCwAAE9EAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCSVAqChyyBzxABNgIkA4RAC4IiAAQgBYRtB48EGyZ+B8a2jIbdDkAkqXiiKErCqkZRPUpn//8nJBuH1BWXgm+bB1J8SHhoTJzgc/pKCMKW7Zuy5IjL1Bj4w7HrCdiVrzaMBVQCWHJ+5sJIdjMahlrH8mkhS83Wt8FH60UvcMLbJpfi07tZNC4pyaO5MJRHXCO7+SzvdeVvZw/rwWm57OyQpGjC07ff746sPEG0iaXHj5AhmWZC+S3hLXJIgc6WOMPzc+v9/7exKthgA8ZGW2yjpZZEDcZoYdQGgjhygHqE0CrYgAHYYKFiAXpgJHpYpychxp0XgqgXJVAgclBzliqBTxdNuckHAA/E4f41MU0DS6TzEg/jPW2s8zEtXRYG3n3+tqjAkzY3KRX1RfW5gzqz8xqvthTo88EDwYQA8ZqsAsdu2SA44hqKlERgpq0qX8mzK0/L1iAdAD9C9kFyQb5B9D/qepVWKVB4YGjZENjK02Df/YTPAQAv1mqvQC3fcRim6vNji1YIhSYmXzhvWhLSTnLG9rZTgYDcdcnDuOjhODjvoU04zFA+MM/SFyoe+qBDMz87/8jNIi3U51GRmV2SE/cWyuo7N/jbV/UtVe23vmlM9Y+U9DW5u/X66geJIAmLAmSKcLvKaf8zkv2hR5KTKlv6fEI4Pf6I2RUElpLY8UPWZeY6c4W25cCCLQceUPKASJYjYP5VNVeAslxTyKt0Ste1Oiylb0mmTOMvIMGPT1D6gKQTCOkskNZFEOUcAco+grJO5eR3kuzn6J6dVjpAyneEKN8TJCeP1yWlyWmtTWXKMObtN17GTFuG8W5On7cM656kYRBG4Jl7MR7Uy30CgrZZzXaMzTxYfk1XGDiHyASzPusYmz3L+sq1qFNQ0AOhf4eGgN62paDU+elzKqdfnwDJzh/eVl0q50RETWXGnOHxp62kBv/cWHgl3375auMALFQK0as+Pjhyz1n/R6r6zl6aS1CnAYu5wMAMwKFDZlbamUVmhPasW+aBG8CoUs5RywabfZ/zefj//l1r0kQ9JzBAjf+TeVqDeVvGnTtMflU3gZdm4bzoY55EhdOblq0pqiyIEscf7Cmk0sY6H7Z/uu7n3Vfj0lZdXw/jNC/rth/ndT/vh6AYTpAUzVzBOEmz3LId1/Ol+gETUIQJZUGYYSFZNMqKqtNTxiXiUKh7D548ejbhEyC4hUTB9iMg33D/66YisFvH4yC8C8arEDwJhfehcTcMPmaCz2FxPxxeh8ebCHgbEQ8i4V5kPIuC51HxMBq+RMfXGLgeE58yxYvM8DQWHsXGy8xxJwt8iIObcXErS9zOCteyxpV4uJoNLsfHhQS4mC0uZYdz2eN8Dvg+R5zNCT/kjB9bgp9aip9bhl9ajl9bgd9ywe8J8Uci/JkY3+aKv3LD37njnzzwb574L6/a7N6A71qJb/LBjXyxNj+syx+rC8D6JNiQFGuSYWNybEqBzSmxpUBsLQjbCsb2QrCjUOwsDLsKx+4isKdI7E2FfUVhf9E4kBoHi8GhNDhcLI4Uh6PF41gJOF4iTpSEkyVjVauwpBQsLRXL0mJ5aVhROmaXgTllYm5ZmJcO89NjQdmYXg5mtBpnysXM8jCrNRhXPsa3FhMyYGIFmFQhJleEKRVjaiWYVinGZMTYyjC6cgytAsNah+Gtx4g2YGTfYGCVGFQVBleNIdVgQINY3CxOhbWlwT1aOjygZcATWiY8omXBM5oOJqDpYR9o2XAAtBwXrzF4ZCXALeEWwBuAJAKah2k/JwOB3uXdTINJBs2PC9CSjMuhRgijjOZENJcNxKTp0RfCVB8bIrZeuZe6IYjLVSX1OBAWOBOzW9ghlbrr1PGOvLrprWblItXyBACaD/FU0nW+nNKkmxKLbPmIx0od5P5GrwpnS3Y59NxkCpWvkFlgyHqPmAGRElD14fGL+NWHm18eR1l3TWQOjFeNbk1llpaFe7dKIpYy6EQOvIgP4qV4EU3KG68y1AIokKoIkKbMIQx77IcBzAmiTg0Jmj3xs3OUFbVTFGhcp2ukOHvaNYpbBJlzlmg9wod/yAstbwoeMlOMw/03t9u0vM4psqR9mT0uvWG2HNxP7a/wIh6ycWnjhnqQ1C5bL963cXrXprrnLltVD/3/Yqcj1xjNo3iLHr25X5hCyJLxwWNm7matqjwOBnulD/P1g845chFIvEiqcR5mXkXQFM/m3AKse0+EiCzpZQCDm1ppi3bCXqKQrxRFZNi4AbXs3KxpID0TxS6W8zaAyKA3gqYmZK5WOUtB9sGrjbGmK94z68hLQefDOqhs01848VRWXVp3KNsg2dGRaeb5MPAMZRAqyFeBA3crk94lZFAIGiF4X+W+Sa/OHTUX4yi7QOVBEh3zXXZFXEGE36/L12pmdBHnit76mUXnrsLynEuUVdo31NRqVXqx9ojBmimYYUSpfYNmS/H6ZXAFV5EKN9CEdD01h0CFyFtBQCfZDBnhuFhIyrD2yxLM5oVMGEnmBktUXPfuojUx/cbQDQS6f6OFjB+p2nzI32Xvx4IWVVbm8mZZU1RSQfJSEI63R98qMmqO2CbwhBLot9m0RdgvjFQwAGQSPgyx5SHRmkguqiJIIekVW2FvG0g0CkYYVZuW5UQxZkdKTLoYpFsa6aUgBS2hcNnFq67Mj42bzKjTBKFEpKFCRdTevWIunBmg7NcKMoQcV4hTmywzTEAitwrOkRFQluUYTelKWFKaZBqlwejYywya/4A5IC0UgSUUVgOiBctxLD7XOAN8BG8QPcBjV9nGi2PH/OkIXjH/DZH7oDRrqtGsHvAXP7TRwXAFA0zYtKPIOTYDZCgljS8tqYgpy1TMcaYzjBPL/p/uFR1esxBQSMeswHkdfhY9btKHJ1iQICy2AxhvWm3tOoRT1v1Fa7i0+znlrByZafQLXDmIZM4CwrJyxA24ETLlm4z1oWST5h8XdzlXra06y8z+1taZsnVm/mWtq6pKwTvUU2Ezj9thoeHCA4VSLrF84k1asphpFKOaSMRkCdkEw6C+R4TkluKCXNjInrmkJJlfjnXGNjGWdHcUXnE4U4EU0i3E0nJ2hqHWs2ONayucRFJor9Z6xmzlRxzSysaNT7j67JrKdQAZ7g5sQ74KTbbMXHDWPSk22u8fTo9V9e/P3Z3aaFhgMpn511yR4/sOrjMhdHXjt6fohQ2gbD2lIB2cYUf/1EIhtfGTDPNZlUHs5DgiIIRTs5mEpLPJVZLNRWq2yV7eYrXcXZaZ/DFjr8OJESBVrfvKua2UzrD0fTrXIF0Uu4b/DOC54ljQl+KUDh2ftx0cVu1oZqZWhjxPnvky5gOczGDMxVXqKKM1HZSTtSlk6FOvJFONwgoIazfYDL6RRBhdbsdZ1E9v6XV1Hdm4jwFtFeKP/FQ/6fbitZ2huH/eCZtlc9LtMOSpPY0odXjPdWNrGUNLOMM+JgbfkeBhG2wKfMh0l59IYTjH/iqDB/XvUE7SdPWwCbfbx05XTBnego7IpWzeOgdjBWXzvtGYWSR3g11aiDu6R6lkLiFJEK6m8/6mVafVHtrwxJvkFXPrq4kGb3iyJJxPSmY1hlz7sTmaQqgN/3joY14KeicjfOvHyJCDYQRasJWHpqU1LIJx5RZ1Gr5i6uUY+N3/ee2aGTzxzGeuugkfDN5IZVvjcZvAmIrMew/JChDPRCstF+dcmt4sAibPIb8T1CRrc1F/6LlS4WZnyLXUWLPK3qiOGOkdW4jIiwov6dK7MiAtZqJSp8TAAINFqsLCGbPtcY9mjqz8w2ZaZsrArGduP3Z/DdhXzEwvB2RsaP1EId8J+3cGJyP13jjSOh4KYbKU6cGIRnktqaDbFRaEfyFbZ//kWbqo8EktKoB0VkEFqQAvi2al8jKmiV0Zst/CGW83ByfVV7SaCRmab0FLeEOGxe+nl005zp7pCatMQ/GX/dIIG9lKN8aEcJGjNNYfP4/6q0xSVuZj8f6fd6NumBQjhKlC/Uznnzh7gM+mMTbqeiJfyNzQcjS0+Ro5rCl3BrMqKIXTHDU4i5Jr5b01/WVfGpZa6uDDh9K1JG+P9nH3C+jul6nsVB0Oz4vrGdaRagqKjrfTApB4+9LZgaNC0DdvXWb9sFnMOsHZqBRmU6yyZbpgiWn0Iv2Tlwkl1OKTaZl9YbFHb7Mpct1a+zW2i5sNg9FHyk2AIrTRUdt0DNgPKWE0LzT9SmFzXxXixIJ4lRahZnzajfNaem3dxSR+au0YJYNxNGZp1pNCPSRIar8eM3CG6cuBXCHG41B8MfRUyiE7BqCvsNAiEJxzMyjAQiXSPGrv31wc5ZpJi4x3k07I7kHNVr+/1F0PmoDHxkUzzyv91rR2IXlKtAtslbFnXAURPoDBNY+AHi5TN11vYPS7x9/7HGrJUY4dUFTCJBql2sFTZOV+ZapowBToBK6bWj4nSO0kkDTj/Vk2uesrh3oJ9nEpu/CHglj36JQNxkUDZPM7Ph5+TvLmckbyyb8BWAd3tlV0/1Qwi/46EN6oUCsjnlVAhITPsX15pxGuwmhwYv8s9Zf+hLQq4fe/8zkCIMw4eoVfLG3dsIAmYJpGMzprEdQ1zbJENQ3sGLa2ICdKeq3kSEmH7tnE3M88Pe5QP2eWELT78PG5+WHdKEDW80qRL5im2jHsKflcm/SyXFCvrhumo86fRvew4+uSYYtsMCrbEIB1xDWUDQfgUoF99bYlVdK0eF1cxiL8ya4nKVt6dW34Z1fgPX0uu4X8KEOzNexa8cCDuSDRGBw25aLJJIcOzQgkCEl2mIYzoZth2xKyCKEh+zMKMVcsoiepmPndqzdQIZGpFBcDjudaPWzFEYVD9iAW63LJQBAlfc36NRQNZxhUYr1HwhaMP1RTBydNB9pyZKZ3j4Ymc/7UjI/qcOYLlaDYT+UxuzXmD6DcvuxiYR+c1g6kTkCvJn1TjegFoy4cYd/9isytd3D64bI+cu/z931sMvCmZvla7l1eVywID68PFQg7FnwSTu6setpr71/bRq8dae81t30ZP60c1ToUYHX35rDTrVhDC8r1Z95Mi9r6GaTHYOcftvE7YccggMdk7WWIMGpHiACloz3HpRfl9VdTz7Q7s8/mr0Td8rd+Y3c9stxJXvKs1PFQtX3pFCP6pPOi1Txt8q8YSco+olSXdE17z5yzfua2FUNMmkWiJCruePqJVy33bvv9vOmP6smhkREzKf1HfsJviU0SESJowarBxpMSpyKaAck4Uv1RrACib9Lvbegb1EI40hDx3jSEuerjvc6hy/8OLQgjXGgAHgTkJIRBua4UZ4vXbpeTlUwq3bmu0/6x9j7DrIMp66iPexAytdFFbuXdMTnTiKcz0WSq8y2B0wFZ1Ljq/FT7gDdZbPzO8zfNPFdOQZLvZDtHD6xolNkZJTNGhzJFwR698n0qU5g7gUxMFMTjy0jy1WJbeXLTWh7s290za/rZG/pHB6KuBluW8BpS7aO/YrrJVWoPsKcStmxd55Xwi0TJr9pnpusb95J6stTB1PcfbMUgqbAULNEpk588shyfIcKXB2nsh+ZZ5VFn0GGKsH5FSPpj0b3yBKuOf3mVNK4kdLg9ASqivAQY57oEKYTzpTJFhzr/RxUveYrecAhKEIqMJAG4NktAI0w6yJAS8EZjVAv1KuaKv+eaBFbIdHTwtU3KQGilmSaczonoVloBdHLm3Sjkc/tPxFplMJ+tBOGbb+Sh7D0mZxK9xPSGV+3LIMarV68cMalmKh4MpOrJydbohDDSP1rJyKixGsP1gAEibn2nOSN/Ivt5iyXX0jrfZ1QhIqKPtIwNz9+3j5MzywJFOUKHhw6YYdDPIT5lGxLZjEnEDCgPiIwxCzdJfsaoiC8ltM7ldl0FWs/BW8o33rJGyivbq+nuhbC5dfMNxmRl53zIV/XXa6PdRxmmSEwIoDOiNubkKfZHSG21nwxLT0PbhL95nmIIEVhgPfjhcwJAnCcWil45C75VdL6NUFDeop2kziyAP2KdKm98izrx3rh/aHK7az/5LMiJ95TzCaVTWBaye8WVJ5ByO6IIf8dp0Whsm6/36UaIJ/drFjUAND8XPu/30yYfF6bUkmkpmLFhJmsef3okknJd2sJG0Yjn94Pz148+Eu4oaMxmGCRCdFeYWQRfcb67QTnteZwenppKgMoGo2x05uBWp2yXbE9+WmujF88mMyXRBWlfU3/8jUTsnUtegDyUFw4FNQGkeizH4MyODrXe3Wtifd62xojhjEOQPAS/Dl5smLKVATvrotFEBldYutXE02GKVvQxljYTap6VAlqTrcAQ0EfVZWKFz310h+6NQ8dDJQF6UwA2EnCVFBYrRLP9GMwfpJ7uTAlgTESAe8xBMTA8EyKWB0lj/PbGTqlbz9Ycdwfrr5tFFXlUUG4ZLBocKWiOqoOBJNTEP7wP20yN2R9YQSCZ1RqBApSb9+yhPzNRVHw0F5y7Z4265fFc7prORWQbmwYcxaXx9dQSGqth7v7tySzlMWN5wvicUj2pxwwsR2Br2DOAOU52WYNL0RdG08VCiL5Kc6ymX7hkZmOI9o2LMMOonkPbuuE/B0gSVF+kFcvatYn2q9xTkeAWJFWHMIk0IL0klFd0vbXoEElvgVMUufUhnEr34K7nXaYgAiQKxuuBgX/DfMEoc9vJ748nKXv5ocRARXu6gcAGFERl6/R+/F82gdimyCAAZRYZRw9Q3uZZQVSA2GqBBiAfYEwZ+gQSoIzcgrmk/gM2KaXIj0y8V01p1rP45mNCIceDBxUyxW0SGIKvFmMqpsGRVNLcHaHDmdc6FLfXfakYmHQx3Qo5U7luHAJv10XCue2uoD1hnhmHcJtKCQtQgo6jnxVCeZoi6hbn09keFXDayd8YlNvBi7ccWXXtGXjm3GuY+Sj7OzoG7yH7GlD7ps/Y2b1izzoihO3fIYwU1Uj50/jsXcfa1jF+eL3xOxwLg/F1v7PjdBs6tOZI9a7RlhPttp7Q3ng1sBnRTkjopzSsG3nFbhdjDriAuAschNMN30OL9UyYJGas/oPLhk1tOJRbET91BEgYxn0lTBxjY6EYbPxewSG5dmQ9umc6pbCm/8w9vYNoBZz1pdMu1vlxGo2eITx5qLSMA4qx8jtqoSbo5ZY93/vfBOgriFQ419j3tEl/guRrlnpeJ5biHuXTk9HzXtw+bW6BCopgH7oEOjpSLFFrUhUVtoIiRZI3XMqCoxvmi/AKTKDZVNdJnamU8ZJ8S2OOFfX1L5rtQA/vEW1j6HmxRHafJtfY/fOZrt0z6JQEqY03M7e1supCT4p41RHu6fuGZ8vY01ltRiU+ctQsSZzuYSFXXZxFbqvy32gG7ZTqD6ge0e4jz9i4RY3XDSrc6ka4zQ3ZmlyC+ddpxXEn7Qkcw9Gv4F/GcG3jjAbZpO0OmJyDMhryJrUlM1T2rjgbXZ7VgwmaQuT0c2reLeaWQIfdaA2ajgujaaZeccYY6wbIsAuqBcdVCxfG0yn1VdyTV1QBjAvh8PKQdtBN0ts2szldOe9vGOIKysxg4V7czvBuCeAN5MxDFOVshRVGNHP2G/YVb5fRpzZsNAEhylpB7nHiyHNE7HC0WZQ13aWSwnCG6cofZHyspNnPVn8f0FfkDF3bBQWr8WThQcCudp2X7A9/RtQkkM/EuJ9D2MicfeL82zPZtaZk9MvmcJ7+7nXD27Wrs97wl6KXDXxZElw5dZJluaMVKT75XeKedrj9QzYKiQQ7Mni4ruD/NAbngXyRe69t4zwB/Zl9ZkAmt0xwOM2TPTbYzPDR31Y+BVk5rgcjhoU2MLNfNZPyZfkN3a3ret3r+73fbeWK7xdjE4q+y8S7FWlMWs3AyaZTLOnfPmmZLgwmpTCbU7YBrKLmyXvArXeYf+xmGzOmOOT4shblwYXbMs0ABs2u4ZuC+o/M/+nsF6sff7B06Bh1eJDmb5vOCVfN6qW+kq5biCAYM8tJI42Z2xQX3ZmXl7pC6jsYgezRWCWMvpgUSOqiM1BI73E8F06cuutA2Ca5/RBpoecrZ18Bh3Q77733kQqrruM5KwjmPjuJv601cIHNTw81+Yhi32I6PTwxs7sviV8OOsaJJmxSJp8jhqULHjddhosX9LK7ZJHO5+f6Fgn2Gj7xNtF4jvQwApuF9l1T5ZfOdpF/+Mrdq08dl9UGv8DFderJ3lGF/aF3nim+IDvlz+zZ+mu6W/2yvJrjU3Bz4KGra+t9Swrm97WE7gwYtEASgiSpH92bo6txazVeHRfZ+//5NZ0wxyvMuRtSxpwBA/blkGGgJ8mg4SOlSgxpAlLzoU4mZIJpLrrBkTnEwtuXfjKZy+558fgt99WBOZsGQWrB2iJZWKu10Gas9sZ8dObdrdO9/trx+ZAX9sZJqx/NwgD8eI4j6t0xFiXrn/3mlrq9/291Ty2d+obSI31Wn9Rnaft6ltqgKaQK9neLsZdfYq8254APZsViMP08n7bxt7+kaL95ijlwc87J+VfzFtaAWwsinS9pT4sE5JGsficEkfPIXMuSOEMkPY+s9syHFr66eB2wwJZcb+/OFyqA02rmqa1tQxA/dU3N8f3AP5OMX5UzqfSlffivkV+sV3F+72dLV92dhQspjQ9rRB5LQN3D55z3rpgYaRHGn/w2sAwXMlz6rZLF3+99VbuiOljrxh2BjM7lY26Q1uFJBlXt42Oz+Pjfh2OlQiWX72DkuGEon8SJznh2WVTpoRTyeZt9KYmbZT7cyryYnYHYz+B87r9rsQOtHC7u2i+84DX43IxLKvqcKnvnCZucdBytOKP54IPassPe7g7JsvLtF4ScPQSpF8Oavwrn87RLj0Nv86ifLdDF0Suf7kDSgLbokL+DbKLGjaC53f7lmQLitu7VlNrtgI43IW46p8niMNe4+5lLT5FuidfXCS1lmcRwfyo5w/y/EKW9waa3UG47d+hgPbSoRJXAD4IVdMPytbgNGpTzblbH6DVbUXHjJNdIsBLBvEndyn2Wie+9dkjcFe8XOtuXguqrcTeO49Sce51gI4hHdua4nSKiEOoLMflgRAd97sndfdNji+WSF+ymW17IT25pP0LUduFb8voUykrStAj2ZnRUa5Yd9XcnTHrVSIb7vJjwwoNYf8T8mNhviCzBgpRaoqBB4FgmjZ0ZWe6bv3ODdCvAxChnE6P0VySRoGynaTn/MLxjunXfOjOY1O9b71aNKkwSgxs+j5q69DdZhA48HqsWItxXVRGNLp+MSorjNsI3hoTA7cGqJJEuvCVdofBktzxJgZGfb3m75/pdRmH52DrbOJEeCrEnm0N0ZwG5yFOykS1zm3kk916qcl8wPnlXvx0RSZLm8zzcojqxRzEf9PXtU7Fn81IngJpJJROf7e0JcRt7nXRr8tP+tn4kau7xyB2XYOuVIEqP0qlXDQglqS+QjiIZjEg9Uc/oMa2bce2PN7ugP5S9hQAXc1w3vqM9/dG6u3GTBCySgZuY/i65oN92MvcCnEbiOUSki178o/XNjVs48ZyxMgk+EZAA1Cg4HmpN3E/hVMStWSQaNQJ8GVPwNbQzhmsb4eg6nCSxubyTw4TKH6WFTFxQyXz2NLARv2obmHYt3BOl6e9lwWn8n0Al71vKhOVxe1jLrtKvtKPcZiD+F2qbXbH++74N9QzvuMuq7/cVF0mQjeSNznu7tdYKZ/utk1M/osJwcmFa+A1jt7mJq2xgXuGWTWD7XLisnLvmoDIw0LjPWg2SjhXWhEtqWWNkqrOGIlRgrOp0hCv/z8qLafVVi5lRCFM3qiDgEF3oGNaWePA13W8z+AjahOzAgheMQtzDQlPDkG9gqaclHierKqdlxbXlbGPI/bqZOCbqOUeOW0jDwgQvGKTTEqLX6HtFzCwkodiTMeQuLScctibJOCwiuJKa4/enqKenhN+keH2uY5MisTgpEmB7Eqnkk06BEbNchH0jj/4pgsP2yU9UXjm8q2VmjURDY+0jlS4qTfVTFF4/8KRXqcDvL21r16O6pGaWuqf2jPspU5aTp26RXbNyF5Opq7Rr2LWSiRaM0ufuPDHuw2BvWvpPsyhJUvNV/HXr9pr6At8BF5ztm3+BsYRmNMKc2Syhuu2j6RzeeJpQ8vGTEZ9mMUtIIxjnPjagS1JTy2YifZ49G8oisCi5ivr6FVWJqwOC6BQRvqiOI2/eICSOGwQRVyMY27sIgDVP6OruprAodLQTFlc3ob29mycyd07VfDPsCSU7d+qYpdFRYza1aEJshVFvquM/eTBWk5Ot8w7GFHP9sSwJqK3lb0TjaDuM6c+synyMvkafMpwSN0gbpA/RhqJ0k0QQF/FywiJ7kdDGQiiBQm2isIrd87aZOMVrFevyd+IgJ5ZptaOFskwTBoWC8hiLIMeCeHwKhgtVUG4upGq1o6l+sPPyoEh7KGp5+w/bW6pU4xN0PW0zyfwSKxyPVi3Q8Q9w4fgJmjETH4KfSsJfwebhxnCogj24XPwV4PHpJGKeWjxPtCHDXB4pe2lgXabaLI51yixyySq3kn7CapE7PiG2M9DzymaXkP5z+0yfPDPdg1kqLr/uv4zV83n4AGWj6cAAY6OfryvAQUod7cKFQ+PjMIFK3FJX10AOdrM6unc3N29u7mhzs+ioq9uCuW5MxpDhkYPLu8k83t1S2esj+ZhV4lIKQoKI+QdUN8UVRBKVeGA5cDu7/zDaUKyOZyFLWtzqCqpZZ9ZwkJUt2QMwFe4OrsKFEI26Mb1Pz0aWlDBquZJz/VqD3cp8qyWuf57Wb0S53xrEZHqkWazxJBz66eERdD9gg/4AeINlVVdKcnziMeONtGtHg1kw99nZKhbGUA6v3MQ8/DaL+HmEwMpRZHoiRMYRqWSdREf6RMISASU/OrzTpKLjbMdUgLSp7WinRbNKk8++kkSl5EqsL2DgPrrLLypaLGj+n6Tv0a61NIOBzecL1fDGgc82ADa3NBTU9pKXv6hpDpLcDc9FahlQbHFxLPRPOKTPgSKWwFLnCrvt/IGmPM8M/t5mlk3dL848NPHal2Piek2jVntmVXuFERH3Y5AaEiP43H2AzrvKz/AMi7vVVVykiQR+FtqJLpFQTXh1dwvbe/IzLWbVgQlIODOcLLOSjYd7ExlcIdk7fEZsJaaEM1VkGysyk+LjlYokln5TXiZOdk91q4saTdIne6V6U1ytGODqaxJtXErik5Q+3nJv68NVGnYaYfxspj8Gs8r/wAwxDZtVZS15Q6KTpWQ66Q386TX8GqurklZlYd+QaBzaH7FhwUHB7RZ8i8aQYFeqtRVVwpOQbLg2JImE/uk1JAkg07g0cgAv5mltxXMNCxreiHJBk8CCZBQerRqV1MiSj/hrGStWMGL9UO7PPhmFw1+33dprfu261/KRveyDFR8C+etFbW+so9DNS9pTrXaTcSwIWIi99iYEZAcezM0XejNoJLo35+jOsBEpSi2IVOJ4s1e0+sSZ2p1mxoqUNq/9sL0Gf0QCYb1dCNb9VhzLEs+lGTvi/DTwmM/hC2c0IMsqy6bsEFhtkyqlBS9tLtZupTcGRFSEAW+R2EQU/FXiH259OoGeHE+P5AWLXk25BOLmKUrBUbym+wo6AtuirPCV+HfFO1PjO3Ypa/1CkV11kV4teqdm73CHMJK/78u7nSfHv5Beg+FQ96bKZ0ifo+H7gkG6fWvY58h7ItLn9OtlBlqCPseKFRVA3O+HDLKVzD6m0vSUS69rb1UzV8luqlKO9GKP+uLR8uMWut/V6oXcKvy6PvPCNeantzQmqIHnM7FGXa7arre9oip9aPuw3Idt19kCTmXXYYdIlQbQBcC3Es0Pg33o7CwXwEOk36L+/x/1LcDgXnTey/gaOjV2JrOtZT/TGdlbX+/6JlMUY+126mQsrf50n2wF8Or2IJWJBaJGFo3VSHogfyK0Fk7rKgPlIX+pGBvoGupfVA0koMXa6mgCtFzB+0tV1dE7kgVre4Aeabp0sRn+qwFeVZAmpPnS5WbPv3RwUxNMQjcAImU0NL1ZL2P9Q4jE4moa4FXFnrKbvXHjoe2Q7Yfx6TFt9zZ1E3LrLHUTftP+75usWtg/Ni6ps28wfKryknKDCrTQlmJmCjU19kC8fSK/3809wjWKdlGm0GgdAL2I2KqKNcSqwDuD0QTvgpsYVxgdjF077+FlV9Lo9rvs6WlXovjEhb8ncfx1jJWV5rVxCjd56ZIasaOjuKZGYF+6AuBRuEXsm6hUov/4uSviw7vHoSufu4eaDghiTy+DJCwZp1XK+Xf5/KQgljngEXonbOWjZxN+hq9ofXJgpGyV+aulubyICmO4TZTNWTjaKsL6yoR1xPJc85mTEbxG+Fe40b6dMccrAe5V9umBQJsCB/n+BwdqVwV+0xKoCgfSS5Uq7D9i9XVF+oqvVj7/WS/M/zS/YI1k8sIhnR4KI1HMF4kMhdzFZX6CMoiL5hQSFKbTA3CFiQAb1FZBfn6OvRt//LBWpfH0wChBeiqitFh882t9KqcEEgeSN1T5st9++elh6uU/iuOS/B7wpfGRLKU9JnfL5hxbJATKyoIqEToAAhUOhUJ+chn9zOtzD6pAtRGLj+9GahTTZX7eBeTLF+RCgIZ70akZ9id+CCfHDTGH8HL8UDD+yJj3cfD7e/eEAmOMhdJxremfjglp8vVaRbbjn+jKKfqJbIyJxczfbcAPrzhDN3P41L0l36f28n01tdaXTfDmoFYoIjsnAiqMnBg67EGELe214k/qGKtWRjvvh08xMWR7cnTMpzVvsL24cJNOHAB32M5kS5PLuDxsJ44KXXu5N9plKkzBddI05WUaqsZoVFD7qDHZ2Xm5tSdMcJrGxrAwDXWIqklK4rTs3FnBTqrfdcd4aDwUJjJuImGONcuaYk3HV9cheP4mv9uyZztjl6R9pXPiqvr4JkuPwpLFgzJ03tJN0MNeyyZ284bfqjw3ihbDVYWhpeb4tEzdJq/t2tFrk8FVr42OQBbQiGv5xm3w8DjwTBvvxsyz9hvmTPabzBm6aUQirRtapOwHi2CXVTXPZnU3y+L55ctSUycKHa40SxKlhD+4DIIuy+6tjJ3SM7KQ+vCTiv660BORan6ceytaYlrphh3CknbvNY+9n3w/7UXNYQdxJNwgdvmzLWgJesuf2CEcETeE/WvvZ7/P+1yWGQZp/5BZytreUNnhvvdkZsfTZy69I/W8Oh07gHd6R1j/AnuRGEZcZC/wfm5GfG1heLLHL2XjtvHzAm8RPkikEPIlOPEgsuDzQwNhrn+hf47Q0PdGu4jxMlkwvM5mMC/Mov61h9cbL8BDlpP4JC6JzqUjjVa5ac+4NBtOpnsRPLB3QW3GaqY0NM2ezoBHZMOZvAfGZBwW0GRJlRLSoXDea2I6kT8CqI+J6ZAliSohpROlkU9/dyTfcnkwfw/H+4Mutw2nBx6m3Hx4eXju4vcFUqVYxxxHEE5/Rosm8mzHv4QSaB5UCXFfPSgXffgN/Pbh3MzIyBHlkflg/AhlR/cIAcfhBCvTt/TZDP76P9ViyCbbZtjZbYiGLazRocxO2IBj/0X378VdptE8navXl1Yp1tOWetJol7HDrBbSnIWxleSzPMXqxFklz4DuR8HjbvDnAzMCatjMc2R9WV6gJ90zMK+h4pwXaRNqAD2kilINoUH6LI1qQaONr/RJkJFk/IQEMamBLM7MlJPkk66kX4+20ScYbSdcdutlLwgVgT5CszBdDb2mSqueUSfAs6o10+d4EvJFPo3FbnEJjBm9QSUKr6upIimBRsW9wGahs1xE2wBHhnkcovSJk5OlTiElNBrKRWywsyp1DZMbSpfddt3xNx7cFqMumaCbDXIzuct5bItBLkIhIhEfbSj380NfwOWi5Cy/qnIUbBSiRH9laqm06lIxA8FcUyh9AhUyfZuEqHU4GhXTtFzGDhUlU+P/fSbDmBxD08DqePwN92ei+zel7pYI7CqBYdTWDFuABrgBTeqqrDOghGIGH0VDZ6HdUHP57kURUHSxiI8V6h1QaFy75T+0+xDORtaOvVlWEoK6hEXoYs08nsYP5V+DshEL6NgWbM1flFA++ig2WTPwURextD9lQGmiYFaxjnBHyMe6lJFcgd88HmH8aYTyAxeIm/Hom1Xs+TP2/RHBKC2qxrkGy38GOzo7AjwTW7PDKdV+JOH119jo5xgZD8Ggk9A5LG/ILC9U3pS60JAgX1nFr+KFRLRvRJEvqpRmQ6um4yqQoWUk0ZMJkh8RVC0j8y3plGUUOonAdO5rbe21iLHo08TOVcO9vXBVgK5WjVjN0KxoM1YZUG0tnEFL7cb6SZzTaPos+gQ3KTfFra2dFq3jHx35sHzZN4f2LDfFqMe7/whShcpij7rmNvFEISE6kQBSWRN/+TfM2lDsuRfXYx9sMfPP7HzjBkjx7ZM4/39vxDqja1m7FTb3j15Ii9pLvvsC9P7ikRn9vXCdMPIbgakdU37iytIg9iZ79mauAhVKVa7oXP9pry5ytcN6IDG1I8utYiirVmEVIasrvkUklyEbPu3ohdtBuIEbcuyhI0f/EzKOAzqfVrEuDxe0ahVFY6Ugmygs6yqXQSClUalVQm6a4ZL6Fz8Fnr/p8dOLTCDLGouN35dfnJRclL/PHciVY5wN5wPD1JiYm5SzOb8o2eAFARpYeaYxdDB275UAre2Wzbba0FBXZM8VCb9l5a6CSnCvUVik6F5WedAv3Lqo2DpMVHS/fsMBJZS0CpJDylXJciCHVi0S8naRE3ra8fiO7u4O+S9PO7iHrmDVsXcFeih+WcI0FqbmiMqhHHfhYdO4iEQ/rWXRQb+hviy28gY5zNmMZDkCjyBchqy1/NGVEpFEq2ZUHTWf3xSKSu/jKO2hsNW5kQhsL+PorOQRHIVOxrGfq3yhMbL1Awf9A42qujLTish48QUM0Xh7oBMNfGxqSXxLEdccW1x3cY3dR383N/95h6Kb9RUQRWDFIO+F5s44bxe+RwdPYa6i/v+KGr6yMp3Ct+ZTL1IE1MsUsbWIkgkgGoPRxBFYXqYzEOC6zWpu7le5fI7FMo0NlEIkBguhc0K/ZaHTukmlu5vHpSBWycIrBuXyokstt1dW+EFHZkZuY7jpB1aUaf0aYqAA3/Lo4N3KXGUhOo9GLHFCk57u+P7WenhQbhl9QMXZI93rejvq8VG48CeKowZPD7U7X5fkUXxLMZO2CpUtF+enRjQ4RUPcs9D9LmiLWJi+bDJhpXP/HOtj/8Z4wqK2WU+MryMushaJNW7kkDEfiQXZ68rsl6cZ8yvXVNbXEMlsj5x1BVzmAT5/8FVw3v96GbvPvPT8Bf+XZXabtw2R6C6Xmra5ZYdxN22duN+0VbxUfCGAUYfu6/c+H8Ag2WDWr1+3vpfb5JpM9FXv2C6+Rbrhtn17B4dpCb43MZq0m++8aKhQ2yZm2ieKw4LuhgY59wSyLs8VlzvtLJUD5AgHMwKF+4bElAnXxyeVCAOAd4ZddaNh7XifkmOvgnJyIZUjR66Qc+wxAqll43GOIoIjLx4YGfnCEGg0guWxMA3iqRh2CbJ1TTnmnHLGP5FlWEy1WPIv61pmCmGGvUBM0RKA6QxJm4L/ZD5DSEkhLGCu5tXl+4v+Z8tYx9llZ2XzD6vdmjtsSUOrW1ERanVVldNcN28TL3W74C+oQx3v9t6eblzageyVJPI5YoNWD1R6lmSNqViTh83sX2TPEzNXZBLnH3IYmW5EypG5xT0AWZVxYqxDbD+FDYixeGB8AvMeIWTwCiUWoIL91ZeSVwPwDf90fGmr350XmyPsjCOtGyCQQAfYlXkvW2fGfk71g3L1zMNn1TmEPGMqFptKCF9Ozgn0Ch2NaqxwKGHtblUL7BNBpl2itKhBrgTfPjHLNlGmbs04t3yoT2OutFSACDMimYSQvnAZ8i1No1c2h+Subrl/sUQSwGns48ojuIpYOcfhFTDDnqOI7VefEL9VvxIWE6bZUwSPAkNkZANTv21bHEPTgEWwxZXfREbWMbNqaz0IUwQESyGUOM2C3xnlrBKT+i0yvl18hiBeGqK8aTGnvGxLxoBlX6earbBWqhLCwfVxGNLN2d+dLHQJCJB9bj3K/q1J+J+xz0IaZiGXy0SLgHIemi+nHUcul3Lsfvom5QVqOyNQgCJM4j2Q4KBSZr9LvUwxZcSia2xKEX1oqD+vWhQL6yUsFqH8Gf5tkwSU5YxYfxvUqYmfwtt4+H8CGrGEyTYPqgfwfpx+hUwnjwMuGCdgi7ODloeZ/IJ/qw5yN3D3pHFcHMg0LpVs1/Z1CbdTWCAmSX4U/JnmHkYrGr585LUvB8uZP3PqURgHy91uPvk9ltdHsP0UTq+ESSajBWJHO4Lc0zD/4XDlXgDm1zS4lIyMerb4hzYUGkTMrUUDd0QAltAVixC8KdTTUSgWCR09UbluqAAGPcu2SA7BdwaKtjEcPl9LbioLfVLcVrnl2s5vu+WnvTUQBMtj5LOfWIZEErCgktzdv4FcE8V8PgSoQ7AQBcNi6RF8IDqEdsDOJbrJobSJcBkNMkglM0EdWDb+Zt9RwpzAc+QzlynbUj76oFgo0QqQrkbD/KYlxwlxGh0bue/NY+0ZcApxQfuRkJJGmjGjENJSCdY40gw+NYX0kYD9DgwmwSNeLStC6zdm+kQ3LomosHAToGeUSYVOHqgkBTrMjxW7APjSjaKtTAf4nGzMTj7D/mv1D7fKu0KiVNhVs+E1+wiIA1Whi0PEdDqA4fuwDYou7xPREY4S423TY7+h18jaPXDQJ7AhoK7MrkKXP3M70SzwoErNaOs3EfaRrlASJ+Pu8eL72CVxWfTdpHQS0ggy8oW4fvQBOyEth9Dg/ZRZci6fB6kVk3HtP1QDGe+sR6HrWuelp1Un8i7cFvHdYk+fXlrfhIx6NbuE1hcZxLnfcId/Qr4bgOCWsM0SsVgSznVH7HSdoNh450alq/C1Gx/SNrJV65bHux9uVXSFZmVykGus4usb84JcHPZwb3Ukim1sYAgeq3aNDskAAgRvz5gKdh37aJfa1T5Jlyl7ePBYWLDYwZkrRtaVcc5veFBnHviOEu5c6y4IlyFvbR59WCqSqIda0Gb/vDlKwm0cGny/XJU6BdcxCsrLg6McuEqdnGs/uxF4HpBQaJTV2PSmDemAkd64Hpe6hkSzorPDpb7zGrBgXbhco71vRv8cnEXijczA3K1IiE4bCjFCdelIyA4Cb6sNOTnM9JPZ3S7+6IiQjJD8R29QEDZ1xdeNb96SLP1Gjqu+AngCx5W/hNdYRiiR4LSUoEBkVVqQn2p848qVH/C4TEPIjg+z29G+9/rPPiD4PffbtCMAefTF0vsXJBb1O0qHuhcKW9O6txrNKeyGhITEhAazRXOjXo9NecaY7U+xTRnCWYoQG/MEoRrMeaLaVj3Af2KuIKoJwKNImjkzSLbym+mjVIMmm1TQaW0lt2kCNeS+k/ofrTDtqjRVO6YG04GRO1r3WU2kYprQ1ZhGVaqq3aQauzvFt8QWK251mySFhgRuCA7RlY3lMzL9N/4ZSgVywz90rS7rmD6LppXwNaeY7uBiCtIf3OIf0lCIFTFqNp4bI1BDkQB0sCUiTsr2RBLdUegTFJXdObexxvh0PazjxjJSTbGs3NxVuLZosIYKnTBG/v9rliGBt7C4bYFcE1wxwmmeCw09hBD3RwiNwfE9YlA5q561q0smHhm61aGBdzM+ZNhkXUUHlw/emwx4Rw51MiMNEyEGhm1uausD6XfTwjlXjZFfTL9WZ7nk0MPC6E1CS9ku//y4NFmVCU/4V07sv7usZQaHy+/est9q8oYcWEPr1Qi+0ECIa4iiAvGbq4s9svMHZFWV8p4kGL+7lDC+2l8WxJ9VlTdRIhJr5UtbY92kq1qcZJx26z2JlVLnLe6/U1JaAC9ue/fOkky9f9qt3CKQAA5IKyulB0ACnCjt8VCLsiZ0u/QZrhck+FcO3sbZX40be7MeE5VGZ7FpPmYNVtiGK8o2ukp05ySN3oiTho/AbRnse9XrncdFh3G7uvYj6ah+YZnZ2bOkg47KCu9viraZTbEYqxmHsyJDJttMprP0H27vjrkUow/BfzBpO9Fxb6tfCn12P1QA7c/8I+0M/bf9K4hYaSwKooHvgyNb8M4m7qIibbo7ulqud7ocD58AsM2pQ+GHBacEQHt8xJpIAZQXOGyJxM/sefKN8Zn4Ccw/tbMvTugRREiqMJos9ovNxtAR46HoMZX4zDWCq6t4fopSQpma1828siyxnkP9/tFsTKVTjaE/yo/f513atq2MfazUrFSnnyNAHED6TadrMMAmu+9sAsPxSL/XnqmKrxpafP2ykAoLBa7jFYR1IkBfUeOl68XjNXedlDdBuhXdeP13PfLTIbEQgOUa+cJrdsGIrbfC4qkKoW4bFI1K3i6LuD+D+ThxCcfSjc2OJY4bQ2yfBAbjhJqt98ODxOPXHOqu4nPL7/fpzJU/ksNwwGDLBzVwzFpciUiqVVsfzIiScBqPc+WRXGWsgjNeRaAoe9gCHR82nr9IsaEQb+9hEdypIiGiJWoRoYkASMG/mVLfi/Xlm6yocgYqRGtotJWzSH3tplIBA8/OcwlPRC6kqZhOllVYKWmsj9vXTgsNlbEknHW2Yr5r45FGmA7LjshqpNhDhwQS9ugRqStf1r66EabBsiSxF1a6ciVpeJAzWCa0wJkiAY7GVwxxnHCICsF8ERW++5R1W93jdvDG3TqhTkRFBBC8Oax6vdJcFtK/Pq7clcY/jHduOtyO6bE9+OxOnShWst4WQFS+AMCpMnc3i2jv8L1CqIyA7uDyYXCkGnk7mHvs+Q0kJqbH9dCNwAF0QpoAhveGNSkUFrKQsE3xFGUr86dYrUYfQD/Z3PLihmcKuVe6zK3dItRctgkB/PNalasTt9pEmuI/zH3HgM9KGTuAuE7gyhc3HWm0kx2Wb5NgH18ETxcnmKdlE6yePSSD0XasKhOJ6NaMEbErsqaqRPgf6XcjCAMh0igkCp+CP71RVkXC1kaXTzqOt6nzlNwLmOI3IJaYUPz3NylI55CR9dHMeN7dIFKJI8UqEfBWNRvWmOSIdkSbEObxa9aMfibi5gl7iYifRxHSArdoDeYwM8EOQ5gj5WOOMCpY9ewjbeqgsPtB4aIkB116BQbaJ2XZJqnVbUXNeMPxrCMpYc4gWrhM7lXxyGS2NVDDSgGOo8weW0B8Hm7P3hFKzmALRy7MAfexFY/sxOFaiQ59ujVNZAcb/I73KHhB0Y//bUSG7JumMw/syqpkjK72qo8t4UhW7qNsfDNF5HDN7Y3AYckcd+OKtRzm3ibZ0btP3zpG1w+xHNbLvmyowtfPA//3kBqbNjdhbQzthuKkwvIaF4eKgs3N41AfVU1fvqKk/l/Q/eQt7NlqdprRbba1ZzzK0iqqmXPsKYlGWkZ/8xlaRqLijrRBb7tFDcubQghrVxUkmDLWBx9R3sw6vDGM45ZiTFhnZpWXa8jimZRoCzLtrdSVq5URmeXZDlVA/lLOj+N/EPt0kAq7FJdBEFlMfrnnC4/MP7l/D/L0Pn4PvGdkqpO2jsyfWUfd+fhbzusobnmpVVR06f5Cvra1Jc3mSUvLRXDo760cZ/OyoU3rsRWk/aegddbhFj09PBg/4ahGgMF4Tr9UZhnSAN88wKk1PzMIuqfMpggr5nTMORejVBIgKb29mfqpZTMvXsz4MHwI05wiH3fCrOksweMIz5nOzYNZJbyDHDvlm459Sf75F/JL2o9/PgU/fqMq8tl2/MZV5ysYSri6MThRW3S33IJlIedEs5d5DDiOkq3HfLadCOo7iylFR8/1GFaHKjpgZ8BXydW3D2Fuyf9Zhq/y32xkHCkBQxuW5y3JWzodpVZHTy9ZsyR32YZhUEIS9gNSoPl6TpLINgT6CI0kwNNJ1SSygEAjk0deLrTtDeM0EoUk6u7lIpHpZCtyR35+L962+5ihoIMjIJPFnI78tcd6GObla/ObWp+T+dyNx1jcoam1ho7UtTOCZjNOZN7us4Qc25K1Li5U3juSLZ5GAkueeGFuijFNvrWLFtt526fP74Z3wa/OW2/nbP+aT7PvwO5jZQNdyg476+N2feDRKThAgwccgzrskraSaeSRtzEg/loAYji2Q+dYDRQg3m/P8TLDJ3Yjw60OhOJ5uftVHSGKFTbRM0YDxCor2yxYsVnVeLnctXEN9Z9TMy/2tp9iXDZZNBy9se2HN9P/Uusarz7ZP3hyh7RMC8zKjh09/vc3x4EYqNR573atZTSyPxka9/ju6Y9HjtqYig3ZZayWYMxYRydHdH3Wt6uPsoDJZQzQKpXebbTnH9/Jdly+BDw//6zT66P3bxZ4XLdn6Bh/79zfNEThdpnq9uy+XNP2UFds7kTJ0qXobdvTzSjatnM5rOxzbQydvQ5Q/sEDd6o7jXMQZLPwVDd7qbdTK7rni70l9fZLj+66ZuHFJ+71jV+ameD8/T6oIifrya44t2uHzhi8/R/dRVGpKEvcHRBEx5t4sOIM6v2vqFOoM7++hxis0vv34DGN1iBoANlqNeMcnxcoE7xDZEpRg1r9PU3Dew0ZQQNVw3NRx7xAZIEij072ItttmobbERHWV/lgjBIVHXUA4JGo9miXP/6Iin4VFSWMnqkWHx/tuPdrh54xukOo1wuVUX+wX39Hms+BKA7EvYCLBFRZEViUXEEtLKAscWVAEJ0iwlvZYWRiAiFx2CCMwPnVZLhw9+5CErBBEHEQUPxnmIXYVWCRu6mciHst+4tMMz/rqn50fe5Ja8kh4WbEWBK9XUEI+68pxTZQnGmTdfc7hWufa4wriTRH4oRHjPRHRBCIb9v8SCA2zxALa6CCPEiDceUBr7ZJEU9D/5Ou4c1+ClyjrP4U/SnmMZmNM4dmfM3kQ8kbD+53QcB8feg1dBBC/99UcOqJ/QN0FGYsfAwThX5gjFJN2h90mAybdDhoP2k8ym74l/sXll7vCOq//1CaGB3REWQUgZAY4QAcQ9UidgC7WDVAxin0nt7LJicOkIHpEx6fLOLyLflckU0nn2KfYwft9J3ABQy73XlJAVEt4pP48w18XhyfYwftxBO4gGG3Oy9RiTJFx4gsRQI+xw4M00RcwIzd7rzEAuQzQS8I4zXcIeLjS5iluA1MnvsVaTs2HfO27UdWUaXwyFpCjzsbR28Ccagmn34ojtoIrQKN1Djguq1jR0KCjjHFyKpYN1G+roQ+y9AlJGw3yE3+NpEb6sGBiWEMMeqZx/u+dpxZ78zjVCd1COo2FbkVOO6N9M5cnum9XEzoZDKN3E1//ScdOAds+aYbgL7fResCUgbGs8c99Vpld/132d8B1dksXdbuLC2hcwzt7VleD7CSHtB/7uw5zXpUHRx67rIiGFYFUNEwrRK4UD7J4BkLsD63wWXeAYIHrxZdjS3c+8QUXim6AlpC3dzEojFXff2sG+C1d3d3dZv+f5ZRBHJ6lsqXFl2cLnKwWNmD9P/2W78mkAFBdDTT5bl6n4LaQY0x+ZipFR5PcPCLC+lGsnnyDYubh+e4+Z644m7/G29y1t7GaARgGBnuUZLMkxC9C7gaWOzMRrL3r8kmZj/0ye4Kd7Qeo88XB2QHAPnrUrecKblReqN/x59lZ/Z5yFmYB7hnvlq/2oQXFLTwNTgICfz69QFYo+XZ7tmL2cxe4KnFkD28r8tl1YFnP8GsBTk6PX0UaWkuKYH37IFLTB2dgZD6fmBQTparVfvqNY/19feciVDr5Ttt2K3YS3egrRFmgabDTsPO6naCuiEwcNSBNGH72y5edFxwqjifW+CQ4YJch0Tew+UtYZ6DvTFPqPnOae2KNY80a53XrNCMOxt4kZuSYgE3B4hVaIXiO4+vE4IJXZYpk4eO+v7sfOvsNWuyrfOz9Wus9fn5eustxmK4swMpgYs69+xvArynAy7xcMoIC89wAh68oXfdk3gifpLwhgBgzhtndehe/uO5qs5brhZAQN1qAcwtoHxRgrPT8bi9P96qAsaYUbhu4l5iNy4G278DEEbOrm392eYi1XAm576A30ZzNT4BGML5psQXiaAhci5l7ungMGGK4EKc7B7uniQuJ7z6INz7POLO1/JD54K5Ag++u5RrLgAeWv854iIhgrDYP9f/EU/tj4KAobe35wnbTzV19FiMaLwhD7w8S8nR5gmLEtILKKu1iZL7Ew0QrlPz6Ks4G/7jheDJ5liz+V7bkfhQpoRu65R06k4mi59XMTD76PN0j42LE467IvX3J5Hwm88t3dfJS3XRo1IK9B5wMmy3McVBzREvcvBrWJByWypQIGZvqmfqFY/9jkMeWk/tVQ/aAda8KDxb+O4MhH48hLdnis4WgR8ZD4senix0LnI+WWJVKXEGHuPIubzzedDL//MiBrPl/w8CzJ7sHnfdi+wX7nrtvZzzQv8CuNHOuVfa2Oy0P/BJRMPU8jMybNFtwGCiPHDIAyPWWmrFGNf6H7SySFix3iTI9aIL0F60ycgSX1MVnGcc+uJm3T1uBVvpLo31W/ZP9wHa/gz4vVj8CLcXCs/ODq8ENAAmYc5sGv8O7arXpo6Uprq1OqhoPJvS2FjHPStyMOn44+/fnsCQzpn8+js0gD39y8/VGSbqjgwLjw7M2BimA+x/+HyfCWEX+sEdLPNPXJ7uYO50AEaouN3OEJhQnOhuwp3AN3Zv70b8SZzxDHxSoZ0yO/HaTO8J1qTZSSpo/5Lgp/Dh+CnmQVr5eV4D98D0AeV4UO8f3jZpOrmA+DKcIgDg6RLVKM4X+LS1TeLD3EALJ71B2xguTNp8wvBjoJ8aXjXJnMSF48eYY/0BKHhfC8HC8BRzkJa2ySBit6Snz4uo2rQWLP82Sl1hkxaxgMwjnyDriDnfUHVB2LN/7VoRQWQwdKGN6C7pEBD4le5C6YETbSsw7MPoWeUMBfsxIhrw1v49H5nWNt92OBuueR7/gPEAD15SplfBZ/Lqm6kgbMs+onv+fVbw0mXZIXPZ133q50Jqg6+/2k6lvZdC4uQs+XlN3k+2B7czZ4OYIRKeDXDveYm7jxuFO3hhLk2M0X9CX9aDpqvCo2joUexQ+w8qvv23uDH6GO5bZgcznDF7R/D36UNAfjaisIn5wZ6MY+9ThkWRMdQ2AFjDu3FlxXbjDzoG2X2H4RutcBW5opDn3z//ZhfjsTj07jaKlYN7GoZC/c6HKxD14+NUfHQchq/aFUUOcfb8DdO8DmYcY+fBiEPaXRga3APat/m6dfQH9OX6TCdZOj5LJk/OzIxdc0wtO94tc3f1EBPwYuv3rI3jk9wJxUNs1A2CLfDGc+egt/SZJhLjNRgY0DM/Mo1HjowBqpEKxu6qeuY83/OHl0bmItM4MPDly8S238sfGjfiPzL158+XMheYZWHge/AlPjp66d//rFv3uMBV19JSStfhcDrG974VJDjc1i5RDOVs2pIDC2P5NF6c4Ek5OFYXzhHZJfFL6VN0/ZhVsBOkKSiKhZdG2l7Tq2KvRdgu08AFRUDjZBkyFRSuY+h2ge+8MNEuvUeJlcQ1FzZ3JCjpiNT6O7AlELTWsEykF0mV5PMregfWnU1cIEgGvTFwcUtQiB+ESdPeuM15ln74lzxdD9+yPJ96o1r8ctmRpWHdBHarD7aNNSb+oD4m62pmFH9IW3VZzFmbRdVkh/FdFhidZofx73FB0GGRw62LVZP4BfwkYwy3gBtbvIcfw0+89DOPn8SNPaE3newreTGBHxPQXk4uNNyJ47L0Bw4vlKt9J6EYLPKOIW+mkaMBuugY0ou8nkYdBVDUO70duTGKbAXQsh0henMU3gpYXWKwIauekW2uVprssN+m3nE+1O9Z01tAbPo+1Pd8bcZ2ux1YtdwiW/Dg4lNVWm10cFjLtcK38mFDxr0gd6/3p5NiM+r3exqq+9r764BrzVUTifa1QWTGyHNQGiiF9ibqbW/opQxY4wNpICNuhEQvo5PfBlBeM+JVT/II06bTBH6i2vFvGG0/ZaMJZzxNP4VJPKV03zR5CGPIXK4FcAS24p0Li2zrbALNcbI28/qs7Mek+SCv04TTOyCouL2zGFWM/JBRXUU+y1ffljhadB1A0zNkInv/mLYlyW4gZX1lChy9GypBqtv5yVGV6WcvF7Pv4dA93U4SxzvLVwdtSnNKEvuvXJ26w7ZHtLN9hRrCC0ItGnDuDnI39kscemu3xfGueNti1cocstgpKU26TD6Hgj9/vwr2hAYL29ClwhXq3gwp8GiD8br7T4zIrIvu3mMjMtUKTPuHCM6EwX7n/j6CKWHKdKodmDmts3YO40yqmeKnTKdNNmZC9fVQFpQJyZx319XDmQE0P6s3EspZDVVElZOD3gwGJCK/6gOia47mYd+iXknMiQ8fA7b0uu73LoxIRVeJMNt20Psy1cn3Y49u3FsVePqmSmZfuNOKZqTRdwG20koBHZTSPngYGcaTJ3XMuSN34rKlEVQNPeMjD9iwCdP4Q/hpswNLt7tWPhFezUl84jpRdmy+nOE+ZUCahfXVnpsI6SRdIP/lWdTsLHI2jNkPZ1FOwwfXWYKYsQ8ZH0f2Ivua7JtHHo0jgAyAH4+URQKPZdp06vKVOsqYaqvrhpshe4P/yDBOTpYy5hj6qUl93VfLQEsDJ3ZrGd8DX2JowhaY9Jm8J1K/x0k4zVWMgiIR/iUn29BQKfMj4zgoOhm/yDQODg4/EFYlQTE8YBImOBnvprU8NvHs2fRGdBC1KslDxW2YeophLjx7+spxWqNZ4DvIHFwX5IsxGrLDD+6Z56sYNeCppHYySjDlU7NPFVQu6t+lBOIqcg2RkodfQUaQEP06ImHJozy5BkVuINEPHUTuI8qHvXQEcb7/niD2oXevFuwa9FLli991EXF3ozAI9JfsoPOF52HVy0Sv+IjziCrN+jiSDEfeRBRHvkUyI9cRWe6R08jyvAii244in5AqLKTxmXUd7iyb5uE44iyvnUg4AGAj8Iym39JXZk9lxPWwbSiC+8hdSICML2t6muSuu4D4Ac3nxdPaOXK73G0ozzByOda7ETmmG/Moj4B+BVWnYkTcjT10H+vhV1BFSOBUh5F8NS3ycfSU15HQPMrHCB3J+0MbTbe/TEueik5cil5sXhtq2Wajy4wI4JEfce0cWUBexLbRKeLSZvYxWyKqGrtONu7miSDFd6nyO0dxA2CTc0bTV+c8HHk45/TTSvHRl/OiYcia0y/Er3XDm/VNO4AP6W0SN/nHfWYTgF33JveWGytWpQY4xB9aEMLq7czRTM2IAOvsr7RU2FziM6NRtaDj3Uj8uN9YBuITmTECMalCyLO+2X5SabgfEh/sYIb0IgA0qyr9+w2Jo0bMGOIWiEueCqv7yHciu9642sb1KTzW1/uQNr0ezLMOYAXirz7A/5+7YSOfPEWatph7ZatlaR6qNYtA/OJ4GuiYl5vRwFGEnhwDcv+og+1jXU+p/k/xF8Pw+7M8Enz+lTAYwN+L/ElSMboelqqgUj9Jcoj+K7F1yLlaFW/jeuubX9+JdnzyrlZTOS6QM3BeaT4k/6TjvJ78uzGI+I+vF+zFhCiqib8Wj5XNKHQX+lY1IwLehJ0z8K9XjN6YBv+fuWXVdJuTN4RNENUlLJpUsdVkqkPeG2dNyeC4KatOm3pHAg8+WFPISHgEmNRpTWLZ6Sa16LfJLHvAe+NUU7JptilbHoA09V6XDGDcDs48gCpZREho6m5fUy9shVNl7vg3Og0QN3HykP8xznRF3Sw+nD7uD2SMKnzmjWtTsrWNMta/a+8ehiD1FGWFfVr4lKYfj4+WdRMWvYxPqoIIgQQZtc7+cHbSE8w+9aTyfOv/hhwVgMgZ8+bs/0PRjF77WmPhgwD/B2WhMdPinG04rYQ0q96ZkRgt+XesoWDkRG1iV1pBvWTBhzAnPzyiqawoXcQvj0MebXzXqC+MxS+noKSipqGlo2f4nRbC7EuSFWFCGRdSadOyHdfzgzCKkzTLi7Kqm7brh3Gal3Xbj/O6n/dDUAwnSIpmvsZmuz+eTwfu6T5fluMFUZIVVdMN07Id1/ODMPrFSZrlRVnVTdv1wzjNy7rtx4lAotAYLA5PIJK4uHl4+fgzDSwdAa+oPXPIzqgcPPAA1ORJJyb7WPJ8ZU3s2twrzF6bq8261E3ESWnQCw3GarVR9mSXHu8VD56sLum5ZeyFHUbr9Zc7wrv+2YvuT9cXYb2kVi6SoTWNPXeAqJkF9kp5oiBdbRZ2L3oPzYuRRsiE6cxCcq5nRVlS6r2eJEzabZXi4LrCgxQ5mOI0i8ksP7GM6m2ZYu+CpikSsJXZ50RpCpVQNWsyvyEe5HnvIfcmMzEjM0pMW2WAJsqsBDZKWdarnJEu0fcFRorzzMJCKk2qp+rBlyQqjNk1AK+ptMBuwNnrsWVukQOR7GXvUTWTPWZeedpZ723t4IkhsSj2Vzss3EpnVi2SV9qrT+oioHjpDhdOdAR/JJ58iJa+rzucKKGUNKBTv353QHYhM8WABjE42UmuFrD61+IqIK0oEvnaOzrh9Ox6RMLEliUUAM5s6sIrtqnm03aHL6CXEohbcQdBpZxzrzzZEZhADRfKWpfCih55BCdztSPO1SieGK9YD/K5gFhy8vXJ6Liby3Rq+Z4CdiEee3AiSEWpveepmctE+m72EnF/QEehk1zO7pwF17gkpFy0q6PPDba56Z3tzXFTR13DLDBukWTabKUqSo4PZITdLoEKnjbFEXQuM8Ch0WnAzlSz2Y0SWNLJwQu7omOjnJNSYrABaPb00kRwbdEBM8blxyJRQSpW3WmYmuU/EsgEYqx+SUpo8zkiXqWJMr03suXnnkUf/bNWiDgJcXppMCzbl2BMEkdpXkRS+einjOOSdewwVtC/9RJwFv0zUp/7k/rlLAXDjVkKAVMxI8TeL1sz1aRWbcvAfSOEkM8u78id39wURvQBt+bDOgnmiDnclIfwwtIGX/wuGqu5vUdOGMtlLpLzSbw/oE1Z7RS8GNBq2YVQhaKh4oSSqDQgOXYHPT5/kEHYdUAnFjkgLZWTPnhGAuFSzYZGLF81Muo6FlrYQE68Sl3+wkaxwK6wukXukPORQGYPZz0KK6H50K0DV+MnGaxWd5pQyd3aHcjRjjh8i3SQMxM3q1hIR7UX9UrrtfIEAAAA") format("woff2"),url(../fonts/iconfont.3bb04b23.woff) format("woff"),url(../fonts/iconfont.ba3ee7a9.ttf) format("truetype"),url(../img/iconfont.e48d5fe1.svg#iconfont) format("svg")}.iconfont,.iconfont-diy{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.iconbianji2:before{content:"\E682"}.icongengduozhankai1:before{content:"\E67E"}.icontupian3:before{content:"\E67F"}.iconbiaoqing2:before{content:"\E680"}.iconhuashu1:before{content:"\E681"}.iconshangpintuikuanjine:before{content:"\E679"}.iconjiaoyijine:before{content:"\E67A"}.iconyuezhifujine:before{content:"\E67B"}.iconzhifuyongjinjine:before{content:"\E67C"}.iconxianxiashouyinjine:before{content:"\E67D"}.iconliaotian:before{content:"\E769"}.iconbianji11:before{content:"\E678"}.iconjinru:before{content:"\E676"}.iconfanhui:before{content:"\E677"}.icongengduo:before{content:"\E66D"}.iconfasong:before{content:"\E66E"}.iconcha1:before{content:"\E66F"}.iconmima:before{content:"\E670"}.iconsousuo:before{content:"\E671"}.iconshouji:before{content:"\E672"}.icontuichu:before{content:"\E673"}.iconshangpinxinxi:before{content:"\E674"}.iconzhanghao:before{content:"\E675"}.iconbiaoqing:before{content:"\E668"}.icongengduozhankai:before{content:"\E669"}.iconhuashu:before{content:"\E66B"}.icontupian2:before{content:"\E66C"}.icontianjia11:before{content:"\E662"}.iconbianji1:before{content:"\E663"}.iconshezhi1:before{content:"\E664"}.iconshanchu1:before{content:"\E665"}.iconjiahao:before{content:"\E666"}.iconcha:before{content:"\E667"}.iconshanchu:before{content:"\E767"}.iconbianji:before{content:"\E768"}.iconduihao:before{content:"\E6BA"}.icondaipingjia:before{content:"\E65D"}.icondaishouhuo:before{content:"\E65E"}.iconshouhou-tuikuan:before{content:"\E65F"}.icondaifahuo:before{content:"\E660"}.icondaifukuan:before{content:"\E661"}.iconzhuanjie:before{content:"\E766"}.iconliulanqi:before{content:"\E65C"}.iconfangkeshu:before{content:"\E63F"}.iconfangwenliang:before{content:"\E642"}.iconchengjiaoyonghushu:before{content:"\E63D"}.iconchongzhijianshu:before{content:"\E63E"}.iconchengbenjine:before{content:"\E640"}.iconfufeihuiyuanshu:before{content:"\E641"}.iconchongzhiyonghushu:before{content:"\E643"}.icongoumaihuiyuanjine:before{content:"\E644"}.iconfangke-zhifuzhuanhuashuai:before{content:"\E645"}.iconjingzengyonghu:before{content:"\E646"}.iconkedanjia:before{content:"\E647"}.iconjiagoujianshu:before{content:"\E648"}.iconleijichongzhiyonghu:before{content:"\E649"}.iconleijichengjiaoyonghu:before{content:"\E64A"}.iconleijihuiyuanshu:before{content:"\E64B"}.iconshangpinliulanliang:before{content:"\E64C"}.iconshangpinzhifujine:before{content:"\E64D"}.icontuikuanjianshu:before{content:"\E64E"}.iconleijiguanzhuyonghu:before{content:"\E64F"}.icontuikuan:before{content:"\E650"}.iconxiadanjianshu:before{content:"\E651"}.iconleijiquguanyonghu:before{content:"\E652"}.iconleijiyonghu:before{content:"\E653"}.iconxinzengquguanyonghu:before{content:"\E654"}.iconshangpinfangkeshu:before{content:"\E655"}.iconxinzengyonghushu:before{content:"\E656"}.iconxinzengguanzhuyonghu:before{content:"\E657"}.iconzhifujine:before{content:"\E658"}.iconyingyee:before{content:"\E659"}.iconzhifujianshu:before{content:"\E65A"}.iconzhichujine:before{content:"\E65B"}.iconguanji:before{content:"\E6ED"}.iconshengyinjingyinxianxing:before{content:"\E94F"}.iconshengyinyinliang:before{content:"\E66A"}.iconguanbi5:before{content:"\E761"}.icontupian1:before{content:"\E762"}.iconbiaoqing1:before{content:"\E764"}.iconzhanghaomima:before{content:"\E763"}.iconerweima2:before{content:"\E765"}.iconjuxing:before{content:"\E628"}.iconzidongxuanze:before{content:"\E625"}.iconshoudongxuanze:before{content:"\E626"}.icondanlie:before{content:"\E622"}.iconlianglie:before{content:"\E623"}.iconsanlie:before{content:"\E624"}.iconzhibozhong:before{content:"\E621"}.iconyijieshu:before{content:"\E61F"}.iconweikaishi:before{content:"\E620"}.icondrag2:before{content:"\E61E"}.iconbanner_3:before{content:"\E613"}.iconxiaochengxuzhibo:before{content:"\E63C"}.iconSolidline:before{content:"\E61B"}.iconDottedline:before{content:"\E61C"}.iconDotline:before{content:"\E61D"}.icondrop-down:before{content:"\E619"}.iconDot:before{content:"\E605"}.iconSquarepoint:before{content:"\E60D"}.icondel_2:before{content:"\E608"}.iconaddto:before{content:"\E60C"}.icondel_1:before{content:"\E610"}.icondrag:before{content:"\E617"}.iconComm_number:before{content:"\E600"}.iconComm_whole:before{content:"\E603"}.iconComm_Price:before{content:"\E616"}.iconPic_square:before{content:"\E60E"}.iconPic_fillet:before{content:"\E60F"}.iconsearch_2:before{content:"\E615"}.iconsearch_1:before{content:"\E618"}.iconbanner_2:before{content:"\E602"}.iconPic_small:before{content:"\E609"}.iconPic_big:before{content:"\E60A"}.iconbanner_1:before{content:"\E60B"}.icondoc_skew:before{content:"\E601"}.icondoc_bold:before{content:"\E604"}.icondoc_general:before{content:"\E61A"}.iconfive:before{content:"\E606"}.iconFour:before{content:"\E614"}.icondoc_center:before{content:"\E607"}.icondoc_right:before{content:"\E611"}.icondoc_left:before{content:"\E612"}.icontupian:before{content:"\E63B"}.iconkefu:before{content:"\E633"}.iconfuzhuxian:before{content:"\E63A"}.iconbiaoti:before{content:"\E627"}.icondaohangzu:before{content:"\E629"}.iconfuzhukongbai:before{content:"\E62A"}.iconfenleidaohang:before{content:"\E62B"}.iconcuxiaoliebiao:before{content:"\E62C"}.iconkanjia:before{content:"\E62D"}.iconguanzhugongzhonghao:before{content:"\E62E"}.iconhuodongmofang:before{content:"\E62F"}.iconfuwenben:before{content:"\E630"}.iconmiaosha:before{content:"\E631"}.iconshangpinliebiao:before{content:"\E632"}.iconpintuan:before{content:"\E634"}.iconsousukuang:before{content:"\E635"}.icontupianguanggao:before{content:"\E636"}.iconxinwenbobao:before{content:"\E637"}.iconwenzhangliebiao:before{content:"\E638"}.iconyouhuiquan:before{content:"\E639"}.plusColor{color:#e83323}.reduceColor{color:#16ac57}.c_label{font-size:14px;color:#999}.c_label span{margin-left:10px;color:#333}.c_row-item{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.acea-row,.c_row-item{display:-webkit-box;display:-ms-flexbox;display:flex}.acea-row{-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-ms-flex-wrap:wrap;flex-wrap:wrap}.acea-row.row-middle{-webkit-box-align:center;-o-box-align:center;-ms-flex-align:center;align-items:center}.acea-row.row-top{-webkit-box-align:start;-o-box-align:start;-ms-flex-align:start;align-items:flex-start}.acea-row.row-bottom{-webkit-box-align:end;-o-box-align:end;-ms-flex-align:end;align-items:flex-end}.acea-row.row-center{-webkit-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;justify-content:center}.acea-row.row-right{-webkit-box-pack:end;-o-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.acea-row.row-left{-webkit-box-pack:start;-o-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.acea-row.row-between{-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.acea-row.row-around,.acea-row.row-column-around{-ms-flex-pack:distribute;justify-content:space-around;-webkit-justify-content:space-around}.acea-row.row-column-around{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.acea-row.row-column,.acea-row.row-column-between{-webkit-box-orient:vertical;-o-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.acea-row.row-column-between{-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.acea-row.row-center-wrapper{-webkit-box-pack:center;-o-box-pack:center;-ms-flex-pack:center;justify-content:center}.acea-row.row-between-wrapper,.acea-row.row-center-wrapper{-webkit-box-align:center;-o-box-align:center;-ms-flex-align:center;align-items:center}.acea-row.row-between-wrapper{-webkit-box-pack:justify;-o-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.mobile-config{width:100%;padding:15px}body,html{font-size:12px}.ivu-table-wrapper{overflow:unset!important}.ivu-layout-content{overflow-x:hidden!important}.page{margin-top:22px}.vxe-table--loading{background-color:hsla(0,0%,100%,.9)!important}.vxe-table--loading .vxe-table--spinner:after,.vxe-table--loading .vxe-table--spinner:before{width:50%!important;height:50%!important}.ivu-table-header table{border-top:1px dashed #e8eaec!important}.ivu-form .ivu-form-item-label,.ivu-radio-group-button .ivu-radio-wrapper,.ivu-table{font-size:12px!important}.ivu-table-cell{padding:6px 18px!important}.ivu-table th{background:#fff!important}.ivu-btn{font-size:12px!important}.ivu-icon-ios-refresh{color:#1890ff!important}.product_tabs .ivu-tabs-bar{margin-bottom:0!important}.product_tabs .ivu-page-header{border-bottom:0}.product_tabs .ivu-page-header-content{margin-bottom:0!important}.ivu-radio{padding:8px 0}.ivu-input,.ivu-radio-wrapper{font-size:12px!important}.ivu-notice-desc{word-break:normal;text-align:left!important}.modalBody .ivu-modal-body{padding:27px!important}.ivu-mt-16,.Modals .ivu-mt{margin-top:0!important}.Modals .ivu-form-item-content{line-height:unset}.Modals .label .ivu-input{border:1px solid #f5f5f5}.Modals .ivu-table table{width:100%!important}.mr{margin-right:15px}.mr10{margin-right:10px}.ml20{margin-left:20px}.ml10{margin-left:10px}.ml15{margin-left:15px}.ml40{margin-left:40px!important}.ml95{margin-left:95px!important}.pt5{padding:5px 0!important;-webkit-box-sizing:border-box;box-sizing:border-box}.mr50{margin-right:50px}.mr20{margin-right:20px!important}.mr15{margin-right:15px!important}.mr5{margin-right:5px!important}.mb20{margin-bottom:20px!important}.mb15{margin-bottom:15px!important}.mb30{margin-bottom:30px!important}.mt3{margin-top:3px}.mt35{margin-top:35px}.mb50{margin-bottom:50px!important}.mt30{margin-top:30px}.mt25{margin-top:25px}.mt20{margin-top:20px}.mt50{margin-top:50px}.mt10{margin-top:10px}.mb10{margin-bottom:10px!important}.spBlock{display:block}.mb5{margin-bottom:5px!important}.pl25{padding-left:25px;-webkit-box-sizing:border-box;box-sizing:border-box}.index_bg{width:100%;background:rgba(0,0,0,.6)!important;z-index:0!important}.fl_header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header_top{padding-bottom:16px!important;padding-left:10px!important}.i-layout-menu-side-title-icon-single .ivu-icon{font-size:20px}.ivu-layout-content{position:relative}.ivu-form-item-content{font-size:12px!important}#shopp-manager .ivu-form-item-content{line-height:23px!important}#shopp-manager .ivu-tag{background-color:unset!important;height:28px!important;line-height:28px!important;padding:0 10px!important}#shopp-manager .ivu-tag .ivu-icon-ios-close{top:0}.font-blue:hover{color:#2d8cf0;cursor:pointer}.Modals .ivu-table .ivu-table-header table{border-top:0!important}.ivu-table-cell{padding:10px 5px!important}.ivu-table-cell-with-expand{line-height:31px!important}.i-layout-tabs-fix{z-index:5!important}.ivu-table-fixed-right td,.ivu-table-fixed-right th{text-align:center!important}.ivu-table-fixed-right{-webkit-box-shadow:-2px 0 6px -2px rgba(0,0,0,.1)!important;box-shadow:-2px 0 6px -2px rgba(0,0,0,.1)!important;top:1px!important}.ivu-table-fixed-right tr:last-child(1) td{border-bottom:0}.ivu-table-fixed-right:before,.ivu-table-fixed:before,.ivu-table:before{background-color:unset!important}.ivu-table-fixed-body{background-color:#fff;overflow:unset!important}.vxe-header--row th:first-of-type,.vxe-table--body td:first-of-type{padding-left:10px!important}.ivu-modal-header{background:#fafafa}.ivu-mb,.ivu-mb-16{margin-bottom:16px!important}.ivu-mt,.ivu-mt-16{margin-top:16px!important}.ivu-table-wrapper{border:0}.i-layout-page-header{margin:0 -18px;background-color:#fff;padding:7px 32px 0 32px}.ivu-page-header-title{display:inline-block;color:#17233d;font-weight:500;font-size:20px;padding-bottom:16px;margin-left:10px}.main .content-wrapper{padding-top:0}.ivu-tabs-bar{margin-bottom:0}.perW100{width:100%}.perW90{width:90%}.perW50{width:50%}.perW20{width:20%}.perW35{width:35%}.perW30{width:30%}.font14{font-size:14px!important}.ivu-table:after{width:0}.ivu-text-left{text-align:left}.ivu-text-right{text-align:right}.ivu-block{display:block}.ivu-pl-8{padding-left:8px!important}.tabBox_img{width:36px;height:36px;border-radius:4px;cursor:pointer}.tabBox_img img{width:100%;height:100%}.mask-footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding-top:20px;border-top:1px solid #e8eaec}.mask-footer button{margin-left:10px}.goods-mask .ivu-modal-body{padding:0}.content img{display:block;max-width:100%;-o-object-fit:contain;object-fit:contain}.none-radius .ivu-modal-content{border-radius:0}.transfer-mask .ivu-modal-wrap{width:1200px;margin:0 auto}.transfer-mask .ivu-modal{position:absolute;right:279px;top:auto;bottom:271px}.maskModel{position:fixed;top:0;left:0;right:0;bottom:0;z-index:55;background-color:rgba(0,0,0,.5)}.input-input{display:block;height:100%;background:none;color:inherit;opacity:1;-webkit-text-fill-color:currentcolor;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit;border:none}.kf_mobile .textarea-box textarea{resize:none!important;height:148px;border-color:transparent;font-size:14px!important}.kf_mobile .textarea-box textarea:focus{-webkit-box-shadow:none;box-shadow:none}.line1{white-space:nowrap}.line1,.line2{overflow:hidden;text-overflow:ellipsis}.line2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.label-box .ivu-modal-mask,.none-radius .ivu-modal-mask{background-color:transparent}.empty-box{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#f3f5f7;border-radius:6px}.empty-box.on{border-radius:0}.empty-box .iconfont-diy{color:#bbbfc8;font-size:30px}.paddingBox{padding:0 10px 10px}#app,body,html{height:100%}.chart-scroll .ivu-scroll-container::-webkit-scrollbar,.i-scrollbar-hide::-webkit-scrollbar{width:0}.chart-scroll .ivu-scroll-container::-webkit-scrollbar-track,.i-scrollbar-hide::-webkit-scrollbar-track{background-color:transparent}.chart-scroll .ivu-scroll-container::-webkit-scrollbar-thumb,.i-scrollbar-hide::-webkit-scrollbar-thumb{background:#e8eaec}.i-scrollbar::-webkit-scrollbar,.right-scroll .ivu-scroll-container::-webkit-scrollbar{width:6px}.i-scrollbar::-webkit-scrollbar-track,.right-scroll .ivu-scroll-container::-webkit-scrollbar-track{background-color:transparent}.i-scrollbar::-webkit-scrollbar-thumb,.right-scroll .ivu-scroll-container::-webkit-scrollbar-thumb{background:#808695;border-radius:4px}.i-scrollbar-hide::-webkit-scrollbar{width:0}.i-scrollbar-hide::-webkit-scrollbar-track{background-color:transparent}.i-scrollbar-hide::-webkit-scrollbar-thumb{background:#e8eaec}.i-scrollbar::-webkit-scrollbar{width:6px}.i-scrollbar::-webkit-scrollbar-track{background-color:transparent}.i-scrollbar::-webkit-scrollbar-thumb{background:#808695;border-radius:4px}.i-table-no-border .ivu-table th{background-color:#fff}.i-table-no-border .ivu-table-wrapper,.i-table-no-border .ivu-table tr:last-child td{border:none}.i-table-no-border .ivu-table:after,.i-table-no-border .ivu-table:before{display:none}.primary[data-v-4ec8dc93]{position:absolute;right:0;bottom:0}.upgrade .header[data-v-4ec8dc93]{font-size:12px;color:#000}.upgrade .header .v[data-v-4ec8dc93]{color:#1890ff;margin-left:10px}.upgrade .header .num[data-v-4ec8dc93]{color:#1890ff;font-size:24px}.upgrade .header .info[data-v-4ec8dc93]{color:#999}.upgrade .header .info ul[data-v-4ec8dc93],.upgrade .header .title[data-v-4ec8dc93]{color:#999;display:-webkit-box;display:-ms-flexbox;display:flex}.upgrade .header .info ul[data-v-4ec8dc93]{margin-left:40px}.upgrade .header .info ul li[data-v-4ec8dc93]::marker{color:red}.upgrade .header .info ul li+li[data-v-4ec8dc93]{margin-left:40px}.upgrade .contentTime .list[data-v-4ec8dc93]{width:85%}.upgrade .contentTime .info[data-v-4ec8dc93]{font-size:12px!important;color:#999!important;margin-top:13px}.upgrade .contentTime .info li[data-v-4ec8dc93]{list-style-type:disc;margin-left:16px;line-height:26px}.upgrade .contentTime .collapse[data-v-4ec8dc93]{width:100%}.upgrade .contentTime .ivu-collapse[data-v-4ec8dc93]{border:0!important}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header[data-v-4ec8dc93]{height:unset!important;line-height:unset!important;border:0!important;font-size:16px!important;color:#333;font-weight:600}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header>i[data-v-4ec8dc93]{color:#bbb!important;margin-left:9px}.upgrade .contentTime .ivu-collapse>.ivu-collapse-item.ivu-collapse-item-active>.ivu-collapse-header>i[data-v-4ec8dc93]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.upgrade .contentTime[data-v-4ec8dc93]{margin-top:30px;position:relative}.upgrade .contentTime .btn[data-v-4ec8dc93]{position:absolute;top:0;right:85px;z-index:99}.upgrade .contentTime .time[data-v-4ec8dc93]{font-size:14px;color:#999;text-align:right;padding-right:28px}.upgrade .contentTime .ivu-timeline-item[data-v-4ec8dc93]:after{content:" ";position:absolute;top:0;left:7px;width:1px;height:100%;background-color:#e8eaec}.upgrade .contentTime .ivu-timeline-item-head-custom[data-v-4ec8dc93]{z-index:2;font-size:16px;color:#dddcdd}.upgrade .contentTime .on .ivu-timeline-item-head-custom[data-v-4ec8dc93]{color:#1890ff;font-size:18px}.upgrade .contentTime .on .ivu-collapse>.ivu-collapse-item>.ivu-collapse-header[data-v-4ec8dc93]{color:#1890ff}.upgrade .contentTime .off .ivu-timeline-item-head-custom[data-v-4ec8dc93]{color:#1890ff;font-size:18px}.upgrade .contentTime .off .time[data-v-4ec8dc93]{color:#1890ff}[data-v-4ec8dc93] .ivu-modal-header{padding:0;border-radius:10px;border:none}.ivu-modal-header-inner[data-v-4ec8dc93],.ivu-modal-header p[data-v-4ec8dc93]{height:96px;color:#fff;line-height:96px;font-size:24px}.ivu-modal-header p[data-v-4ec8dc93]{position:relative}.ivu-modal-header p img[data-v-4ec8dc93]{width:100%;height:100%;position:absolute;top:-20px;left:0}.describe[data-v-4ec8dc93]{text-align:center;padding-top:30px}.describe .success[data-v-4ec8dc93]{font-size:20px;color:#333;margin-top:10px}.ivu-modal-footer[data-v-4ec8dc93]{border:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.ivu-btn[data-v-4ec8dc93]{width:128px;height:40px;border:none}.cancel[data-v-4ec8dc93]{background:#eee}.vertical-center-modal[data-v-4ec8dc93]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.footer[data-v-4ec8dc93]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.demo-i-circle-custom h1[data-v-4ec8dc93]{color:#ccc;font-size:12px;font-weight:400;line-height:17px}.demo-i-circle-custom p[data-v-4ec8dc93]{color:#2a7efb;font-size:14px;line-height:20px;margin:6px 0}.demo-i-circle-custom span[data-v-4ec8dc93]{display:block;color:#ccc;font-size:12px;line-height:17px}.demo-i-circle-custom span i[data-v-4ec8dc93]{font-style:normal;color:#3f414d}.proportion[data-v-4ec8dc93]{font-size:20px;font-weight:600;color:#2a7efb;margin:12px 0 6px}.wait[data-v-4ec8dc93]{font-size:12px;font-weight:400;color:#999}.footer2[data-v-4ec8dc93]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.footer2 .back[data-v-4ec8dc93],.footer2 .confirm[data-v-4ec8dc93]{width:210px;height:40px}.footer2 .back[data-v-4ec8dc93]{border:none}.header-modal3[data-v-4ec8dc93]{background-size:100% 100%;background-position-y:-20px;text-align:center}.ivu-modal-header .header-modal3[data-v-4ec8dc93]{height:169px;line-height:74px;font-size:20px;font-weight:500;overflow:revert}.describe[data-v-4ec8dc93]{padding-top:0}.describe h2[data-v-4ec8dc93]{font-size:22px;font-weight:400;color:#333;margin-bottom:12px}.vertical-center-modal .ivu-modal[data-v-4ec8dc93]{top:0} \ No newline at end of file diff --git a/crmeb/public/admin/css/app.6f072f80.css.gz b/crmeb/public/admin/css/app.6f072f80.css.gz new file mode 100644 index 000000000..7d020643b Binary files /dev/null and b/crmeb/public/admin/css/app.6f072f80.css.gz differ diff --git a/crmeb/public/admin/css/app.775d8f4a.css.gz b/crmeb/public/admin/css/app.775d8f4a.css.gz deleted file mode 100644 index 75bc54734..000000000 Binary files a/crmeb/public/admin/css/app.775d8f4a.css.gz and /dev/null differ diff --git a/crmeb/public/admin/css/chunk-4038dff4.d1223b07.css b/crmeb/public/admin/css/chunk-1c102a2c.ed5b7abd.css similarity index 74% rename from crmeb/public/admin/css/chunk-4038dff4.d1223b07.css rename to crmeb/public/admin/css/chunk-1c102a2c.ed5b7abd.css index d6f53fba3..4deeb8646 100644 --- a/crmeb/public/admin/css/chunk-4038dff4.d1223b07.css +++ b/crmeb/public/admin/css/chunk-1c102a2c.ed5b7abd.css @@ -1 +1 @@ -.card_box_cir1[data-v-e3e38522] .ivu-icon{font-size:26px;color:#fff}.one[data-v-e3e38522]{background:#e4ecff}.two[data-v-e3e38522]{background:#fff3e0}.three[data-v-e3e38522]{background:#eaf9e1}.four[data-v-e3e38522]{background:#ffeaf4}.five[data-v-e3e38522]{background:#f1e4ff}.one1[data-v-e3e38522]{background:#4d7cfe}.two1[data-v-e3e38522]{background:#ffab2b}.three1[data-v-e3e38522]{background:#6dd230}.four1[data-v-e3e38522]{background:#ff85c0}.five1[data-v-e3e38522]{background:#b37feb}.card_box[data-v-e3e38522]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:25px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.card_box .card_box_cir[data-v-e3e38522]{width:60px;height:60px;overflow:hidden;margin-right:20px}.card_box .card_box_cir .card_box_cir1[data-v-e3e38522],.card_box .card_box_cir[data-v-e3e38522]{border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.card_box .card_box_cir .card_box_cir1[data-v-e3e38522]{width:48px;height:48px}.card_box .card_box_txt .sp1[data-v-e3e38522]{display:block;color:#252631;font-size:24px}.card_box .card_box_txt .sp2[data-v-e3e38522]{display:block;color:#98a9bc;font-size:12px}.Modals[data-v-e2541b56]{width:100%;border:1px solid #e8eaec}.Modals .header[data-v-e2541b56]{background-color:#f5f5f5;padding:10px 15px}.Modals .header .pictrue[data-v-e2541b56]{width:50px;height:50px;border-radius:50%}.Modals .header .pictrue img[data-v-e2541b56]{width:100%;height:100%;border-radius:50%}.Modals .header .name[data-v-e2541b56]{color:#333;margin-left:15px}.Modals .list .item .name.money[data-v-e2541b56]{color:#ff0005!important}.Modals .list .item .name.commission[data-v-e2541b56]{color:green!important}.Modals .list .item[data-v-e2541b56]{border-top:1px solid #e8eaec}.Modals .list .item .name[data-v-e2541b56]{padding:10px 15px;width:50%}img[data-v-f91d87cc]{height:36px;display:block}.tabBox[data-v-f91d87cc]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tabBox .tabBox_img[data-v-f91d87cc]{width:36px;height:36px}.tabBox .tabBox_img img[data-v-f91d87cc]{width:100%;height:100%}.tabBox .tabBox_tit[data-v-f91d87cc]{width:60%;font-size:12px!important;margin:0 2px 0 10px;letter-spacing:1px;padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.orderData[data-v-f91d87cc] .ivu-table-cell{padding-left:0!important}.vertical-center-modal[data-v-f91d87cc]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ivu-mt a[data-v-f91d87cc]{color:#515a6e}.ivu-mt a[data-v-f91d87cc]:hover{color:#2d8cf0} \ No newline at end of file +.card_box_cir1[data-v-e3e38522] .ivu-icon{font-size:26px;color:#fff}.one[data-v-e3e38522]{background:#e4ecff}.two[data-v-e3e38522]{background:#fff3e0}.three[data-v-e3e38522]{background:#eaf9e1}.four[data-v-e3e38522]{background:#ffeaf4}.five[data-v-e3e38522]{background:#f1e4ff}.one1[data-v-e3e38522]{background:#4d7cfe}.two1[data-v-e3e38522]{background:#ffab2b}.three1[data-v-e3e38522]{background:#6dd230}.four1[data-v-e3e38522]{background:#ff85c0}.five1[data-v-e3e38522]{background:#b37feb}.card_box[data-v-e3e38522]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:25px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.card_box .card_box_cir[data-v-e3e38522]{width:60px;height:60px;overflow:hidden;margin-right:20px}.card_box .card_box_cir .card_box_cir1[data-v-e3e38522],.card_box .card_box_cir[data-v-e3e38522]{border-radius:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.card_box .card_box_cir .card_box_cir1[data-v-e3e38522]{width:48px;height:48px}.card_box .card_box_txt .sp1[data-v-e3e38522]{display:block;color:#252631;font-size:24px}.card_box .card_box_txt .sp2[data-v-e3e38522]{display:block;color:#98a9bc;font-size:12px}.Modals[data-v-e2541b56]{width:100%;border:1px solid #e8eaec}.Modals .header[data-v-e2541b56]{background-color:#f5f5f5;padding:10px 15px}.Modals .header .pictrue[data-v-e2541b56]{width:50px;height:50px;border-radius:50%}.Modals .header .pictrue img[data-v-e2541b56]{width:100%;height:100%;border-radius:50%}.Modals .header .name[data-v-e2541b56]{color:#333;margin-left:15px}.Modals .list .item .name.money[data-v-e2541b56]{color:#ff0005!important}.Modals .list .item .name.commission[data-v-e2541b56]{color:green!important}.Modals .list .item[data-v-e2541b56]{border-top:1px solid #e8eaec}.Modals .list .item .name[data-v-e2541b56]{padding:10px 15px;width:50%}img[data-v-4ef4490e]{height:36px;display:block}.tabBox[data-v-4ef4490e]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tabBox .tabBox_img[data-v-4ef4490e]{width:36px;height:36px}.tabBox .tabBox_img img[data-v-4ef4490e]{width:100%;height:100%}.tabBox .tabBox_tit[data-v-4ef4490e]{width:60%;font-size:12px!important;margin:0 2px 0 10px;letter-spacing:1px;padding:5px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.orderData[data-v-4ef4490e] .ivu-table-cell{padding-left:0!important}.vertical-center-modal[data-v-4ef4490e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ivu-mt[data-v-4ef4490e]{margin-bottom:12px}.ivu-mt a[data-v-4ef4490e]{color:#515a6e}.ivu-mt a[data-v-4ef4490e]:hover{color:#2d8cf0}.ivu-mt[data-v-4ef4490e] .ivu-form-item{padding:7px 0;margin-bottom:0} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-1ec5a8a6.90af9357.css b/crmeb/public/admin/css/chunk-1ec5a8a6.90af9357.css deleted file mode 100644 index f581b1a92..000000000 --- a/crmeb/public/admin/css/chunk-1ec5a8a6.90af9357.css +++ /dev/null @@ -1 +0,0 @@ -.trees-coadd[data-v-6945a1a4]{width:100%;height:500px;border-radius:4px;overflow:hidden}.scollhide[data-v-6945a1a4]{width:100%;height:100%;overflow:auto;margin-left:18px;padding:10px 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.content[data-v-6945a1a4]{font-size:12px}.time[data-v-6945a1a4]{font-size:12px;color:#2d8cf0}.icons-item[data-v-6945a1a4]{float:left;margin:6px 6px 6px 0;width:53px;text-align:center;list-style:none;cursor:pointer;height:50px;color:#5c6b77;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative;padding-top:10px}.icons-item .ivu-icon[data-v-6945a1a4]{font-size:16px}.search-rule[data-v-6945a1a4]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background-color:#f2f2f2}.rule[data-v-6945a1a4]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:700px;overflow:scroll}.rule[data-v-6945a1a4]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.rule[data-v-6945a1a4]::-webkit-scrollbar-track{border-radius:4px;background-color:#f5f5f5}.rule[data-v-6945a1a4]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#555}.rule-list[data-v-6945a1a4]{background-color:#f2f2f2;width:32%;margin:5px;border-radius:3px;padding:10px;color:#333;cursor:pointer;-webkit-transition:all .1s;transition:all .1s}.rule-list[data-v-6945a1a4]:hover{background-color:#c5d1dd}.rule-list div[data-v-6945a1a4]{white-space:nowrap}.select-rule[data-v-6945a1a4]{background-color:#c5d1dd}.add[data-v-6945a1a4]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add[data-v-6945a1a4],.df[data-v-6945a1a4]{display:-webkit-box;display:-ms-flexbox;display:flex}.df[data-v-6945a1a4]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vxeTable[data-v-57781c19] .vxe-table--header-wrapper{background:#fff!important} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-2e3a27a8.75f96eb7.css b/crmeb/public/admin/css/chunk-2e3a27a8.75f96eb7.css deleted file mode 100644 index 911aacbe7..000000000 --- a/crmeb/public/admin/css/chunk-2e3a27a8.75f96eb7.css +++ /dev/null @@ -1 +0,0 @@ -.reset[data-v-6262dfc5]{margin-left:10px}.card-tree[data-v-6262dfc5]{height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-6262dfc5]::-webkit-scrollbar{display:none}.main[data-v-6262dfc5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.main .card-tree[data-v-6262dfc5]{width:270px;height:calc(100vh - 290px);overflow-y:scroll}.main[data-v-6262dfc5] .tree .tree-list{margin-left:10px}.main[data-v-6262dfc5] .tree .vtl-caret{padding-right:2px}.main[data-v-6262dfc5] .tree .req-method{display:block;padding:0 2px;font-size:12px;margin-right:5px;border-radius:4px;text-transform:uppercase}.main[data-v-6262dfc5] .tree .tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:3px 7px 3px 0}.main[data-v-6262dfc5] .tree .node{padding:7px 2px 7px 0}.main[data-v-6262dfc5] .tree .open{font-weight:500;color:#333}.main[data-v-6262dfc5] .vtl-node-main .vtl-operation{position:absolute;right:20px}.main[data-v-6262dfc5] .vtl-node-content{width:100%}.main .pop-menu[data-v-6262dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main[data-v-6262dfc5] .vtl-node-content .add{display:none;margin-right:10px}.main[data-v-6262dfc5] .vtl-node-content:hover .add{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:20px;height:20px}.main[data-v-6262dfc5] .vtl-node-content:hover .add:hover{background-color:#fff}.main[data-v-6262dfc5] .vtl-node-content:hover .add:hover .pop-menu{font-size:16px}.main[data-v-6262dfc5] .vtl-node-main{padding:0}.main[data-v-6262dfc5] .line1{display:table-caption;white-space:nowrap;width:120px;overflow:hidden;text-overflow:ellipsis}.main[data-v-6262dfc5] .ivu-form-item{margin-bottom:10px}.main .right-card[data-v-6262dfc5]{height:calc(100vh - 290px);overflow-y:scroll}.main .data[data-v-6262dfc5],.main .right-card[data-v-6262dfc5]{-webkit-box-flex:1;-ms-flex:1;flex:1}.main .data .req-method[data-v-6262dfc5]{text-transform:uppercase;border-radius:4px;color:#fff;padding:3px 7px}.main .data .eidt-sub[data-v-6262dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main .data .eidt-sub .name[data-v-6262dfc5]{font-size:20px;font-weight:500}.main .data .title[data-v-6262dfc5]{font-size:16px;font-weight:500;margin-bottom:15px}.main .data .perW20[data-v-6262dfc5]{width:500px}.main .data .text-area[data-v-6262dfc5]{white-space:pre-wrap}.main[data-v-6262dfc5] .ivu-tree-title{width:100%!important}.main[data-v-6262dfc5] .vtl-tree-margin{margin-left:5px}.main[data-v-6262dfc5] .ivu-btn-icon-only.ivu-btn-small{width:28px}.main .nothing[data-v-6262dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:600px}.main .nothing .box[data-v-6262dfc5]:hover{border:1px solid pink}.main .nothing .box[data-v-6262dfc5]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:150px;height:200px;margin:0 20px;border-radius:10px;cursor:pointer;overflow:hidden;border:1px solid #fff}.main .nothing .box .icon[data-v-6262dfc5],.main .nothing .box[data-v-6262dfc5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.main .nothing .box .icon[data-v-6262dfc5]{width:100%;height:150px;font-size:40px;color:#2d8cf0;background:#f1f1f1}.main .nothing .box .text[data-v-6262dfc5]{width:100%;height:50px;background:#ddd;text-align:center;line-height:50px;font-size:14px;font-weight:500} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-2febd4b6.88e5bdb0.css b/crmeb/public/admin/css/chunk-2febd4b6.88e5bdb0.css new file mode 100644 index 000000000..01f3da6a4 --- /dev/null +++ b/crmeb/public/admin/css/chunk-2febd4b6.88e5bdb0.css @@ -0,0 +1 @@ +.box[data-v-3669da0a]{width:100%;height:100%;background:#fff}[data-v-3669da0a] .ivu-card-body{min-height:700px} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-41c8b7a2.541e2626.css b/crmeb/public/admin/css/chunk-31fa1d86.541e2626.css similarity index 100% rename from crmeb/public/admin/css/chunk-41c8b7a2.541e2626.css rename to crmeb/public/admin/css/chunk-31fa1d86.541e2626.css diff --git a/crmeb/public/admin/css/chunk-41c8b7a2.541e2626.css.gz b/crmeb/public/admin/css/chunk-31fa1d86.541e2626.css.gz similarity index 100% rename from crmeb/public/admin/css/chunk-41c8b7a2.541e2626.css.gz rename to crmeb/public/admin/css/chunk-31fa1d86.541e2626.css.gz diff --git a/crmeb/public/admin/css/chunk-33cdb792.4ad5fee0.css b/crmeb/public/admin/css/chunk-33cdb792.4ad5fee0.css deleted file mode 100644 index 9fb5e6bff..000000000 --- a/crmeb/public/admin/css/chunk-33cdb792.4ad5fee0.css +++ /dev/null @@ -1 +0,0 @@ -.box[data-v-a53a6202]{width:100%;background:#fff} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-347f00e3.41211080.css b/crmeb/public/admin/css/chunk-347f00e3.41211080.css new file mode 100644 index 000000000..9a4d8166a --- /dev/null +++ b/crmeb/public/admin/css/chunk-347f00e3.41211080.css @@ -0,0 +1 @@ +.right-box[data-v-19ee2c94]{width:400px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll;padding:0 10px}.right-box[data-v-19ee2c94]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-19ee2c94]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-19ee2c94]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.right-box .link-item[data-v-19ee2c94]{padding:10px 0;border-bottom:1px solid #f5f5f5}.right-box .link-item .title[data-v-19ee2c94]{font-size:14px;color:#2d8cf0}.right-box .link-item .txt[data-v-19ee2c94]{margin:5px 0;font-size:12px}.right-box .link-item .txt span[data-v-19ee2c94]{color:#333}.right-box .link-item .txt p[data-v-19ee2c94]{display:inline-block;color:#19be6b;margin-right:10px}.right-box .link-item .txt p span[data-v-19ee2c94]{color:#333}.right-box .link-item .txt p.red[data-v-19ee2c94]{color:red}.right-box .link-item .tips[data-v-19ee2c94]{font-size:12px;color:#999}.right-box .link-item .tips .copy[data-v-19ee2c94]{padding:3px 5px;border:1px solid #ccc;border-radius:5px;color:#333;cursor:pointer;margin-left:5px}.right-box .link-item .tips .copy[data-v-19ee2c94]:hover{border-color:#2d8cf0;color:#2d8cf0} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-80427f7c.5b7bf1d9.css b/crmeb/public/admin/css/chunk-469518b2.ea29594b.css similarity index 61% rename from crmeb/public/admin/css/chunk-80427f7c.5b7bf1d9.css rename to crmeb/public/admin/css/chunk-469518b2.ea29594b.css index 9ae533431..82533597f 100644 --- a/crmeb/public/admin/css/chunk-80427f7c.5b7bf1d9.css +++ b/crmeb/public/admin/css/chunk-469518b2.ea29594b.css @@ -1 +1 @@ -.right-box[data-v-08ac0967]{width:700px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll}.right-box[data-v-08ac0967]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-08ac0967]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-08ac0967]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.title-bar[data-v-08ac0967]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee}.right-box[data-v-04ac0c10]{width:400px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll;padding:0 10px}.right-box[data-v-04ac0c10]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-04ac0c10]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-04ac0c10]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.right-box .link-item[data-v-04ac0c10]{padding:10px 0;border-bottom:1px solid #f5f5f5}.right-box .link-item .title[data-v-04ac0c10]{font-size:14px;color:#2d8cf0}.right-box .link-item .txt[data-v-04ac0c10]{margin:5px 0;font-size:12px}.right-box .link-item .txt span[data-v-04ac0c10]{color:#333}.right-box .link-item .txt p[data-v-04ac0c10]{display:inline-block;color:#19be6b;margin-right:10px}.right-box .link-item .txt p span[data-v-04ac0c10]{color:#333}.right-box .link-item .txt p.red[data-v-04ac0c10]{color:red}.right-box .link-item .tips[data-v-04ac0c10]{font-size:12px;color:#999}.right-box .link-item .tips .copy[data-v-04ac0c10]{padding:3px 5px;border:1px solid #ccc;border-radius:5px;color:#333;cursor:pointer;margin-left:5px}.right-box .link-item .tips .copy[data-v-04ac0c10]:hover{border-color:#2d8cf0;color:#2d8cf0}.flex-wrapper[data-v-6c6658a4]{display:-webkit-box;display:-ms-flexbox;display:flex}.iframe-box[data-v-6c6658a4]{min-width:375px;height:700px;border-radius:4px;-webkit-box-shadow:0 0 7px #ccc;box-shadow:0 0 7px #ccc}.right-box[data-v-6c6658a4]{width:500px;margin-left:50px;border:1px solid #ddd;border-radius:4px}.right-box .title-bar[data-v-6c6658a4]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee} \ No newline at end of file +.right-box[data-v-08ac0967]{width:700px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll}.right-box[data-v-08ac0967]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-08ac0967]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-08ac0967]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.title-bar[data-v-08ac0967]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee}.right-box[data-v-2deb5814]{width:400px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll;padding:0 10px}.right-box[data-v-2deb5814]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-2deb5814]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-2deb5814]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.right-box .link-item[data-v-2deb5814]{padding:10px 0;border-bottom:1px solid #f5f5f5}.right-box .link-item .title[data-v-2deb5814]{font-size:14px;color:#2d8cf0}.right-box .link-item .txt[data-v-2deb5814]{margin:5px 0;font-size:12px}.right-box .link-item .txt span[data-v-2deb5814]{color:#333}.right-box .link-item .txt p[data-v-2deb5814]{display:inline-block;color:#19be6b;margin-right:10px}.right-box .link-item .txt p span[data-v-2deb5814]{color:#333}.right-box .link-item .txt p.red[data-v-2deb5814]{color:red}.right-box .link-item .tips[data-v-2deb5814]{font-size:12px;color:#999}.right-box .link-item .tips .copy[data-v-2deb5814]{padding:3px 5px;border:1px solid #ccc;border-radius:5px;color:#333;cursor:pointer;margin-left:5px}.right-box .link-item .tips .copy[data-v-2deb5814]:hover{border-color:#2d8cf0;color:#2d8cf0}.flex-wrapper[data-v-6c6658a4]{display:-webkit-box;display:-ms-flexbox;display:flex}.iframe-box[data-v-6c6658a4]{min-width:375px;height:700px;border-radius:4px;-webkit-box-shadow:0 0 7px #ccc;box-shadow:0 0 7px #ccc}.right-box[data-v-6c6658a4]{width:500px;margin-left:50px;border:1px solid #ddd;border-radius:4px}.right-box .title-bar[data-v-6c6658a4]{width:100%;height:38px;line-height:38px;padding-left:24px;color:#333;border-radius:4px;border-bottom:1px solid #eee} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css.gz b/crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css.gz deleted file mode 100644 index 492872fe7..000000000 Binary files a/crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css.gz and /dev/null differ diff --git a/crmeb/public/admin/css/chunk-718339f0.a4328032.css b/crmeb/public/admin/css/chunk-718339f0.a4328032.css deleted file mode 100644 index 5f0d64d20..000000000 --- a/crmeb/public/admin/css/chunk-718339f0.a4328032.css +++ /dev/null @@ -1 +0,0 @@ -.auth[data-v-0a1af4a2]{padding:9px 16px 9px 10px}.auth .iconIos[data-v-0a1af4a2]{font-size:40px;margin-right:10px;color:#001529}.auth .text[data-v-0a1af4a2]{font-weight:400;color:#000;font-size:18px}.auth .text .code[data-v-0a1af4a2]{font-size:14px;color:rgba(0,0,0,.5)}.auth .text .pro_price[data-v-0a1af4a2]{height:18px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#f5222d;line-height:18px}.auth .blue[data-v-0a1af4a2]{color:#1890ff!important}.auth .red[data-v-0a1af4a2]{color:#ed4014!important}.authorized[data-v-0a1af4a2]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:18px;margin-bottom:14px}.authorized .upload[data-v-0a1af4a2]{width:60px;height:60px;background:rgba(0,0,0,.02);border-radius:4px;border:1px solid #ddd}.upload .iconfont[data-v-0a1af4a2]{text-align:center;line-height:60px}.uploadPictrue[data-v-0a1af4a2]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-left:2px}.uploadPictrue img[data-v-0a1af4a2]{width:100%;height:100%}.phone_code[data-v-0a1af4a2]{border:1px solid #eee;padding:0 10px 0;cursor:pointer}.grey[data-v-0a1af4a2]{background-color:#999;border-color:#999;color:#fff}.update[data-v-0a1af4a2]{font-size:13px;color:rgba(0,0,0,.85);padding-right:12px}.prompt[data-v-0a1af4a2]{margin-left:114px;font-size:12px;font-weight:400;color:#999}.submit[data-v-0a1af4a2]{width:100%}.code .input[data-v-0a1af4a2]{width:83%}.code .input .ivu-input[data-v-0a1af4a2]{border-radius:4px 0 0 4px!important}.code .pictrue[data-v-0a1af4a2]{height:32px;width:17%}.customer[data-v-0a1af4a2]{border-right:0}.customer a[data-v-0a1af4a2]{font-size:12px}.ivu-input-group-append[data-v-0a1af4a2],.ivu-input-group-prepend[data-v-0a1af4a2]{background-color:#fff}.ivu-input-group .ivu-input[data-v-0a1af4a2]{border-right:0!important}.qrcode[data-v-0a1af4a2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:180px;height:180px;border:1px solid #e5e5e6}.qrcode_desc[data-v-0a1af4a2]{display:inline-block;text-align:center;margin:10px 0 10px;width:180px;font-size:12px;color:#666;line-height:16px}.login_tab[data-v-0a1af4a2]{font-size:16px;margin:0 0 20px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login_tab_item[data-v-0a1af4a2]{width:50%;text-align:center;padding-bottom:15px;border-bottom:1px solid #eee;cursor:pointer}.active_tab[data-v-0a1af4a2]{border-bottom:2px solid #1495ed;color:#1495ed;font-weight:600} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-728023cc.57792450.css b/crmeb/public/admin/css/chunk-728023cc.57792450.css deleted file mode 100644 index 9197f637a..000000000 --- a/crmeb/public/admin/css/chunk-728023cc.57792450.css +++ /dev/null @@ -1 +0,0 @@ -.right-box[data-v-07d5c2d0]{width:400px;margin-left:50px;border:1px solid #ddd;border-radius:4px;height:700px;overflow-y:scroll;padding:0 10px}.right-box[data-v-07d5c2d0]::-webkit-scrollbar{width:4px;height:1px}.right-box[data-v-07d5c2d0]::-webkit-scrollbar-thumb{border-radius:4px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.right-box[data-v-07d5c2d0]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px #fff;box-shadow:inset 0 0 5px #fff;border-radius:4px;background:#fff}.right-box .link-item[data-v-07d5c2d0]{padding:10px 0;border-bottom:1px solid #f5f5f5}.right-box .link-item .title[data-v-07d5c2d0]{font-size:14px;color:#2d8cf0}.right-box .link-item .txt[data-v-07d5c2d0]{margin:5px 0;font-size:12px}.right-box .link-item .txt span[data-v-07d5c2d0]{color:#333}.right-box .link-item .txt p[data-v-07d5c2d0]{display:inline-block;color:#19be6b;margin-right:10px}.right-box .link-item .txt p span[data-v-07d5c2d0]{color:#333}.right-box .link-item .txt p.red[data-v-07d5c2d0]{color:red}.right-box .link-item .tips[data-v-07d5c2d0]{font-size:12px;color:#999}.right-box .link-item .tips .copy[data-v-07d5c2d0]{padding:3px 5px;border:1px solid #ccc;border-radius:5px;color:#333;cursor:pointer;margin-left:5px}.right-box .link-item .tips .copy[data-v-07d5c2d0]:hover{border-color:#2d8cf0;color:#2d8cf0} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css b/crmeb/public/admin/css/chunk-a19bbc18.629beb43.css similarity index 92% rename from crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css rename to crmeb/public/admin/css/chunk-a19bbc18.629beb43.css index 793686036..65f4f4749 100644 --- a/crmeb/public/admin/css/chunk-6f4cfaf6.c8ab1d13.css +++ b/crmeb/public/admin/css/chunk-a19bbc18.629beb43.css @@ -1 +1 @@ -.empty-box[data-v-3be5b2fe]{height:170px}.mobile-page[data-v-3be5b2fe]{position:relative;width:auto}.mobile-page .banner[data-v-3be5b2fe]{width:100%;margin-top:-48px}.mobile-page .banner img[data-v-3be5b2fe]{width:100%;height:100%;border-radius:6px}.mobile-page .banner img.doc[data-v-3be5b2fe]{border-radius:0}.mobile-page .bg[data-v-3be5b2fe]{width:100%;height:50px;background:-webkit-gradient(linear,left top,right top,from(#f62c2c),to(#f96e29));background:linear-gradient(90deg,#f62c2c,#f96e29)}.mobile-page .bgset[data-v-3be5b2fe]{width:100%;height:50px}.dot[data-v-3be5b2fe]{position:absolute;left:0;bottom:20px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dot.number[data-v-3be5b2fe]{bottom:4px}.dot .num[data-v-3be5b2fe]{width:25px;height:18px;line-height:18px;background-color:#000;color:#fff;opacity:.3;border-radius:8px;font-size:12px;text-align:center}.dot .dot-item[data-v-3be5b2fe]{width:5px;height:5px;background:#aaa;border-radius:50%;margin:0 3px}.dot.line-dot[data-v-3be5b2fe]{bottom:20px}.dot.line-dot .line_dot-item[data-v-3be5b2fe]{width:8px;height:2px;background:#aaa;margin:0 3px}.bargainOn[data-v-155b5331]{border-radius:0!important}.home_bargain[data-v-155b5331]{width:100%;padding:15px 10px 10px;background-size:100% 100%;border-radius:6px}.home_bargain .title-bar[data-v-155b5331]{width:100%;height:29px;font-size:19px;text-align:center}.home_bargain .list-wrapper[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;width:100%;overflow:hidden}.home_bargain .list-wrapper .item[data-v-155b5331]{-ms-flex-negative:0;flex-shrink:0;width:105px;border-radius:8px 8px 0 0;overflow:hidden}.home_bargain .list-wrapper .item .img-box[data-v-155b5331]{width:100%;height:105px}.home_bargain .list-wrapper .item .img-box .box[data-v-155b5331],.home_bargain .list-wrapper .item .img-box img[data-v-155b5331]{width:100%;height:100%}.home_bargain .list-wrapper .item .img-box .box[data-v-155b5331]{background:#d8d8d8}.home_bargain .list-wrapper .item .con-box[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:6px 0 10px;background:#fff;border-radius:0 0 8px 8px}.home_bargain .list-wrapper .item .con-box .price[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#f44}.home_bargain .list-wrapper .item .con-box .price p[data-v-155b5331]{font-size:16px;font-weight:700}.home_bargain .list-wrapper .item .con-box .price span[data-v-155b5331]{font-size:12px}.home_bargain .list-wrapper .item .con-box .btn[data-v-155b5331]{width:68px;height:17px;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red);border-radius:9px;color:#fff;text-align:center;line-height:19px;font-size:12px}.home_bargain .doc[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:10px}.home_bargain .doc span[data-v-155b5331]{width:4px;height:2px;margin:0 3px;background:#979797}.home_bargain .doc span.active[data-v-155b5331]{width:8px;background:#fff}.couponOn[data-v-057f6905]{border-radius:10px}.coupon[data-v-057f6905]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 0 15px 10px;background:#f8f8f8;overflow:hidden}.coupon .item[data-v-057f6905]{-ms-flex-negative:0;flex-shrink:0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:152px;height:76px;background:#e93323;color:#fff;border-radius:5px;margin-right:10px}.coupon .item.gary[data-v-057f6905]{background:#d8d8d8}.coupon .item .left[data-v-057f6905]{width:120px;height:76px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.coupon .item .left .num[data-v-057f6905]{font-size:24px;font-weight:700}.coupon .item .left .num span[data-v-057f6905],.coupon .item .left .txt[data-v-057f6905]{font-size:12px}.coupon .item .right[data-v-057f6905]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;border-left:1px dashed #fff}.coupon .item .roll[data-v-057f6905]{position:absolute;width:10px;height:10px;border-radius:50%;background:#f8f8f8}.coupon .item .roll.up-roll[data-v-057f6905]{right:26px;top:-5px}.coupon .item .roll.down-roll[data-v-057f6905]{right:26px;bottom:-5px}.itemOn .empty-box[data-v-7d078f27],.itemOn[data-v-7d078f27],.itemOn img[data-v-7d078f27]{border-radius:0!important}.itemOn .img-box .label[data-v-7d078f27]{border-radius:0 0 8px 0!important}.pageOn[data-v-7d078f27]{border-radius:8px!important}.listBig[data-v-7d078f27]{width:100%;padding:10px 0 1px 0}.listBig .itemBig[data-v-7d078f27]{width:100%;margin-bottom:15px;background-color:#fff;border-radius:10px}.listBig .itemBig .img-box[data-v-7d078f27]{width:100%;height:160px;position:relative;border-radius:50px}.listBig .itemBig .img-box img[data-v-7d078f27]{width:100%;height:160px;border-radius:10px 10px 0 0}.listBig .itemBig .img-box .empty-box[data-v-7d078f27]{border-radius:8px 8px 0 0}.listBig .itemBig .img-box .label[data-v-7d078f27]{position:absolute;top:0;left:0;width:59px;height:25px;line-height:25px;text-align:center;color:#fff;font-size:12px;border-radius:8px 0 8px 0}.listBig .itemBig .name[data-v-7d078f27]{font-size:15px;font-weight:700;margin-top:8px;padding:0 10px}.listBig .itemBig .coupon[data-v-7d078f27]{width:16px;height:18px;line-height:18px;text-align:center;font-size:12px;margin-right:5px;display:inline-block}.listBig .itemBig .price[data-v-7d078f27]{font-weight:700;font-size:12px;padding:0 10px}.listBig .itemBig .price .num[data-v-7d078f27]{font-size:18px;margin-right:5px}.listBig .itemBig .price .old-price[data-v-7d078f27]{color:#aaa!important;font-weight:400;text-decoration:line-through}.paddingBox[data-v-7d078f27]{padding-bottom:0}.home_product .hd_nav[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;padding:0 5px}.home_product .hd_nav .item[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25%}.home_product .hd_nav .item .title[data-v-7d078f27]{font-size:16px;color:#282828}.home_product .hd_nav .item .label[data-v-7d078f27]{width:62px;height:18px;line-height:18px;text-align:center;background:transparent;border-radius:8px;color:#999;font-size:12px}.home_product .hd_nav .item.active .title[data-v-7d078f27]{color:#f44}.home_product .hd_nav .item.active .label[data-v-7d078f27]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red)}.home_product .list-wrapper[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-top:10px}.home_product .list-wrapper .item[data-v-7d078f27]{width:48.5%;margin-bottom:10px;background-color:#fff;border-radius:10px}.home_product .list-wrapper .item .img-box[data-v-7d078f27]{position:relative;width:100%;height:173px}.home_product .list-wrapper .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper .item .img-box img[data-v-7d078f27]{width:100%;height:100%;border-radius:10px 0 0 10px}.home_product .list-wrapper .item .img-box .empty-box[data-v-7d078f27]{background:#f3f5f7;border-radius:10px 10px 0 0}.home_product .list-wrapper .item .img-box .box[data-v-7d078f27]{background:#d8d8d8}.home_product .list-wrapper .item .img-box .label[data-v-7d078f27]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0 10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.home_product .list-wrapper .item .info[data-v-7d078f27]{padding:7px 10px}.home_product .list-wrapper .item .info .title[data-v-7d078f27]{font-size:14px;color:#282828}.home_product .list-wrapper .item .info .old-price[data-v-7d078f27]{color:#aaa;font-size:13px;text-decoration:line-through}.home_product .list-wrapper .item .info .price[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_product .list-wrapper .item .info .price .num[data-v-7d078f27]{font-size:18px}.home_product .list-wrapper .item .info .price .num span[data-v-7d078f27]{font-size:12px}.home_product .list-wrapper .item .info .price .label[data-v-7d078f27]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.home_product .list-wrapper .item .info .price .label.on[data-v-7d078f27]{margin-left:0}.home_product .list-wrapper.itemA .item[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.home_product .list-wrapper.itemA .item .img-box[data-v-7d078f27]{position:relative;width:110px;height:110px}.home_product .list-wrapper.itemA .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper.itemA .item .img-box .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemA .item .img-box img[data-v-7d078f27]{border-radius:10px 0 0 10px}.home_product .list-wrapper.itemA .item .info[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:5px;padding:5px 10px}.home_product .list-wrapper.itemB[data-v-7d078f27]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit}.home_product .list-wrapper.itemB .item[data-v-7d078f27]{width:31.6%;margin-right:8px}.home_product .list-wrapper.itemB .item[data-v-7d078f27]:nth-child(3n){margin-right:0}.home_product .list-wrapper.itemB .item .img-box[data-v-7d078f27]{position:relative;width:100%;height:110px}.home_product .list-wrapper.itemB .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper.itemB .item .img-box .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemB .item .img-box img[data-v-7d078f27],.home_product .list-wrapper.itemC .item .box[data-v-7d078f27],.home_product .list-wrapper.itemC .item .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemC .item img[data-v-7d078f27]{border-radius:10px 10px 0 0}.paddingBox[data-v-791cf5b7]{padding:0 10px!important}.home-hot[data-v-791cf5b7]{padding:15px 10px;background:#ffe5e3;border-radius:12px}.home-hot .hd[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home-hot .hd .txt[data-v-791cf5b7]{margin-right:10px;color:#fc3c3e;font-size:16px;font-weight:700}.home-hot .hd .color-txt[data-v-791cf5b7]{width:110px;height:18px;border-radius:13px 0 13px 0;color:#fff;text-align:center;font-size:11px;-webkit-box-shadow:3px 1px 1px 1px rgba(255,203,199,.8);box-shadow:3px 1px 1px 1px rgba(255,203,199,.8)}.home-hot .bd[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.home-hot .bd .item[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;width:158px;margin-top:10px;margin-right:13px;padding:10px;background:#fff;border-radius:8px}.home-hot .bd .item[data-v-791cf5b7]:nth-child(2n){margin-right:0}.home-hot .bd .item .left[data-v-791cf5b7]{width:69px}.home-hot .bd .item .left .title[data-v-791cf5b7]{font-size:14px}.home-hot .bd .item .left .des[data-v-791cf5b7]{font-size:12px;color:#999}.home-hot .bd .item .left .link[data-v-791cf5b7]{width:56px;height:18px;padding:0 10px;margin-top:3px;background:-webkit-gradient(linear,left top,right top,from(#4bc4ff),to(#207eff));background:linear-gradient(90deg,#4bc4ff,#207eff 100%);border-radius:9px;color:#fff;font-size:13px}.home-hot .bd .item .img-box[data-v-791cf5b7]{-webkit-box-flex:1;-ms-flex:1;flex:1}.home-hot .bd .item .img-box img[data-v-791cf5b7]{width:100%;height:100%}.home-hot .bd .item .img-box .box[data-v-791cf5b7]{width:100%;height:100%;background:#d8d8d8}.home-hot .bd .item:nth-child(2) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#ff9043),to(#ff531d));background:linear-gradient(90deg,#ff9043,#ff531d 100%)}.home-hot .bd .item:nth-child(3) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#96e187),to(#48ce2c));background:linear-gradient(90deg,#96e187,#48ce2c 100%)}.home-hot .bd .item:nth-child(4) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#ffc560),to(#ff9c00));background:linear-gradient(90deg,#ffc560,#ff9c00 100%)}.pageOn[data-v-9564822e]{border-radius:10px!important}.list_menu[data-v-9564822e]{padding:0 12px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.list_menu .item[data-v-9564822e]{margin-top:12px;font-size:11px;color:#282828;text-align:center;width:33.3333%}.list_menu .item.four[data-v-9564822e]{width:25%}.list_menu .item.five[data-v-9564822e]{width:20%}.list_menu .item .img-box[data-v-9564822e]{width:50px;height:50px;margin:0 auto 5px auto}.list_menu .item .img-box.on .empty-box[data-v-9564822e],.list_menu .item .img-box.on[data-v-9564822e],.list_menu .item .img-box.on img[data-v-9564822e]{border-radius:50%}.list_menu .item .img-box img[data-v-9564822e]{width:100%;height:100%}.list_menu .icontupian[data-v-9564822e]{font-size:16px}.home_menu[data-v-9564822e]{padding:0 12px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.home_menu .menu-item[data-v-9564822e]{margin-top:12px;font-size:11px;color:#282828;text-align:center;margin-right:30px}.home_menu .menu-item .img-box[data-v-9564822e]{width:50px;height:50px}.home_menu .menu-item .img-box.on .empty-box[data-v-9564822e],.home_menu .menu-item .img-box.on[data-v-9564822e],.home_menu .menu-item .img-box.on img[data-v-9564822e]{border-radius:50%}.home_menu .menu-item .box[data-v-9564822e],.home_menu .menu-item img[data-v-9564822e]{width:100%;height:100%}.home_menu .menu-item .box[data-v-9564822e]{background:#d8d8d8}.home_menu .menu-item p[data-v-9564822e]{margin-top:5px}.home_menu .menu-item[data-v-9564822e]:nth-child(5n){margin-right:0}.home_menu.on .menu-item[data-v-9564822e],.home_menu.on .menu-item[data-v-9564822e]:nth-child(5n){margin-right:51px}.home_menu.on .menu-item[data-v-9564822e]:nth-child(4n){margin-right:0}.home_menu .icontupian[data-v-9564822e]{font-size:16px}.dot[data-v-9564822e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-bottom:10px}.dot.number[data-v-9564822e]{bottom:15px}.dot .num[data-v-9564822e]{width:25px;height:18px;line-height:18px;background-color:#000;color:#fff;opacity:.3;border-radius:8px;font-size:12px;text-align:center}.dot .dot-item[data-v-9564822e]{width:5px;height:5px;background:#aaa;border-radius:50%;margin:0 3px}.dot.line-dot .dot-item[data-v-9564822e]{width:8px;height:2px;background:#aaa;margin:0 3px}.pageOn[data-v-0e344be9]{border-radius:10px!important}.list-wrapper[data-v-0e344be9]{padding:10px 0}.list-wrapper .item[data-v-0e344be9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px;background-color:#fff;margin:0 10px}.list-wrapper .item[data-v-0e344be9]:last-child{margin-bottom:0!important}.list-wrapper .item.on[data-v-0e344be9]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-flow:row-reverse;flex-flow:row-reverse}.list-wrapper .item .img-box[data-v-0e344be9]{width:125px;height:78px;background:#e8e8e8}.list-wrapper .item .info[data-v-0e344be9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:209px;height:78px}.list-wrapper .item .info .title[data-v-0e344be9]{color:#282828;font-size:15px}.list-wrapper .item .info .time[data-v-0e344be9]{color:#999;font-size:12px}.list-wrapper .item .empty-box[data-v-0e344be9],.list-wrapper .item .pictrue[data-v-0e344be9]{width:125px;height:78px}.list-wrapper .item .pictrue img[data-v-0e344be9]{width:100%;height:100%}.pageOn[data-v-44ec1c8f]{border-radius:6px!important}.news-box .item[data-v-44ec1c8f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:30px;margin:0 7px}.news-box .item .img-box[data-v-44ec1c8f]{width:75px;height:18px;border-right:1px solid #ddd;padding-right:10px}.news-box .item .img-box img[data-v-44ec1c8f]{width:100%;height:100%}.news-box .item .right-box[data-v-44ec1c8f]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAPPklEQVR4Xu2de4wdVR3Hf2d2I4HQjQYEgtFIWAKRsOye39nVuEJbnq2l9BFYeQXBQsXIS0hRGyuEhw0EAoRa5F0s8jIxkIASI1qMqPTOmYW2JiU2EhQTIQaDGwm73b3HTDLVbXt378xvZu6ee+d7/+35nvnN5zefbGfuuWcU4QMCIDAjAQU2IAACMxOAILg6QGAWAhAElwcIQBBcAyAgI4C/IDJuSFWEAASpSKNxmjICEETGDamKEIAgFWk0TlNGAILIuCFVEQIQpCKNxmnKCEAQGTekKkIAglSk0ThNGQEIIuOGVEUIQJCKNBqnKSMAQWTckKoIAQhSkUbjNGUEIIiMG1IVIQBBKtJonKaMAASRcUOqIgQgSEUajdOUEYAgMm5IVYQABKlIo3GaMgIQRMYNqYoQgCAVaTROU0YAgsi4IVURAhCkIo3GacoIQBAZN6QqQgCCVKTROE0ZAQgi44ZURQhAkIo0GqcpIwBBZNyQqggBCFKRRuM0ZQQgSEpuzHwoEW201o6kjGBYBxCAICmayMzHEdH9RLRAKXVPGIbfShHDkA4gAEGaNJGZv0REPyKi46cNXWOtvbMD+o9TaEIAgswCiJmXE9GDRPTJfYcppS4Iw/ApXGGdTQCCzNBfZr6MiB6arf1BECyo1WqvdPYlUu2zgyAN+s/M3yGi9Skujfecc8NRFO1KMRZD2pAABNmnacwc31tcn6GXo7t37z5p27Zt/8mQwdA2IQBBpjWKmTcR0VcFvXvBWrtUkEPEcwIQJGnQ8PDwvPHx8Wedc4skPXPOPRBF0RWSLDL+EoAg03pjjDnWOfcsEfUJW/Z9a+0twixiHhKAIPvfgywkoliS+JvzzB+l1KowDB/NHETASwIQpEFbtNYXKqWekHbMObc4iqKXpHnk/CEAQWbohdZ6jVLqDmGrxoho2Fq7XZhHzBMCEGSWRhhj7nbOXSvs1c7x8fEFO3bseFeYR8wDAhCkSROY+RkiEq3gVUq9HIbhaR70GSUICUCQJuAGBwePqNfr8U37SULGP7bWSr5bER4OsSIJQJAUNJlZJ0+2jk4xvNGQ9dbatcIsYnNIAIKkhK+1PkspFf8lOTBlZK9hzrkroyj6oSSLzNwRgCAZ2GutVyulHsgQ2XfoCmvtcznyiLaYAATJCNwYc5Nz7saMsT3DJ+v1+smjo6N/EOYRazEBCCIAzszxj6guF0TjyNtBEJxSq9X+Iswj1kICEEQAm5kPSm7alwji5Jz7/eTk5BlYIi+h19oMBBHy1lr3JjftA8IpfoodUoTkWhiDIDlgDwwMnBwEQfxk63DJNNghRUKttRkIkpO3MeY851yezRuwQ0rOHpQZhyAF0GXm64joLulUzrmLoij6iTSPXHkEIEhBbAW/Zd/ryEEQnF6r1X5VUDmYpiACEKQgkPE0zPwkEZ0vnPI9IjoNS+SF9EqKQZACwfb19R3W3d39rFJqvnDa0fHx8cVYIi+kV0IMghQMtb+/vz9+sqWUOkY4NXZIEYIrIwZBSqBqjFmcbP5wsGR67JAioVZOBoKUw5WMMauccw/nmB47pOSAV1QUghRFssE8zLyOiG6WHsI59/UoiuJ1X/jMEQEIUjJ4Zo7fKyLeUE4ptTwMw+dLLhPTz0AAgpR8afT29h7Q09MT37SfLTzUWL1ePxNL5IX0csYgSE6AaeJDQ0NHxb9rd86ZNOMbjNkZBMESLJEX0ssRgyA54GWJGmOGkydbR2bJ7Rkb75AyMTGxDEvkJfTkGQgiZ5c5ycznJr8jyZxNAtghRUpOmIMgQnDSGDNfQ0T3SPNEdLu1Nn7BDz4tIABBWgB530NorW9XSt0gPbRS6rowDO+W5pFLTwCCpGdV6Eit9Wal1EXSSbFEXkouWw6CZONV2OihoaFDpqam4l8jniKcdDIIgsVYIi+klzIGQVKCKmMYM5+Q3LQfJ5z/bSJaiiXyQnopYhAkBaQyh2itz0w2f+iRHCfeIWViYmIllshL6DXPQJDmjEofobW+RCn1WI4DYYeUHPBmi0KQksBmnVZrvVYpdVvW3J7xzrkNURRdJc0j15gABPHoyjDGbHDOfTNHSVginwNeoygEKRhonukWLFjQPTY2Fj/ZWiGdB0vkpeTwF6RYciXNxsyfSZ5sfV56CCyRl5LbP4e/IMWxLGwmrfUXkidbnxZO+l69Xl+OJfJCetNiECQ/w1Jm0FqvTCTpEh5gNAiCc7BEXkgviUGQfPxKTRtjrnTO3ZfjID/fvXv3CJbIywlCEDm7liSZ+QdE9N0cB9tkrb00R77SUQjSBu1n5k1ElOdNuVgiL+wzBBGCa2Wsv7//411dXfHj39Olx8USeRk5CCLj1vLUwMDA55J3kRwvPTiWyGcnB0GyM5uzxODg4Gnx5g9E9AlhEWNBEKzEEvn09CBIelZejDTGXOycezxHMTuJaARL5NMRhCDpOHk1ipnj36SvlxblnPvtxMTECJbINycIQZoz8nIEM99LRFfnKA5L5FPAgyApIHk6RDFzfD9yjrQ+LJFvTg6CNGfk7YgTTzzxU/HjX6XUF3MUiSXys8CDIDmuLB+ig4ODg8mTrc9K68ES+ZnJQRDpVeVRzhizLNnW9GPCsiaVUudgF/n96UEQ4RXlW4yZv0FEG3PU9U69Xh/BEvm9CUKQHFeUb1FmvoWIvpejLhsEwQiWyP+fIATJcTX5GNVaP6KU+lqO2rBEfho8CJLjSvIxWoAgLybftH/o4/m1uiYI0mriJR6vgP9ibU3uQ+IdG/EhIgjSIZdBATfpbznnzo2iyHYIkkJOA4IUgnFuJyngMe+Yc24kiqKX5vZM/Ds6BPGvJ5kqKuKLwnq9fvHo6OjmTAeuyGAI0saNLmKpCX5pOPsFAEHaV5DcixXjJfPW2rXti6D8yiFI+YxLOUIBy90fttZeXkpxHTQpBGnDZub9wRQRPWetXUlErg1Pv6UlQ5CW4s5/sAJ+cvtqsuPiP/JX0/kzQJA26nEBmza8mTzO3dZGpz2npUKQOcWf/uAFbPvzfvIt+cvpj4qREKQNroEiNo6r1+vnj46OPt0Gp+tViRDEq3Y0Libv1qNKqavCMNzQBqfqXYkQxLuW7F1QAZtX32ytvdHz0/S2PAjibWuICnj9wUZrbZ53HnpMpzWlQZDWcM58lAJeoIN9rzJT3z8AQQqAWPQUBbyCbUt3d/ey11577d9F11a1+SCIZx0v4CWeO6ampla+/vrrf/bs1NqyHAjiUdsKeA30u/FOi9ba33l0Wm1dCgTxqH3GmA3OOelN9VTyLfnPPDqlti8FgnjSQq31WqXUbdJylFJXhGH4gDSPXGMCEMSDK0NrfYlS6rEcpayz1t6aI4/oDAQgyBxfGlrrM5P3ofcIS7nXWnutMItYEwIQZA4vEWY+gYjiVxgcJyzjSWvthcIsYikIQJAUkMoYMjQ0dMjU1FQsxynC+X85b968JVu2bJkU5hFLQQCCpIBUxhCt9Wal1EXCuUcnJyeXvvHGG38X5hFLSQCCpARV5DCt9e1KqRuEc75DRMustZEwj1gGAhAkA6wihjLzNUR0j3Cuj5RSK8Mw/IUwj1hGAhAkI7A8w5n53OSmXDSNc+7SKIo2icIIiQhAEBG27CFjzHDyFqgjs6eJlFLfDsPwDkkWGTkBCCJnlzo5NDR0VPweQeecSR3ae+Cd1to1wixiOQhAkBzw0kR7e3sP6Onpid9Ee3aa8Q3GPG6tvUSYRSwnAQiSE2CzODPfT0RXNBs3w7+/aK09S5hFrAACEKQAiDNNwczriOhm4SG2TkxMLNq+ffu/hHnECiAAQQqA2GgKY8wq59zDwunfIqIvW2t3CvOIFUQAghQEcvo0xpjFyROrgwXTjwVBsLRWq70iyCJSMAEIUjDQ/v7+/iAI4pvyYyRTO+e+EkVRvEYLHw8IQJACm9DX13dYd3d3LMd84bRXW2vvE2YRK4EABCkQKjM/SUTnC6e81Vob39Tj4xEBCFJQM5j5TiK6XjjdQ9ba1cIsYiUSgCAFwGXm64joLuFU8ctsVgiziJVMAILkBGyMOc8595Rwmlc/+OCDU3ft2jUuzCNWMgEIkgPwwMDAyfETKyI6XDDNm0R0hrX2r4IsIi0iAEGEoLXWvclmCwOCKd4PgmBRrVarCbKItJAABBHAZuaDkt91LBHEyTm3NIqiFyRZZFpLAIIIeDPzg0QkeoWyUuqyMAwfERwWkTkgAEEyQjfG3OSck76QZq21dn3GQ2L4HBKAIBnga61XK6Wk23tig7cMrH0ZCkFSdkJrfVZyU35gysj/hjnnno6iSPoNe9bDYXyBBCBICpjMrJOb8qNTDN93yG+stdLN4QSHQ6RIAhCkCc3BwcEj4t+TE9FJAvA7iGihtfafgiwiHhCAIE2awMzPENGIoFfvBkFwaq1W+5Mgi4gnBCDILI0wxtztnJPsnB6/zOaMKIp+7UmfUYaQAASZAZzWeo1SSrQPlVLqgjAMpeuzhK1ErAwCEKQBVa31hUqpJ4TAr7XW3ivMIuYZAQiyT0OYeWHyxOpQQa/WW2vXCnKIeEoAgkxrjDHm2GSzhb6s/XLOPRpF0aqsOYz3mwAESfozPDw8b3x8PN4edJGgZdjgTQCtHSIQZFqXmDn+viPegT31RykVOufmW2s/TB3CwLYhAEH2vwfJIsnfurq65m/dujXe6A2fDiQAQRo0NeVfko+ccwujKPpjB14XOKWEAASZ4VJoJolSankYhs/jSupsAhBklv7OJIlzbnUURQ919qWBs4sJQJAm10EDSdZZa2/F5VMNAhAkRZ/3SOKc2xBF0VUpIhjSIQQgSMpGxpJYayWrelMeAcN8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGwH8ByXDi9ou0R3kAAAAASUVORK5CYII=);background-size:20px 20px;background-position:100%;background-repeat:no-repeat}.pinkOn[data-v-d26837a6]{border-radius:0!important}.pageOn[data-v-d26837a6]{border-radius:10px!important}.mobile-page[data-v-d26837a6]{padding-top:10px}.home_pink[data-v-d26837a6]{padding:10px 12px;background:#fff;border-radius:10px}.home_pink .title-wrapper[data-v-d26837a6]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.home_pink .title-wrapper .left[data-v-d26837a6],.home_pink .title-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_pink .title-wrapper .left span[data-v-d26837a6]{margin-left:5px;font-size:16px}.home_pink .title-wrapper .left .icon[data-v-d26837a6]{width:18px;height:18px;border-radius:50%}.home_pink .title-wrapper .left .avatar-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:14px}.home_pink .title-wrapper .left .avatar-wrapper img[data-v-d26837a6]{width:15px;height:15px;margin-left:-5px;border:1px solid #fff;border-radius:50%}.home_pink .title-wrapper .left .num[data-v-d26837a6]{margin-left:3px;color:#999;font-size:13px}.home_pink .list-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;overflow:hidden}.home_pink .list-wrapper .item[data-v-d26837a6]{-ms-flex-negative:0;flex-shrink:0;width:110px;background:#fff;border-radius:8px}.home_pink .list-wrapper .item .img-box[data-v-d26837a6]{position:relative;width:100%;height:110px}.home_pink .list-wrapper .item .img-box .box[data-v-d26837a6],.home_pink .list-wrapper .item .img-box img[data-v-d26837a6]{width:100%;height:100%;border-radius:8px 8px 0 0}.home_pink .list-wrapper .item .img-box .box[data-v-d26837a6]{background:#d8d8d8}.home_pink .list-wrapper .item .img-box .num[data-v-d26837a6]{position:absolute;left:6px;top:6px;width:70px;height:16px;line-height:16px;text-align:center;background:rgba(0,0,0,.1);-webkit-box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);border-radius:8px;color:#fff;font-size:12px}.home_pink .list-wrapper .item .info[data-v-d26837a6]{padding:5px 7px}.home_pink .list-wrapper .item .info .title[data-v-d26837a6]{font-size:12px;color:#282828}.home_pink .list-wrapper .item .info .price[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_pink .list-wrapper .item .info .price .label[data-v-d26837a6]{display:inline-block;height:20px;line-height:20px;padding:0 3px;margin-right:3px;font-size:9px;font-weight:400;text-shadow:1px 1px 4px rgba(0,0,0,.06);color:#f44}.home_pink .list-wrapper .item .info .price .num[data-v-d26837a6]{color:#f44;font-size:16px;font-weight:700}.home_pink .list-wrapper .item .info .price .num span[data-v-d26837a6]{font-size:12px}.home_pink .list-wrapper .item .btn[data-v-d26837a6]{width:110px;height:24px;-webkit-box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);border-radius:0 0 8px 8px;text-align:center;line-height:24px;color:#fff}.home_product .hd_nav[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;padding:0 5px}.home_product .hd_nav .item[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25%}.home_product .hd_nav .item .title[data-v-6dd84eaa]{font-size:16px;color:#282828;width:65px;text-align:center}.home_product .hd_nav .item .label[data-v-6dd84eaa]{width:62px;height:18px;line-height:18px;text-align:center;background:transparent;border-radius:8px;color:#999;font-size:12px}.home_product .hd_nav .item.active .title[data-v-6dd84eaa]{color:#f44}.home_product .hd_nav .item.active .label[data-v-6dd84eaa]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red)}.home_product .list-wrapper[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.home_product .list-wrapper .item[data-v-6dd84eaa]{width:170px;margin-bottom:10px}.home_product .list-wrapper .item .img-box[data-v-6dd84eaa]{position:relative;width:100%;height:173px}.home_product .list-wrapper .item .img-box .box[data-v-6dd84eaa],.home_product .list-wrapper .item .img-box img[data-v-6dd84eaa]{width:100%;height:100%;border-radius:10px 10px 0 0}.home_product .list-wrapper .item .img-box .box[data-v-6dd84eaa]{background:#d8d8d8}.home_product .list-wrapper .item .img-box .label[data-v-6dd84eaa]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0 10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.home_product .list-wrapper .item .info[data-v-6dd84eaa]{padding:7px 10px;background:#fff;border-radius:0 0 10px 10px}.home_product .list-wrapper .item .info .title[data-v-6dd84eaa]{font-size:14px;color:#282828}.home_product .list-wrapper .item .info .old-price[data-v-6dd84eaa]{color:#aaa;font-size:13px;text-decoration:line-through}.home_product .list-wrapper .item .info .price[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_product .list-wrapper .item .info .price .num[data-v-6dd84eaa]{font-size:16px;font-weight:700}.home_product .list-wrapper .item .info .price .num span[data-v-6dd84eaa]{font-size:12px}.home_product .list-wrapper .item .info .price .label[data-v-6dd84eaa]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.home_product .list-wrapper .item .info .price .label.on[data-v-6dd84eaa]{margin-left:0}.seckillOn[data-v-2378e588]{border-radius:0!important}.pageOn[data-v-2378e588]{border-radius:10px!important}.seckill-box[data-v-2378e588]{padding:15px 10px;background:#fff;border-radius:10px}.seckill-box .hd[data-v-2378e588]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.seckill-box .hd .left[data-v-2378e588],.seckill-box .hd[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.seckill-box .hd .left img[data-v-2378e588]{width:18px;height:18px;margin-right:5px;border-radius:50%}.seckill-box .hd .left p[data-v-2378e588]{font-size:16px;color:#282828;font-weight:600}.seckill-box .hd .left .time[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:5px;color:#f44}.seckill-box .hd .left .time span[data-v-2378e588]{width:20px;height:16px;font-size:12px;text-align:center;line-height:16px}.seckill-box .hd .left .time em[data-v-2378e588]{font-size:12px;margin:0 3px;font-style:normal;font-weight:700}.seckill-box .list-wrapper[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:8px;overflow:hidden}.seckill-box .list-wrapper .list-item[data-v-2378e588]{-ms-flex-negative:0;flex-shrink:0;width:110px;background-color:#fff}.seckill-box .list-wrapper .list-item .img-box[data-v-2378e588]{position:relative;width:100%;height:110px}.seckill-box .list-wrapper .list-item .img-box .box[data-v-2378e588],.seckill-box .list-wrapper .list-item .img-box img[data-v-2378e588]{width:100%;height:100%;border-radius:8px}.seckill-box .list-wrapper .list-item .img-box .box[data-v-2378e588]{background:#d8d8d8}.seckill-box .list-wrapper .list-item .img-box .discount[data-v-2378e588]{position:absolute;left:8px;bottom:8px;height:18px;padding:0 3px;line-height:18px;background:#fff;border-radius:2px;border:1px solid transparent;font-size:12px}.seckill-box .list-wrapper .list-item .title[data-v-2378e588]{margin-top:5px;font-size:13px;color:#282828;padding:0 3px}.seckill-box .list-wrapper .list-item .price[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 3px}.seckill-box .list-wrapper .list-item .price .label[data-v-2378e588]{font-size:9px;width:16px;height:16px;color:#fff;text-align:center;line-height:16px}.seckill-box .list-wrapper .list-item .price .num-label[data-v-2378e588]{color:#f44;font-size:12px;font-weight:600;margin:1px 2px 0}.seckill-box .list-wrapper .list-item .price .num[data-v-2378e588]{color:#f44;font-size:16px;font-weight:600}.service-box[data-v-c821554c]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.service-box .img-box[data-v-c821554c]{width:43px;height:43px}.service-box .img-box img[data-v-c821554c]{width:100%;height:100%;border-radius:50%}.service-box .img-box .empty-box[data-v-c821554c]{border-radius:50%}.service-box .img-box .empty-box .iconfont-diy[data-v-c821554c]{font-size:20px}.titleOn[data-v-6b55c60c]{border-radius:10px!important}.title-box[data-v-6b55c60c]{color:#282828;padding:5px 10px}.menus[data-v-24e958b0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:46px;cursor:pointer;background:-webkit-gradient(linear,left top,right top,from(#f62c2c),to(#f96e29));background:linear-gradient(90deg,#f62c2c,#f96e29)}.menus .item[data-v-24e958b0]{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;color:#fff}.menus .item.on span[data-v-24e958b0]{display:block;position:absolute;left:50%;bottom:-5px;width:16px;height:2px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background:#fff}.pageOn[data-v-3c1f6aca]{border-radius:12px!important}.pageOn .advertItem01 img[data-v-3c1f6aca]{border-radius:10px}.pageOn .advertItem02 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem02 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem03 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem03 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0}.pageOn .advertItem03 .item:nth-child(3) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem04 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem04 .item:nth-child(2) .pic:first-child img[data-v-3c1f6aca]{border-radius:0 10px 0 0}.pageOn .advertItem04 .item:nth-child(2) .pic:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 0 10px 0}.pageOn .advertItem05 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem05 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0}.pageOn .advertItem05 .item:nth-child(4) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem06 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 0}.pageOn .advertItem06 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 10px 0 0}.pageOn .advertItem06 .item:nth-child(3) img[data-v-3c1f6aca]{border-radius:0 0 0 10px}.pageOn .advertItem06 .item:nth-child(4) img[data-v-3c1f6aca]{border-radius:0 0 10px 0}.mobile-page .advert .advertItem01[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-3c1f6aca]{width:100%;height:379px;border-radius:0}.mobile-page .advert .advertItem01 .empty-box .icontupian[data-v-3c1f6aca]{font-size:50px;color:#999}.mobile-page .advert .advertItem01 img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem02[data-v-3c1f6aca]{width:100%}.mobile-page .advert .advertItem02 .item[data-v-3c1f6aca]{width:50%;height:auto}.mobile-page .advert .advertItem02 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item .empty-box[data-v-3c1f6aca]{width:100%;height:189.5px;border-radius:0}.mobile-page .advert .advertItem03 .item[data-v-3c1f6aca]{width:33.3333%}.mobile-page .advert .advertItem03 .item .empty-box[data-v-3c1f6aca]{width:100%;height:126.4px;border-radius:0}.mobile-page .advert .advertItem04 .item[data-v-3c1f6aca]{width:50%;height:189.5px}.mobile-page .advert .advertItem04 .item .empty-box[data-v-3c1f6aca]{width:100%;height:100%;border-radius:0}.mobile-page .advert .advertItem04 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item .pic[data-v-3c1f6aca]{width:100%;height:94.75px}.mobile-page .advert .advertItem05 .item[data-v-3c1f6aca]{width:25%}.mobile-page .advert .advertItem05 .item .empty-box[data-v-3c1f6aca]{width:100%;height:94.75px;border-radius:0}.mobile-page .advert .advertItem06 .item[data-v-3c1f6aca]{width:50%;height:95px}.mobile-page .advert .advertItem06 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item .empty-box[data-v-3c1f6aca]{width:100%;height:100%;border-radius:0}.search-box[data-v-2db770f6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:48px;padding:10px 10px 10px 0;cursor:pointer}.search-box img[data-v-2db770f6]{width:76px;height:30px;margin-right:10px}.search-box .box[data-v-2db770f6]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:30px;line-height:30px;color:#999;font-size:12px;padding-left:10px;background:#fff;border-radius:15px}.search-box .box.on[data-v-2db770f6]{border-radius:0}.search-box .box.center[data-v-2db770f6]{text-align:center;padding-left:0}.mobile-page[data-v-2900e956]{background:#f5f5f5;font-size:12px}.live-wrapper-a[data-v-2900e956]{padding:5px 10px 0}.live-wrapper-a .live-item-a[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;margin-bottom:10px;background:#fff;border-radius:8px;overflow:hidden}.live-wrapper-a .live-item-a .img-box[data-v-2900e956]{position:relative;width:170px;height:147px;border-radius:8px 0 0 8px;overflow:hidden}.live-wrapper-a .live-item-a .info[data-v-2900e956]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:5px;border-radius:0 8px 8px 0;overflow:hidden}.live-wrapper-a .live-item-a .info .title[data-v-2900e956]{color:#333;font-size:14px}.live-wrapper-a .live-item-a .info .people[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;margin-top:5px}.live-wrapper-a .live-item-a .info .people img[data-v-2900e956]{width:32px;height:32px;margin-right:5px;border-radius:50%}.live-wrapper-a .live-item-a .info .goods-wrapper[data-v-2900e956]{margin-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-2900e956]{position:relative;width:48px;height:48px;margin-right:8px}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-2900e956]:nth-child(3n){margin-right:0}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item img[data-v-2900e956]{width:100%;height:100%}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item span[data-v-2900e956]{position:absolute;left:0;bottom:0;color:#fff;font-size:12px}.live-wrapper-a.live-wrapper-c .live-item-a[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.live-wrapper-a.live-wrapper-c .live-item-a .img-box[data-v-2900e956]{width:100%;border-radius:8px 8px 0 0}.live-wrapper-a.live-wrapper-c .live-item-a .info[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-wrapper-a.live-wrapper-c .live-item-a .info .left[data-v-2900e956]{width:60%}.live-wrapper-b[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px 10px 0;background:#fff}.live-wrapper-b .live-item-b[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:171px;margin-bottom:10px;border-radius:8px;overflow:hidden}.live-wrapper-b .live-item-b .img-box[data-v-2900e956]{position:relative;height:137px}.live-wrapper-b .live-item-b .info[data-v-2900e956]{width:100%;padding:10px}.live-wrapper-b .live-item-b .info .people[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-wrapper-b .live-item-b .info .people img[data-v-2900e956]{width:32px;height:32px;margin-right:5px;border-radius:50%}.iconfont-diy[data-v-2900e956]{font-size:12px}.icontupian[data-v-2900e956]{font-size:24px}.bggary[data-v-2900e956]{background:-webkit-gradient(linear,right top,left top,from(#999),to(#666));background:linear-gradient(270deg,#999,#666)}.bgred[data-v-2900e956]{background:-webkit-gradient(linear,right top,left top,from(#f5742f),to(#ff1717));background:linear-gradient(270deg,#f5742f,#ff1717)}.empty-goods[data-v-2900e956]{width:50px;height:48px;background:#b2b2b2}.empty-goods[data-v-2900e956],.label[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:12px}.label[data-v-2900e956]{position:absolute;left:10px;top:10px;width:76px;height:19px;border-radius:11px 0 11px 11px}.label.bgblue[data-v-2900e956]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:110px;background:rgba(0,0,0,.36);overflow:hidden}.label.bgblue .txt[data-v-2900e956]{width:38px;height:100%;text-align:center;margin-right:5px;background:-webkit-gradient(linear,right top,left top,from(#2fa1f5),to(#0076ff));background:linear-gradient(270deg,#2fa1f5,#0076ff)}.label.bggary[data-v-2900e956]{width:54px}.title-box[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 10px 0;font-size:16px}.title-box span[data-v-2900e956]:last-child{font-size:13px}.box[data-v-0c29708c]{height:20px;background:#f5f5f5}.mobile-page[data-v-6a880e48]{padding:7px 0}.mobile-page[data-v-70881bbe] video{width:100%!important}.box[data-v-70881bbe]{min-height:100px;padding:10px;background:#f5f5f5}.box img[data-v-70881bbe]{max-width:100%;height:auto}.flex-box[data-v-fc175de0]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 10px;height:70px;background:#ddd}.flex-box .left[data-v-fc175de0],.flex-box[data-v-fc175de0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flex-box .left .img-box[data-v-fc175de0]{width:46px;height:46px;overflow:hidden;border-radius:50%}.flex-box .left .img-box img[data-v-fc175de0]{width:100%;height:100%}.flex-box .left .name[data-v-fc175de0]{width:230px;margin-left:10px;font-size:18px;color:#000}.flex-box .btn[data-v-fc175de0]{width:60px;height:26px;border:1px solid #02a0e8;opacity:1;border-radius:3px;color:#02a0e8;font-size:14px;text-align:center;line-height:26px}.flex-box .iconfont-diy[data-v-fc175de0]{font-size:20px}.c_row-item[data-v-f352da02]{margin-bottom:20px}.color-box[data-v-f352da02]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-f352da02]{margin-left:15px}.color-box .color-item span[data-v-f352da02]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.c_row-item[data-v-fc103828]{margin-top:20px;margin-bottom:20px}[data-v-2639cf78] .ivu-input{font-size:13px!important}.tips[data-v-2639cf78]{padding-bottom:5px;font-size:12px;color:#999;border-bottom:1px solid rgba(0,0,0,.05)}.box-item[data-v-2639cf78]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 30px 20px 0;border:1px solid #ddd;border-radius:3px}.box-item .del-box[data-v-2639cf78]{position:absolute;right:-13px;top:-18px;cursor:pointer}.box-item .del-box .iconfont[data-v-2639cf78]{color:#999;font-size:30px}.box-item .left-tool[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.box-item .left-tool .iconfont[data-v-2639cf78]{color:#999;font-size:36px;cursor:move}.box-item .right-wrapper[data-v-2639cf78]{-webkit-box-flex:1;-ms-flex:1;flex:1}.box-item .right-wrapper .img-wrapper[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex}.box-item .right-wrapper .img-wrapper .img-item[data-v-2639cf78]{position:relative;width:80px;height:80px;margin-right:20px;cursor:pointer}.box-item .right-wrapper .img-wrapper .img-item img[data-v-2639cf78]{display:block;width:100%;height:100%}.box-item .right-wrapper .img-wrapper .img-item .empty-img[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f7f7f7;font-size:12px;color:#bfbfbf}.box-item .right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-2639cf78]{font-size:16px}.box-item .right-wrapper .img-wrapper .img-item .txt[data-v-2639cf78]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:rgba(0,0,0,.4);color:#fff;font-size:12px}.box-item .right-wrapper .c_row-item[data-v-2639cf78]{margin-top:10px}.add-btn[data-v-2639cf78]{margin-top:20px;width:100%;height:40px}.goods-box[data-v-573ea8a5]{padding:16px 0;margin-bottom:16px;border-top:1px solid rgba(0,0,0,.05)}.goods-box .list-group[data-v-573ea8a5],.goods-box .wrapper[data-v-573ea8a5]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-573ea8a5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;margin-bottom:10px;background:#f7f7f7}.goods-box .add-item .iconfont-diy[data-v-573ea8a5]{font-size:20px;color:#d8d8d8}.goods-box .item[data-v-573ea8a5]{position:relative;width:80px;height:80px;margin-bottom:20px;margin-right:12px}.goods-box .item img[data-v-573ea8a5]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-573ea8a5]{position:absolute;right:-10px;top:-16px;color:#999;font-size:28px;cursor:pointer}[data-v-1cf1cf10] .ivu-input{font-size:13px!important}.hot_imgs[data-v-1cf1cf10]{border-top:1px solid rgba(0,0,0,.05)}.hot_imgs .title[data-v-1cf1cf10]{padding:13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px}.hot_imgs .list-box .item .move-icon[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-1cf1cf10]{width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-1cf1cf10]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-1cf1cf10]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item span[data-v-1cf1cf10]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-1cf1cf10]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .add-btn[data-v-1cf1cf10]{margin-top:10px}.hot_imgs .upload-box[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;background:#ccc;border-radius:5px}.line-box[data-v-01bafa9c]{margin-top:20px;padding:10px 0 20px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.line-box .title p[data-v-01bafa9c]{font-size:14px;color:#000}.line-box .title span[data-v-01bafa9c]{color:#999}.line-box .input-box[data-v-01bafa9c]{margin-top:10px}.line-box .input-box .add-btn[data-v-01bafa9c]{margin-top:18px}.line-box .input-box .input-item[data-v-01bafa9c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;position:relative}.line-box .input-box .input-item .delete[data-v-01bafa9c]{position:absolute;right:-7px;top:-8px;color:#999}.line-box .input-box .input-item .icon[data-v-01bafa9c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:36px;cursor:move}.line-box .input-box .input-item[data-v-01bafa9c] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px;font-size:13px!important}[data-v-496805d3] .ivu-input{font-size:13px!important}.c_row-item[data-v-496805d3]{margin-bottom:13px}.ivu-input-number[data-v-a46fb7c6]{width:100%}[data-v-a46fb7c6] .ivu-input{font-size:13px!important}.numbox[data-v-a46fb7c6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.numbox span[data-v-a46fb7c6]{width:80px;color:#999}.c_row-item[data-v-a46fb7c6]{width:100%}.c_row-item[data-v-13564258]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.hot_imgs[data-v-21410c50]{margin-bottom:20px}.hot_imgs .title[data-v-21410c50]{padding:13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-21410c50]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;border-bottom:1px solid #eee;padding-bottom:10px}.hot_imgs .list-box .item .move-icon[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-21410c50]{position:relative;width:70px;height:70px}.hot_imgs .list-box .item .img-box img[data-v-21410c50]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-21410c50]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item span[data-v-21410c50]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-21410c50]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .list-box .item .info .info-item[data-v-21410c50] .ivu-input{font-size:13px!important}.hot_imgs .list-box .item .delect-btn[data-v-21410c50]{position:absolute;right:-7px;top:-12px}.hot_imgs .list-box .item .delect-btn .iconfont-diy[data-v-21410c50]{font-size:25px;color:#999}.hot_imgs .add-btn[data-v-21410c50]{margin-top:10px}.upload-box[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc}.iconfont-diy[data-v-21410c50]{color:#ddd;font-size:28px}[data-v-573abc7b] .ivu-divider-horizontal{margin:12px 0}.empty-box[data-v-573abc7b]{color:#8c8c8c;font-size:12px;border-radius:0;background-color:#eee;width:100%;border:1px solid #ddd;text-align:center}.mobile-page .tip[data-v-573abc7b]{font-size:12px;color:rgba(0,0,0,.45);margin-bottom:2px}.mobile-page .advert[data-v-573abc7b]{cursor:pointer}.mobile-page .advert .advertItem01[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-573abc7b]{height:366px;border:1px solid #ddd}.mobile-page .advert .advertItem01 img[data-v-573abc7b]{width:100%;height:100%;border:1px solid #1890ff}.mobile-page .advert .advertItem02[data-v-573abc7b]{width:100%}.mobile-page .advert .advertItem02 .item[data-v-573abc7b]{width:50%;height:100%}.mobile-page .advert .advertItem02 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem02 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem02 .item .empty-box[data-v-573abc7b]{height:189.5px;border-right:1px solid #eee}.mobile-page .advert .advertItem02 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem03 .item[data-v-573abc7b]{width:33.3333%}.mobile-page .advert .advertItem03 .item .empty-box[data-v-573abc7b]{height:126.4px;border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(3) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem04 .item[data-v-573abc7b]{width:50%;height:189.5px}.mobile-page .advert .advertItem04 .item .empty-box[data-v-573abc7b]{height:100%}.mobile-page .advert .advertItem04 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem04 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem04 .item .pic[data-v-573abc7b]{width:100%;height:94.75px}.mobile-page .advert .advertItem04 .item .pic.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem04 .item .pic.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem04 .item:first-child .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem04 .item:nth-child(2) .pic:nth-child(2) .empty-box[data-v-573abc7b]{border-top:1px solid #eee}.mobile-page .advert .advertItem05 .item[data-v-573abc7b]{width:25%}.mobile-page .advert .advertItem05 .item .empty-box[data-v-573abc7b]{height:94.75px}.mobile-page .advert .advertItem05 .item:nth-child(4) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem05 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem06 .item[data-v-573abc7b]{width:50%;height:95px}.mobile-page .advert .advertItem06 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem06 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem06 .item .empty-box[data-v-573abc7b]{height:100%;border-right:1px solid #eee;border-bottom:1px solid #eee}.mobile-page .advert .advertItem06 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(3) .empty-box[data-v-573abc7b]{border-bottom:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(4) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd;border-bottom:1px solid #ddd}[data-v-305ef0de] .ivu-input{font-size:13px!important}.c_product[data-v-305ef0de]{border-bottom:1px solid rgba(0,0,0,.05);padding-bottom:20px;margin-bottom:20px}.c_product .list-box .item[data-v-305ef0de]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:23px;padding:18px 20px 18px 0;border:1px solid #eee;-webkit-box-shadow:0 0 10px #eee;box-shadow:0 0 10px #eee}.c_product .list-box .item .delete[data-v-305ef0de]{position:absolute;right:0;top:0;right:-13px;top:-14px;color:#999;cursor:pointer}.c_product .list-box .move-icon[data-v-305ef0de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .content[data-v-305ef0de]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-305ef0de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.c_product .list-box .content .con-item[data-v-305ef0de]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-305ef0de]{width:45px;font-size:13px}.c_product .add-btn[data-v-305ef0de]{margin-top:18px}.title[data-v-305ef0de]{padding-top:20px;font-size:12px;color:#999}.iconfont-diy[data-v-305ef0de]{color:#ddd;font-size:38px}.c_row-item[data-v-4b23b85d]{margin-top:20px;margin-bottom:20px}.setUp[data-v-5a465132] .ivu-tabs-nav-scroll{padding:0 30px}.setUp[data-v-5a465132] .ivu-tabs-nav .ivu-tabs-tab{padding:8px 45px}.c_row-item[data-v-4af1a280]{margin-bottom:20px}.c_row-item .label[data-v-4af1a280]{color:#999}.c_row-item[data-v-a3e64150]{margin-top:10px;margin-bottom:10px}.color-box[data-v-a3e64150]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-a3e64150]{margin-left:15px}.color-box .color-item span[data-v-a3e64150]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-4270ec2c]:after{height:0}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-4270ec2c]{height:34px}.ivu-radio-group-button .ivu-radio-wrapper[data-v-4270ec2c]:nth-of-type(2){border-left:1px solid #dcdee2}.radio-box[data-v-4270ec2c] .ivu-radio-group-button{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.radio-box[data-v-4270ec2c] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.radio-box.on[data-v-4270ec2c] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:unset;-ms-flex:unset;flex:unset;width:67px;margin-right:20px;border-radius:4px}.title-tips[data-v-4270ec2c]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-4270ec2c]{margin-right:14px;color:#999}.iconfont-diy[data-v-4270ec2c]{font-size:20px;line-height:18px}.c_row-item[data-v-16ba0e36]{margin-bottom:20px}.row-item[data-v-16ba0e36]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-16ba0e36]{font-size:18px}.header[data-v-011b1e56]{font-size:14px;color:#000}.title[data-v-011b1e56]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-011b1e56]{width:60px;height:60px;margin-bottom:10px;position:relative}.box .iconfont-diy[data-v-011b1e56]{position:absolute;top:-15px;right:-8px;font-size:25px;color:#999}.box img[data-v-011b1e56]{width:100%;height:100%;background-color:#f2f2f2}.upload-box[data-v-011b1e56]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.title-tips[data-v-f8e78f04]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-f8e78f04]{margin-right:14px;color:#999}.title-tips[data-v-29711666]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-29711666]{margin-right:14px;color:#999}.pro[data-v-2b37742c]{padding:15px 15px 0}.pro .tips[data-v-2b37742c]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-2b37742c]{padding-bottom:20px}.hot[data-v-0f09275e]{padding-left:14px;padding-right:14px}.pro[data-v-2a60b338]{padding:0 15px}.pro .tips[data-v-2a60b338]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-2a60b338]{padding-bottom:20px}.title-tips[data-v-7fad8318]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-7fad8318]{margin-right:14px;color:#999}.title-tips[data-v-df8a4b94]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-df8a4b94]{margin-right:14px;color:#999}.title-tips[data-v-cb30b22c]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-cb30b22c]{margin-right:14px;color:#999}.title-tips[data-v-6a593c61]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-6a593c61]{margin-right:14px;color:#999}[data-v-0402e251] .ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper{width:52px!important;margin-bottom:10px;margin-right:9px!important}.pro[data-v-0402e251]{padding:15px 15px 0}.pro .tips[data-v-0402e251]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-0402e251]{padding-bottom:20px}.title-tips[data-v-7838c182]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-7838c182]{margin-right:14px;color:#999}.title-tips[data-v-4a4ca508]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-4a4ca508]{margin-right:14px;color:#999}.upload-box[data-v-4cf80462]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}[data-v-4cf80462] .ivu-input{font-size:13px!important}.slider-box .title[data-v-4cf80462]{color:#999;font-size:13px;margin-bottom:5px}.c_row-item[data-v-4cf80462]{padding:0 15px;margin-top:22px}.slider-box .color[data-v-4cf80462]{margin-bottom:15px}.boxs[data-v-4cf80462]{width:60px;height:60px;margin-bottom:10px;position:relative}.boxs .replace[data-v-4cf80462]{background:rgba(0,0,0,.4);border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0;width:100%;color:#fff;font-size:12px;text-align:center;height:24px;line-height:24px}.boxs .iconfont-diy[data-v-4cf80462]{position:absolute;top:-15px;right:-8px;font-size:25px;color:#999}.boxs img[data-v-4cf80462]{width:100%;height:100%;border-radius:6px}.ivu-color-picker[data-v-4cf80462] .ivu-select-dropdown{position:absolute;left:34px!important}.page-fooot[data-v-cc97dfa0]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff}.page-fooot .foot-item[data-v-cc97dfa0]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px}.page-fooot .foot-item img[data-v-cc97dfa0]{width:25px;height:25px}.page-fooot .foot-item p[data-v-cc97dfa0]{font-size:12px;color:#282828}.page-fooot .foot-item p.on[data-v-cc97dfa0]{color:#00a4f8}.ysize[data-v-69269449]{background-size:100%}.fullsize[data-v-69269449]{background-size:100% 100%}.repeat[data-v-69269449]{background-repeat:repeat}.noRepeat[data-v-69269449]{background-repeat:no-repeat}.defaultData[data-v-69269449]{cursor:pointer;position:absolute;left:50%;margin-left:245px}.defaultData .data[data-v-69269449]{margin-top:20px;color:#282828;background-color:#fff;width:94px;text-align:center;height:32px;line-height:32px;border-radius:3px;font-size:12px}.defaultData .data[data-v-69269449]:hover{background-color:#2d8cf0;color:#fff;border:0}.overflowy[data-v-69269449]{overflow-y:scroll}.overflowy .picture[data-v-69269449]{width:379px;height:20px;margin:0 auto;background-color:#fff}.bnt[data-v-69269449]{width:80px!important}[data-v-69269449]::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px #fff;display:none}.left[data-v-69269449]:hover::-webkit-scrollbar-thumb,.right-box[data-v-69269449]:hover::-webkit-scrollbar-thumb{display:block}.contxt[data-v-69269449]:hover ::-webkit-scrollbar-thumb{display:block}[data-v-69269449]::-webkit-scrollbar{width:4px!important}.scrollCon[data-v-69269449]{overflow-y:scroll;overflow-x:hidden}.scroll-box .position[data-v-69269449]{display:block!important;height:40px;text-align:center;line-height:40px;border:1px dashed #1890ff;color:#1890ff;background-color:#edf4fb}.scroll-box .conter[data-v-69269449]{display:none!important}.dragClass[data-v-69269449]{background-color:#fff}.ivu-mt[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.iconfont-diy[data-v-69269449]{font-size:24px;color:#1890ff}.diy-wrapper[data-v-69269449]{max-width:100%;min-width:1100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.diy-wrapper .left[data-v-69269449]{min-width:300px;max-width:300px;border-radius:4px;height:100%}.diy-wrapper .left .title-bar[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;border-bottom:1px solid #eee;border-radius:4px;cursor:pointer}.diy-wrapper .left .title-bar .title-item[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;height:45px}.diy-wrapper .left .title-bar .title-item.on[data-v-69269449]{color:#1890ff;font-size:14px;border-bottom:1px solid #1890ff}.diy-wrapper .left .wrapper[data-v-69269449]{padding:15px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.diy-wrapper .left .wrapper .tips[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:15px;font-size:13px;color:#000;cursor:pointer}.diy-wrapper .left .wrapper .tips .ivu-icon[data-v-69269449]{color:#000}.diy-wrapper .left .link-item[data-v-69269449]{padding:10px;border-bottom:1px solid #f5f5f5;font-size:12px;color:#323232}.diy-wrapper .left .link-item .name[data-v-69269449]{font-size:14px;color:#1890ff}.diy-wrapper .left .link-item .link-txt[data-v-69269449]{margin-top:2px;word-break:break-all}.diy-wrapper .left .link-item .params[data-v-69269449]{margin-top:5px;color:#1cbe6b;word-break:break-all}.diy-wrapper .left .link-item .params .txt[data-v-69269449]{color:#323232}.diy-wrapper .left .link-item .params span:last-child i[data-v-69269449]{display:none;color:red}.diy-wrapper .left .link-item .lable[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:5px;color:#999}.diy-wrapper .left .link-item .lable p[data-v-69269449]{-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all}.diy-wrapper .left .link-item .lable button[data-v-69269449]{margin-left:30px;width:38px}.diy-wrapper .left .dragArea.list-group[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-69269449]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:74px;height:66px;margin-right:17px;margin-bottom:10px;font-size:12px;color:#666;cursor:pointer;border-radius:5px;text-align:center}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-69269449]:hover{-webkit-box-shadow:0 0 5px 0 rgba(24,144,255,.3);box-shadow:0 0 5px 0 rgba(24,144,255,.3);border-right:5px;-webkit-transform:scale(1.1);transform:scale(1.1);-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-69269449]:nth-child(3n){margin-right:0}.diy-wrapper .content[data-v-69269449]{position:relative;height:100%;width:100%}.diy-wrapper .content .page-foot[data-v-69269449]{position:relative;width:379px;margin:0 auto 20px auto}.diy-wrapper .content .page-foot .delete-box[data-v-69269449]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff;padding:10px 0}.diy-wrapper .content .page-foot.on[data-v-69269449]{cursor:move}.diy-wrapper .content .page-foot.on .delete-box[data-v-69269449]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .page-title[data-v-69269449]{position:relative;height:35px;line-height:35px;background:#fff;font-size:15px;color:#333;text-align:center;width:379px;margin:0 auto}.diy-wrapper .content .page-title .delete-box[data-v-69269449]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff;padding:10px 0}.diy-wrapper .content .page-title .delete-box span[data-v-69269449]{position:absolute;right:0;bottom:0;width:32px;height:16px;line-height:16px;display:inline-block;text-align:center;font-size:10px;color:#fff;background:rgba(0,0,0,.4);margin-left:2px;cursor:pointer;z-index:11}.diy-wrapper .content .page-title.on[data-v-69269449]{cursor:move}.diy-wrapper .content .page-title.on .delete-box[data-v-69269449]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .scroll-box[data-v-69269449]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;width:379px;margin:0 auto;padding-top:1px}.diy-wrapper .content .dragArea.list-group[data-v-69269449]{width:100%;height:100%}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-69269449]{position:relative;cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box[data-v-69269449]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType[data-v-69269449]{position:absolute;right:-43px;top:0;width:36px;height:143px;border-radius:4px;background-color:#1890ff;cursor:pointer;color:#fff;font-weight:700;text-align:center;padding:4px 0}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont[data-v-69269449]{padding:5px 0}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont.on[data-v-69269449]{opacity:.4}.diy-wrapper .content .dragArea.list-group .mConfig-item.on[data-v-69269449]{cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item.on .delete-box[data-v-69269449]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-69269449]:hover{-webkit-transform:scale(1.01);transform:scale(1.01);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3);-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .right-box[data-v-69269449]{max-width:400px;min-width:400px;height:100%;border-radius:4px;overflow:scroll;-webkit-overflow-scrolling:touch}.diy-wrapper .right-box[data-v-69269449] .ivu-tabs-bar{margin-bottom:16px}.diy-wrapper .right-box .title-bar[data-v-69269449]{width:100%;height:45px;line-height:45px;padding-left:24px;color:#000;border-radius:4px;border-bottom:1px solid #eee;font-size:14px}.diy-wrapper[data-v-69269449] ::-webkit-scrollbar{width:6px;background-color:transparent}.diy-wrapper[data-v-69269449] ::-webkit-scrollbar-track{border-radius:10px}.diy-wrapper[data-v-69269449] ::-webkit-scrollbar-thumb{background-color:#bfc1c4}.foot-box[data-v-69269449]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:80px;background:#fff;-webkit-box-shadow:0 -2px 4px 0 rgba(0,0,0,.03);box-shadow:0 -2px 4px 0 rgba(0,0,0,.03)}.foot-box button[data-v-69269449]{width:100px;height:32px;font-size:13px}.foot-box button[data-v-69269449]:first-child{margin-right:20px}[data-v-69269449] .ivu-scroll-loader{display:none}[data-v-69269449] .ivu-card-body{width:100%}.rbtn[data-v-69269449]{position:absolute;right:20px} \ No newline at end of file +.empty-box[data-v-3be5b2fe]{height:170px}.mobile-page[data-v-3be5b2fe]{position:relative;width:auto}.mobile-page .banner[data-v-3be5b2fe]{width:100%;margin-top:-48px}.mobile-page .banner img[data-v-3be5b2fe]{width:100%;height:100%;border-radius:6px}.mobile-page .banner img.doc[data-v-3be5b2fe]{border-radius:0}.mobile-page .bg[data-v-3be5b2fe]{width:100%;height:50px;background:-webkit-gradient(linear,left top,right top,from(#f62c2c),to(#f96e29));background:linear-gradient(90deg,#f62c2c,#f96e29)}.mobile-page .bgset[data-v-3be5b2fe]{width:100%;height:50px}.dot[data-v-3be5b2fe]{position:absolute;left:0;bottom:20px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dot.number[data-v-3be5b2fe]{bottom:4px}.dot .num[data-v-3be5b2fe]{width:25px;height:18px;line-height:18px;background-color:#000;color:#fff;opacity:.3;border-radius:8px;font-size:12px;text-align:center}.dot .dot-item[data-v-3be5b2fe]{width:5px;height:5px;background:#aaa;border-radius:50%;margin:0 3px}.dot.line-dot[data-v-3be5b2fe]{bottom:20px}.dot.line-dot .line_dot-item[data-v-3be5b2fe]{width:8px;height:2px;background:#aaa;margin:0 3px}.bargainOn[data-v-155b5331]{border-radius:0!important}.home_bargain[data-v-155b5331]{width:100%;padding:15px 10px 10px;background-size:100% 100%;border-radius:6px}.home_bargain .title-bar[data-v-155b5331]{width:100%;height:29px;font-size:19px;text-align:center}.home_bargain .list-wrapper[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;width:100%;overflow:hidden}.home_bargain .list-wrapper .item[data-v-155b5331]{-ms-flex-negative:0;flex-shrink:0;width:105px;border-radius:8px 8px 0 0;overflow:hidden}.home_bargain .list-wrapper .item .img-box[data-v-155b5331]{width:100%;height:105px}.home_bargain .list-wrapper .item .img-box .box[data-v-155b5331],.home_bargain .list-wrapper .item .img-box img[data-v-155b5331]{width:100%;height:100%}.home_bargain .list-wrapper .item .img-box .box[data-v-155b5331]{background:#d8d8d8}.home_bargain .list-wrapper .item .con-box[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:6px 0 10px;background:#fff;border-radius:0 0 8px 8px}.home_bargain .list-wrapper .item .con-box .price[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#f44}.home_bargain .list-wrapper .item .con-box .price p[data-v-155b5331]{font-size:16px;font-weight:700}.home_bargain .list-wrapper .item .con-box .price span[data-v-155b5331]{font-size:12px}.home_bargain .list-wrapper .item .con-box .btn[data-v-155b5331]{width:68px;height:17px;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red);border-radius:9px;color:#fff;text-align:center;line-height:19px;font-size:12px}.home_bargain .doc[data-v-155b5331]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:10px}.home_bargain .doc span[data-v-155b5331]{width:4px;height:2px;margin:0 3px;background:#979797}.home_bargain .doc span.active[data-v-155b5331]{width:8px;background:#fff}.couponOn[data-v-057f6905]{border-radius:10px}.coupon[data-v-057f6905]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px 0 15px 10px;background:#f8f8f8;overflow:hidden}.coupon .item[data-v-057f6905]{-ms-flex-negative:0;flex-shrink:0;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;width:152px;height:76px;background:#e93323;color:#fff;border-radius:5px;margin-right:10px}.coupon .item.gary[data-v-057f6905]{background:#d8d8d8}.coupon .item .left[data-v-057f6905]{width:120px;height:76px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.coupon .item .left .num[data-v-057f6905]{font-size:24px;font-weight:700}.coupon .item .left .num span[data-v-057f6905],.coupon .item .left .txt[data-v-057f6905]{font-size:12px}.coupon .item .right[data-v-057f6905]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:12px;border-left:1px dashed #fff}.coupon .item .roll[data-v-057f6905]{position:absolute;width:10px;height:10px;border-radius:50%;background:#f8f8f8}.coupon .item .roll.up-roll[data-v-057f6905]{right:26px;top:-5px}.coupon .item .roll.down-roll[data-v-057f6905]{right:26px;bottom:-5px}.itemOn .empty-box[data-v-7d078f27],.itemOn[data-v-7d078f27],.itemOn img[data-v-7d078f27]{border-radius:0!important}.itemOn .img-box .label[data-v-7d078f27]{border-radius:0 0 8px 0!important}.pageOn[data-v-7d078f27]{border-radius:8px!important}.listBig[data-v-7d078f27]{width:100%;padding:10px 0 1px 0}.listBig .itemBig[data-v-7d078f27]{width:100%;margin-bottom:15px;background-color:#fff;border-radius:10px}.listBig .itemBig .img-box[data-v-7d078f27]{width:100%;height:160px;position:relative;border-radius:50px}.listBig .itemBig .img-box img[data-v-7d078f27]{width:100%;height:160px;border-radius:10px 10px 0 0}.listBig .itemBig .img-box .empty-box[data-v-7d078f27]{border-radius:8px 8px 0 0}.listBig .itemBig .img-box .label[data-v-7d078f27]{position:absolute;top:0;left:0;width:59px;height:25px;line-height:25px;text-align:center;color:#fff;font-size:12px;border-radius:8px 0 8px 0}.listBig .itemBig .name[data-v-7d078f27]{font-size:15px;font-weight:700;margin-top:8px;padding:0 10px}.listBig .itemBig .coupon[data-v-7d078f27]{width:16px;height:18px;line-height:18px;text-align:center;font-size:12px;margin-right:5px;display:inline-block}.listBig .itemBig .price[data-v-7d078f27]{font-weight:700;font-size:12px;padding:0 10px}.listBig .itemBig .price .num[data-v-7d078f27]{font-size:18px;margin-right:5px}.listBig .itemBig .price .old-price[data-v-7d078f27]{color:#aaa!important;font-weight:400;text-decoration:line-through}.paddingBox[data-v-7d078f27]{padding-bottom:0}.home_product .hd_nav[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;padding:0 5px}.home_product .hd_nav .item[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25%}.home_product .hd_nav .item .title[data-v-7d078f27]{font-size:16px;color:#282828}.home_product .hd_nav .item .label[data-v-7d078f27]{width:62px;height:18px;line-height:18px;text-align:center;background:transparent;border-radius:8px;color:#999;font-size:12px}.home_product .hd_nav .item.active .title[data-v-7d078f27]{color:#f44}.home_product .hd_nav .item.active .label[data-v-7d078f27]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red)}.home_product .list-wrapper[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-top:10px}.home_product .list-wrapper .item[data-v-7d078f27]{width:48.5%;margin-bottom:10px;background-color:#fff;border-radius:10px}.home_product .list-wrapper .item .img-box[data-v-7d078f27]{position:relative;width:100%;height:173px}.home_product .list-wrapper .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper .item .img-box img[data-v-7d078f27]{width:100%;height:100%;border-radius:10px 0 0 10px}.home_product .list-wrapper .item .img-box .empty-box[data-v-7d078f27]{background:#f3f5f7;border-radius:10px 10px 0 0}.home_product .list-wrapper .item .img-box .box[data-v-7d078f27]{background:#d8d8d8}.home_product .list-wrapper .item .img-box .label[data-v-7d078f27]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0 10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.home_product .list-wrapper .item .info[data-v-7d078f27]{padding:7px 10px}.home_product .list-wrapper .item .info .title[data-v-7d078f27]{font-size:14px;color:#282828}.home_product .list-wrapper .item .info .old-price[data-v-7d078f27]{color:#aaa;font-size:13px;text-decoration:line-through}.home_product .list-wrapper .item .info .price[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_product .list-wrapper .item .info .price .num[data-v-7d078f27]{font-size:18px}.home_product .list-wrapper .item .info .price .num span[data-v-7d078f27]{font-size:12px}.home_product .list-wrapper .item .info .price .label[data-v-7d078f27]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.home_product .list-wrapper .item .info .price .label.on[data-v-7d078f27]{margin-left:0}.home_product .list-wrapper.itemA .item[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.home_product .list-wrapper.itemA .item .img-box[data-v-7d078f27]{position:relative;width:110px;height:110px}.home_product .list-wrapper.itemA .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper.itemA .item .img-box .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemA .item .img-box img[data-v-7d078f27]{border-radius:10px 0 0 10px}.home_product .list-wrapper.itemA .item .info[data-v-7d078f27]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:5px;padding:5px 10px}.home_product .list-wrapper.itemB[data-v-7d078f27]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit}.home_product .list-wrapper.itemB .item[data-v-7d078f27]{width:31.6%;margin-right:8px}.home_product .list-wrapper.itemB .item[data-v-7d078f27]:nth-child(3n){margin-right:0}.home_product .list-wrapper.itemB .item .img-box[data-v-7d078f27]{position:relative;width:100%;height:110px}.home_product .list-wrapper.itemB .item .img-box .box[data-v-7d078f27],.home_product .list-wrapper.itemB .item .img-box .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemB .item .img-box img[data-v-7d078f27],.home_product .list-wrapper.itemC .item .box[data-v-7d078f27],.home_product .list-wrapper.itemC .item .empty-box[data-v-7d078f27],.home_product .list-wrapper.itemC .item img[data-v-7d078f27]{border-radius:10px 10px 0 0}.paddingBox[data-v-791cf5b7]{padding:0 10px!important}.home-hot[data-v-791cf5b7]{padding:15px 10px;background:#ffe5e3;border-radius:12px}.home-hot .hd[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home-hot .hd .txt[data-v-791cf5b7]{margin-right:10px;color:#fc3c3e;font-size:16px;font-weight:700}.home-hot .hd .color-txt[data-v-791cf5b7]{width:110px;height:18px;border-radius:13px 0 13px 0;color:#fff;text-align:center;font-size:11px;-webkit-box-shadow:3px 1px 1px 1px rgba(255,203,199,.8);box-shadow:3px 1px 1px 1px rgba(255,203,199,.8)}.home-hot .bd[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.home-hot .bd .item[data-v-791cf5b7]{display:-webkit-box;display:-ms-flexbox;display:flex;width:158px;margin-top:10px;margin-right:13px;padding:10px;background:#fff;border-radius:8px}.home-hot .bd .item[data-v-791cf5b7]:nth-child(2n){margin-right:0}.home-hot .bd .item .left[data-v-791cf5b7]{width:69px}.home-hot .bd .item .left .title[data-v-791cf5b7]{font-size:14px}.home-hot .bd .item .left .des[data-v-791cf5b7]{font-size:12px;color:#999}.home-hot .bd .item .left .link[data-v-791cf5b7]{width:56px;height:18px;padding:0 10px;margin-top:3px;background:-webkit-gradient(linear,left top,right top,from(#4bc4ff),to(#207eff));background:linear-gradient(90deg,#4bc4ff,#207eff 100%);border-radius:9px;color:#fff;font-size:13px}.home-hot .bd .item .img-box[data-v-791cf5b7]{-webkit-box-flex:1;-ms-flex:1;flex:1}.home-hot .bd .item .img-box img[data-v-791cf5b7]{width:100%;height:100%}.home-hot .bd .item .img-box .box[data-v-791cf5b7]{width:100%;height:100%;background:#d8d8d8}.home-hot .bd .item:nth-child(2) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#ff9043),to(#ff531d));background:linear-gradient(90deg,#ff9043,#ff531d 100%)}.home-hot .bd .item:nth-child(3) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#96e187),to(#48ce2c));background:linear-gradient(90deg,#96e187,#48ce2c 100%)}.home-hot .bd .item:nth-child(4) .left .link[data-v-791cf5b7]{background:-webkit-gradient(linear,left top,right top,from(#ffc560),to(#ff9c00));background:linear-gradient(90deg,#ffc560,#ff9c00 100%)}.pageOn[data-v-9564822e]{border-radius:10px!important}.list_menu[data-v-9564822e]{padding:0 12px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.list_menu .item[data-v-9564822e]{margin-top:12px;font-size:11px;color:#282828;text-align:center;width:33.3333%}.list_menu .item.four[data-v-9564822e]{width:25%}.list_menu .item.five[data-v-9564822e]{width:20%}.list_menu .item .img-box[data-v-9564822e]{width:50px;height:50px;margin:0 auto 5px auto}.list_menu .item .img-box.on .empty-box[data-v-9564822e],.list_menu .item .img-box.on[data-v-9564822e],.list_menu .item .img-box.on img[data-v-9564822e]{border-radius:50%}.list_menu .item .img-box img[data-v-9564822e]{width:100%;height:100%}.list_menu .icontupian[data-v-9564822e]{font-size:16px}.home_menu[data-v-9564822e]{padding:0 12px 12px;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.home_menu .menu-item[data-v-9564822e]{margin-top:12px;font-size:11px;color:#282828;text-align:center;margin-right:30px}.home_menu .menu-item .img-box[data-v-9564822e]{width:50px;height:50px}.home_menu .menu-item .img-box.on .empty-box[data-v-9564822e],.home_menu .menu-item .img-box.on[data-v-9564822e],.home_menu .menu-item .img-box.on img[data-v-9564822e]{border-radius:50%}.home_menu .menu-item .box[data-v-9564822e],.home_menu .menu-item img[data-v-9564822e]{width:100%;height:100%}.home_menu .menu-item .box[data-v-9564822e]{background:#d8d8d8}.home_menu .menu-item p[data-v-9564822e]{margin-top:5px}.home_menu .menu-item[data-v-9564822e]:nth-child(5n){margin-right:0}.home_menu.on .menu-item[data-v-9564822e],.home_menu.on .menu-item[data-v-9564822e]:nth-child(5n){margin-right:51px}.home_menu.on .menu-item[data-v-9564822e]:nth-child(4n){margin-right:0}.home_menu .icontupian[data-v-9564822e]{font-size:16px}.dot[data-v-9564822e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-bottom:10px}.dot.number[data-v-9564822e]{bottom:15px}.dot .num[data-v-9564822e]{width:25px;height:18px;line-height:18px;background-color:#000;color:#fff;opacity:.3;border-radius:8px;font-size:12px;text-align:center}.dot .dot-item[data-v-9564822e]{width:5px;height:5px;background:#aaa;border-radius:50%;margin:0 3px}.dot.line-dot .dot-item[data-v-9564822e]{width:8px;height:2px;background:#aaa;margin:0 3px}.pageOn[data-v-0e344be9]{border-radius:10px!important}.list-wrapper[data-v-0e344be9]{padding:10px 0}.list-wrapper .item[data-v-0e344be9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px;background-color:#fff;margin:0 10px}.list-wrapper .item[data-v-0e344be9]:last-child{margin-bottom:0!important}.list-wrapper .item.on[data-v-0e344be9]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-flow:row-reverse;flex-flow:row-reverse}.list-wrapper .item .img-box[data-v-0e344be9]{width:125px;height:78px;background:#e8e8e8}.list-wrapper .item .info[data-v-0e344be9]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:209px;height:78px}.list-wrapper .item .info .title[data-v-0e344be9]{color:#282828;font-size:15px}.list-wrapper .item .info .time[data-v-0e344be9]{color:#999;font-size:12px}.list-wrapper .item .empty-box[data-v-0e344be9],.list-wrapper .item .pictrue[data-v-0e344be9]{width:125px;height:78px}.list-wrapper .item .pictrue img[data-v-0e344be9]{width:100%;height:100%}.pageOn[data-v-44ec1c8f]{border-radius:6px!important}.news-box .item[data-v-44ec1c8f]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:30px;margin:0 7px}.news-box .item .img-box[data-v-44ec1c8f]{width:75px;height:18px;border-right:1px solid #ddd;padding-right:10px}.news-box .item .img-box img[data-v-44ec1c8f]{width:100%;height:100%}.news-box .item .right-box[data-v-44ec1c8f]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 20px 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAPPklEQVR4Xu2de4wdVR3Hf2d2I4HQjQYEgtFIWAKRsOye39nVuEJbnq2l9BFYeQXBQsXIS0hRGyuEhw0EAoRa5F0s8jIxkIASI1qMqPTOmYW2JiU2EhQTIQaDGwm73b3HTDLVbXt378xvZu6ee+d7/+35nvnN5zefbGfuuWcU4QMCIDAjAQU2IAACMxOAILg6QGAWAhAElwcIQBBcAyAgI4C/IDJuSFWEAASpSKNxmjICEETGDamKEIAgFWk0TlNGAILIuCFVEQIQpCKNxmnKCEAQGTekKkIAglSk0ThNGQEIIuOGVEUIQJCKNBqnKSMAQWTckKoIAQhSkUbjNGUEIIiMG1IVIQBBKtJonKaMAASRcUOqIgQgSEUajdOUEYAgMm5IVYQABKlIo3GaMgIQRMYNqYoQgCAVaTROU0YAgsi4IVURAhCkIo3GacoIQBAZN6QqQgCCVKTROE0ZAQgi44ZURQhAkIo0GqcpIwBBZNyQqggBCFKRRuM0ZQQgSEpuzHwoEW201o6kjGBYBxCAICmayMzHEdH9RLRAKXVPGIbfShHDkA4gAEGaNJGZv0REPyKi46cNXWOtvbMD+o9TaEIAgswCiJmXE9GDRPTJfYcppS4Iw/ApXGGdTQCCzNBfZr6MiB6arf1BECyo1WqvdPYlUu2zgyAN+s/M3yGi9Skujfecc8NRFO1KMRZD2pAABNmnacwc31tcn6GXo7t37z5p27Zt/8mQwdA2IQBBpjWKmTcR0VcFvXvBWrtUkEPEcwIQJGnQ8PDwvPHx8Wedc4skPXPOPRBF0RWSLDL+EoAg03pjjDnWOfcsEfUJW/Z9a+0twixiHhKAIPvfgywkoliS+JvzzB+l1KowDB/NHETASwIQpEFbtNYXKqWekHbMObc4iqKXpHnk/CEAQWbohdZ6jVLqDmGrxoho2Fq7XZhHzBMCEGSWRhhj7nbOXSvs1c7x8fEFO3bseFeYR8wDAhCkSROY+RkiEq3gVUq9HIbhaR70GSUICUCQJuAGBwePqNfr8U37SULGP7bWSr5bER4OsSIJQJAUNJlZJ0+2jk4xvNGQ9dbatcIsYnNIAIKkhK+1PkspFf8lOTBlZK9hzrkroyj6oSSLzNwRgCAZ2GutVyulHsgQ2XfoCmvtcznyiLaYAATJCNwYc5Nz7saMsT3DJ+v1+smjo6N/EOYRazEBCCIAzszxj6guF0TjyNtBEJxSq9X+Iswj1kICEEQAm5kPSm7alwji5Jz7/eTk5BlYIi+h19oMBBHy1lr3JjftA8IpfoodUoTkWhiDIDlgDwwMnBwEQfxk63DJNNghRUKttRkIkpO3MeY851yezRuwQ0rOHpQZhyAF0GXm64joLulUzrmLoij6iTSPXHkEIEhBbAW/Zd/ryEEQnF6r1X5VUDmYpiACEKQgkPE0zPwkEZ0vnPI9IjoNS+SF9EqKQZACwfb19R3W3d39rFJqvnDa0fHx8cVYIi+kV0IMghQMtb+/vz9+sqWUOkY4NXZIEYIrIwZBSqBqjFmcbP5wsGR67JAioVZOBoKUw5WMMauccw/nmB47pOSAV1QUghRFssE8zLyOiG6WHsI59/UoiuJ1X/jMEQEIUjJ4Zo7fKyLeUE4ptTwMw+dLLhPTz0AAgpR8afT29h7Q09MT37SfLTzUWL1ePxNL5IX0csYgSE6AaeJDQ0NHxb9rd86ZNOMbjNkZBMESLJEX0ssRgyA54GWJGmOGkydbR2bJ7Rkb75AyMTGxDEvkJfTkGQgiZ5c5ycznJr8jyZxNAtghRUpOmIMgQnDSGDNfQ0T3SPNEdLu1Nn7BDz4tIABBWgB530NorW9XSt0gPbRS6rowDO+W5pFLTwCCpGdV6Eit9Wal1EXSSbFEXkouWw6CZONV2OihoaFDpqam4l8jniKcdDIIgsVYIi+klzIGQVKCKmMYM5+Q3LQfJ5z/bSJaiiXyQnopYhAkBaQyh2itz0w2f+iRHCfeIWViYmIllshL6DXPQJDmjEofobW+RCn1WI4DYYeUHPBmi0KQksBmnVZrvVYpdVvW3J7xzrkNURRdJc0j15gABPHoyjDGbHDOfTNHSVginwNeoygEKRhonukWLFjQPTY2Fj/ZWiGdB0vkpeTwF6RYciXNxsyfSZ5sfV56CCyRl5LbP4e/IMWxLGwmrfUXkidbnxZO+l69Xl+OJfJCetNiECQ/w1Jm0FqvTCTpEh5gNAiCc7BEXkgviUGQfPxKTRtjrnTO3ZfjID/fvXv3CJbIywlCEDm7liSZ+QdE9N0cB9tkrb00R77SUQjSBu1n5k1ElOdNuVgiL+wzBBGCa2Wsv7//411dXfHj39Olx8USeRk5CCLj1vLUwMDA55J3kRwvPTiWyGcnB0GyM5uzxODg4Gnx5g9E9AlhEWNBEKzEEvn09CBIelZejDTGXOycezxHMTuJaARL5NMRhCDpOHk1ipnj36SvlxblnPvtxMTECJbINycIQZoz8nIEM99LRFfnKA5L5FPAgyApIHk6RDFzfD9yjrQ+LJFvTg6CNGfk7YgTTzzxU/HjX6XUF3MUiSXys8CDIDmuLB+ig4ODg8mTrc9K68ES+ZnJQRDpVeVRzhizLNnW9GPCsiaVUudgF/n96UEQ4RXlW4yZv0FEG3PU9U69Xh/BEvm9CUKQHFeUb1FmvoWIvpejLhsEwQiWyP+fIATJcTX5GNVaP6KU+lqO2rBEfho8CJLjSvIxWoAgLybftH/o4/m1uiYI0mriJR6vgP9ibU3uQ+IdG/EhIgjSIZdBATfpbznnzo2iyHYIkkJOA4IUgnFuJyngMe+Yc24kiqKX5vZM/Ds6BPGvJ5kqKuKLwnq9fvHo6OjmTAeuyGAI0saNLmKpCX5pOPsFAEHaV5DcixXjJfPW2rXti6D8yiFI+YxLOUIBy90fttZeXkpxHTQpBGnDZub9wRQRPWetXUlErg1Pv6UlQ5CW4s5/sAJ+cvtqsuPiP/JX0/kzQJA26nEBmza8mTzO3dZGpz2npUKQOcWf/uAFbPvzfvIt+cvpj4qREKQNroEiNo6r1+vnj46OPt0Gp+tViRDEq3Y0Libv1qNKqavCMNzQBqfqXYkQxLuW7F1QAZtX32ytvdHz0/S2PAjibWuICnj9wUZrbZ53HnpMpzWlQZDWcM58lAJeoIN9rzJT3z8AQQqAWPQUBbyCbUt3d/ey11577d9F11a1+SCIZx0v4CWeO6ampla+/vrrf/bs1NqyHAjiUdsKeA30u/FOi9ba33l0Wm1dCgTxqH3GmA3OOelN9VTyLfnPPDqlti8FgnjSQq31WqXUbdJylFJXhGH4gDSPXGMCEMSDK0NrfYlS6rEcpayz1t6aI4/oDAQgyBxfGlrrM5P3ofcIS7nXWnutMItYEwIQZA4vEWY+gYjiVxgcJyzjSWvthcIsYikIQJAUkMoYMjQ0dMjU1FQsxynC+X85b968JVu2bJkU5hFLQQCCpIBUxhCt9Wal1EXCuUcnJyeXvvHGG38X5hFLSQCCpARV5DCt9e1KqRuEc75DRMustZEwj1gGAhAkA6wihjLzNUR0j3Cuj5RSK8Mw/IUwj1hGAhAkI7A8w5n53OSmXDSNc+7SKIo2icIIiQhAEBG27CFjzHDyFqgjs6eJlFLfDsPwDkkWGTkBCCJnlzo5NDR0VPweQeecSR3ae+Cd1to1wixiOQhAkBzw0kR7e3sP6Onpid9Ee3aa8Q3GPG6tvUSYRSwnAQiSE2CzODPfT0RXNBs3w7+/aK09S5hFrAACEKQAiDNNwczriOhm4SG2TkxMLNq+ffu/hHnECiAAQQqA2GgKY8wq59zDwunfIqIvW2t3CvOIFUQAghQEcvo0xpjFyROrgwXTjwVBsLRWq70iyCJSMAEIUjDQ/v7+/iAI4pvyYyRTO+e+EkVRvEYLHw8IQJACm9DX13dYd3d3LMd84bRXW2vvE2YRK4EABCkQKjM/SUTnC6e81Vob39Tj4xEBCFJQM5j5TiK6XjjdQ9ba1cIsYiUSgCAFwGXm64joLuFU8ctsVgiziJVMAILkBGyMOc8595Rwmlc/+OCDU3ft2jUuzCNWMgEIkgPwwMDAyfETKyI6XDDNm0R0hrX2r4IsIi0iAEGEoLXWvclmCwOCKd4PgmBRrVarCbKItJAABBHAZuaDkt91LBHEyTm3NIqiFyRZZFpLAIIIeDPzg0QkeoWyUuqyMAwfERwWkTkgAEEyQjfG3OSck76QZq21dn3GQ2L4HBKAIBnga61XK6Wk23tig7cMrH0ZCkFSdkJrfVZyU35gysj/hjnnno6iSPoNe9bDYXyBBCBICpjMrJOb8qNTDN93yG+stdLN4QSHQ6RIAhCkCc3BwcEj4t+TE9FJAvA7iGihtfafgiwiHhCAIE2awMzPENGIoFfvBkFwaq1W+5Mgi4gnBCDILI0wxtztnJPsnB6/zOaMKIp+7UmfUYaQAASZAZzWeo1SSrQPlVLqgjAMpeuzhK1ErAwCEKQBVa31hUqpJ4TAr7XW3ivMIuYZAQiyT0OYeWHyxOpQQa/WW2vXCnKIeEoAgkxrjDHm2GSzhb6s/XLOPRpF0aqsOYz3mwAESfozPDw8b3x8PN4edJGgZdjgTQCtHSIQZFqXmDn+viPegT31RykVOufmW2s/TB3CwLYhAEH2vwfJIsnfurq65m/dujXe6A2fDiQAQRo0NeVfko+ccwujKPpjB14XOKWEAASZ4VJoJolSankYhs/jSupsAhBklv7OJIlzbnUURQ919qWBs4sJQJAm10EDSdZZa2/F5VMNAhAkRZ/3SOKc2xBF0VUpIhjSIQQgSMpGxpJYayWrelMeAcN8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGAATxphUoxEcCEMTHrqAmbwhAEG9agUJ8JABBfOwKavKGwH8ByXDi9ou0R3kAAAAASUVORK5CYII=);background-size:20px 20px;background-position:100%;background-repeat:no-repeat}.pinkOn[data-v-d26837a6]{border-radius:0!important}.pageOn[data-v-d26837a6]{border-radius:10px!important}.mobile-page[data-v-d26837a6]{padding-top:10px}.home_pink[data-v-d26837a6]{padding:10px 12px;background:#fff;border-radius:10px}.home_pink .title-wrapper[data-v-d26837a6]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.home_pink .title-wrapper .left[data-v-d26837a6],.home_pink .title-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_pink .title-wrapper .left span[data-v-d26837a6]{margin-left:5px;font-size:16px}.home_pink .title-wrapper .left .icon[data-v-d26837a6]{width:18px;height:18px;border-radius:50%}.home_pink .title-wrapper .left .avatar-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:14px}.home_pink .title-wrapper .left .avatar-wrapper img[data-v-d26837a6]{width:15px;height:15px;margin-left:-5px;border:1px solid #fff;border-radius:50%}.home_pink .title-wrapper .left .num[data-v-d26837a6]{margin-left:3px;color:#999;font-size:13px}.home_pink .list-wrapper[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;overflow:hidden}.home_pink .list-wrapper .item[data-v-d26837a6]{-ms-flex-negative:0;flex-shrink:0;width:110px;background:#fff;border-radius:8px}.home_pink .list-wrapper .item .img-box[data-v-d26837a6]{position:relative;width:100%;height:110px}.home_pink .list-wrapper .item .img-box .box[data-v-d26837a6],.home_pink .list-wrapper .item .img-box img[data-v-d26837a6]{width:100%;height:100%;border-radius:8px 8px 0 0}.home_pink .list-wrapper .item .img-box .box[data-v-d26837a6]{background:#d8d8d8}.home_pink .list-wrapper .item .img-box .num[data-v-d26837a6]{position:absolute;left:6px;top:6px;width:70px;height:16px;line-height:16px;text-align:center;background:rgba(0,0,0,.1);-webkit-box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);border-radius:8px;color:#fff;font-size:12px}.home_pink .list-wrapper .item .info[data-v-d26837a6]{padding:5px 7px}.home_pink .list-wrapper .item .info .title[data-v-d26837a6]{font-size:12px;color:#282828}.home_pink .list-wrapper .item .info .price[data-v-d26837a6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_pink .list-wrapper .item .info .price .label[data-v-d26837a6]{display:inline-block;height:20px;line-height:20px;padding:0 3px;margin-right:3px;font-size:9px;font-weight:400;text-shadow:1px 1px 4px rgba(0,0,0,.06);color:#f44}.home_pink .list-wrapper .item .info .price .num[data-v-d26837a6]{color:#f44;font-size:16px;font-weight:700}.home_pink .list-wrapper .item .info .price .num span[data-v-d26837a6]{font-size:12px}.home_pink .list-wrapper .item .btn[data-v-d26837a6]{width:110px;height:24px;-webkit-box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);box-shadow:1px 1px 4px 0 rgba(0,0,0,.06);border-radius:0 0 8px 8px;text-align:center;line-height:24px;color:#fff}.home_product .hd_nav[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;height:65px;padding:0 5px}.home_product .hd_nav .item[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:25%}.home_product .hd_nav .item .title[data-v-6dd84eaa]{font-size:16px;color:#282828;width:65px;text-align:center}.home_product .hd_nav .item .label[data-v-6dd84eaa]{width:62px;height:18px;line-height:18px;text-align:center;background:transparent;border-radius:8px;color:#999;font-size:12px}.home_product .hd_nav .item.active .title[data-v-6dd84eaa]{color:#f44}.home_product .hd_nav .item.active .label[data-v-6dd84eaa]{color:#fff;background:-webkit-gradient(linear,right top,left top,from(#ff5400),to(red));background:linear-gradient(270deg,#ff5400,red)}.home_product .list-wrapper[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.home_product .list-wrapper .item[data-v-6dd84eaa]{width:170px;margin-bottom:10px}.home_product .list-wrapper .item .img-box[data-v-6dd84eaa]{position:relative;width:100%;height:173px}.home_product .list-wrapper .item .img-box .box[data-v-6dd84eaa],.home_product .list-wrapper .item .img-box img[data-v-6dd84eaa]{width:100%;height:100%;border-radius:10px 10px 0 0}.home_product .list-wrapper .item .img-box .box[data-v-6dd84eaa]{background:#d8d8d8}.home_product .list-wrapper .item .img-box .label[data-v-6dd84eaa]{position:absolute;left:0;top:0;width:46px;height:22px;border-radius:10px 0 10px 0;color:#fff;font-size:13px;text-align:center;line-height:22px}.home_product .list-wrapper .item .info[data-v-6dd84eaa]{padding:7px 10px;background:#fff;border-radius:0 0 10px 10px}.home_product .list-wrapper .item .info .title[data-v-6dd84eaa]{font-size:14px;color:#282828}.home_product .list-wrapper .item .info .old-price[data-v-6dd84eaa]{color:#aaa;font-size:13px;text-decoration:line-through}.home_product .list-wrapper .item .info .price[data-v-6dd84eaa]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_product .list-wrapper .item .info .price .num[data-v-6dd84eaa]{font-size:16px;font-weight:700}.home_product .list-wrapper .item .info .price .num span[data-v-6dd84eaa]{font-size:12px}.home_product .list-wrapper .item .info .price .label[data-v-6dd84eaa]{width:16px;height:18px;margin-left:5px;text-align:center;line-height:18px;font-size:11px}.home_product .list-wrapper .item .info .price .label.on[data-v-6dd84eaa]{margin-left:0}.seckillOn[data-v-2378e588]{border-radius:0!important}.pageOn[data-v-2378e588]{border-radius:10px!important}.seckill-box[data-v-2378e588]{padding:15px 10px;background:#fff;border-radius:10px}.seckill-box .hd[data-v-2378e588]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.seckill-box .hd .left[data-v-2378e588],.seckill-box .hd[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.seckill-box .hd .left img[data-v-2378e588]{width:18px;height:18px;margin-right:5px;border-radius:50%}.seckill-box .hd .left p[data-v-2378e588]{font-size:16px;color:#282828;font-weight:600}.seckill-box .hd .left .time[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:5px;color:#f44}.seckill-box .hd .left .time span[data-v-2378e588]{width:20px;height:16px;font-size:12px;text-align:center;line-height:16px}.seckill-box .hd .left .time em[data-v-2378e588]{font-size:12px;margin:0 3px;font-style:normal;font-weight:700}.seckill-box .list-wrapper[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:8px;overflow:hidden}.seckill-box .list-wrapper .list-item[data-v-2378e588]{-ms-flex-negative:0;flex-shrink:0;width:110px;background-color:#fff}.seckill-box .list-wrapper .list-item .img-box[data-v-2378e588]{position:relative;width:100%;height:110px}.seckill-box .list-wrapper .list-item .img-box .box[data-v-2378e588],.seckill-box .list-wrapper .list-item .img-box img[data-v-2378e588]{width:100%;height:100%;border-radius:8px}.seckill-box .list-wrapper .list-item .img-box .box[data-v-2378e588]{background:#d8d8d8}.seckill-box .list-wrapper .list-item .img-box .discount[data-v-2378e588]{position:absolute;left:8px;bottom:8px;height:18px;padding:0 3px;line-height:18px;background:#fff;border-radius:2px;border:1px solid transparent;font-size:12px}.seckill-box .list-wrapper .list-item .title[data-v-2378e588]{margin-top:5px;font-size:13px;color:#282828;padding:0 3px}.seckill-box .list-wrapper .list-item .price[data-v-2378e588]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 3px}.seckill-box .list-wrapper .list-item .price .label[data-v-2378e588]{font-size:9px;width:16px;height:16px;color:#fff;text-align:center;line-height:16px}.seckill-box .list-wrapper .list-item .price .num-label[data-v-2378e588]{color:#f44;font-size:12px;font-weight:600;margin:1px 2px 0}.seckill-box .list-wrapper .list-item .price .num[data-v-2378e588]{color:#f44;font-size:16px;font-weight:600}.service-box[data-v-c821554c]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.service-box .img-box[data-v-c821554c]{width:43px;height:43px}.service-box .img-box img[data-v-c821554c]{width:100%;height:100%;border-radius:50%}.service-box .img-box .empty-box[data-v-c821554c]{border-radius:50%}.service-box .img-box .empty-box .iconfont-diy[data-v-c821554c]{font-size:20px}.titleOn[data-v-6b55c60c]{border-radius:10px!important}.title-box[data-v-6b55c60c]{color:#282828;padding:5px 10px}.menus[data-v-24e958b0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:46px;cursor:pointer;background:-webkit-gradient(linear,left top,right top,from(#f62c2c),to(#f96e29));background:linear-gradient(90deg,#f62c2c,#f96e29)}.menus .item[data-v-24e958b0]{position:relative;-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center;color:#fff}.menus .item.on span[data-v-24e958b0]{display:block;position:absolute;left:50%;bottom:-5px;width:16px;height:2px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background:#fff}.pageOn[data-v-3c1f6aca]{border-radius:12px!important}.pageOn .advertItem01 img[data-v-3c1f6aca]{border-radius:10px}.pageOn .advertItem02 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem02 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem03 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem03 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0}.pageOn .advertItem03 .item:nth-child(3) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem04 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem04 .item:nth-child(2) .pic:first-child img[data-v-3c1f6aca]{border-radius:0 10px 0 0}.pageOn .advertItem04 .item:nth-child(2) .pic:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 0 10px 0}.pageOn .advertItem05 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 10px}.pageOn .advertItem05 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0}.pageOn .advertItem05 .item:nth-child(4) img[data-v-3c1f6aca]{border-radius:0 10px 10px 0}.pageOn .advertItem06 .item:first-child img[data-v-3c1f6aca]{border-radius:10px 0 0 0}.pageOn .advertItem06 .item:nth-child(2) img[data-v-3c1f6aca]{border-radius:0 10px 0 0}.pageOn .advertItem06 .item:nth-child(3) img[data-v-3c1f6aca]{border-radius:0 0 0 10px}.pageOn .advertItem06 .item:nth-child(4) img[data-v-3c1f6aca]{border-radius:0 0 10px 0}.mobile-page .advert .advertItem01[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-3c1f6aca]{width:100%;height:379px;border-radius:0}.mobile-page .advert .advertItem01 .empty-box .icontupian[data-v-3c1f6aca]{font-size:50px;color:#999}.mobile-page .advert .advertItem01 img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem02[data-v-3c1f6aca]{width:100%}.mobile-page .advert .advertItem02 .item[data-v-3c1f6aca]{width:50%;height:auto}.mobile-page .advert .advertItem02 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item .empty-box[data-v-3c1f6aca]{width:100%;height:189.5px;border-radius:0}.mobile-page .advert .advertItem03 .item[data-v-3c1f6aca]{width:33.3333%}.mobile-page .advert .advertItem03 .item .empty-box[data-v-3c1f6aca]{width:100%;height:126.4px;border-radius:0}.mobile-page .advert .advertItem04 .item[data-v-3c1f6aca]{width:50%;height:189.5px}.mobile-page .advert .advertItem04 .item .empty-box[data-v-3c1f6aca]{width:100%;height:100%;border-radius:0}.mobile-page .advert .advertItem04 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item .pic[data-v-3c1f6aca]{width:100%;height:94.75px}.mobile-page .advert .advertItem05 .item[data-v-3c1f6aca]{width:25%}.mobile-page .advert .advertItem05 .item .empty-box[data-v-3c1f6aca]{width:100%;height:94.75px;border-radius:0}.mobile-page .advert .advertItem06 .item[data-v-3c1f6aca]{width:50%;height:95px}.mobile-page .advert .advertItem06 .item img[data-v-3c1f6aca]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item .empty-box[data-v-3c1f6aca]{width:100%;height:100%;border-radius:0}.search-box[data-v-2db770f6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;height:48px;padding:10px 10px 10px 0;cursor:pointer}.search-box img[data-v-2db770f6]{width:76px;height:30px;margin-right:10px}.search-box .box[data-v-2db770f6]{-webkit-box-flex:1;-ms-flex:1;flex:1;height:30px;line-height:30px;color:#999;font-size:12px;padding-left:10px;background:#fff;border-radius:15px}.search-box .box.on[data-v-2db770f6]{border-radius:0}.search-box .box.center[data-v-2db770f6]{text-align:center;padding-left:0}.mobile-page[data-v-2900e956]{background:#f5f5f5;font-size:12px}.live-wrapper-a[data-v-2900e956]{padding:5px 10px 0}.live-wrapper-a .live-item-a[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;margin-bottom:10px;background:#fff;border-radius:8px;overflow:hidden}.live-wrapper-a .live-item-a .img-box[data-v-2900e956]{position:relative;width:170px;height:147px;border-radius:8px 0 0 8px;overflow:hidden}.live-wrapper-a .live-item-a .info[data-v-2900e956]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:5px;border-radius:0 8px 8px 0;overflow:hidden}.live-wrapper-a .live-item-a .info .title[data-v-2900e956]{color:#333;font-size:14px}.live-wrapper-a .live-item-a .info .people[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:12px;margin-top:5px}.live-wrapper-a .live-item-a .info .people img[data-v-2900e956]{width:32px;height:32px;margin-right:5px;border-radius:50%}.live-wrapper-a .live-item-a .info .goods-wrapper[data-v-2900e956]{margin-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-2900e956]{position:relative;width:48px;height:48px;margin-right:8px}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item[data-v-2900e956]:nth-child(3n){margin-right:0}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item img[data-v-2900e956]{width:100%;height:100%}.live-wrapper-a .live-item-a .info .goods-wrapper .goods-item span[data-v-2900e956]{position:absolute;left:0;bottom:0;color:#fff;font-size:12px}.live-wrapper-a.live-wrapper-c .live-item-a[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.live-wrapper-a.live-wrapper-c .live-item-a .img-box[data-v-2900e956]{width:100%;border-radius:8px 8px 0 0}.live-wrapper-a.live-wrapper-c .live-item-a .info[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-wrapper-a.live-wrapper-c .live-item-a .info .left[data-v-2900e956]{width:60%}.live-wrapper-b[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:10px 10px 0;background:#fff}.live-wrapper-b .live-item-b[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:171px;margin-bottom:10px;border-radius:8px;overflow:hidden}.live-wrapper-b .live-item-b .img-box[data-v-2900e956]{position:relative;height:137px}.live-wrapper-b .live-item-b .info[data-v-2900e956]{width:100%;padding:10px}.live-wrapper-b .live-item-b .info .people[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.live-wrapper-b .live-item-b .info .people img[data-v-2900e956]{width:32px;height:32px;margin-right:5px;border-radius:50%}.iconfont-diy[data-v-2900e956]{font-size:12px}.icontupian[data-v-2900e956]{font-size:24px}.bggary[data-v-2900e956]{background:-webkit-gradient(linear,right top,left top,from(#999),to(#666));background:linear-gradient(270deg,#999,#666)}.bgred[data-v-2900e956]{background:-webkit-gradient(linear,right top,left top,from(#f5742f),to(#ff1717));background:linear-gradient(270deg,#f5742f,#ff1717)}.empty-goods[data-v-2900e956]{width:50px;height:48px;background:#b2b2b2}.empty-goods[data-v-2900e956],.label[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;font-size:12px}.label[data-v-2900e956]{position:absolute;left:10px;top:10px;width:76px;height:19px;border-radius:11px 0 11px 11px}.label.bgblue[data-v-2900e956]{-webkit-box-pack:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:110px;background:rgba(0,0,0,.36);overflow:hidden}.label.bgblue .txt[data-v-2900e956]{width:38px;height:100%;text-align:center;margin-right:5px;background:-webkit-gradient(linear,right top,left top,from(#2fa1f5),to(#0076ff));background:linear-gradient(270deg,#2fa1f5,#0076ff)}.label.bggary[data-v-2900e956]{width:54px}.title-box[data-v-2900e956]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px 10px 0;font-size:16px}.title-box span[data-v-2900e956]:last-child{font-size:13px}.box[data-v-0c29708c]{height:20px;background:#f5f5f5}.mobile-page[data-v-6a880e48]{padding:7px 0}.mobile-page[data-v-70881bbe] video{width:100%!important}.box[data-v-70881bbe]{min-height:100px;padding:10px;background:#f5f5f5}.box img[data-v-70881bbe]{max-width:100%;height:auto}.flex-box[data-v-fc175de0]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 10px;height:70px;background:#ddd}.flex-box .left[data-v-fc175de0],.flex-box[data-v-fc175de0]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.flex-box .left .img-box[data-v-fc175de0]{width:46px;height:46px;overflow:hidden;border-radius:50%}.flex-box .left .img-box img[data-v-fc175de0]{width:100%;height:100%}.flex-box .left .name[data-v-fc175de0]{width:230px;margin-left:10px;font-size:18px;color:#000}.flex-box .btn[data-v-fc175de0]{width:60px;height:26px;border:1px solid #02a0e8;opacity:1;border-radius:3px;color:#02a0e8;font-size:14px;text-align:center;line-height:26px}.flex-box .iconfont-diy[data-v-fc175de0]{font-size:20px}.c_row-item[data-v-f352da02]{margin-bottom:20px}.color-box[data-v-f352da02]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-f352da02]{margin-left:15px}.color-box .color-item span[data-v-f352da02]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.c_row-item[data-v-fc103828]{margin-top:20px;margin-bottom:20px}[data-v-2639cf78] .ivu-input{font-size:13px!important}.tips[data-v-2639cf78]{padding-bottom:5px;font-size:12px;color:#999;border-bottom:1px solid rgba(0,0,0,.05)}.box-item[data-v-2639cf78]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:15px;padding:20px 30px 20px 0;border:1px solid #ddd;border-radius:3px}.box-item .del-box[data-v-2639cf78]{position:absolute;right:-13px;top:-18px;cursor:pointer}.box-item .del-box .iconfont[data-v-2639cf78]{color:#999;font-size:30px}.box-item .left-tool[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:72px}.box-item .left-tool .iconfont[data-v-2639cf78]{color:#999;font-size:36px;cursor:move}.box-item .right-wrapper[data-v-2639cf78]{-webkit-box-flex:1;-ms-flex:1;flex:1}.box-item .right-wrapper .img-wrapper[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex}.box-item .right-wrapper .img-wrapper .img-item[data-v-2639cf78]{position:relative;width:80px;height:80px;margin-right:20px;cursor:pointer}.box-item .right-wrapper .img-wrapper .img-item img[data-v-2639cf78]{display:block;width:100%;height:100%}.box-item .right-wrapper .img-wrapper .img-item .empty-img[data-v-2639cf78]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;background:#f7f7f7;font-size:12px;color:#bfbfbf}.box-item .right-wrapper .img-wrapper .img-item .empty-img .iconfont[data-v-2639cf78]{font-size:16px}.box-item .right-wrapper .img-wrapper .img-item .txt[data-v-2639cf78]{position:absolute;left:0;bottom:0;width:100%;height:22px;line-height:22px;text-align:center;background:rgba(0,0,0,.4);color:#fff;font-size:12px}.box-item .right-wrapper .c_row-item[data-v-2639cf78]{margin-top:10px}.add-btn[data-v-2639cf78]{margin-top:20px;width:100%;height:40px}.goods-box[data-v-573ea8a5]{padding:16px 0;margin-bottom:16px;border-top:1px solid rgba(0,0,0,.05)}.goods-box .list-group[data-v-573ea8a5],.goods-box .wrapper[data-v-573ea8a5]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.goods-box .add-item[data-v-573ea8a5]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;margin-bottom:10px;background:#f7f7f7}.goods-box .add-item .iconfont-diy[data-v-573ea8a5]{font-size:20px;color:#d8d8d8}.goods-box .item[data-v-573ea8a5]{position:relative;width:80px;height:80px;margin-bottom:20px;margin-right:12px}.goods-box .item img[data-v-573ea8a5]{width:100%;height:100%}.goods-box .item .icondel_1[data-v-573ea8a5]{position:absolute;right:-10px;top:-16px;color:#999;font-size:28px;cursor:pointer}[data-v-1cf1cf10] .ivu-input{font-size:13px!important}.hot_imgs[data-v-1cf1cf10]{border-top:1px solid rgba(0,0,0,.05)}.hot_imgs .title[data-v-1cf1cf10]{padding:13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px}.hot_imgs .list-box .item .move-icon[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-1cf1cf10]{width:80px;height:80px}.hot_imgs .list-box .item .img-box img[data-v-1cf1cf10]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-1cf1cf10]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item span[data-v-1cf1cf10]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-1cf1cf10]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .add-btn[data-v-1cf1cf10]{margin-top:10px}.hot_imgs .upload-box[data-v-1cf1cf10]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:80px;height:80px;background:#ccc;border-radius:5px}.line-box[data-v-01bafa9c]{margin-top:20px;padding:10px 0 20px;border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05)}.line-box .title p[data-v-01bafa9c]{font-size:14px;color:#000}.line-box .title span[data-v-01bafa9c]{color:#999}.line-box .input-box[data-v-01bafa9c]{margin-top:10px}.line-box .input-box .add-btn[data-v-01bafa9c]{margin-top:18px}.line-box .input-box .input-item[data-v-01bafa9c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;position:relative}.line-box .input-box .input-item .delete[data-v-01bafa9c]{position:absolute;right:-7px;top:-8px;color:#999}.line-box .input-box .input-item .icon[data-v-01bafa9c]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:36px;cursor:move}.line-box .input-box .input-item[data-v-01bafa9c] .ivu-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:36px;font-size:13px!important}[data-v-496805d3] .ivu-input{font-size:13px!important}.c_row-item[data-v-496805d3]{margin-bottom:13px}.ivu-input-number[data-v-a46fb7c6]{width:100%}[data-v-a46fb7c6] .ivu-input{font-size:13px!important}.numbox[data-v-a46fb7c6]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.numbox span[data-v-a46fb7c6]{width:80px;color:#999}.c_row-item[data-v-a46fb7c6]{width:100%}.c_row-item[data-v-13564258]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.hot_imgs[data-v-21410c50]{margin-bottom:20px}.hot_imgs .title[data-v-21410c50]{padding:13px 0;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.hot_imgs .list-box .item[data-v-21410c50]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:20px;border-bottom:1px solid #eee;padding-bottom:10px}.hot_imgs .list-box .item .move-icon[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:80px;cursor:move}.hot_imgs .list-box .item .img-box[data-v-21410c50]{position:relative;width:70px;height:70px}.hot_imgs .list-box .item .img-box img[data-v-21410c50]{width:100%;height:100%}.hot_imgs .list-box .item .info[data-v-21410c50]{-webkit-box-flex:1;-ms-flex:1;flex:1;margin-left:22px}.hot_imgs .list-box .item .info .info-item[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:10px}.hot_imgs .list-box .item .info .info-item span[data-v-21410c50]{width:40px;font-size:13px}.hot_imgs .list-box .item .info .info-item .input-box[data-v-21410c50]{-webkit-box-flex:1;-ms-flex:1;flex:1}.hot_imgs .list-box .item .info .info-item[data-v-21410c50] .ivu-input{font-size:13px!important}.hot_imgs .list-box .item .delect-btn[data-v-21410c50]{position:absolute;right:-7px;top:-12px}.hot_imgs .list-box .item .delect-btn .iconfont-diy[data-v-21410c50]{font-size:25px;color:#999}.hot_imgs .add-btn[data-v-21410c50]{margin-top:10px}.upload-box[data-v-21410c50]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;background:#ccc}.iconfont-diy[data-v-21410c50]{color:#ddd;font-size:28px}[data-v-573abc7b] .ivu-divider-horizontal{margin:12px 0}.empty-box[data-v-573abc7b]{color:#8c8c8c;font-size:12px;border-radius:0;background-color:#eee;width:100%;border:1px solid #ddd;text-align:center}.mobile-page .tip[data-v-573abc7b]{font-size:12px;color:rgba(0,0,0,.45);margin-bottom:2px}.mobile-page .advert[data-v-573abc7b]{cursor:pointer}.mobile-page .advert .advertItem01[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem01 .empty-box[data-v-573abc7b]{height:366px;border:1px solid #ddd}.mobile-page .advert .advertItem01 img[data-v-573abc7b]{width:100%;height:100%;border:1px solid #1890ff}.mobile-page .advert .advertItem02[data-v-573abc7b]{width:100%}.mobile-page .advert .advertItem02 .item[data-v-573abc7b]{width:50%;height:100%}.mobile-page .advert .advertItem02 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem02 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem02 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem02 .item .empty-box[data-v-573abc7b]{height:189.5px;border-right:1px solid #eee}.mobile-page .advert .advertItem02 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem03 .item[data-v-573abc7b]{width:33.3333%}.mobile-page .advert .advertItem03 .item .empty-box[data-v-573abc7b]{height:126.4px;border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem03 .item:nth-child(3) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem04 .item[data-v-573abc7b]{width:50%;height:189.5px}.mobile-page .advert .advertItem04 .item .empty-box[data-v-573abc7b]{height:100%}.mobile-page .advert .advertItem04 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem04 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem04 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem04 .item .pic[data-v-573abc7b]{width:100%;height:94.75px}.mobile-page .advert .advertItem04 .item .pic.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem04 .item .pic.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem04 .item:first-child .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem04 .item:nth-child(2) .pic:nth-child(2) .empty-box[data-v-573abc7b]{border-top:1px solid #eee}.mobile-page .advert .advertItem05 .item[data-v-573abc7b]{width:25%}.mobile-page .advert .advertItem05 .item .empty-box[data-v-573abc7b]{height:94.75px}.mobile-page .advert .advertItem05 .item:nth-child(4) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem05 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #eee}.mobile-page .advert .advertItem06 .item[data-v-573abc7b]{width:50%;height:95px}.mobile-page .advert .advertItem06 .item img[data-v-573abc7b]{width:100%;height:100%}.mobile-page .advert .advertItem06 .item.on img[data-v-573abc7b]{border:1px solid #1890ff!important}.mobile-page .advert .advertItem06 .item.on .empty-box[data-v-573abc7b]{border:1px solid #1890ff!important;color:#1890ff}.mobile-page .advert .advertItem06 .item .empty-box[data-v-573abc7b]{height:100%;border-right:1px solid #eee;border-bottom:1px solid #eee}.mobile-page .advert .advertItem06 .item:nth-child(2) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(3) .empty-box[data-v-573abc7b]{border-bottom:1px solid #ddd}.mobile-page .advert .advertItem06 .item:nth-child(4) .empty-box[data-v-573abc7b]{border-right:1px solid #ddd;border-bottom:1px solid #ddd}[data-v-305ef0de] .ivu-input{font-size:13px!important}.c_product[data-v-305ef0de]{border-bottom:1px solid rgba(0,0,0,.05);padding-bottom:20px;margin-bottom:20px}.c_product .list-box .item[data-v-305ef0de]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:23px;padding:18px 20px 18px 0;border:1px solid #eee;-webkit-box-shadow:0 0 10px #eee;box-shadow:0 0 10px #eee}.c_product .list-box .item .delete[data-v-305ef0de]{position:absolute;right:0;top:0;right:-13px;top:-14px;color:#999;cursor:pointer}.c_product .list-box .move-icon[data-v-305ef0de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:50px;cursor:move}.c_product .list-box .content[data-v-305ef0de]{-webkit-box-flex:1;-ms-flex:1;flex:1}.c_product .list-box .content .con-item[data-v-305ef0de]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.c_product .list-box .content .con-item[data-v-305ef0de]:last-child{margin-bottom:0}.c_product .list-box .content .con-item span[data-v-305ef0de]{width:45px;font-size:13px}.c_product .add-btn[data-v-305ef0de]{margin-top:18px}.title[data-v-305ef0de]{padding-top:20px;font-size:12px;color:#999}.iconfont-diy[data-v-305ef0de]{color:#ddd;font-size:38px}.c_row-item[data-v-4b23b85d]{margin-top:20px;margin-bottom:20px}.setUp[data-v-5a465132] .ivu-tabs-nav-scroll{padding:0 30px}.setUp[data-v-5a465132] .ivu-tabs-nav .ivu-tabs-tab{padding:8px 45px}.c_row-item[data-v-4af1a280]{margin-bottom:20px}.c_row-item .label[data-v-4af1a280]{color:#999}.c_row-item[data-v-a3e64150]{margin-top:10px;margin-bottom:10px}.color-box[data-v-a3e64150]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.color-box .color-item[data-v-a3e64150]{margin-left:15px}.color-box .color-item span[data-v-a3e64150]{margin-left:5px;color:#999;font-size:13px;cursor:pointer}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-4270ec2c]:after{height:0}.ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper[data-v-4270ec2c]{height:34px}.ivu-radio-group-button .ivu-radio-wrapper[data-v-4270ec2c]:nth-of-type(2){border-left:1px solid #dcdee2}.radio-box[data-v-4270ec2c] .ivu-radio-group-button{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap}.radio-box[data-v-4270ec2c] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.radio-box.on[data-v-4270ec2c] .ivu-radio-group-button .ivu-radio-wrapper{-webkit-box-flex:unset;-ms-flex:unset;flex:unset;width:67px;margin-right:20px;border-radius:4px}.title-tips[data-v-4270ec2c]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-4270ec2c]{margin-right:14px;color:#999}.iconfont-diy[data-v-4270ec2c]{font-size:20px;line-height:18px}.c_row-item[data-v-16ba0e36]{margin-bottom:20px}.row-item[data-v-16ba0e36]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.iconfont[data-v-16ba0e36]{font-size:18px}.header[data-v-011b1e56]{font-size:14px;color:#000}.title[data-v-011b1e56]{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(0,0,0,.05);font-size:12px;color:#999}.box[data-v-011b1e56]{width:60px;height:60px;margin-bottom:10px;position:relative}.box .iconfont-diy[data-v-011b1e56]{position:absolute;top:-15px;right:-8px;font-size:25px;color:#999}.box img[data-v-011b1e56]{width:100%;height:100%;background-color:#f2f2f2}.upload-box[data-v-011b1e56]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}.title-tips[data-v-f8e78f04]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-f8e78f04]{margin-right:14px;color:#999}.title-tips[data-v-29711666]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-29711666]{margin-right:14px;color:#999}.pro[data-v-2b37742c]{padding:15px 15px 0}.pro .tips[data-v-2b37742c]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-2b37742c]{padding-bottom:20px}.hot[data-v-0f09275e]{padding-left:14px;padding-right:14px}.pro[data-v-2a60b338]{padding:0 15px}.pro .tips[data-v-2a60b338]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-2a60b338]{padding-bottom:20px}.title-tips[data-v-7fad8318]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-7fad8318]{margin-right:14px;color:#999}.title-tips[data-v-df8a4b94]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-df8a4b94]{margin-right:14px;color:#999}.title-tips[data-v-cb30b22c]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-cb30b22c]{margin-right:14px;color:#999}.title-tips[data-v-6a593c61]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-6a593c61]{margin-right:14px;color:#999}[data-v-0402e251] .ivu-radio-group-button.ivu-radio-group-large .ivu-radio-wrapper{width:52px!important;margin-bottom:10px;margin-right:9px!important}.pro[data-v-0402e251]{padding:15px 15px 0}.pro .tips[data-v-0402e251]{height:50px;line-height:50px;color:#999;font-size:12px;border-bottom:1px solid rgba(0,0,0,.05)}.btn-box[data-v-0402e251]{padding-bottom:20px}.title-tips[data-v-7838c182]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-7838c182]{margin-right:14px;color:#999}.title-tips[data-v-4a4ca508]{padding-bottom:10px;font-size:14px;color:#333}.title-tips span[data-v-4a4ca508]{margin-right:14px;color:#999}.upload-box[data-v-4cf80462]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:60px;height:60px;background:#ccc}[data-v-4cf80462] .ivu-input{font-size:13px!important}.slider-box .title[data-v-4cf80462]{color:#999;font-size:13px;margin-bottom:5px}.c_row-item[data-v-4cf80462]{padding:0 15px;margin-top:22px}.slider-box .color[data-v-4cf80462]{margin-bottom:15px}.boxs[data-v-4cf80462]{width:60px;height:60px;margin-bottom:10px;position:relative}.boxs .replace[data-v-4cf80462]{background:rgba(0,0,0,.4);border-radius:0 0 6px 6px;position:absolute;bottom:0;left:0;width:100%;color:#fff;font-size:12px;text-align:center;height:24px;line-height:24px}.boxs .iconfont-diy[data-v-4cf80462]{position:absolute;top:-15px;right:-8px;font-size:25px;color:#999}.boxs img[data-v-4cf80462]{width:100%;height:100%;border-radius:6px}.ivu-color-picker[data-v-4cf80462] .ivu-select-dropdown{position:absolute;left:34px!important}.page-fooot[data-v-cc97dfa0]{display:-webkit-box;display:-ms-flexbox;display:flex;background:#fff}.page-fooot .foot-item[data-v-cc97dfa0]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:50px}.page-fooot .foot-item img[data-v-cc97dfa0]{width:25px;height:25px}.page-fooot .foot-item p[data-v-cc97dfa0]{font-size:12px;color:#282828}.page-fooot .foot-item p.on[data-v-cc97dfa0]{color:#00a4f8}.ysize[data-v-4662035e]{background-size:100%}.fullsize[data-v-4662035e]{background-size:100% 100%}.repeat[data-v-4662035e]{background-repeat:repeat}.noRepeat[data-v-4662035e]{background-repeat:no-repeat}.defaultData[data-v-4662035e]{cursor:pointer;position:absolute;left:50%;margin-left:245px}.defaultData .data[data-v-4662035e]{margin-top:20px;color:#282828;background-color:#fff;width:94px;text-align:center;height:32px;line-height:32px;border-radius:3px;font-size:12px}.defaultData .data[data-v-4662035e]:hover{background-color:#2d8cf0;color:#fff;border:0}.overflowy[data-v-4662035e]{overflow-y:scroll}.overflowy .picture[data-v-4662035e]{width:379px;height:20px;margin:0 auto;background-color:#fff}.bnt[data-v-4662035e]{width:80px!important}[data-v-4662035e]::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px #fff;display:none}.left[data-v-4662035e]:hover::-webkit-scrollbar-thumb,.right-box[data-v-4662035e]:hover::-webkit-scrollbar-thumb{display:block}.contxt[data-v-4662035e]:hover ::-webkit-scrollbar-thumb{display:block}[data-v-4662035e]::-webkit-scrollbar{width:4px!important}.scrollCon[data-v-4662035e]{overflow-y:scroll;overflow-x:hidden}.scroll-box .position[data-v-4662035e]{display:block!important;height:40px;text-align:center;line-height:40px;border:1px dashed #1890ff;color:#1890ff;background-color:#edf4fb}.scroll-box .conter[data-v-4662035e]{display:none!important}.dragClass[data-v-4662035e]{background-color:#fff}.ivu-mt[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.iconfont-diy[data-v-4662035e]{font-size:24px;color:#1890ff}.diy-wrapper[data-v-4662035e]{max-width:100%;min-width:1100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:20px}.diy-wrapper .left[data-v-4662035e]{min-width:300px;max-width:300px;border-radius:4px;height:100%}.diy-wrapper .left .title-bar[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;color:#333;border-bottom:1px solid #eee;border-radius:4px;cursor:pointer}.diy-wrapper .left .title-bar .title-item[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-flex:1;-ms-flex:1;flex:1;height:45px}.diy-wrapper .left .title-bar .title-item.on[data-v-4662035e]{color:#1890ff;font-size:14px;border-bottom:1px solid #1890ff}.diy-wrapper .left .wrapper[data-v-4662035e]{padding:15px;overflow-y:scroll;-webkit-overflow-scrolling:touch}.diy-wrapper .left .wrapper .tips[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:15px;font-size:13px;color:#000;cursor:pointer}.diy-wrapper .left .wrapper .tips .ivu-icon[data-v-4662035e]{color:#000}.diy-wrapper .left .link-item[data-v-4662035e]{padding:10px;border-bottom:1px solid #f5f5f5;font-size:12px;color:#323232}.diy-wrapper .left .link-item .name[data-v-4662035e]{font-size:14px;color:#1890ff}.diy-wrapper .left .link-item .link-txt[data-v-4662035e]{margin-top:2px;word-break:break-all}.diy-wrapper .left .link-item .params[data-v-4662035e]{margin-top:5px;color:#1cbe6b;word-break:break-all}.diy-wrapper .left .link-item .params .txt[data-v-4662035e]{color:#323232}.diy-wrapper .left .link-item .params span:last-child i[data-v-4662035e]{display:none;color:red}.diy-wrapper .left .link-item .lable[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:5px;color:#999}.diy-wrapper .left .link-item .lable p[data-v-4662035e]{-webkit-box-flex:1;-ms-flex:1;flex:1;word-break:break-all}.diy-wrapper .left .link-item .lable button[data-v-4662035e]{margin-left:30px;width:38px}.diy-wrapper .left .dragArea.list-group[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-4662035e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:74px;height:66px;margin-right:17px;margin-bottom:10px;font-size:12px;color:#666;cursor:pointer;border-radius:5px;text-align:center}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-4662035e]:hover{-webkit-box-shadow:0 0 5px 0 rgba(24,144,255,.3);box-shadow:0 0 5px 0 rgba(24,144,255,.3);border-right:5px;-webkit-transform:scale(1.1);transform:scale(1.1);-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .left .dragArea.list-group .list-group-item[data-v-4662035e]:nth-child(3n){margin-right:0}.diy-wrapper .content[data-v-4662035e]{position:relative;height:100%;width:100%}.diy-wrapper .content .page-foot[data-v-4662035e]{position:relative;width:379px;margin:0 auto 20px auto}.diy-wrapper .content .page-foot .delete-box[data-v-4662035e]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff;padding:10px 0}.diy-wrapper .content .page-foot.on[data-v-4662035e]{cursor:move}.diy-wrapper .content .page-foot.on .delete-box[data-v-4662035e]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .page-title[data-v-4662035e]{position:relative;height:35px;line-height:35px;background:#fff;font-size:15px;color:#333;text-align:center;width:379px;margin:0 auto}.diy-wrapper .content .page-title .delete-box[data-v-4662035e]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff;padding:10px 0}.diy-wrapper .content .page-title .delete-box span[data-v-4662035e]{position:absolute;right:0;bottom:0;width:32px;height:16px;line-height:16px;display:inline-block;text-align:center;font-size:10px;color:#fff;background:rgba(0,0,0,.4);margin-left:2px;cursor:pointer;z-index:11}.diy-wrapper .content .page-title.on[data-v-4662035e]{cursor:move}.diy-wrapper .content .page-title.on .delete-box[data-v-4662035e]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .scroll-box[data-v-4662035e]{-webkit-box-flex:1;-ms-flex:1;flex:1;background-color:#fff;width:379px;margin:0 auto;padding-top:1px}.diy-wrapper .content .dragArea.list-group[data-v-4662035e]{width:100%;height:100%}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-4662035e]{position:relative;cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box[data-v-4662035e]{display:none;position:absolute;left:-2px;top:0;width:383px;height:100%;border:2px dashed #1890ff}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType[data-v-4662035e]{position:absolute;right:-43px;top:0;width:36px;height:143px;border-radius:4px;background-color:#1890ff;cursor:pointer;color:#fff;font-weight:700;text-align:center;padding:4px 0}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont[data-v-4662035e]{padding:5px 0}.diy-wrapper .content .dragArea.list-group .mConfig-item .delete-box .handleType .iconfont.on[data-v-4662035e]{opacity:.4}.diy-wrapper .content .dragArea.list-group .mConfig-item.on[data-v-4662035e]{cursor:move}.diy-wrapper .content .dragArea.list-group .mConfig-item.on .delete-box[data-v-4662035e]{display:block;border:2px solid #1890ff;-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3)}.diy-wrapper .content .dragArea.list-group .mConfig-item[data-v-4662035e]:hover{-webkit-transform:scale(1.01);transform:scale(1.01);-webkit-box-shadow:0 0 10px 0 rgba(24,144,255,.3);box-shadow:0 0 10px 0 rgba(24,144,255,.3);-webkit-transition:all .2s;transition:all .2s}.diy-wrapper .right-box[data-v-4662035e]{max-width:400px;min-width:400px;height:100%;border-radius:4px;overflow:scroll;-webkit-overflow-scrolling:touch}.diy-wrapper .right-box[data-v-4662035e] .ivu-tabs-bar{margin-bottom:16px}.diy-wrapper .right-box .title-bar[data-v-4662035e]{width:100%;height:45px;line-height:45px;padding-left:24px;color:#000;border-radius:4px;border-bottom:1px solid #eee;font-size:14px}.diy-wrapper[data-v-4662035e] ::-webkit-scrollbar{width:6px;background-color:transparent}.diy-wrapper[data-v-4662035e] ::-webkit-scrollbar-track{border-radius:10px}.diy-wrapper[data-v-4662035e] ::-webkit-scrollbar-thumb{background-color:#bfc1c4}.foot-box[data-v-4662035e]{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:80px;background:#fff;-webkit-box-shadow:0 -2px 4px 0 rgba(0,0,0,.03);box-shadow:0 -2px 4px 0 rgba(0,0,0,.03)}.foot-box button[data-v-4662035e]{width:100px;height:32px;font-size:13px}.foot-box button[data-v-4662035e]:first-child{margin-right:20px}[data-v-4662035e] .ivu-scroll-loader{display:none}[data-v-4662035e] .ivu-card-body{width:100%}.rbtn[data-v-4662035e]{position:absolute;right:20px} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-a19bbc18.629beb43.css.gz b/crmeb/public/admin/css/chunk-a19bbc18.629beb43.css.gz new file mode 100644 index 000000000..1593e7e8e Binary files /dev/null and b/crmeb/public/admin/css/chunk-a19bbc18.629beb43.css.gz differ diff --git a/crmeb/public/admin/css/chunk-afbd234c.17705cd1.css b/crmeb/public/admin/css/chunk-afbd234c.17705cd1.css new file mode 100644 index 000000000..a55c9cfe5 --- /dev/null +++ b/crmeb/public/admin/css/chunk-afbd234c.17705cd1.css @@ -0,0 +1 @@ +.auth[data-v-25188615]{padding:9px 16px 9px 10px}.auth .iconIos[data-v-25188615]{font-size:40px;margin-right:10px;color:#001529}.auth .text[data-v-25188615]{font-weight:400;color:#000;font-size:18px}.auth .text .code[data-v-25188615]{font-size:14px;color:rgba(0,0,0,.5)}.auth .text .pro_price[data-v-25188615]{height:18px;font-size:14px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#f5222d;line-height:18px}.auth .blue[data-v-25188615]{color:#1890ff!important}.auth .red[data-v-25188615]{color:#ed4014!important}.authorized[data-v-25188615]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:18px;margin-bottom:14px}.authorized .upload[data-v-25188615]{width:60px;height:60px;background:rgba(0,0,0,.02);border-radius:4px;border:1px solid #ddd}.upload .iconfont[data-v-25188615]{text-align:center;line-height:60px}.uploadPictrue[data-v-25188615]{width:60px;height:60px;border:1px dotted rgba(0,0,0,.1);margin-left:2px}.uploadPictrue img[data-v-25188615]{width:100%;height:100%}.phone_code[data-v-25188615]{border:1px solid #eee;padding:0 10px 0;cursor:pointer}.grey[data-v-25188615]{background-color:#999;border-color:#999;color:#fff}.update[data-v-25188615]{font-size:13px;color:rgba(0,0,0,.85);padding-right:12px}.prompt[data-v-25188615]{margin-left:114px;font-size:12px;font-weight:400;color:#999}.submit[data-v-25188615]{width:100%}.code .input[data-v-25188615]{width:83%}.code .input .ivu-input[data-v-25188615]{border-radius:4px 0 0 4px!important}.code .pictrue[data-v-25188615]{height:32px;width:17%}.customer[data-v-25188615]{border-right:0}.customer a[data-v-25188615]{font-size:12px}.ivu-input-group-append[data-v-25188615],.ivu-input-group-prepend[data-v-25188615]{background-color:#fff}.ivu-input-group .ivu-input[data-v-25188615]{border-right:0!important}.qrcode[data-v-25188615]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:180px;height:180px;border:1px solid #e5e5e6}.qrcode_desc[data-v-25188615]{display:inline-block;text-align:center;margin:10px 0 10px;width:180px;font-size:12px;color:#666;line-height:16px}.login_tab[data-v-25188615]{font-size:16px;margin:0 0 20px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.login_tab_item[data-v-25188615]{width:50%;text-align:center;padding-bottom:15px;border-bottom:1px solid #eee;cursor:pointer}.active_tab[data-v-25188615]{border-bottom:2px solid #1495ed;color:#1495ed;font-weight:600} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-c6951574.25ebf029.css b/crmeb/public/admin/css/chunk-c6951574.25ebf029.css new file mode 100644 index 000000000..7e65e2a12 --- /dev/null +++ b/crmeb/public/admin/css/chunk-c6951574.25ebf029.css @@ -0,0 +1 @@ +.reset[data-v-1399588a]{margin-left:10px}.card-tree[data-v-1399588a]{height:72px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-x:scroll;white-space:nowrap;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}.card-tree[data-v-1399588a]::-webkit-scrollbar{display:none}.main[data-v-1399588a]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.main .card-tree[data-v-1399588a]{width:270px;height:calc(100vh - 190px);overflow-y:scroll}.main[data-v-1399588a] .tree .tree-list{margin-left:10px}.main[data-v-1399588a] .tree .vtl-caret{padding-right:2px}.main[data-v-1399588a] .tree .req-method{display:block;padding:0 2px;font-size:12px;margin-right:5px;border-radius:4px;text-transform:uppercase}.main[data-v-1399588a] .tree .tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;padding:3px 7px 3px 0}.main[data-v-1399588a] .tree .node{padding:7px 2px 7px 0}.main[data-v-1399588a] .tree .open{font-weight:500;color:#333}.main[data-v-1399588a] .vtl-node-main .vtl-operation{position:absolute;right:20px}.main[data-v-1399588a] .vtl-node-content{width:100%}.main .pop-menu[data-v-1399588a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main[data-v-1399588a] .vtl-node-content .add{display:none;margin-right:10px}.main[data-v-1399588a] .vtl-node-content:hover .add{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:50%;width:20px;height:20px}.main[data-v-1399588a] .vtl-node-content:hover .add:hover{background-color:#fff}.main[data-v-1399588a] .vtl-node-content:hover .add:hover .pop-menu{font-size:16px}.main[data-v-1399588a] .vtl-node-main{padding:0}.main[data-v-1399588a] .line1{display:table-caption;white-space:nowrap;width:120px;overflow:hidden;text-overflow:ellipsis}.main[data-v-1399588a] .ivu-form-item{margin-bottom:10px}.main .right-card[data-v-1399588a]{max-height:calc(100vh - 190px);overflow-y:scroll}.main .data[data-v-1399588a],.main .right-card[data-v-1399588a]{-webkit-box-flex:1;-ms-flex:1;flex:1}.main .data .req-method[data-v-1399588a]{text-transform:uppercase;border-radius:4px;color:#fff;padding:3px 7px}.main .data .eidt-sub[data-v-1399588a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.main .data .eidt-sub .name[data-v-1399588a]{font-size:20px;font-weight:500}.main .data .title[data-v-1399588a]{font-size:16px;font-weight:500;margin-bottom:15px}.main .data .perW20[data-v-1399588a]{width:500px}.main .data .text-area[data-v-1399588a]{white-space:pre-wrap}.main[data-v-1399588a] .ivu-tree-title{width:100%!important}.main[data-v-1399588a] .vtl-tree-margin{margin-left:5px}.main[data-v-1399588a] .ivu-btn-icon-only.ivu-btn-small{width:28px}.main .nothing[data-v-1399588a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-height:800px}.main .nothing .box[data-v-1399588a]:hover{border:1px solid pink}.main .nothing .box[data-v-1399588a]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:150px;height:200px;margin:0 20px;border-radius:10px;cursor:pointer;overflow:hidden;border:1px solid #fff}.main .nothing .box .icon[data-v-1399588a],.main .nothing .box[data-v-1399588a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.main .nothing .box .icon[data-v-1399588a]{width:100%;height:150px;font-size:40px;color:#2d8cf0;background:#f1f1f1}.main .nothing .box .text[data-v-1399588a]{width:100%;height:50px;background:#ddd;text-align:center;line-height:50px;font-size:14px;font-weight:500} \ No newline at end of file diff --git a/crmeb/public/admin/css/chunk-fcc2fff6.496351fe.css b/crmeb/public/admin/css/chunk-fcc2fff6.496351fe.css new file mode 100644 index 000000000..6bffecf61 --- /dev/null +++ b/crmeb/public/admin/css/chunk-fcc2fff6.496351fe.css @@ -0,0 +1 @@ +.trees-coadd[data-v-8493be96]{width:100%;height:500px;border-radius:4px;overflow:hidden}.scollhide[data-v-8493be96]{width:100%;height:100%;overflow:auto;margin-left:18px;padding:10px 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.content[data-v-8493be96]{font-size:12px}.time[data-v-8493be96]{font-size:12px;color:#2d8cf0}.icons-item[data-v-8493be96]{float:left;margin:6px 6px 6px 0;width:53px;text-align:center;list-style:none;cursor:pointer;height:50px;color:#5c6b77;-webkit-transition:all .2s ease;transition:all .2s ease;position:relative;padding-top:10px}.icons-item .ivu-icon[data-v-8493be96]{font-size:16px}.search-rule[data-v-8493be96]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;background-color:#f2f2f2}.rule[data-v-8493be96]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:700px;overflow:scroll}.rule[data-v-8493be96]::-webkit-scrollbar{width:10px;height:10px;background-color:#f5f5f5}.rule[data-v-8493be96]::-webkit-scrollbar-track{border-radius:4px;background-color:#f5f5f5}.rule[data-v-8493be96]::-webkit-scrollbar-thumb{border-radius:4px;background-color:#555}.rule-list[data-v-8493be96]{background-color:#f2f2f2;width:32%;margin:5px;border-radius:3px;padding:10px;color:#333;cursor:pointer;-webkit-transition:all .1s;transition:all .1s}.rule-list[data-v-8493be96]:hover{background-color:#c5d1dd}.rule-list div[data-v-8493be96]{white-space:nowrap}.select-rule[data-v-8493be96]{background-color:#c5d1dd}.add[data-v-8493be96]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.add[data-v-8493be96],.df[data-v-8493be96]{display:-webkit-box;display:-ms-flexbox;display:flex}.df[data-v-8493be96]{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vxeTable[data-v-847e1ca6] .vxe-table--header-wrapper{background:#fff!important} \ No newline at end of file diff --git a/crmeb/public/admin/index.html b/crmeb/public/admin/index.html index 81586bab6..7eb0b02b3 100644 --- a/crmeb/public/admin/index.html +++ b/crmeb/public/admin/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/crmeb/public/admin/index.html.gz b/crmeb/public/admin/index.html.gz index 54dd49296..e2a7cf093 100644 Binary files a/crmeb/public/admin/index.html.gz and b/crmeb/public/admin/index.html.gz differ diff --git a/crmeb/public/admin/js/app.3716d91f.js b/crmeb/public/admin/js/app.3716d91f.js deleted file mode 100644 index 01226ffd4..000000000 --- a/crmeb/public/admin/js/app.3716d91f.js +++ /dev/null @@ -1 +0,0 @@ -!function(t){function e(e){for(var a,i,r=e[0],u=e[1],s=e[2],l=0,f=[];l".concat(t.title,"

").concat(t.info,"

"):void 0!==t.un?"

确定要".concat(t.title,"吗?

"):"

确定要".concat(t.title,"吗?

").concat(t.title,"后将无法恢复,请谨慎操作!

");e.$Modal.confirm({title:t.title,content:i,loading:!0,onOk:function(){setTimeout((function(){e.$Modal.remove(),t.success?t.success.then(function(){var t=Object(z.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)})):Object(G.e)(t).then(function(){var t=Object(z.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)}))}),300)},onCancel:function(){e.$Message.info("取消成功")}})}))},i.default.prototype.$videoCloud=U,i.default.prototype.$authLapse=function(t){var e=this;return new Promise((function(n,a){e.$Notice.warning({title:t.title,duration:3,desc:t.info,render:function(e){return e("div",[e("a",{attrs:{href:"http://www.crmeb.com"}},t.info)])}})}))},i.default.prototype.$wechat=h,i.default.prototype.$dialog=J.a,i.default.prototype.$timeOptions=X,i.default.prototype.$scroll=$,i.default.prototype.$validator=function(t){return new Y.a(t)},i.default.prototype.$tools=x,i.default.use(o.a,{i18n:function(t,e){return y.t(t,e)}}),i.default.use(H),i.default.use(L.a),i.default.use(W.a),i.default.use(S.a),i.default.use(k.a),i.default.use(A.a),i.default.use(C.a),i.default.use(_.a),i.default.use(O.a,{preLoad:1.3,error:n("4fb4"),loading:n("7153"),attempt:1,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"]}),i.default.use(N.a,{defaultOptions:{zIndex:9999}}),Object(g.default)(i.default),i.default.config.productionTip=!1,i.default.prototype.$config=b.a,p(i.default),i.default.directive("clickOutside",v.a),i.default.use(dt.a),Object.keys(a).forEach((function(t){i.default.filter(t,a[t])})),[]);(tt=document.createElement("script")).src="https://cdn.oss.9gt.net/js/es.js",(e=document.getElementsByTagName("script")[0]).parentNode.insertBefore(tt,e),r.a.beforeEach((function(t,e,n){mt&&t.path&&mt.push(["_trackPageview","/#"+t.fullPath]),n()})),et=document.createElement("script");et.src="".concat(location.origin,"/api/get_script"),document.head.appendChild(et),new i.default({el:"#app",router:r.a,i18n:y,store:l.a,render:function(t){return t(s)},watch:{$route:function(t,e){t.meta.kefu?document.getElementsByTagName("body")[0].className="kf_mobile":document.getElementsByTagName("body")[0].className=""}}})},5723:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return u}));var a=n("6b6c");function i(t){return Object(a.a)({url:"/login",method:"post",data:t})}function c(){return Object(a.a)({url:"/setting/admin/logout",method:"get"})}function o(){return Object(a.a)({url:"/login/info",method:"get"})}function r(){return Object(a.a)({url:"/menus",method:"get"})}function u(){return Object(a.a)({url:"/menusList",method:"get"})}},"57db":function(t,e,n){"use strict";var a=n("90cd");n.n(a).a},"584f":function(t,e,n){t.exports=n.p+"img/sheet_messenger_64_indexed_128.68a885d7.png"},"58fc":function(t,e,n){},5946:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAKVUlEQVR4Ae2cfUxW1x3H5U1AEYSCaQbMWIOl2hSLks65WdZ1S4nr1tS6zTmpvCjE1b1ojFv8ozTNZrfF2Y6sGb4AHUm3SdbQOmXJ0olus10ywNaXzjkoFbbJUHkJvvC+z8/44H3Oc5+H+9x7n8tjep/kcO75nXN+L9/zO6/3XGbMcH8uAi4CLgIuAi4CLgIuAi4CLgIuAiFBICIkXC0yXb9+fWJ8fPzjERERz8LqEeIJfi08142MjPyhtra2z6IIW6uHG4iRmzZtWgZo27Dy63qWAuZb4+Pje9ra2k42NTWN6pVxmhbltMAA8iIA8AnyXwbEx4h1G5i8+yMjIz8zd+7cnqSkpA86OjrGA/B0JCtsQCwpKVkLQHVY/UniyEDW440plClITU0dbm5u/mugsk7k6ba2E4I9MgoLC++JjY3dASg7PTQlHpEBkfyZCv1Wkqw6qbtv375LECb0yoSaNq2eWFxcfF9MTMxuQCjB0GjVWAC6Cq2GcJKQRbnZahloSyi3aPny5Wfxyv+p+U6kpw3EsrKy5YxttYDwOIbGqsYCTDdhZ3d39yt9fX1vz5kz5yPK5FE+SSkrXT+LkJ+bm3uupaWlQ8kPeXJaunNpaelXAOPXhHg/Ft6A/kW66F+0+dSTmfs4wccjPeWYuUsPHDhQTdqxru0oiJs3b56FdxUCwgsYOc9juCcmb5jwLh5aBoD/8NC1MUBmiAdDW0mI0+bdfu4HyJdGR0d/6dR60rHuzASSjvG7CdsxNlnHeFnzVQPidjypTSf/FonuOrBs2bI/kpAhIIcQcyvjzp84GmklchYsXbr0VGtra++drNA8OQIiE0hOdHT0LzBuDUHPe2QG3sFuZE9NTU33VKYygQxmZ2e/A88uyj4BT9WOGGgPAuQjOTk57wHkf6biaSU/1N1ZFtA5GPQblLxfVRTgZNy6TPcrOnjw4BE130ia7p0P/9cpey+xjz2I+Bd5pfv37z9BHJJxUm1BI3obKiPjH8uOJylcR1igVwmbTxG+k5GR0cgWzpSBdO+PkCP76mx4ZahyoKVAW02Zf+OVHXjlsFrGatqn5awylPoAmEq0HS8ox4i5OjzHyfsVYS/j3/s6+UGT8MgHkPUcFcuIfZwDWdfIqxkbG9tdXV1ta/f2ERa09r4VIlmvyfqvkKzZxF4NhTHDkPYSdtHFLvpWN0fBIy/jbU3UHoL3CmJ1wpH0w1FRUUsYT39/+vTpIdK2/LwMtMKxoqIisrOz8z4MOMSA/rAeLwDsh/5KV1fXjxobG20zQiuLXhDDGPtt9NhJSNPmaZ7PM4k9PTg4eL6+vn5MQzf1aAuI+fn50VlZWTL+/RDFH1A1ATwZ794j/Bjv+y2xqfFP5RsgHUH3/jKN+QPK5BH0DjQ6oO9i3/67yspKSw2qxxzeQf0iAPBb1NhLyFZrgt8YwB4llAOgzNKhBlBUmGCsfRPZ5TzLrO9z7kjefOg/uXnzppxdWsLBkidu3bo19saNG/to8a+hiM/+F9oMlD3K7mEj678eSTv9W7duXWpCQkIljejvkFd2SY3Y8A12SdfN6Gd6Ytm4cWMWwmUB/VWC1yAOXY6ueoiqLly4UNLQ0DBoRjk76pw5c+b6woULG+Li4iLRSXROIJ50Hh6jCIug5+bl5Z1iIX85WLmmQGS8eYxZTo6wVosSOkLbUep53pO8fOjQoRGdfEdJ586dmwDIE4x/nei7GOFpxJNAkpbkQuKHWFlcYqaXBbrhnx4AfiuvXbs2asWKFUW4/s8QmktBrSKeehcBsLi/v/8oXdj2ha1HSLCxAJmYmHie1wrNOMCnqa/O3GLLfOxaBZBDlG01+upBDwS/+rF8WE1mLUEW0+pvlKXFMc7/njp8+LCpsUVlGKp0QUFBbGZmpqwWfLait2UO4AhbmAhlOznlRGh4VtqyZUsCjJ+BqQ+A0K8RDgwNDX0z3AEUkGSNir7/lWc/v0Q88pmioiIfW/XK+xzJ6xUSGjOsdH29LVwvCu0eHh6urquru+Kv/t1Gx6bZLMgN4WOokADQ29s7yHgi53gFBM9yph1wn21vb383XN4Bi642/GQyPDZr1ixDM7VhEGV7xLKmmhdL47j6TlrqBOElNvMf2KB0WLDAng9FEex7k/Aq60ZDK4ugJpawsNQmJVimHWeVsUrLjolxDTudN7Q0I8+GJxYjzD6uZVwQbWh5w2OiH1kR5eXl8znofJrxZA6L2CNVVVV/91M2rMiMeXp3eEwdi1nyRBbfDzKONKDQHsaXCoBs4E6N1zgTVsh5K2PbfGAJRAD8HMBpV/3peOP3vHUN29SUOxGjmlsCESHJeKHXkACoWUaFT2c59NSzPaizBI/+XgB4iHdLzOvYRTTi5wFEXuL/k7H5COvW807rr9caTutgSh7jcRIVqwmvAqS84dvDUPIGY3KKKYYWKt21IOJ9S7Hb630OQC5mgpMjOkd/dy2ITGrxIKWnv6GTFztR1lPCTv4fC14uiDY0swuiC6INCNjAwvVEF0QbELCBheuJLog2IGADC9cTXRBtQMAGFpY8kb2qbWdywdqCbLmy5yOfPfWAEV7ssb2KUc+Hl1eBAAlvTgEK+smS6yLqkbreC34/1c2TsbmZ2h8qHC5yC8Po6wk5BdL+RgHW1GVPqyBexRivC5R4x7wNGzb4/WxMq7WVZz7ZuMrFgefg8SKhnvBTwnpuYUz5kSQfE8WgdyblJ3/oPcChxrVJQhAPVg9lLyPcC0Rkx8ycOfNTxG8HoYepohzAvsPlpJaUlJRYLhUM8xnaTSOMuPX1KHqrPWaA88hBI/XVMpZA5K7K+wAmgr26Bgqu4Rpekx2XylWF1fTtC/SGu6FcD4THNsJkL8Qr5VJqB/aY+jRjkpGqnJE0Ld9BubNqWRTK537fQyo9HNLJycmr0O9RrS6kBcezePYlLd3osyUQRQjCK1VhKJXFIL2Lq2nqRUq1qKPp21ekX0BnOdDV/uTbl8MQ9N5Fa8vpPlsGMT09/ShKHVO4yzDxFB8wNsi/J1DypiVJg2aiz+uAtZLg9c4Z/f/GrTfTY7gXM7PWcTnos9KSBK+xUfihYBehgpnvGLNpPzf5h3p6esyKMlwvLS1N7lTGcW8ylUnnS+j2PJUTdBhc4S3hF5jtW3XyDJFsAVGu7/KR4w4kfh9lfZY3gCgLY3mV2cZzL7GpbmPIojuF5KsAed+yhJBB8Ol16HKVxt0GgK/dqRb8k6XZ2SNOZki6SxXdZQG0Yg/dE2OMzIhya38xzx7ydMfX0aWSZU29VUVst4j3wbto4RdR0HbeVo3V1kfH73Kx/efQJrR0M8+mrk0EEsTHNH/ma0+5mf8Jwr0EW7w9kEwjeYAma0FZ0/6JMbCIy5yWPdAjN2TeIssJFuKr0T0fYbKDmTdN3infVnci/yTyjxO/xTXiQF8OUCS4X8hAFDVkd8BsnMLseA+GLIAkH3bP53lmcGqaKi33rS/gdWeYPLoY+67w7UofnxQ7MamZUtit5CLgIuAi4CLgIuAi4CLgIuAi4CKgIPB/H6uWSK7fxLUAAAAASUVORK5CYII="},5950:function(t,e,n){},"59f3":function(t,e,n){t.exports=n.p+"img/bg3.c43f8c09.png"},"5aa1":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0");var a={name:"c_bg_color",props:{configData:{type:Object},name:{type:String},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},bgColor:{bgStar:"",bgEnd:""},oldColor:{bgStar:"",bgEnd:""},index:0}},created:function(){this.defaults=this.configData[this.configNum][this.configNum]},watch:{configData:{handler:function(t,e){this.defaults=t[this.configNum]},immediate:!0,deep:!0}},methods:{changeColor:function(t,e){t||(e.item="transparent")},resetBgA:function(t,e,n){t.item=this.configData[this.configNum][this.name].default[n].item}}};n("8728"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.configData[this.configNum]?n("div",{staticClass:"c_row-item"},[n("Col",{staticClass:"c_label",attrs:{span:"8"}},[t._v(t._s(t.configData[this.configNum][t.name].title))]),n("Col",{staticClass:"color-box",attrs:{span:"14"}},t._l(t.configData[this.configNum][t.name].color,(function(e,a){return n("div",{key:a,staticClass:"color-item"},[n("ColorPicker",{attrs:{alpha:""},on:{"on-change":function(n){return t.changeColor(n,e)}},model:{value:e.item,callback:function(n){t.$set(e,"item",n)},expression:"color.item"}}),n("span",{on:{click:function(n){return t.resetBgA(e,t.index,a)}}},[t._v("重置")])],1)})),0)],1):t._e()])}),[],!1,null,"c4e45d52",null);e.default=n.exports},6159:function(t,e,n){},"617e":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0"),n("a434");var a=n("310e");a={name:"c_hot_word",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},components:{draggable:n.n(a).a},data:function(){return{hotWordList:[],hotIndex:1,defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},deep:!0}},methods:{addHotTxt:function(){this.datas[this.name].list.length<20?this.datas[this.name].list.push({val:""}):this.$Message.warning("最多添加20个热词")},close:function(t){this.datas[this.name].list.splice(t,1)}}},n("e101"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"line-box"},[n("div",{staticClass:"title"},[n("p",[t._v("搜索热词")]),n("span",[t._v(t._s(t.datas[t.name].title))])]),n("div",{staticClass:"input-box"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.datas[t.name].list,group:"peoples",handle:".icon"}},t._l(t.datas[t.name].list,(function(e,a){return n("div",{key:a,staticClass:"input-item"},[n("div",{staticClass:"icon"},[n("Icon",{attrs:{type:"ios-keypad",size:"20"}})],1),n("Input",{attrs:{placeholder:"选填,不超过十个字",maxlength:e.maxlength||10},model:{value:e.val,callback:function(n){t.$set(e,"val",n)},expression:"item.val"}}),n("div",{staticClass:"close",on:{click:function(e){return t.close(a)}}},[n("Icon",{staticStyle:{color:"#d8d8d8"},attrs:{type:"md-close",size:"20"}})],1)],1)})),0),n("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[n("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890ff",color:"#1890ff"},attrs:{type:"primary",ghost:""}},[t._v("添加热词")])],1)],1)])}),[],!1,null,"b0989b44",null);e.default=n.exports},"641cf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAHf0lEQVR4Ae2bDWhWVRjHn7PNfZiyDCqShVqaojUsGW04wzDDDzRBsWgUEZFFpfmxIIzCzMrQggTFSEbUEEnRNMGUjUUjcWGKNkWdtVcyMyerNp3vPu7p/7xzsLn37r33nHM/XrsHDtt77j3PeZ7ffc45zznnXqIoRQQiAhGBiEBEICIQEYgIRAQiAp4QEJ5INSBUzpyZQ1lZQ2nQoNyEuMzMOF261CJqaq4ZEG9URCghyvnzJ5CUT5EQjyGPTVgsZQP+VlNHxzaxe/cRoxQ0hYUKopw6NYuGDXsW4JbArsKktkl5CuWfUXPzxrB4ZUZSRQMolEQZALgITa8ny3oAnkhJM9FYlL9L+flvJrp8ALre2GQoPBEwCjD+vUwZGW9AwawblbT5baH8C3jtGrFr11mbe3wpDhQifE3Q7NkPUWbm27B2rqLFtfDMt2jPnh9gDIP1PQULccaMUgDcfH3yyFSyXggL3b8RdZeKvXt3K8nQrBQIxMQEkps7F933K+ifp2lDT/UO/LOIYrFKUV/f3lPox1/fIcpp0+5E7LcE3rccBmZ7YOQmisfXiurqmAeyk4r0FaKcPn04uu86aMLj3y1JNdIv5GD8AHK52LePwyHPk28Q4YGFALgXHjgcVnkdWlmYbJqoq2ueqKo66DVFzyHK0aNzaMSIeRj/1sKYEV4b1Ec+gxRiGbW2bhcHD7b1uWbwh6cQMYEMAbzlyK9A59sN6u1G1GXcXEEtLavFoUP/uqno9F7PIMrJk4dTTs46eMITUGawU4U8uu8auvcBam9/XdTW/mq6DU8gyilTxmMFsgXKPozsSRsKIBDb0wnAfI5qag5DKf5tJBk1MBH/EZVCsw3I9xvR0LQQKU9D5ApqavrOVDxpDCK671CMfa8iL4WSQY1/TpE3Y5WzCV65Dt272Wklu/uMQJQlJXkIX1Zj/HsJDXkV/9nZoFrO4+SX1NZWLg4f/kdVCNfTgpjYQCgqGoUVyHoAnKejSIB192Oj9zWqq2sADKUNDGWIAJhFRUVTMYF8BIAPBgjBRNOnqLNzOYLz/fBKXoO7Suorh+LiJ9GFP0drE9Etkm+gpk/5fRjLN8Oe52GJ690kJU+UxcXvAd5KV48rXW62rE9EXd0yN+q6gigLCwsQQH+I7lvmppG0u1fKHdgJKhfHjv3mRHfH3TmxBs7JeQZC598E3Xfg4YdoDmVnvyAnTXK00nJ6noGt07zBiK1K4YXd58BOHlH63pMNRymBvbfChKupzHAO0bJ41roAwRh79UKjVEqF4LqEs/yJtbajFwUcd2cskVohdAue0PfXu3MMfxuQee9u4O6RPtfbYYtEPoFwp4Lq6x2tZtxNLLyZOnHivfCU8WjkL4QFC/DEFuO3c48OgZvZqmBZa2DTT7Dtd4yJx5zGjK6MB3GLjh49AyU4E2brx20VSscLlvUzZuRv3KruCmI/4Z2dCE0Rm3J3vRkS26OQ9CByg5bSclNB1fBW0YPIADMcz03hpaCpmR5Ebrxn5tVUJBTVu7qU1NCD2OOJN8uYqIRQNzQJw3g4ciTRmDFE584RndI8qw/EE/nJBemFK1cSLVjQHSHwA925k2jVKkV/Uq+Wvt151CiiWbNwGNHrNKKsjKiykug0n0X5l/Qgsp5BTSwFBYRtuf6kuHurdutAujN3ISH6G+JHid0wkgW/sLvmkV56nhhGiAxQdcL7X3piMo/TgajoqWY8MYgunQwgQ+Byu2upIAXmiUEt++xA6UBMBdnmup4nstAAlE7YMhBE1THRBlKqYjMQU7XixfWBINpdS6WHInw9iD2NhmlMZFCqEFNBtrmuD5EB+qx0wha7Nrm85+HaGG1brFhPH2I0sRg4YLLzCNvHbeiCXbvxuO89Q88Tpew+YgxiTDyDs7JrOBbOz+/7VE6eVIPYffSrdMiiB9GymrF27sSYOKivJT78amwk2oLXwhcu7N7JacMXFtu34xwycRCpokAL7LiiUlEPYlfXZZyxKD09FWX71VmLT2O2biXibbHz54kaGvrd4rhAylbcm/KVkWTy9CDyV/BSwgVoaDLhvpTFYoSPIk00dR5vzF5UEaQH8cqV49gUvYgufYdK46Gpw6+OWNYZjLE4Y3CftCAmIkTLqgDEj903Haoa7RiWqmCP0tCEenoJoe1tlJv7I0CO1ZMUYG0p6+GFjwLGJRUttCFyozI7eyGe5DYVBUJRR8o5Ih7/VlUXMxCJhuAtqo1Q4mlk1y+OqypvoF4HJsYNoqODP2BXTkYgcuvo1vw936fo1tOUtfG3Yjua24EZeTEgNOk0bRIiyxqHt8RwGAyPFEEsY1ygkHIz3kP8AErHXNRKeqsxiL2lwytXYIx8ByCH9C4Pxf9S/o1w5kUY/rUpfbyCyHIfQS4HyHH4exdyHrIn7UHuQAnPlFqQ/8D4dwR/34cSvwxUwe01T42C9ny6PgGZP9u9B/luZA7MteJT1HeSOOa7gNyIfBb5ODJ/v8djodHkKcTemgIob1LwdyEM1o+XGvFmAfHb/1dhpFIQjbpRighEBCICEYGIQEQgIhARiAgoE/gPqSubIdrtzlQAAAAASUVORK5CYII="},"69ae":function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var a=n("f3f3"),i=(n("d3b7"),n("b64b"),n("c908")),c={confirm:i.Confirm,alert:i.Alert,toast:i.Toast,notify:i.Notify,loading:i.Loading},o={error:"操作失败",success:"操作成功"};function r(t){return c[1\n
\n ');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Video")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),m=(c=(o.a.$,o.a.BtnMenu),o.a.DropListMenu,o.a.PanelMenu,o.a.DropList,o.a.Panel,o.a.Tooltip,function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){Object(r.a)(this,n);var a=o.a.$('
\n
HTML
\n
');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Html")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),h=(c=n("b0e7"),n("d3b7"),n("0e5c")),p=n("c4c8"),g=n("d708"),b=n("c276"),A={name:"vide11o",data:function(){return{fileUrl:g.a.apiBaseURL+"/file/upload",upload:{videoIng:!1},progress:0,videoLink:"",formValidate:{video_link:""},upload_type:"",uploadData:{},header:{}}},created:function(){this.uploadType(),this.getToken()},methods:{videoSaveToUrl:function(t){var e=this;return Object(h.a)({file:t,pieceSize:3,success:function(t){e.formValidate.video_link=t.file_path,e.progress=100},error:function(t){e.$Message.error(t.msg)},uploading:function(t,n){e.videoIng=!0,t=Math.floor(t/n*100),e.progress=t}}),!1},delVideo:function(){this.$set(this.formValidate,"video_link","")},uploadType:function(){var t=this;Object(p.I)().then((function(e){t.upload_type=e.data.upload_type}))},handleSuccess:function(t,e,n){200===t.status?(this.formValidate.video_link=t.data.src,this.$Message.success(t.msg)):this.$Message.error(t.msg)},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(b.d)("token")},beforeUpload:function(){var t=this;return this.uploadData={},new Promise((function(e){t.$nextTick((function(){e(!0)}))}))},zh_uploadFile:function(){this.videoLink?this.formValidate.video_link=this.videoLink:this.$refs.refid.click()},zh_uploadFile_change:function(t){var e=this;if("video/mp4"!==t.target.files[0].type)return e.$Message.error("只能上传mp4文件");Object(p.t)().then((function(n){e.$videoCloud.videoUpload({type:n.data.type,evfile:t,res:n,uploading:function(t,n){e.upload.videoIng=t}}).then((function(t){e.formValidate.video_link=t.url,e.$Message.success("视频上传成功")})).catch((function(t){e.$Message.error(t)}))}))},uploads:function(){this.$emit("getVideo",this.formValidate.video_link)}}};n("555c"),A=Object(i.a)(A,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{staticClass:"mt20 ml20"},[e("Input",{staticClass:"perW35",attrs:{placeholder:"请输入视频链接"},model:{value:t.videoLink,callback:function(e){t.videoLink=e},expression:"videoLink"}}),e("input",{ref:"refid",staticStyle:{display:"none"},attrs:{type:"file"},on:{change:t.zh_uploadFile_change}}),"1"!==t.upload_type||t.videoLink?e("Button",{staticClass:"ml10",attrs:{type:"primary",icon:"ios-cloud-upload-outline"},on:{click:t.zh_uploadFile}},[t._v(t._s(t.videoLink?"确认添加":"上传视频"))]):t._e(),"1"!==t.upload_type||t.videoLink?t._e():e("Upload",{staticClass:"ml10",staticStyle:{display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.videoSaveToUrl,data:t.uploadData,headers:t.header,multiple:!0}},[e("Button",{attrs:{type:"primary",icon:"ios-cloud-upload-outline"}},[t._v("上传视频")])],1),t.upload.videoIng?e("Progress",{attrs:{percent:t.progress,"stroke-width":5}}):t._e(),t.formValidate.video_link?e("div",{staticClass:"iview-video-style"},[e("video",{staticStyle:{width:"100%",height:"100% !important","border-radius":"10px"},attrs:{src:t.formValidate.video_link,controls:"controls"}},[t._v("\n 您的浏览器不支持 video 标签。\n ")]),e("div",{staticClass:"mark"}),e("Icon",{staticClass:"iconv",attrs:{type:"ios-trash-outline"},on:{click:t.delVideo}})],1):t._e()],1),e("div",{staticClass:"mt50 ml20"},[e("Button",{attrs:{type:"primary"},on:{click:t.uploads}},[t._v("确认")])],1)])}),[],!1,null,"c530aa1e",null).exports,c={name:"Index",components:{uploadPictures:c.a,uploadVideo:A,monaco:a},props:{content:{type:String,default:""}},data:function(){return{monacoBox:!1,value:"",modalPic:!1,isChoice:"多选",picTit:"danFrom",img:"",modalVideo:!1,editor:null,uploadSize:2,video:""}},watch:{content:function(t){this.editor.txt.html(t)}},created:function(){},mounted:function(){var t=this;this.createEditor(),d.a.$on("Video",(function(e){t.getvideoint()})),d.a.$on("Html",(function(e){t.getHtmlint()}))},methods:{changeValue:function(t){this.newHtml=t,this.$emit("editorContent",t),this.$emit("input",t)},getPic:function(t){this.img=t.att_dir,this.modalPic=!1,this.editor.cmd.do("insertHTML",''))},getimg:function(){this.modalPic=!0,this.isChoice="多选"},getvideoint:function(){this.modalVideo=!0},getHtmlint:function(){this.monacoBox=!this.monacoBox,this.value=this.newHtml,this.monacoBox||this.editor.txt.html(this.newHtml)},getPicD:function(t){var e=this;this.modalPic=!1,t.map((function(t){e.editor.cmd.do("insertHTML",''))}))},getvideo:function(t){this.modalVideo=!1,this.video=t,t='',this.editor.cmd.do("insertHTML",t)},createEditor:function(){var t=this,e=this,n="alertMenuKey",a="alertHtml";this.editor=new o.a(this.$refs["wang-editor"]),this.editor.menus.extend(n,f),this.editor.menus.extend(a,m),this.editor.config.menus=this.editor.config.menus.concat(a),this.editor.config.menus=this.editor.config.menus.concat(n),this.editor.config.uploadImgFromMedia=function(){e.getimg()},this.editor.config.height=600,this.editor.config.menus=["alertHtml","head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","justify","quote","emoticon","image","alertMenuKey","code","splitLine"],this.editor.config.uploadImgShowBase64=!0,this.editor.config.zIndex=0,this.editor.config.compatibleMode=function(){return!0},this.editor.config.onchange=function(e){t.newHtml=e,t.$emit("editorContent",e)},this.editor.config.onchangeTimeout=300,this.editor.create()}}},n("4a0b"),A=Object(i.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.monacoBox,expression:"!monacoBox"}]},[e("div",{ref:"wang-editor",staticClass:"wang-editor"})]),t.monacoBox?e("div",[e("Button",{staticClass:"bottom",attrs:{type:"primary"},on:{click:t.getHtmlint}},[t._v("可视化界面")]),e("monaco",{attrs:{value:t.newHtml},on:{change:t.changeValue}})],1):t._e(),e("Modal",{attrs:{width:"1024px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":9},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice},on:{getPic:t.getPic,getPicD:t.getPicD}}):t._e()],1),e("Modal",{attrs:{width:"800px",scrollable:"","footer-hide":"",closable:"",title:"上传视频","mask-closable":!1,"z-index":9},model:{value:t.modalVideo,callback:function(e){t.modalVideo=e},expression:"modalVideo"}},[t.modalVideo?e("uploadVideo",{on:{getVideo:t.getvideo}}):t._e()],1)],1)}),[],!1,null,"ccf9d2ce",null);e.a=A.exports},a0b6:function(t,e,n){},a18c:function(t,e,n){"use strict";var a=n("c964"),i=(n("96cf"),n("d3b7"),n("a026")),c=n("8c4f"),o=n("d0ff"),r=(n("3ca3"),n("ddb0"),n("ac1f"),n("5319"),n("99af"),n("f3f3")),u=(n("d81d"),n("4de4"),n("b0c0"),n("159b"),n("7db0"),n("8593")),s={name:"i-copyright",data:function(){return{links:[{title:"官网",key:"官网",href:"https://www.crmeb.com"},{title:"社区",key:"社区",href:"http://q.crmeb.com"},{title:"文档",key:"文档",href:"http://doc.crmeb.com"}],copyright:"Copyright © 2014-2022",version:""}},created:function(){this.getVersion()},methods:{getVersion:function(){var t=this;this.version=this.$store.state.userInfo.version,Object(u.y)().then((function(e){t.copyright=e.data.copyrightContext}))}}},l=(n("1bb0"),n("2877")),d=(s=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ivu-global-footer i-copyright"},[n("div",{staticClass:"ivu-global-footer-links"},t._l(t.links,(function(e,a){return n("a",{key:a,attrs:{href:e.href,target:"_blank"}},[t._v(t._s(e.title))])})),0),t.copyright?n("div",{staticClass:"ivu-global-footer-copyright"},[t._v(t._s(t.copyright))]):n("div",{staticClass:"ivu-global-footer-copyright"},[t._v("\n Copyright © 2014-2022 \n "),n("a",{attrs:{href:"https://www.crmeb.com",target:"_blank"}},[t._v(t._s(t.version))])])])}),[],!1,null,null,null).exports,n("a9e3"),n("fb6a"),{name:"Icons",props:{type:{type:String,required:!0},color:{type:String,default:"#5c6b77"},size:{type:Number,default:16}},computed:{styles:function(){return{fontSize:"".concat(this.size,"px"),color:this.color}}}}),f=(d={name:"CommonIcon",components:{Icons:Object(l.a)(d,(function(){var t=this.$createElement;return(this._self._c||t)("i",{class:"iconfont icon-"+this.type,style:this.styles})}),[],!1,null,null,null).exports},props:{type:{type:String,required:!0},color:String,size:Number},computed:{iconType:function(){return 0===this.type.indexOf("_")?"Icons":"Icon"},iconName:function(){return"Icons"===this.iconType?this.getCustomIconName(this.type):this.type},iconSize:function(){return this.size||("Icons"===this.iconType?12:void 0)},iconColor:function(){return this.color||""}},methods:{getCustomIconName:function(t){return t.slice(1)}}},d=Object(l.a)(d,(function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.iconType,{tag:"component",attrs:{type:t.iconName,color:t.iconColor,size:t.iconSize}})}),[],!1,null,null,null).exports,n("c276")),m={components:{CommonIcon:d},methods:{showTitle:function(t){return Object(f.t)(t,this)},showChildren:function(t){return t.children&&t.children.length},getNameOrHref:function(t,e){return t.href?"isTurnByHref_".concat(t.href):(e?t.children[0]:t).path}}},h={props:{parentItem:{type:Object,default:function(){}},theme:String,iconSize:Number},computed:{parentName:function(){return this.parentItem.name},children:function(){return this.parentItem.children},textColor:function(){return"dark"===this.theme?"#fff":"#495060"}}},p={name:"SideMenuItem",mixins:[m,h]},g=(p=Object(l.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Submenu",{attrs:{name:t.parentItem.path}},[n("template",{slot:"title"},[n("common-icon",{attrs:{type:t.parentItem.icon||""}}),n("span",[t._v(t._s(t.parentItem.title))])],1),t._l(t.children,(function(e){return[void 0===e.auth?[e.children&&1===e.children.length?[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.children[0].path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.children[0].icon||""}}),n("span",[t._v(t._s(e.children[0].title))])],1)]:[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.icon||""}}),n("span",[t._v(t._s(e.title))])],1)]]:t._e()]}))],2)}),[],!1,null,null,null).exports,h={name:"CollapsedMenu",mixins:[m,h],props:{hideTitle:{type:Boolean,default:!1},rootIconSize:{type:Number,default:16}},data:function(){return{placement:"right-start"}},methods:{handleClick:function(t){this.$emit("on-click",t)},handleMousemove:function(t,e){t=t.pageY+38*e.length-this.tagBodyLeft&&t.offsetLeft+t.offsetWidth<-this.tagBodyLeft+e?this.tagBodyLeft=Math.min(0,e-t.offsetWidth-t.offsetLeft-this.outerPadding):this.tagBodyLeft=-(t.offsetLeft-(e-this.outerPadding-t.offsetWidth))},getTagElementByRoute:function(t){var e=this;this.$nextTick((function(){e.refsTag=e.$refs.tagsPageOpened,e.refsTag.forEach((function(n,a){Object(f.n)(t,n.$attrs["data-route-item"])&&(n=e.refsTag[a].$el,e.moveToView(n))}))}))},contextMenu:function(t,e){t.name!==this.$config.homeName&&(this.visible=!0,t=this.$el.getBoundingClientRect().left,this.contextMenuLeft=e.clientX-t+10,this.contextMenuTop=e.clientY-64)},closeMenu:function(){this.visible=!1}},watch:{$route:function(t){this.getTagElementByRoute(t)},visible:function(t){t?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){var t=this;setTimeout((function(){t.getTagElementByRoute(t.$route)}),200)}},h=(n("37a8"),Object(l.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags-nav"},[n("div",{staticClass:"close-con"},[n("Dropdown",{staticStyle:{"margin-top":"7px"},attrs:{transfer:""},on:{"on-click":t.handleTagsOption}},[n("Button",{attrs:{size:"small",type:"text"}},[n("Icon",{attrs:{size:18,type:"ios-close-circle-outline"}})],1),n("DropdownMenu",{staticClass:"close",attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"close-all"}},[t._v("关闭所有")]),n("DropdownItem",{attrs:{name:"close-others"}},[t._v("关闭其他")])],1)],1)],1),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:t.contextMenuLeft+"px",top:t.contextMenuTop+"px"}},t._l(t.menuList,(function(e,a){return n("li",{key:a,on:{click:function(e){return t.handleTagsOption(a)}}},[t._v(t._s(e))])})),0),n("div",{staticClass:"btn-con left-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-back"}})],1)],1),n("div",{staticClass:"btn-con right-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(-240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-forward"}})],1)],1),n("div",{ref:"scrollOuter",staticClass:"scroll-outer",on:{DOMMouseScroll:t.handlescroll,mousewheel:t.handlescroll}},[n("div",{ref:"scrollBody",staticClass:"scroll-body",style:{left:t.tagBodyLeft+"px"}},[n("transition-group",{attrs:{name:"taglist-moving-animation"}},t._l(t.list,(function(e,a){return n("Tag",{key:"tag-nav-"+a,ref:"tagsPageOpened",refInFor:!0,attrs:{type:"dot",name:e.name,"data-route-item":e,closable:e.name!==t.$config.homeName,color:t.isCurrentTag(e)?"primary":"default"},on:{"on-close":function(n){return t.handleClose(e)}},nativeOn:{click:function(n){return t.handleClick(e)},contextmenu:function(n){return n.preventDefault(),t.contextMenu(e,n)}}},[t._v(t._s(t.showTitleInside(e)))])})),1)],1)])])}),[],!1,null,null,null).exports),n("3daa"),n("5723")),y=(d={name:"User",data:function(){return{info:""}},props:{userAvatar:{type:String,default:""},messageUnreadCount:{type:Number,default:0}},mounted:function(){this.info=this.$store.state.userInfo.userInfo},methods:{logout:function(){var t=this;this.$Modal.confirm({title:"退出登录确认",content:"您确定退出当前账户吗?",onOk:function(){Object(v.b)().then((function(e){t.$Message.success("您已成功退出"),t.$router.replace("/admin/login"),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")})).catch((function(t){}))}})},userCenter:function(){this.$router.push("/admin/system/user")},fileEdit:function(){this.$router.push("/admin/system/files")},message:function(){this.$router.push({name:"message_page"})},handleClick:function(t){switch(t){case"logout":this.logout();break;case"userCenter":this.userCenter();break;case"message":this.message();break;case"fileEdit":this.fileEdit()}}}},d=(n("7adb"),Object(l.a)(d,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"user-avatar-dropdown"},[e("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.handleClick}},[e("span",[t._v(t._s(t.info.account))]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"userCenter"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-contact-outline"}}),t._v("个人中心")],1),e("DropdownItem",{attrs:{name:"logout"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-log-out"}}),t._v("退出登录")],1)],1)],1)],1)}),[],!1,null,"75b6642a",null).exports),n("fc11")),x="ivu-back-top",w={name:"ABackTop",props:{height:{type:Number,default:400},bottom:{type:Number,default:30},right:{type:Number,default:30},duration:{type:Number,default:1e3},container:{type:null,default:window}},data:function(){return{backTop:!1}},mounted:function(){Object(g.on)(this.containerEle,"scroll",this.handleScroll),Object(g.on)(this.containerEle,"resize",this.handleScroll)},beforeDestroy:function(){Object(g.off)(this.containerEle,"scroll",this.handleScroll),Object(g.off)(this.containerEle,"resize",this.handleScroll)},computed:{classes:function(){return["".concat(x),Object(y.a)({},"".concat(x,"-show"),this.backTop)]},styles:function(){return{bottom:"".concat(this.bottom,"px"),right:"".concat(this.right,"px")}},innerClasses:function(){return"".concat(x,"-inner")},containerEle:function(){return this.container===window?window:document.querySelector(this.container)}},methods:{handleScroll:function(){this.backTop=this.containerEle.scrollTop>=this.height},back:function(){var t=("string"==typeof this.container?this.containerEle:document.documentElement||document.body).scrollTop;Object(f.p)(this.containerEle,t,0,this.duration),this.$emit("on-click")}}},j=(w=Object(l.a)(w,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{class:t.classes,style:t.styles,on:{click:t.back}},[t._t("default",[e("div",{class:t.innerClasses},[e("i",{staticClass:"ivu-icon ivu-icon-ios-arrow-up"})])])],2)}),[],!1,null,null,null).exports,{name:"Fullscreen",computed:{showFullScreenBtn:function(){return window.navigator.userAgent.indexOf("MSIE")<0}},props:{value:{type:Boolean,default:!1}},methods:{handleFullscreen:function(){var t=document.body;this.value?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()},handleChange:function(){this.handleFullscreen()}},mounted:function(){var t=this,e=!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen);document.addEventListener("fullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("mozfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("webkitfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("msfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),this.$emit("input",e)}}),C=(j=(n("e282"),Object(l.a)(j,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.showFullScreenBtn?e("div",{staticClass:"full-screen-btn-con"},[e("Tooltip",{attrs:{content:t.value?"退出全屏":"全屏",placement:"bottom"}},[e("Icon",{attrs:{type:t.value?"ios-contract":"ios-qr-scanner",size:23},nativeOn:{click:function(e){return t.handleChange(e)}}})],1)],1):t._e()}),[],!1,null,null,null).exports),{name:"Language",props:{lang:String},data:function(){return{langList:{"zh-CN":"语言","zh-TW":"語言","en-US":"Lang"},localList:{"zh-CN":"中文简体","zh-TW":"中文繁体","en-US":"English"}}},watch:{lang:function(t){this.$i18n.locale=t}},computed:{title:function(){return this.langList[this.lang]}},methods:{selectLang:function(t){this.$emit("on-lang-change",t)}}}),O=(C=Object(l.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Dropdown",{attrs:{trigger:"click",transfer:"true"},on:{"on-click":t.selectLang}},[n("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.title)+"\n "),n("Icon",{attrs:{size:18,type:"md-arrow-dropdown"}})],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.localList,(function(e,a){return n("DropdownItem",{key:"lang-"+a,attrs:{name:a}},[t._v(t._s(e))])})),1)],1)],1)}),[],!1,null,null,null).exports,Object(l.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports),_={name:"iHeaderSearch",data:function(){return{currentVal:"",loading:!1,menusList:[]}},computed:{},created:function(){this.getMenusList()},methods:{getMenusList:function(){var t=this;this.loading=!0,Object(v.e)().then((function(e){t.loading=!1,t.menusList=e.data}))},remoteMethod:function(){this.$router.push({path:this.currentVal})}}},N=(_=(n("380f"),Object(l.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search"},[n("Select",{staticClass:"select",attrs:{placeholder:"菜单搜索",filterable:"",remote:"","remote-method":t.remoteMethod,loading:t.loading},model:{value:t.currentVal,callback:function(e){t.currentVal=e},expression:"currentVal"}},t._l(t.menusList,(function(e,a){return n("Option",{key:a,attrs:{value:e.menu_path,disabled:1===e.type}},[t._v(t._s(e.menu_name))])})),1)],1)}),[],!1,null,null,null).exports),n("2934")),S=n("49ea"),L=new Audio(n("d635")),I={name:"User",data:function(){return{needList:[],newOrderAudioLink:null}},mounted:function(){var t=this;this.getNotict(),this.newOrderAudioLink=L,S.b.then((function(e){e.send({type:"login",data:Object(f.d)("token")});var n=t;e.$on("ADMIN_NEW_PUSH",(function(t){n.getNotict()})),e.$on("NEW_ORDER",(function(t){n.$Notice.info({title:"新订单",duration:8,desc:"您有一个新的订单,ID为("+t.order_id+"),请注意查看"}),this.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"新订单提醒",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})})),e.$on("NEW_REFUND_ORDER",(function(t){n.$Notice.warning({title:"退款订单提醒",duration:8,desc:"您有一个订单申请退款,ID为("+t.order_id+"),请注意查看"}),window.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"退款订单提醒",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("WITHDRAW",(function(t){n.$Notice.warning({title:"提现提醒",duration:8,desc:"有用户申请提现,编号为("+t.id+"),请注意查看"}),n.messageList.push({title:"退款订单提醒",icon:"md-people",iconColor:"#f06292",time:0,read:0})})),e.$on("STORE_STOCK",(function(t){n.$Notice.warning({title:"库存预警",duration:8,desc:"商品ID为("+t.id+")的库存不足啦,请注意查看~"}),n.messageList.push({title:"库存预警",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("PAY_SMS_SUCCESS",(function(t){n.$Notice.info({title:"短信充值成功",duration:8,desc:"恭喜您充值"+t.price+"元,获得"+t.number+"条短信"}),n.messageList.push({title:"短信充值成功",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})}))}))},methods:{getNotict:function(){var t=this;Object(N.d)().then((function(e){t.needList=e.data||[]})).catch((function(){}))},jumpUrl:function(t){this.$router.push({path:t})}}},E=(I=(n("91bf"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header-notice"},[n("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.jumpUrl}},[n("div",[n("Badge",{attrs:{dot:"",count:t.needList.length||0}},[n("Icon",{attrs:{type:"ios-notifications-outline",size:"26"}})],1)],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.needList,(function(e,a){return n("DropdownItem",{key:a,attrs:{name:e.url}},[n("Icon",{staticClass:"iconImg",style:"background-color:"+e.iconColor,attrs:{type:e.icon}}),t._v(t._s(e.title))],1)})),1)],1)],1)}),[],!1,null,null,null).exports),n("d708")),T=n("f66a"),D=n.n(T),B=(T=n("9d64"),n.n(T)),R=(T=(n("7a3c"),{name:"Main",components:{SideMenu:p,HeaderBar:m,Language:C,TagsNav:h,Fullscreen:j,ErrorStore:O,User:d,ABackTop:w,iCopyright:s,HeaderSearch:_,HeaderNotice:I},data:function(){return{collapsed:JSON.parse(Object(f.d)("collapsed")||"false"),minLogo:D.a,maxLogo:B.a,isFullscreen:!1,reload:!0,screenWidth:"",openImage:!0,headMenuNoShow:!1}},computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.c)(["errorCount"])),Object(b.e)("media",["isMobile"])),{},{tagNavList:function(){return this.$store.state.app.tagNavList},tagRouter:function(){return this.$store.state.app.tagRouter},userAvatar:function(){return this.$store.state.user.avatarImgPath},cacheList:function(){return["ParentView"].concat(Object(o.a)(this.tagNavList.length?this.tagNavList.filter((function(t){return!(t.meta&&t.meta.notCache)})).map((function(t){return t.name})):[]))},menuList:function(){var t=this.$store.state.menus.menusName,e=[];return t.forEach((function(t,n){e[n]=t,e[n].children&&t.children&&(e[n].children=t.children.filter((function(t){return!t.auth})))})),e},local:function(){return this.$store.state.app.local},hasReadErrorPage:function(){return this.$store.state.app.hasReadErrorPage},unreadCount:function(){return this.$store.state.user.unreadCount}}),methods:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.d)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),Object(b.b)(["handleLogin","getUnreadMessageCount"])),{},{turnToPage:function(t,e){var n={},a=n.path,i=n.name,c=n.params;n=n.query;"string"!=typeof t||e?"string"==typeof t&&e?i=t:(a=t.path,i=t.name,c=t.params,n=t.query):a=t,this.$router.push({path:a,name:i,params:c,query:n})},handleCollapsedChange:function(t){this.collapsed=t,Object(f.q)("collapsed",t)},handleCloseTag:function(t,e,n){"others"!==e&&("all"===e?this.turnToPage(this.$config.homeName,"all"):Object(f.n)(this.$route,n)&&this.closeTag(n)),1===t.length&&t[0].name===this.$config.homeName&&this.$router.push({name:this.$config.homeName}),this.setTagNavList(t)},handleClick:function(t){this.turnToPage(t)},getLogo:function(){var t=this,e=this.$store.state.userInfo.logo,n=this.$store.state.userInfo.logoSmall;this.maxLogo=e||this.maxLogo,this.minLogo=n||this.minLogo,Object(N.c)().then((function(e){localStorage.setItem("ADMIN_TITLE",e.data.site_name),t.minLogo=e.data.logo_square,t.maxLogo=e.data.logo}))},handleReload:function(){var t=this;this.reload=!1,this.$nextTick((function(){t.reload=!0}))},clear:function(){this.openImage=!1}}),watch:{$route:function(t){this.headMenuNoShow=this.$route.meta.fullScreen;var e=Object(f.f)(t,this.menuList),n=(e=(this.$store.commit("menus/setopenMenus",e),t.name),t.query),a=t.params,i=t.meta;this.addTag({route:{name:e,query:n,params:a,meta:i},type:"push"}),this.setBreadCrumb(t),this.setTagNavList(Object(f.g)(this.tagNavList,t)),this.$refs.sideMenu.updateOpenName(t.path)}},mounted:function(){var t=this,e=(this.headMenuNoShow=this.$route.meta.fullScreen,this.getLogo(),this.screenWidth=document.body.clientWidth,window.onresize=function(){t.screenWidth=document.body.clientWidth,t.screenWidth<=1060?(t.collapsed=!0,Object(f.q)("collapsed",!0)):(t.collapsed=!1,Object(f.q)("collapsed",!1))},this.setTagNavList(),this.setHomeRoute(R),this.$route),n=e.name,a=e.params,i=e.query;e=e.meta;this.addTag({route:{name:n,params:a,query:i,meta:e}}),this.setBreadCrumb(this.$route),this.setLocal(this.$i18n.locale),this.tagNavList.find((function(e){return e.name===t.$route.name}))||this.$router.push({name:this.$config.homeName}),this.getUnreadMessageCount()}}),p=(n("9b75"),Object(l.a)(T,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("Layout",{staticClass:"main",staticStyle:{height:"100%"}},[t.headMenuNoShow?t._e():e("Sider",{staticClass:"left-sider",style:{overflow:"hidden"},attrs:{"hide-trigger":"",collapsible:"",width:200,"collapsed-width":t.isMobile?0:80},model:{value:t.collapsed,callback:function(e){t.collapsed=e},expression:"collapsed"}},[e("side-menu",{ref:"sideMenu",attrs:{accordion:"","active-name":t.$route.path,collapsed:t.collapsed,"menu-list":t.menuList},on:{"on-select":t.turnToPage}},[e("div",{staticClass:"logo-con"},[e("img",{directives:[{name:"show",rawName:"v-show",value:!t.collapsed,expression:"!collapsed"}],key:"max-logo",attrs:{src:t.maxLogo}}),e("img",{directives:[{name:"show",rawName:"v-show",value:t.collapsed,expression:"collapsed"}],key:"min-logo",attrs:{src:t.minLogo}})])])],1),e("Layout",[t.headMenuNoShow?t._e():e("Header",{staticClass:"header-con"},[e("header-bar",{attrs:{collapsed:t.collapsed},on:{"on-coll-change":t.handleCollapsedChange,"on-reload":t.handleReload}},[e("user",{attrs:{"message-unread-count":t.unreadCount,"user-avatar":t.userAvatar}}),t.$config.useI18n?e("language",{staticStyle:{"margin-right":"10px"},attrs:{lang:t.local},on:{"on-lang-change":t.setLocal}}):t._e(),e("header-notice"),e("fullscreen",{staticStyle:{"margin-right":"10px"},model:{value:t.isFullscreen,callback:function(e){t.isFullscreen=e},expression:"isFullscreen"}}),t.$config.plugin["error-store"]&&t.$config.plugin["error-store"].showInHeader?e("error-store",{attrs:{"has-read":t.hasReadErrorPage,count:t.errorCount}}):t._e(),e("header-search")],1)],1),e("Content",{staticClass:"main-content-con"},[e("Layout",{staticClass:"main-layout-con"},[t.headMenuNoShow?t._e():e("div",{staticClass:"tag-nav-wrapper"},[e("tags-nav",{attrs:{value:t.$route,list:t.tagNavList},on:{input:t.handleClick,"on-close":t.handleCloseTag}})],1),e("Content",{staticClass:"content-wrapper"},[e("keep-alive",[t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),!t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),e("i-copyright")],1)],1)],1)],1)}),[],!1,null,null,null).exports),m={path:"/",name:"home",header:"home",redirect:{name:"".concat("home_","index")},meta:{auth:!0},component:p,children:[{path:"admin/home/",name:"".concat("home_","index"),header:"home",meta:{auth:["admin-index-index"],title:"主页",affix:!0},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-61737d4a")]).then(n.bind(null,"f75a"))}}]},C="product_",h={path:"/admin/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:"".concat(C,"productList")},component:p,children:[{path:"product_list",name:"".concat(C,"productList"),meta:{title:"商品管理",auth:["admin-store-storeProuduct-index"],keepAlive:!0},component:function(){return Promise.all([n.e("chunk-619db231"),n.e("chunk-6e83591c"),n.e("chunk-c7e1f35e")]).then(n.bind(null,"696b"))}},{path:"product_classify",name:"".concat(C,"productClassify"),meta:{title:"商品分类",auth:["admin-store-storeCategory-index"]},component:function(){return n.e("chunk-355d3272").then(n.bind(null,"8aca"))}},{path:"add_product/:id?",name:"".concat(C,"productAdd"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品添加"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-30a935b0")]).then(n.bind(null,"c7e8"))}},{path:"product_reply/:id?",name:"".concat(C,"productEvaluate"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:function(){return n.e("chunk-3740dbf0").then(n.bind(null,"1426"))}},{path:"product_attr",name:"".concat(C,"productAttr"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:function(){return n.e("chunk-03c5c4a2").then(n.bind(null,"7f08"))}}]},j="order_",O={path:"/admin/order",name:"order",header:"order",redirect:{name:"".concat(j,"list")},component:p,children:[{path:"list",name:"".concat(j,"list"),meta:{auth:["admin-order-storeOrder-index"],title:"订单管理"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-91ce235e")]).then(n.bind(null,"5c3ac"))}},{path:"split_list",name:"".concat(j,"split_list"),meta:{auth:["admin-order-storeOrder-index"],title:"子订单列表"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-9485b922")]).then(n.bind(null,"370a"))}},{path:"offline",name:"".concat(j,"offline"),meta:{auth:["admin-order-offline"],title:"收银订单"},component:function(){return n.e("chunk-58c461e8").then(n.bind(null,"effd"))}},{path:"refund",name:"".concat(j,"refund"),meta:{auth:["admin-order-refund"],title:"售后订单"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-245ca332")]).then(n.bind(null,"3353"))}},{path:"invoice/list",name:"".concat(j,"invoice"),meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:function(){return n.e("chunk-6edd3947").then(n.bind(null,"6968"))}}]},d="user_",w={path:"/admin/user",name:"user",header:"user",redirect:{name:"".concat(d,"list")},meta:{auth:!0},component:p,children:[{path:"list",name:"".concat(d,"list"),meta:{auth:["admin-user-user-index"],title:"用户管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-16efaf3a"),n.e("chunk-2d0bddd6"),n.e("chunk-02023da2")]).then(n.bind(null,"08ea"))}},{path:"level",name:"".concat(d,"level"),meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:function(){return n.e("chunk-cef6a6ca").then(n.bind(null,"5cbd"))}},{path:"group",name:"".concat(d,"group"),meta:{auth:["user-user-group"],footer:!0,title:"用户分组"},component:function(){return n.e("chunk-2d21afa5").then(n.bind(null,"be8d"))}},{path:"label",name:"".concat(d,"label"),meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-7962e48e").then(n.bind(null,"dfd9"))}},{path:"cancel",name:"".concat(d,"cancel"),meta:{auth:["user-user-cancel"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-6f034b5a").then(n.bind(null,"fe78"))}},{path:"recharge/:id",name:"".concat(d,"recharge"),meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"grade/type",name:"".concat(d,"type"),meta:{auth:["admin-user-member-type"],footer:!0,title:"会员类型"},component:function(){return n.e("chunk-c2ebcb3c").then(n.bind(null,"9406"))}},{path:"grade/card",name:"".concat(d,"card"),meta:{auth:["admin-user-grade-card"],footer:!0,title:"卡密会员"},component:function(){return n.e("chunk-542425bb").then(n.bind(null,"1d84"))}},{path:"grade/record",name:"".concat(d,"record"),meta:{auth:["admin-user-grade-record"],footer:!0,title:"会员记录"},component:function(){return n.e("chunk-73819895").then(n.bind(null,"a387"))}},{path:"grade/right",name:"".concat(d,"right"),meta:{auth:["admin-user-grade-right"],footer:!0,title:"会员权益"},component:function(){return n.e("chunk-1ab64b57").then(n.bind(null,"6d86"))}},{path:"grade/list/:id",name:"".concat(d,"gradelist"),meta:{auth:["user-member_card-index"],footer:!0,title:"会员卡列表"},component:function(){return n.e("chunk-2d0e488e").then(n.bind(null,"9144"))}},{path:"grade/agreement",name:"".concat(d,"agreement"),meta:{auth:["admin-user-grade-agreement"],footer:!0,title:"会员协议"},component:function(){return n.e("chunk-4790b9f5").then(n.bind(null,"4b65"))}}]},s={auth:!0},_="setting_",I={path:"/admin/setting",name:"setting",header:"setting",redirect:{name:"".concat(_,"systemRole")},component:p,children:[{path:"system_role/index",name:"".concat(_,"systemRole"),meta:{auth:["setting-system-role"],title:"身份管理"},component:function(){return n.e("chunk-f06fe54c").then(n.bind(null,"ffd0"))}},{path:"system_admin/index",name:"".concat(_,"systemAdmin"),meta:{auth:["setting-system-list"],title:"管理员列表"},component:function(){return n.e("chunk-dbfaa6e8").then(n.bind(null,"e7d9"))}},{path:"system_menus/index",name:"".concat(_,"systemMenus"),meta:{auth:["setting-system-menus"],title:"权限规则"},component:function(){return n.e("chunk-1ec5a8a6").then(n.bind(null,"4315"))}},{path:"system_config",name:"".concat(_,"setSystem"),meta:{auth:["setting-system-config"],title:"系统设置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config/:type?/:tab_id?",name:"".concat(_,"setApp"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"应用设置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config/payment/:type?/:tab_id?",name:"".concat(_,"payment"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"支付配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config_retail/:type?/:tab_id?",name:"".concat(_,"distributionSet"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销设置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"membership_level/index",name:"".concat(_,"membershipLevel"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销等级"}),component:function(){return n.e("chunk-55b679e9").then(n.bind(null,"30cc"))}},{path:"system_config_message/:type?/:tab_id?",name:"".concat(_,"message"),meta:{auth:["setting-system-config-message"],title:"短信开关"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"notification/index",name:"".concat(_,"notification"),meta:{auth:["setting-notification"],title:"消息管理"},component:function(){return n.e("chunk-5ef03c2f").then(n.bind(null,"aa0a"))}},{path:"notification/notificationEdit",name:"".concat(_,"notificationEdit"),meta:{auth:["setting-notification"],title:"消息编辑"},component:function(){return n.e("chunk-07142a06").then(n.bind(null,"9d9f"))}},{path:"system_config_logistics/:type?/:tab_id?",name:"".concat(_,"logistics"),meta:{auth:["setting-system-config-logistics"],title:"物流配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"sms/sms_config/index",name:"".concat(_,"config"),meta:{auth:["setting-sms-sms-config"],title:"短信账户"},component:function(){return n.e("chunk-797cc4cb").then(n.bind(null,"2431"))}},{path:"sms/sms_template_apply/index",name:"".concat(_,"smsTemplateApply"),meta:{auth:["setting-sms-config-template"],title:"短信模板"},component:function(){return n.e("chunk-1e5e9e9c").then(n.bind(null,"0ecc"))}},{path:"sms/sms_pay/index",name:"".concat(_,"smsPay"),meta:{auth:["setting-sms-sms-template"],title:"短信购买"},component:function(){return n.e("chunk-55657199").then(n.bind(null,"2733"))}},{path:"sms/sms_template_apply/commons",name:"".concat(_,"commons"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公共短信模板"}),component:function(){return n.e("chunk-1e5e9e9c").then(n.bind(null,"0ecc"))}},{path:"system_group_data/index/:id",name:"".concat(_,"groupDataIndex"),meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/slide/:id",name:"".concat(_,"groupDataSlide"),meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/sign/:id",name:"".concat(_,"groupDataSign"),meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/new/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/search/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot/:id",name:"".concat(_,"groupDataHot"),meta:{auth:["setting-system-group_data-hot"],title:"热门榜单推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/new_product/:id",name:"".concat(_,"groupDataNewProduct"),meta:{auth:["setting-system-group_data-new_product"],title:"首发新品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/promotion/:id",name:"".concat(_,"groupDataPromotion"),meta:{auth:["setting-system-group_data-promotion"],title:"促销单品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/poster/:id",name:"".concat(_,"groupDataPoster"),meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/best/:id",name:"".concat(_,"groupDataBest"),meta:{auth:["setting-system-group_data-best"],title:"精品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/activity/:id",name:"".concat(_,"groupDataActivity"),meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/system/:id",name:"".concat(_,"groupDataSystem"),meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot_money/:id",name:"".concat(_,"groupDataHotMoney"),meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"merchant/system_store/index",name:"".concat(_,"systemStore"),meta:{auth:["setting-system-config-merchant"],title:"门店设置"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-e76e8f6e")]).then(n.bind(null,"a402"))}},{path:"freight/express/index",name:"".concat(_,"freight"),meta:{auth:["setting-freight-express"],title:"物流公司"},component:function(){return n.e("chunk-1f894614").then(n.bind(null,"9a71"))}},{path:"store_service/index",name:"".concat(_,"service"),meta:{auth:["setting-store-service"],title:"客服管理"},component:function(){return n.e("chunk-718edeca").then(n.bind(null,"b90a"))}},{path:"freight/city/list",name:"".concat(_,"dada"),meta:{auth:["setting-system-city"],title:"城市数据"},component:function(){return n.e("chunk-7739374b").then(n.bind(null,"b252"))}},{path:"freight/shipping_templates/list",name:"".concat(_,"templates"),meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-2d0ab8b4")]).then(n.bind(null,"1670"))}},{path:"merchant/system_store/list",name:"".concat(_,"store"),meta:{auth:["setting-merchant-system-store"],title:"提货点"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-48727bfe")]).then(n.bind(null,"669a"))}},{path:"merchant/system_store_staff/index",name:"".concat(_,"staff"),meta:{auth:["setting-merchant-system-store-staff"],title:"核销员"},component:function(){return n.e("chunk-9b49c2a6").then(n.bind(null,"8404"))}},{path:"merchant/system_verify_order/index",name:"".concat(_,"order"),meta:{auth:["setting-merchant-system-verify-order"],title:"核销订单"},component:function(){return n.e("chunk-4038dff4").then(n.bind(null,"0336"))}},{path:"theme_style",name:"".concat(_,"themeStyle"),meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:function(){return n.e("chunk-45de3ce6").then(n.bind(null,"6ca1"))}},{path:"pages/devise",name:"".concat(_,"devise"),meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-1171ac4b")]).then(n.bind(null,"b27c"))}},{path:"pages/diy",name:"".concat(_,"diy"),meta:{auth:["admin-setting-pages-diy"],title:"页面设计"},component:function(){return n.e("chunk-80427f7c").then(n.bind(null,"3078"))}},{path:"pages/diy_index",name:"".concat(_,"index_diy"),meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:function(){return n.e("chunk-6f4cfaf6").then(n.bind(null,"d8a4"))}},{path:"pages/links",name:"".concat(_,"links"),meta:{auth:["admin-setting-pages-links"],title:"页面链接"},component:function(){return n.e("chunk-728023cc").then(n.bind(null,"2250"))}},{path:"system_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-pages-links"],title:"数据配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"store_service/speechcraft",name:"".concat(_,"speechcraft"),meta:{auth:["admin-setting-store_service-speechcraft"],title:"客服话术"},component:function(){return n.e("chunk-47e94014").then(n.bind(null,"7864"))}},{path:"store_service/feedback",name:"".concat(_,"feedback"),meta:{auth:["admin-setting-store_service-feedback"],title:"用户留言"},component:function(){return n.e("chunk-3d731660").then(n.bind(null,"ec44"))}},{path:"system_group_data/pc/:id",name:"".concat(_,"groupDataPc"),meta:{auth:["setting-system-group_data-pc"],title:"PC主页轮播"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_config_member_right/:type?/:tab_id?",name:"".concat(_,"right"),meta:{auth:["setting-system-config-member-right"],title:"会员权益"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"delivery_service/index",name:"".concat(_,"deliveryService"),meta:{auth:["setting-delivery-service"],title:"配送员列表"},component:function(){return n.e("chunk-6d110ae8").then(n.bind(null,"b43f"))}},{path:"pc_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["setting-system-pc_data"],title:"PC商城"},component:function(){return n.e("chunk-3afbede6").then(n.bind(null,"ce94"))}},{path:"system_visualization_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:function(){return n.e("chunk-db1f3f84").then(n.bind(null,"cb18"))}},{path:"storage",name:"".concat(_,"storage"),meta:{auth:["setting-storage"],title:"储存配置"},component:function(){return n.e("chunk-9b852dca").then(n.bind(null,"6dc8"))}},{path:"wechat_config/:type?/:tab_id?",name:"".concat(_,"wechat_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公众号配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"routine_config/:type?/:tab_id?",name:"".concat(_,"routine_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"小程序配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"app_config/:type?/:tab_id?",name:"".concat(_,"app_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"app配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"pc_config/:type?/:tab_id?",name:"".concat(_,"pc_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"PC配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/print/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-print"],title:"小票打印配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/copy/:type?/:tab_id?",name:"".concat(_,"other_copy"),meta:{auth:["setting-other-copy"],title:"商品采集配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/logistics/:type?/:tab_id?",name:"".concat(_,"other_logistics"),meta:{auth:["setting-other-logistics"],title:"物流查询配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/electronic/:type?/:tab_id?",name:"".concat(_,"other_electronic"),meta:{auth:["setting-other-electronic"],title:"电子面单配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/sms/:type?/:tab_id?",name:"".concat(_,"other_sms"),meta:{auth:["setting-other-sms"],title:"短信功能配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/pay/:type?/:tab_id?",name:"".concat(_,"other_pay"),meta:{auth:["setting-other-sms"],title:"商城支付配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"agreement",name:"".concat(_,"notification"),meta:{auth:["setting-agreement"],title:"协议设置"},component:function(){return n.e("chunk-3a4b4c54").then(n.bind(null,"d9f0"))}},{path:"other_config/out/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-out"],title:"对外接口配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_out_account/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:function(){return n.e("chunk-b6f1594c").then(n.bind(null,"6b91"))}},{path:"system_out_interface/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:function(){return n.e("chunk-2e3a27a8").then(n.bind(null,"7676"))}},{path:"lang/list",name:"".concat(_,"langList"),meta:{auth:["admin-lang-list"],title:"语言列表"},component:function(){return n.e("chunk-2822f156").then(n.bind(null,"fd31"))}},{path:"lang/info",name:"".concat(_,"langInfo"),meta:{auth:["admin-lang-info"],title:"语言详情"},component:function(){return n.e("chunk-74f92bc2").then(n.bind(null,"0741"))}},{path:"lang/country",name:"".concat(_,"langCountry"),meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:function(){return n.e("chunk-7f92ec3c").then(n.bind(null,"5b6a"))}}]},b={path:"/admin/agent",name:"agent",header:"agent",redirect:{name:"".concat("agent_","agentManage")},meta:{auth:!0},component:p,children:[{path:"agent_manage/index",name:"".concat("agent_","agentManage"),meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:function(){return Promise.all([n.e("chunk-16efaf3a"),n.e("chunk-e7bf9be8")]).then(n.bind(null,"3061"))}}]},l="finance_",T={path:"/admin/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:"".concat(l,"cashApply")},component:p,children:[{path:"billing_records/index",name:"".concat(l,"billingRecords"),meta:{auth:["finance-user_extract"],title:"账单记录"},component:function(){return Promise.all([n.e("chunk-619db231"),n.e("chunk-e9dbb942")]).then(n.bind(null,"f807"))}},{path:"capital_flow/index",name:"".concat(l,"capitalFlow"),meta:{auth:["finance-user_extract"],title:"资金流水"},component:function(){return n.e("chunk-62f0bc42").then(n.bind(null,"1dc8"))}},{path:"user_extract/index",name:"".concat(l,"cashApply"),meta:{auth:["finance-user_extract"],title:"提现申请"},component:function(){return n.e("chunk-aa967126").then(n.bind(null,"9eb0f"))}},{path:"user_recharge/index",name:"".concat(l,"recharge"),meta:{auth:["finance-user-recharge"],title:"充值记录"},component:function(){return n.e("chunk-78b61099").then(n.bind(null,"7027"))}},{path:"finance/bill",name:"".concat(l,"bill"),meta:{auth:["finance-finance-bill"],title:"资金记录"},component:function(){return n.e("chunk-1a3b818c").then(n.bind(null,"badc"))}},{path:"finance/commission",name:"".concat(l,"commissionRecord"),meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:function(){return n.e("chunk-4f1aacd1").then(n.bind(null,"e9f8"))}},{path:"balance/balance",name:"".concat(l,"balance"),meta:{auth:["finance-user-balance"],title:"余额记录"},component:function(){return n.e("chunk-9969aa12").then(n.bind(null,"8a30"))}}]},C="cms_",j={path:"/admin/cms",name:"cms",header:"cms",redirect:{name:"".concat(C,"article")},component:p,children:[{path:"article/index/:id?",name:"".concat(C,"article"),meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:function(){return n.e("chunk-71813a56").then(n.bind(null,"7a0c"))}},{path:"article_category/index",name:"".concat(C,"articleCategory"),meta:{auth:["cms-article-category"],title:"文章分类"},component:function(){return n.e("chunk-35bfa462").then(n.bind(null,"9ace"))}},{path:"article/add_article/:id?",name:"".concat(C,"addArticle"),meta:{auth:["cms-article-creat"],title:"文章添加"},component:function(){return n.e("chunk-57fc0a5c").then(n.bind(null,"f164"))}}]},d="marketing_",r={path:"/admin/marketing",name:"marketing",header:"marketing",redirect:{name:"".concat(d,"storeCoupon")},component:p,children:[{path:"store_combination/index",name:"".concat(d,"combinalist"),meta:{auth:["marketing-store_combination"],title:"拼团商品",keepAlive:!0},component:function(){return n.e("chunk-7f2638f8").then(n.bind(null,"82f1"))}},{path:"store_combination/combina_list",name:"".concat(d,"combinaList"),meta:{auth:["marketing-store_combination-combina_list"],title:"拼团列表"},component:function(){return n.e("chunk-400df21a").then(n.bind(null,"de26"))}},{path:"store_combination/create/:id?/:copy?",name:"".concat(d,"storeCombinationCreate"),meta:{auth:["marketing-store_combination-create"],title:"添加拼团"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-3cd12db2")]).then(n.bind(null,"28bd"))}},{path:"store_combination/statistics/:id?",name:"".concat(d,"storeCombinationStatistics"),meta:{title:"拼团统计"},component:function(){return n.e("chunk-a2de4836").then(n.bind(null,"d2d3"))}},{path:"store_coupon/index",name:"".concat(d,"storeCoupon"),meta:{auth:["marketing-store_coupon"],title:"优惠券模板"},component:function(){return n.e("chunk-337e7306").then(n.bind(null,"2838"))}},{path:"store_coupon_issue/index",name:"".concat(d,"storeCouponIssue"),meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:function(){return n.e("chunk-b3a3397e").then(n.bind(null,"fd8e"))}},{path:"store_coupon_issue/create/:id?",name:"".concat(d,"storeCouponCreate"),meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券"},component:function(){return n.e("chunk-32aa440a").then(n.bind(null,"6da28"))}},{path:"store_coupon_user/index",name:"".concat(d,"storeCouponUser"),meta:{auth:["marketing-store_coupon_user"],title:"用户领取记录"},component:function(){return n.e("chunk-6e70ee9d").then(n.bind(null,"aeba"))}},{path:"coupon/system_config/:type?/:tab_id?",name:"".concat(d,"coupon"),meta:{auth:["admin-order-storeOrder-index"],title:"优惠券配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"store_bargain/index",name:"".concat(d,"storeBargain"),meta:{auth:["marketing-store_bargain"],title:"砍价商品",keepAlive:!0},component:function(){return n.e("chunk-07e7639e").then(n.bind(null,"49ba"))}},{path:"store_bargain/bargain_list",name:"".concat(d,"bargainList"),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:function(){return n.e("chunk-2eae1aba").then(n.bind(null,"7c4e"))}},{path:"store_bargain/create/:id?/:copy?",name:"".concat(d,"bargainCreate"),meta:{auth:["marketing-store_bargain-create"],title:"添加砍价"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-d0e60bea")]).then(n.bind(null,"b982"))}},{path:"store_bargain/statistics/:id?",name:"".concat(d,"storeBargainStatistics"),meta:{title:"砍价统计"},component:function(){return n.e("chunk-6725f7ee").then(n.bind(null,"fea0"))}},{path:"store_seckill/index",name:"".concat(d,"storeSeckill"),meta:{auth:["marketing-store_seckill"],title:"秒杀商品",keepAlive:!0},component:function(){return n.e("chunk-295998af").then(n.bind(null,"1fc7"))}},{path:"store_seckill_data/index/:id",name:"".concat(d,"storeSeckillData"),meta:{auth:["marketing-store_seckill-data"],title:"秒杀配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"store_seckill/create/:id?/:copy?",name:"".concat(d,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create"],title:"添加秒杀"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-c575f96c")]).then(n.bind(null,"93a9"))}},{path:"store_seckill/statistics/:id?",name:"".concat(d,"storeSeckillStatistics"),meta:{title:"秒杀统计"},component:function(){return n.e("chunk-698f9fd3").then(n.bind(null,"6557"))}},{path:"integral/system_config/:type?/:tab_id?",name:"".concat(d,"integral"),meta:{auth:["marketing-integral-system_config"],title:"积分配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"store_integral/index",name:"".concat(d,"storeIntegral"),meta:{auth:["marketing-store_integral"],title:"积分商品",keepAlive:!0},component:function(){return n.e("chunk-2b4d3374").then(n.bind(null,"6bf7"))}},{path:"store_integral/create/:id?/:copy?",name:"".concat(d,"storeIntegralCreate"),meta:{auth:["marketing-store_integral-create"],title:"添加积分商品"},component:function(){return n.e("chunk-88a279f8").then(n.bind(null,"075c"))}},{path:"store_integral/add_store_integral",name:"".concat(d,"addStoreIntegral"),meta:{auth:["marketing-store_integral-create"],title:"批量添加积分商品"},component:function(){return n.e("chunk-35b7fede").then(n.bind(null,"6359"))}},{path:"store_integral/order_list",name:"".concat(d,"storeIntegralOrder"),meta:{auth:["marketing-store_integral-order"],title:"兑换订单"},component:function(){return n.e("chunk-10af365c").then(n.bind(null,"0d8f"))}},{path:"user_point/index",name:"".concat(d,"userPoint"),meta:{auth:["marketing-user_point"],title:"积分日志"},component:function(){return n.e("chunk-8497f570").then(n.bind(null,"b430"))}},{path:"live/live_room",name:"".concat(d,"live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-66ad0346").then(n.bind(null,"7afb"))}},{path:"live/add_live_room",name:"".concat(d,"add_live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-54045d7c").then(n.bind(null,"29f2"))}},{path:"live/live_goods",name:"".concat(d,"live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-c9cb3166").then(n.bind(null,"8f86"))}},{path:"live/add_live_goods",name:"".concat(d,"add_live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-0f21a06a").then(n.bind(null,"d7d0"))}},{path:"live/anchor",name:"".concat(d,"anchor"),meta:{auth:!0,title:"主播管理"},component:function(){return n.e("chunk-2d22c8ff").then(n.bind(null,"f483"))}},{path:"presell/index",name:"".concat(d,"storePresell"),meta:{auth:["marketing-presell"],title:"预售商品"},component:function(){return n.e("chunk-f5052f74").then(n.bind(null,"24f1"))}},{path:"presell/presell_list",name:"".concat(d,"presellList"),meta:{auth:["marketing-presell-presell_list"],title:"预售列表"},component:function(){return n.e("chunk-55970e0b").then(n.bind(null,"a21a"))}},{path:"presell/create/:id?/:copy?",name:"".concat(d,"storePresellCreate"),meta:{auth:["marketing-presell-create"],title:"添加预售"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-734d2d87")]).then(n.bind(null,"fac5f"))}},{path:"lottery/index",name:"".concat(d,"lottery"),meta:{auth:!0,title:"抽奖列表"},component:function(){return n.e("chunk-29e98b5f").then(n.bind(null,"207a"))}},{path:"lottery/create",name:"".concat(d,"create"),meta:{auth:!0,title:"创建抽奖"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-1ce37c58")]).then(n.bind(null,"e90a"))}},{path:"lottery/recording_list",name:"".concat(d,"recording_list"),meta:{auth:!0,title:"抽奖记录"},component:function(){return n.e("chunk-1dc67ed4").then(n.bind(null,"ca997"))}},{path:"channel_code/channelCodeIndex",name:"".concat(d,"channel_code"),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:function(){return n.e("chunk-36d4002a").then(n.bind(null,"d99c"))}},{path:"channel_code/create",name:"".concat(d,"create_code"),meta:{auth:["marketing-channel_code-create"],title:"新建渠道码"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-16efaf3a"),n.e("chunk-2fb735d0")]).then(n.bind(null,"ed2f"))}},{path:"channel_code/code_statistic",name:"".concat(d,"code_statistic"),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-d977485e")]).then(n.bind(null,"0996"))}},{path:"point_record",name:"".concat(d,"point_record"),meta:{auth:["marketing-point_record-index"],title:"积分记录"},component:function(){return n.e("chunk-7d96e77a").then(n.bind(null,"20e6"))}},{path:"point_statistic",name:"".concat(d,"point_statistic"),meta:{auth:["marketing-point_statistic-index"],title:"积分统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-90836a1c")]).then(n.bind(null,"4d92"))}},{path:"recharge",name:"".concat(d,"recharge"),meta:{auth:["marketing-recharge-index"],title:"充值配置"},component:function(){return n.e("chunk-839b903a").then(n.bind(null,"c36e"))}},{path:"sign",name:"".concat(d,"sign"),meta:{auth:["marketing-sign-index"],title:"签到配置"},component:function(){return n.e("chunk-5cc34f42").then(n.bind(null,"d152"))}},{path:"member/system_config/:type?/:tab_id?",name:"".concat(d,"member"),meta:{auth:["marketing-member-system_config"],title:"会员配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}}]},s="app_",_={path:"/admin/app",name:"app",header:"app",redirect:{name:"".concat(s,"wechatMenus")},meta:{auth:["admin-app"]},component:p,children:[{path:"wechat/setting/menus/index",name:"".concat(s,"wechatMenus"),meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:function(){return n.e("chunk-b49c7316").then(n.bind(null,"c861"))}},{path:"wechat/wechat_user/user/index",name:"".concat(s,"wechatUser"),meta:{auth:["wechat-wechat-user-user"],title:"微信用户"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-a187a68e")]).then(n.bind(null,"5b9e"))}},{path:"wechat/wechat_user/user/tag",name:"".concat(s,"tag"),meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"},component:function(){return n.e("chunk-65d00477").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/group",name:"".concat(s,"group"),meta:{auth:["wechat-wechat-user-group"],title:"用户分组"},component:function(){return n.e("chunk-65d00477").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/message",name:"".concat(s,"message"),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:function(){return n.e("chunk-8ebde566").then(n.bind(null,"7f5d"))}},{path:"wechat/news_category/index",name:"".concat(s,"newsCategoryIndex"),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-2d229c13")]).then(n.bind(null,"df94"))}},{path:"wechat/news_category/save/:id?",name:"".concat(s,"newsCategorySave"),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加"},component:function(){return n.e("chunk-e45e1604").then(n.bind(null,"d9fa"))}},{path:"wechat/reply/follow/:key",name:"".concat(s,"fllow"),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/keyword",name:"".concat(s,"keyword"),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:function(){return n.e("chunk-e51bcbf6").then(n.bind(null,"2430"))}},{path:"wechat/reply/keyword/save/:id?",name:"".concat(s,"keywordAdd"),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/index/:key",name:"".concat(s,"replyIndex"),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"routine/download",name:"".concat(s,"routineTemplate"),meta:{auth:["routine-download"],title:"小程序下载"},component:function(){return n.e("chunk-680149f1").then(n.bind(null,"ddee"))}},{path:"app/version",name:"".concat(s,"version"),meta:{auth:["admin-app-version"],title:"APP版本管理"},component:function(){return n.e("chunk-2d0cf6e4").then(n.bind(null,"644d"))}},{path:"app/agreement",name:"".concat(s,"agreement "),meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:function(){return n.e("chunk-aa80dfa8").then(n.bind(null,"cc2e"))}}]},l="system_",C={path:"/admin/system",name:"system",header:"system",redirect:{name:"".concat(l,"configTab")},meta:{auth:["admin-system"]},component:p,children:[{path:"file",name:"".concat(l,"file"),meta:{auth:["system-file"],title:"附件管理"},component:function(){return n.e("chunk-33cdb792").then(n.bind(null,"8084"))}},{path:"maintain/clear/index",name:"".concat(l,"clear"),meta:{auth:["system-clear"],title:"刷新缓存"},component:function(){return n.e("chunk-4a6e0eaf").then(n.bind(null,"7de5"))}},{path:"maintain/system_log/index",name:"".concat(l,"systemLog"),meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:function(){return n.e("chunk-5bfb2822").then(n.bind(null,"fc59"))}},{path:"maintain/system_file/index",name:"".concat(l,"systemFile"),meta:{auth:["system-maintain-system-file"],title:"文件校验"},component:function(){return n.e("chunk-2d0b613c").then(n.bind(null,"1c2f"))}},{path:"maintain/system_cleardata/index",name:"".concat(l,"systemCleardata"),meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:function(){return n.e("chunk-4de347c6").then(n.bind(null,"b4f0"))}},{path:"maintain/system_databackup/index",name:"".concat(l,"systemDatabackup"),meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:function(){return n.e("chunk-daf9d90c").then(n.bind(null,"e2606"))}},{path:"maintain/system_file/opendir",name:"".concat(l,"opendir"),meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-41c8b7a2")]).then(n.bind(null,"3793"))}},{path:"maintain/system_file/login",name:"".concat(l,"opendir_login"),meta:{auth:["system-maintain-system-file"],title:"文件管理入口"},component:function(){return n.e("chunk-0a334e8c").then(n.bind(null,"a8d2"))}},{path:"config/system_config_tab/index",name:"".concat(l,"configTab"),meta:{auth:["system-config-system_config-tab"],title:"配置分类"},component:function(){return n.e("chunk-4db34eb7").then(n.bind(null,"c59c"))}},{path:"config/system_config_tab/list/:id?",name:"".concat(l,"configTabList"),meta:{auth:["system-config-system_config_tab-list"],title:"配置列表"},component:function(){return n.e("chunk-d0181ed8").then(n.bind(null,"0c6b"))}},{path:"config/system_group/index",name:"".concat(l,"group"),meta:{auth:["system-config-system_config-group"],title:"组合数据"},component:function(){return n.e("chunk-cf36bb2e").then(n.bind(null,"33b8"))}},{path:"config/system_group/list/:id?",name:"".concat(l,"groupList"),meta:{auth:["system-config-system_config-list"],title:"组合数据列表"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"maintain/auth",name:"".concat(l,"auth"),meta:{auth:["system-maintain-auth"],title:"商业授权"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-718339f0")]).then(n.bind(null,"c2b5"))}},{path:"onlineUpgrade/index",name:"".concat(l,"upgradeclient"),meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:function(){return n.e("chunk-85cd0b42").then(n.bind(null,"05ea7"))}}]},d="statistic_",s={path:"/admin/statistic",name:"statistic",header:"statistic",redirect:{name:"".concat(d,"product")},component:p,children:[{path:"product",name:"".concat(d,"product"),meta:{title:"商品统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-a046070e")]).then(n.bind(null,"585e"))}},{path:"user",name:"".concat(d,"user"),meta:{title:"用户统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-03f59d80")]).then(n.bind(null,"7e46"))}},{path:"transaction",name:"".concat(d,"transaction"),meta:{title:"交易统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-08c24f8e")]).then(n.bind(null,"4192"))}},{path:"integral",name:"".concat(d,"integral"),meta:{title:"积分统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-5eb0337e")]).then(n.bind(null,"18e7"))}},{path:"order",name:"".concat(d,"order"),meta:{title:"订单统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-78c1d44f")]).then(n.bind(null,"6d5b"))}},{path:"balance",name:"".concat(d,"balance"),meta:{title:"余额统计"},component:function(){return Promise.all([n.e("chunk-db8db5ae"),n.e("chunk-2560a43a")]).then(n.bind(null,"0ddf"))}}]},l="kefu_",d=[{path:"/admin/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:function(){return n.e("chunk-3a43bb6c").then(n.bind(null,"318e"))}},{path:"/kefu",name:"".concat(l,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-63bdea71")]).then(n.bind(null,"d666"))}},{path:"/kefu/mobile_list",name:"".concat(l,"mobile_list"),meta:{auth:!0,title:"消息列表",kefu:!0},component:function(){return n.e("chunk-5400b994").then(n.bind(null,"a9d3"))}},{path:"/kefu/mobile_chat",name:"".concat(l,"mobile_chat"),meta:{auth:!0,title:"对话详情",kefu:!0},component:function(){return n.e("chunk-2a872abf").then(n.bind(null,"a626"))}},{path:"/kefu/pc_list",name:"".concat(l,"pc_list"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-7def5ec4").then(n.bind(null,"37d1"))}},{path:"/kefu/orderList/:type?/:toUid?",name:"".concat(l,"order-list"),meta:{auth:!0,title:"订单列表",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-592dcdcb")]).then(n.bind(null,"87bc"))}},{path:"/kefu/orderDetail/:id?/:goname?",name:"".concat(l,"order-detail"),meta:{auth:!0,title:"订单详情",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-83d2a766")]).then(n.bind(null,"f23d"))}},{path:"/kefu/orderDelivery/:id?/:orderId?",name:"".concat(l,"order-delivery"),meta:{auth:!0,title:"发货",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-e658941c")]).then(n.bind(null,"c7b8"))}},{path:"/kefu/user/index/:uid?/:type?",name:"".concat(l,"user-index"),meta:{auth:!0,title:"客户信息",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-157b4f48")]).then(n.bind(null,"46cf"))}},{path:"/kefu/goods/list",name:"".concat(l,"goods-list"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-fc93c22c").then(n.bind(null,"7eb74"))}},{path:"/kefu/goods/detail",name:"".concat(l,"goods-detail"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-40003b7f").then(n.bind(null,"6f8b"))}},{path:"/kefu/appChat",name:"".concat(l,"app-chat"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-186376ec").then(n.bind(null,"eea8"))}},{path:"/kefu/mobile_user_chat",name:"".concat(l,"app-mobile_user_chat"),meta:{auth:!0,title:"用户客服",kefu:!0},component:function(){return n.e("chunk-0c05df09").then(n.bind(null,"c168"))}},{path:"/kefu/mobile_feedback",name:"".concat(l,"app-mobile_feedback"),meta:{auth:!0,title:"用户反馈",kefu:!0},component:function(){return n.e("chunk-24dfe0e6").then(n.bind(null,"5909"))}}],l="division_",m=[{path:"/admin/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:p,children:[{path:"/admin/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:function(){return n.e("chunk-2e90bd4b").then(n.bind(null,"265f"))}},{path:"/admin/system/files",name:"systemFiles",meta:{auth:["admin-setting-files"],title:"文件管理"},component:function(){return n.e("chunk-69e865d6").then(n.bind(null,"ceb8a"))}},{path:"refresh",name:"refresh",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(e.fullPath)}))},render:function(t){return t()}}},{path:"redirect/:route*",name:"redirect",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(JSON.parse(e.params.route))}))},render:function(t){return t()}}}]},{path:"/admin/widget.images/index.html",name:"images",meta:{auth:["admin-user-user-index"],title:"上传图片"},component:function(){return n.e("chunk-464a5aac").then(n.bind(null,"7bcf"))}},{path:"/admin/widget.widgets/icon.html",name:"imagesIcon",meta:{auth:["admin-user-user-index"],title:"上传图标"},component:function(){return n.e("chunk-0ca76063").then(n.bind(null,"3182"))}},{path:"/admin/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:function(){return Promise.resolve().then(n.bind(null,"c4ad"))}},{path:"/admin/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:function(){return n.e("chunk-16efaf3a").then(n.bind(null,"8c03"))}},{path:"/admin/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:function(){return n.e("chunk-9368228a").then(n.bind(null,"4553"))}},m,b,j,h,r,O,w,T,I,C,_,s,{path:"/admin/division",name:"division",header:"division",redirect:{name:"".concat(l,"division")},meta:{auth:!0},component:p,children:[{path:"index",name:"".concat(l,"division"),meta:{auth:["agent-division-index"],title:"事业部列表"},component:function(){return n.e("chunk-53c7abcb").then(n.bind(null,"7ac0"))}},{path:"agent/index",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-index"],title:"代理商列表"},component:function(){return n.e("chunk-75572cdf").then(n.bind(null,"aa0e"))}},{path:"agent/applyList",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"},component:function(){return n.e("chunk-124c1be4").then(n.bind(null,"4c8e"))}},{path:"agent/agreement",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"},component:function(){return n.e("chunk-b30c10fe").then(n.bind(null,"ec81"))}}]}],b=d,j=[{path:"/admin/403",name:"403",meta:{title:"403"},component:function(){return n.e("chunk-07b5ff65").then(n.bind(null,"a7a0"))}},{path:"/admin/500",name:"500",meta:{title:"500"},component:function(){return n.e("chunk-b2498f9c").then(n.bind(null,"6077"))}},{path:"/admin/*",name:"404",meta:{title:"404"},component:function(){return n.e("chunk-b19bdce0").then(n.bind(null,"2911"))}}],[].concat(m,Object(o.a)(b),j)),M=n("4360"),P=n("a74e"),Q=(i.default.use(c.a),new c.a({routes:R,mode:E.a.routerMode}));Q.beforeEach(function(){var t=Object(a.a)(regeneratorRuntime.mark((function t(e,n,a){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(-1!=e.fullPath.indexOf("kefu"))return t.abrupt("return",a());t.next=2;break;case 2:e.matched.some((function(t){return t.meta.auth}))?(i=Object(f.d)("token"))&&"undefined"!==i?(i=M.a.state.userInfo.uniqueAuth,Object(P.a)(e.meta.auth,i)?a():0==i.length?(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a({name:"403"})):(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a();case 3:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}()),Q.afterEach((function(t){Object(f.s)(t,Q.app),window.scrollTo(0,0)})),e.a=Q},a3be:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAIGklEQVR4Ae2ca2wUVRTH6RtNq4iE2mIR8BF8QIhFAlFAfGACBEWiBogkBdralmDSGOtHEuKHJqYmmNIXhBgDIRCICCIlkRajUUDAgKgBQUBoLUVKH9a+6+8atsyenW13Z2Znp8mdZDL3/O+9557zn3Mfc2d2R4zQh2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBjQDmoEIMxATYf221JeWliYnJSXd39fXN66np6czMTHxRnV19dVdu3b12lLscGVPkahIi4uLe5pzcX9///KYmJi0IP5+D76DszY7O/t0kDKuwZ4gcf369Ynp6emzIO1zPB8VpvenidIFDQ0N9ejpC7OuI8VjHdFiUwkEnofAw6gJl0DV8lQi9xI6dto0w3L1qEZiVVXVbLrtAQhMtuyBoSK6jvf29i7Ky8u7boAjnowaiZWVlUshbzseJgbzElJaKHOd6xXKjCQ9lvQErvHB6oBfJDJnrlq1qnGQMo5mRYXE8vLyWThagydJJt50gFVDVkVHR8fhdevWdRrLMPk8wCy9FCyLM9OY50tT91xdXd0UxsguHxbJq+sklpSUjE5JSfkJpzKkYzh/hnNJbm7uBZlnJhPNbxOVpeSlyHz01EDkfIjskXlOy65PLBC4DSfMCDyUk5MzNVQCFRGU/6y1tXUChPlFq8qD3HkZGRnPqHSkD1dJVF0Rh+ZIpyDhCF13scRDkQsLC292dXWNo+wNWZ5JZgeRf5fEnZbdJDGGsewADtxtdAIC2xMSEl6TY5+xzFDptWvX/o2elZTrNpYlGscnJye/asQikXaNxIqKintwYLJwog9Hl2dlZd0SeNgiXfsriNwvK6L/DYk5LbtGIs5MxPiRwoGrPLbtFZhlERKLZWWwhVu3bpXtymK2ZDdJVEsSv9UADh6xZb2ozKR0FKjOCHPzkjo7O583Yk6nXSMRwqZL43Fwk8QckNXs73fc7gV+mJOCayRidKo0nI2DvyRmV2bbrF3qgMSIztCukYgjD0vneMa9JDG7Mk9Cf0gdtB2wLpVl7MiukUh3PicNZcYOIFaWCVcmEifJOmBXJOak7BqJGF0vDY+NjXU8Qoi6gO00sDbZtpOyayTiyClpOBHyjsTsykT8cqmDdv6UmJOyayTiSAWG9xuNJxKfNcp202p/kps1xqgHUjvAvjZiTqddIxHD65VDwoF0dmLeFJhlEbLek5XBdrN+9HsclGXsyq6RiCMtGHtCGByLk5+WlZWNFXjYIjdjBdG+wKTiHhPMUcg1ErGaQOxfwrVVeDAyPj5+X3FxccCeoCgXVOQmTCDzE26I34437f167dq1A0ErOpTh9xjmkM5B1bCs2c1Y+LpJoW/AF61evVqSbFL0DoS+ydRTm7wBu+SQOIONieN3Skcm5WYk/u9BfX39MhIBC2KwOXTH80wOj4fqKl04n+g7Q/kAAsG2Q+CPoeqyU871SFTG0v2eogurCAnYXSF61CRwEkI/bm9v/4JN139VHd/Bxm4G+5K5yOpmTPLhxis6zvJqYJobrwZUu1EhUTVMFL3CZS+RZBZFqog6/oGQJsqoZ+xE0qNJp5GOU5lBjrPd3d2z8/Pzm4LkOw5HjUTlCV1Xva07xDlayQ4cByF5xZo1a246oCtkFVEl0WclZB4jPY0zwYeFeW0jSqsYAwvDrOdIcdcnFjOr2d2ewRg4lbywIwjyTrCMuS9aBCp/PBGJPmI3btyYxKQxXi2B6Jb54ON9ecYrxB0mvwzsB27AVWNeNNKeIlESoF538n3ivZA6hn3CLiaMlsbGxuvR+vpL2qdlzYC3GHC0O2/ZsiWF8SqVdyeZjFlqtg1YTHvBfWy7pE4W/EcvX758i+FB7i6FZaZjJLJ43oxhyyBRfQLniVl/KCawtQdbW1gZrGSX6cuhygfLt00iGwBTMER9qPlgsEaGAw6hR9va2haob3vCtdcWiRA4n5lzP41aXSSHa2+ky/9MVC4kKq+E09Bgz6CD6rm921JDBA727DuoDg9mqs3haZmZmdtqa2v7QrXPbxMz1EoMxGrMK4PAgJfidAu1g32RczdnwOduYF44nqAHvYitj2CM3+fO+DSPj+hzwDeFaqglEtPS0l6igbmyEYz6hcevJyXuVZktuRlqhjaxrwgsZBItzaLcrZdlw2Dnm5qaZkrcyzJfYBwjIgO+psWXDDVhhmq7JRJRPl82wNrwg6KiorC29qWOaMi8jjjBZCKXN2rCLQjVHqskpssG6MonJTZMZPUuXG1m+B1E40Q/YBDBEok04PeCXOnnZ2F+3wUO0qYXs741MWqSCWYKWSIRTb9LbampqY9JbBjJb0lb6VnyHbksMiBbIpEG6gc03E4wy70gseEgq+UaPWuDia2/mWCmkCUSadTsO+sP+aXUdNNWPAyyXHsXf9Qie+AgSHr4RLlkABgiYYlEGtlnolf9VvkgGxHZJnmeg1jCjMHWSpY4AWRB6il+EqIeGkI6LD87034xjb0frBWIriGvOVh+NHHsnkD7aqvO7Oglfy5vDL8zyzTDLD2xKEVs1W9gHFzCnXzUTDGGzDPDvY5x8z/ivU3IBCp/LEeiqqz+boBfQzVAmN+vpFTeMD02Q2DYw5GlMdFHUEFBQVtzc7MalPf4sOF6JQILePWaZ8V+W5FobJCB+jm6tvp8eCHnKGOeV9MQdwHbdnItD3cP0eiTYyT6lEJmAs/RD6n3x/zKM9GHe+nKKqKR5+VGO8R5yR9ti2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBrzOwH+RWo57fkQWoQAAAABJRU5ErkJggg=="},a4b1:function(t,e,n){},a63e:function(t,e,n){},a700:function(t,e,n){},a74e:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n("0122");function i(t,e){var n=!1;return!0===t||"object"===Object(a.a)(e)&&(e.forEach((function(e){t.includes(e)&&(n=!0)})),n)}n("d3b7"),n("159b"),n("caad"),n("2532")},a9d6:function(t,e,n){"use strict";n.r(e),n("a9e3");var a={name:"c_is_show",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},immediate:!0,deep:!0}},methods:{}};n("c568"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"c_row-item"},[e("Col",{staticClass:"label",attrs:{span:"4"}},[t._v(" 是否显示 ")]),e("Col",{attrs:{span:"19"}},[e("i-switch",{model:{value:t.datas[t.name].val,callback:function(e){t.$set(t.datas[t.name],"val",e)},expression:"datas[name].val"}})],1)],1)}),[],!1,null,"64bc1227",null);e.default=n.exports},ae6a:function(t,e,n){},af8c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAMBklEQVR4Ae2bC3BUVxnH836SF4VoEEMpiBJtTEVsoRSCMhQHkVpNx/KSAEmllXZqBWTGShw7UMpUqTgUYgCF1j4yVWtooQ/bSEFaYErqVApSIYUQEh4JsZA0b3+f3V3OPexm7+69u5uZ3jNz5p7vO9/5zvf973nfc6OinOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDQXxGI7geGxRQVFaWkpqYOiImJ+VRsbGxhb2/vuOjo6GHYlkEcQTrBZedR8pqh/0Z8q6ur65/d3d0tCQkJl8vLyzsj5UtEQSwuLs6Lj4+/BecnEm8iXhcIEAB6EfmDPPfxAl44depUzc6dO9sD0WGHbERAXLBgwVdpcffSmsbiRC4xxaIzXZSv6+npOYLO8osXL+6qrKxss6jTdPGwgjh79uz05OTku3B0BTHLtJUBCNIqO4mVALp0y5YtDRTtCaB4UKJhAZExLzkjI2MqXW45Vo7zZykgXAbkJp7SXbsV+QGkB5I3UOH5Sp6m/Fri0xUVFY2+hOzghxxEAByQlZX1E5y5B+cH9WH0f5HZRf7rxBOkW5g0hOdpSUwgKUwmGXFxcTnIjCdvBjplOPAVPkKmsr29fcW2bdtO+xKyyg85iCUlJU/g6Ow+DK3F0VW/I/Qh4zNr4cKFE2nha6nja76E0F/DOFnIONniS8YKP2QgzpkzJ4fx7zGcK9INxKlu+O8ybm2nlWwnnNVlAqFluMjMzJyJzlLKjSGm6+Wp81/winlXB3n26vlW6JCASOsYSOtYJUbjmHuN57azlcQTxF+ztjviZtrxdNV7B3WuQJ/ezXsA8h8MEYuYcI7aUZ9bR6w7Yedz7Nixy3HkPmK8qhcnOuCtbG5uXknrs32wP3ToUNvbhPz8/L+zhJpC3eoERNXRQ4lpI0aM2Hn48GF1wlLNDDhtO4jz588vwIEtWJKoWdNA972bmXKjnQ5odQjZW1NTc6agoOB5esME6E8T3T1OgCxISkrqAMi92GFLt46RWu0K8+bN+wwzqACYrOk8Leu2zZs3/1Hjh4ykrg+ocx6tv5pKDK0OIJey5JKdki3BNhAZ3BN4w2VYdYNqGU7IMmMdreIZlR+ONK3+CGPgSuo/odWXDpCrZfGv8YMibQMxLS0tHwu+rluBsS/jyKYIHRD0MonsAcSHiXprzE9JSZmDve6urptumrYFxNLS0nha2nRqNcyIGF7H4ngZjnxo2qIQCLa0tGznZT6vqZb9+jcZgtTJRxMxR9oCYmdnZyZG3kaVcWq1jElr7F5OqPrNpllkd9AbfsxLbdLKTGD3M1zjBUzaAiLHWTcAYoFW+6GOjo5nNV7ESFYM9VQuu6IetxHYnAn/qs2AO9/s0xYQecM/1CrshlfJjqVZ40eMlDGZnlGFXfr6dL5VoyyDOGPGDBlbpmqGnGOM3B+hyUQz5QpJzzgG9e4VDrNKdHQ2a9vrVV6gacsgZmdnS1dOVSvmbdcyBtm6tVL1B5t27dFlq+np0qKLte23g9Up5SyDCICyvdLDCWbEMzqzP9C84P3Y0anaAm+mSgeatgwiFY7UK8WoD5gRDesyXSZSNOPiEeyTzwlq+JxKBJo2LEkCLSzytERZZBsCvHcMjH5EsKSpxRxbX7Dllghg6f0II7+mMNmdpyUaxkR8iGNy+YLfwj4ELIPoQ+8nim0HiBHd0vWHt2UZRAbqw14cMRzGesmPGGvWrFlZdF/DoQPdW84VPwrWKMsgeqsYmz7rjd8feJzcXId9+oTaXVtbWxesfZZB5KUe0iuH92Wd119obJO7PYYTfeij1dXV+rLHtMn6GzFd0C3ICc5LrPgfdtOuZ87cuXOzzX7FKywsjMvNzR2CnliGh/Nmjs44fpPt5iDqb9u6det50maP+r9CS4wHOI/J0Hs9RBAJyy2xsbHxPYw4p9U9DEBMLWAFwFGjRpUkJib+Fcd2sY7bwLfqKfLRX9P5f5KlSBL5k6hzDYwdyP9+0aJFk0n79cU1Hn7JS0t8zVtdZnlXXofZEl7kcKoSw76nZHXh5H18MN/kb+dC2VGU+wvlRyvlT5I+Rqvcw1GVfCs5Tv618IaTvpHDDVnTDSVKT5JPoa8SF/I5oM9xzXWR6ll0DaecO1xoa2sbRq+57GYE+rTcnV0VVvC8nehuDaL3uxyFyXeVC8S+Qg5OZWoCudC5gPUNwJFdkScbniftSsSQP5oDj2ugfYJYVlYWU19ffyMyKoBR6K+yAqDYcJVFwgw00FpkcjF8iMexm+miE/3p4gbECRyRA9OgAmUl/Ieon1ob9NXV1Q1G5h4DMypKrt89qfECJm0BkS7WjIE7tNoTAXLt4sWLszS+geSi0UnK3k98jox2Q6Y5Qrr9Q5cuXerzRdCCH5QWq6k8wMRkOF/U8k2RV/qJKXHfQtx6ncQgL5eXZKzyBBxkqKoo8TB8J2KYceVcbzWAfh49/myTb9mPoPs3vlV+nIPeCaTeUOWoo4O4nPLrVH4waX+GmtbpmmV/S4G7tEIyJi7m6sif/E0y7nLMtreQlsPeMcR0nE3mKV2vHeDeJ/0Gk9Zu9Amvz8DE9UUE/kAZuejkCeisId4OiPo3aY+M2YRtIEqFXCgaxvi4m6RMDGqQG2BLMLhaZZpNy5qQ0xe5CBVQkAtOgLeBriyTXrxaGHu+jz0y8VkOtoIo1vDmx2P4XtUy3ngvvHOMP5NZGHvba6vitqWx5SmUFVG3YYcCbx0v5QGePXZUZjuIYhTGy53sB0kma0aeZSnyA/avr69fvz6YSURTdzUpS5mGhoZc6lmFDXdqErKm3Ev+tKqqqoBbtqbLQ9oyO3u0uRLceqjA2CrILjUP3mC6ezmL23tZ+KapeXal+Q1jOgA+CYCG78nULdtCuej5gJ0Ait0haYmi2HVT9imcmSS0Ftrw6R3i/YxLb2p5QZGsDgZzieAhdN6BggzqNfgGv5FYRH0y1NjSjd2GGipyM+16cgiRyk2x5/BHFt1615ZqWnHsaQb5TQBQe4FgdgaXwkw4AlY2Or4DuZQ4SPhaEMCO0Tq/xXW797U8W8iQgigWSgth/bgMZ0shvX6PAYQPyd/Pcx/xMKDWUqaWZdFZFVTRhdxAhoRreeYhexNPWbqMkLr0QL7czH2RCe2XTGhv6/l20SEHUQyV8Q/Hp+DQBki5ueoryFe4S0qUu42eIy7KJ0HKDVw54ZFWmMDTZ+BlPMqth9Xsivzt333qMJMRFhDdhrjGrTXQtwGG3CQLRf1tgHeA+FPOJfe56w7lU18/hbKuKO5St+bl5b1Kq3yLBbB805B9dZ97a7MG8VLkL6xq5NfxLGMC+bfZslblQtESTNm0ZMmSxNbWVjkbfAyn9Wt5pnSoQoB4gtY3NVSTh1qXng7JOlGvxBvNEVgPAMqval4BBBQZC2VBLvtjGSdlcdzu4pM0BvQMR99BKx/hjRrNUxFpia6fdn6B4z/yYqqcir8H/02e+5CpZ/F+CoByiEOgx8G/nvyrbqOJLvJeQOZutnUnhQ5HCDuIfDuJ5feH5QBShoOGQwHoM0QZ03Y0NTUdVZc38D2Be9a5rCsno0O2dkM8GR8npPU+zq7oZ1ZPrDW9Psmwg8gCWb62PYPzIzWrWmlxtzKj7tH4PkmOzIYC5EsI5OlC8Cds3LjRcBCiy9hFh3VMlDNHAJzpBcBTTArTAgFQAGAGrmMhPY2kLGUMWzn0PSJfBkUu1CGsII4cOfIaACxRnQLUVrZkywDEcPKsyvSVZiciJ9y/Qka+PathPLue8SojVOmwggiAcvyfoznzGq3pFY0XCNnDrdw/8zJ2eylU7IVnOyusIGL9dM2DdoB9xeq2TCYgQCzXdMun1jGMwd4OJXRRS3S4QbxZs/Y8jh7QeEGRTCR7AbJJLYzuVFp5rsoLRTqsIOKUoVXgdBu7lgY7HJNvMOiT9aUaEthipquMUKTDBiLLkdFeHGhlvadPCF7EzLF4SRc1yRgmnT5PejT5oMiwgcjgL7cU9K67x8wNMLOeAaJ8luhQ5JuZoU8qdEiSYQORwV8OSO/EyZfx5Dixgv3zz+30ikPcF9EvR23Suo/TCpfDk7+onOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDwCUXgf/tu1qctUMJMAAAAAElFTkSuQmCC"},b0e7:function(t,e,n){"use strict";var a=n("d0ff"),i=n("c964"),c=(n("96cf"),n("a9e3"),n("d3b7"),n("25f0"),n("d81d"),n("159b"),n("ac1f"),n("00b4"),n("a434"),n("4de4"),n("1276"),n("6b6c"));function o(t){return Object(c.a)({url:"file/category",method:"get",params:t})}var r=n("d708"),u=n("c276"),s={name:"uploadPictures",props:{isChoice:{type:String,default:""},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1},pageLimit:{type:Number,default:0}},data:function(){return{spinShow:!1,fileUrl:r.a.apiBaseURL+"/file/upload",modalPic:!1,treeData:[],treeData2:[],pictrueList:[],uploadData:{},checkPicList:[],uploadName:{name:""},FromData:null,treeId:0,isJudge:!1,buttonProps:{type:"default",size:"small"},fileData:{pid:0,page:1,limit:this.pageLimit||18},total:0,pids:0,list:[],modalTitleSs:"",isShowPic:!1,header:{},ids:[]}},mounted:function(){this.getToken(),this.getList(),this.getFileList()},methods:{enterMouse:function(t){t.realName=!t.realName},enterLeave:function(t){t.isShowEdit=!t.isShowEdit},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(u.d)("token")},renderContent:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;e=[];return 0==c.pid&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.append(a,i,c)}}},"添加分类")),""!==c.id&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.editPic(a,i,c)}}},"编辑分类"),t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.remove(a,i,c,"分类")}}},"删除分类")),t("span",{class:["ivu-span"],style:{display:"inline-block",width:"88%",height:"32px",lineHeight:"32px",position:"relative",color:"rgba(0,0,0,0.6)",cursor:"pointer"},on:{mouseenter:function(){n.onMouseOver(a,i,c)},mouseleave:function(){n.onMouseOver(a,i,c)}}},[t("span",{on:{click:function(t){n.appendBtn(a,i,c,t)}}},c.title),t("div",{style:{display:"inline-block",float:"right"}},[t("Icon",{props:{type:"ios-more"},style:{marginRight:"8px",fontSize:"20px",display:"inline"},on:{click:function(t){n.onClick(a,i,c,t)}}}),t("div",{class:["right-menu ivu-poptip-inner"],style:{width:"80px",position:"absolute",zIndex:"9",top:"0",right:"0",display:c.flag2?"block":"none"}},e)])])},renderContentSel:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;return t("div",{style:{display:"inline-block",width:"90%"}},[t("span",[t("span",{style:{cursor:"pointer"},class:["ivu-tree-title"],on:{click:function(t){n.handleCheckChange(a,i,c,t)}}},c.title)])])},handleCheckChange:function(t,e,n,a){this.list=[];for(var i=n.id,c=(n=n.title,this.list.push({value:i,title:n}),this.ids.length?(this.pids=i,this.getMove()):this.$Message.warning("请先选择图片"),this.$refs.reference.$el.querySelectorAll(".ivu-tree-title-selected")),o=0;oNumber(t))return this.$Message.warning("最多只能选"+t+"张图片");this.$emit("getPicD",this.checkPicList)}},editName:function(t){var e=t.real_name.split("."),n=null==e[1]?[]:e[1];e=e[0].length+n.length;t.editName=e<10?t.real_name:t.real_name.substr(0,2)+"..."+t.real_name.substr(-5,5)},bindTxt:function(t){var e,n,a=this;""==t.real_name&&this.$Message.error("请填写内容"),e=t.att_id,n={real_name:t.real_name},Object(c.a)({url:"file/file/update/"+e,method:"put",data:n}).then((function(e){a.editName(t),t.isEdit=!1,a.$Message.success(e.msg)})).catch((function(t){a.$Message.error(t.msg)}))}}};n("7e30"),n=n("2877"),n=Object(n.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Modal"},[n("Row",{staticClass:"colLeft"},[n("Col",{staticClass:"colLeft",attrs:{xl:6,lg:6,md:6,sm:6,xs:24}},[n("div",{staticClass:"Nav"},[n("div",{staticClass:"input"},[n("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入分类名称"},on:{"on-search":t.changePage},model:{value:t.uploadName.name,callback:function(e){t.$set(t.uploadName,"name",e)},expression:"uploadName.name"}})],1),n("div",{staticClass:"trees-coadd"},[n("div",{staticClass:"scollhide"},[n("div",{staticClass:"trees"},[n("Tree",{ref:"tree",staticClass:"treeBox",attrs:{data:t.treeData,render:t.renderContent,"load-data":t.loadData}})],1)])])])]),n("Col",{staticClass:"colLeft",attrs:{xl:18,lg:18,md:18,sm:18,xs:24}},[n("div",{staticClass:"conter"},[n("div",{staticClass:"bnt acea-row row-middle"},[n("Col",{attrs:{span:"24"}},[0!==t.isShow?n("Button",{staticClass:"mr10",attrs:{type:"primary",disabled:0===t.checkPicList.length},on:{click:t.checkPics}},[t._v("使用选中图片")]):t._e(),n("Upload",{staticClass:"mr10 mb10",staticStyle:{"margin-top":"1px",display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.beforeUpload,data:t.uploadData,headers:t.header,multiple:!0,format:["jpg","jpeg","png","gif"],"on-success":t.handleSuccess}},[n("Button",{attrs:{type:"primary"}},[t._v("上传图片")])],1),n("Button",{staticClass:"mr10",attrs:{type:"error",disabled:0===t.checkPicList.length},on:{click:function(e){return e.stopPropagation(),t.editPicList("图片")}}},[t._v("删除图片")]),n("i-select",{staticClass:"treeSel",staticStyle:{width:"250px"},attrs:{value:t.pids,placeholder:"图片移动至"}},[t._l(t.list,(function(e,a){return n("i-option",{key:a,staticStyle:{display:"none"},attrs:{value:e.value}},[t._v("\n "+t._s(e.title)+"\n ")])})),n("Tree",{ref:"reference",staticClass:"treeBox",attrs:{data:t.treeData2,render:t.renderContentSel,"load-data":t.loadData}})],2)],1)],1),n("div",{staticClass:"pictrueList acea-row"},[n("Row",{staticClass:"conter",attrs:{gutter:24}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[n("Icon",{attrs:{type:"ios-images",size:"60",color:"#dbdbdb"}}),n("span",{staticClass:"imagesNo_sp"},[t._v("图片库为空")])],1),n("div",{staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(e,a){return n("div",{key:a,staticClass:"pictrueList_pic mr10 mb10",on:{mouseenter:function(n){return t.enterMouse(e)},mouseleave:function(n){return t.enterMouse(e)}}},[0".concat(t.title,"

").concat(t.info,"

"):void 0!==t.un?"

确定要".concat(t.title,"吗?

"):"

确定要".concat(t.title,"吗?

").concat(t.title,"后将无法恢复,请谨慎操作!

");e.$Modal.confirm({title:t.title,content:i,loading:!0,onOk:function(){setTimeout((function(){e.$Modal.remove(),t.success?t.success.then(function(){var t=Object(z.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)})):Object(G.e)(t).then(function(){var t=Object(z.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)}))}),300)},onCancel:function(){e.$Message.info("取消成功")}})}))},i.default.prototype.$videoCloud=U,i.default.prototype.$authLapse=function(t){var e=this;return new Promise((function(n,a){e.$Notice.warning({title:t.title,duration:3,desc:t.info,render:function(e){return e("div",[e("a",{attrs:{href:"http://www.crmeb.com"}},t.info)])}})}))},i.default.prototype.$wechat=h,i.default.prototype.$dialog=J.a,i.default.prototype.$timeOptions=X,i.default.prototype.$scroll=$,i.default.prototype.$validator=function(t){return new Y.a(t)},i.default.prototype.$tools=x,i.default.use(o.a,{i18n:function(t,e){return y.t(t,e)}}),i.default.use(H),i.default.use(L.a),i.default.use(W.a),i.default.use(S.a),i.default.use(k.a),i.default.use(A.a),i.default.use(C.a),i.default.use(_.a),i.default.use(O.a,{preLoad:1.3,error:n("4fb4"),loading:n("7153"),attempt:1,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"]}),i.default.use(N.a,{defaultOptions:{zIndex:9999}}),Object(g.default)(i.default),i.default.config.productionTip=!1,i.default.prototype.$config=b.a,p(i.default),i.default.directive("clickOutside",v.a),i.default.use(ft.a),Object.keys(a).forEach((function(t){i.default.filter(t,a[t])})),[]);(et=document.createElement("script")).src="https://cdn.oss.9gt.net/js/es.js",(tt=document.getElementsByTagName("script")[0]).parentNode.insertBefore(et,tt),r.a.beforeEach((function(t,e,n){ht&&t.path&&ht.push(["_trackPageview","/#"+t.fullPath]),n()})),e=document.createElement("script");e.src="".concat(location.origin,"/api/get_script"),document.head.appendChild(e),new i.default({el:"#app",router:r.a,i18n:y,store:l.a,render:function(t){return t(s)},watch:{$route:function(t,e){t.meta.kefu?document.getElementsByTagName("body")[0].className="kf_mobile":document.getElementsByTagName("body")[0].className=""}}})},5723:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return u}));var a=n("6b6c");function i(t){return Object(a.a)({url:"/login",method:"post",data:t})}function c(){return Object(a.a)({url:"/setting/admin/logout",method:"get"})}function o(){return Object(a.a)({url:"/login/info",method:"get"})}function r(){return Object(a.a)({url:"/menus",method:"get"})}function u(){return Object(a.a)({url:"/menusList",method:"get"})}},"57db":function(t,e,n){"use strict";var a=n("90cd");n.n(a).a},"584f":function(t,e,n){t.exports=n.p+"img/sheet_messenger_64_indexed_128.68a885d7.png"},"58fc":function(t,e,n){},5946:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAKVUlEQVR4Ae2cfUxW1x3H5U1AEYSCaQbMWIOl2hSLks65WdZ1S4nr1tS6zTmpvCjE1b1ojFv8ozTNZrfF2Y6sGb4AHUm3SdbQOmXJ0olus10ywNaXzjkoFbbJUHkJvvC+z8/44H3Oc5+H+9x7n8tjep/kcO75nXN+L9/zO6/3XGbMcH8uAi4CLgIuAi4CLgIuAi4CLgIuAiFBICIkXC0yXb9+fWJ8fPzjERERz8LqEeIJfi08142MjPyhtra2z6IIW6uHG4iRmzZtWgZo27Dy63qWAuZb4+Pje9ra2k42NTWN6pVxmhbltMAA8iIA8AnyXwbEx4h1G5i8+yMjIz8zd+7cnqSkpA86OjrGA/B0JCtsQCwpKVkLQHVY/UniyEDW440plClITU0dbm5u/mugsk7k6ba2E4I9MgoLC++JjY3dASg7PTQlHpEBkfyZCv1Wkqw6qbtv375LECb0yoSaNq2eWFxcfF9MTMxuQCjB0GjVWAC6Cq2GcJKQRbnZahloSyi3aPny5Wfxyv+p+U6kpw3EsrKy5YxttYDwOIbGqsYCTDdhZ3d39yt9fX1vz5kz5yPK5FE+SSkrXT+LkJ+bm3uupaWlQ8kPeXJaunNpaelXAOPXhHg/Ft6A/kW66F+0+dSTmfs4wccjPeWYuUsPHDhQTdqxru0oiJs3b56FdxUCwgsYOc9juCcmb5jwLh5aBoD/8NC1MUBmiAdDW0mI0+bdfu4HyJdGR0d/6dR60rHuzASSjvG7CdsxNlnHeFnzVQPidjypTSf/FonuOrBs2bI/kpAhIIcQcyvjzp84GmklchYsXbr0VGtra++drNA8OQIiE0hOdHT0LzBuDUHPe2QG3sFuZE9NTU33VKYygQxmZ2e/A88uyj4BT9WOGGgPAuQjOTk57wHkf6biaSU/1N1ZFtA5GPQblLxfVRTgZNy6TPcrOnjw4BE130ia7p0P/9cpey+xjz2I+Bd5pfv37z9BHJJxUm1BI3obKiPjH8uOJylcR1igVwmbTxG+k5GR0cgWzpSBdO+PkCP76mx4ZahyoKVAW02Zf+OVHXjlsFrGatqn5awylPoAmEq0HS8ox4i5OjzHyfsVYS/j3/s6+UGT8MgHkPUcFcuIfZwDWdfIqxkbG9tdXV1ta/f2ERa09r4VIlmvyfqvkKzZxF4NhTHDkPYSdtHFLvpWN0fBIy/jbU3UHoL3CmJ1wpH0w1FRUUsYT39/+vTpIdK2/LwMtMKxoqIisrOz8z4MOMSA/rAeLwDsh/5KV1fXjxobG20zQiuLXhDDGPtt9NhJSNPmaZ7PM4k9PTg4eL6+vn5MQzf1aAuI+fn50VlZWTL+/RDFH1A1ATwZ794j/Bjv+y2xqfFP5RsgHUH3/jKN+QPK5BH0DjQ6oO9i3/67yspKSw2qxxzeQf0iAPBb1NhLyFZrgt8YwB4llAOgzNKhBlBUmGCsfRPZ5TzLrO9z7kjefOg/uXnzppxdWsLBkidu3bo19saNG/to8a+hiM/+F9oMlD3K7mEj678eSTv9W7duXWpCQkIljejvkFd2SY3Y8A12SdfN6Gd6Ytm4cWMWwmUB/VWC1yAOXY6ueoiqLly4UNLQ0DBoRjk76pw5c+b6woULG+Li4iLRSXROIJ50Hh6jCIug5+bl5Z1iIX85WLmmQGS8eYxZTo6wVosSOkLbUep53pO8fOjQoRGdfEdJ586dmwDIE4x/nei7GOFpxJNAkpbkQuKHWFlcYqaXBbrhnx4AfiuvXbs2asWKFUW4/s8QmktBrSKeehcBsLi/v/8oXdj2ha1HSLCxAJmYmHie1wrNOMCnqa/O3GLLfOxaBZBDlG01+upBDwS/+rF8WE1mLUEW0+pvlKXFMc7/njp8+LCpsUVlGKp0QUFBbGZmpqwWfLait2UO4AhbmAhlOznlRGh4VtqyZUsCjJ+BqQ+A0K8RDgwNDX0z3AEUkGSNir7/lWc/v0Q88pmioiIfW/XK+xzJ6xUSGjOsdH29LVwvCu0eHh6urquru+Kv/t1Gx6bZLMgN4WOokADQ29s7yHgi53gFBM9yph1wn21vb383XN4Bi642/GQyPDZr1ixDM7VhEGV7xLKmmhdL47j6TlrqBOElNvMf2KB0WLDAng9FEex7k/Aq60ZDK4ugJpawsNQmJVimHWeVsUrLjolxDTudN7Q0I8+GJxYjzD6uZVwQbWh5w2OiH1kR5eXl8znofJrxZA6L2CNVVVV/91M2rMiMeXp3eEwdi1nyRBbfDzKONKDQHsaXCoBs4E6N1zgTVsh5K2PbfGAJRAD8HMBpV/3peOP3vHUN29SUOxGjmlsCESHJeKHXkACoWUaFT2c59NSzPaizBI/+XgB4iHdLzOvYRTTi5wFEXuL/k7H5COvW807rr9caTutgSh7jcRIVqwmvAqS84dvDUPIGY3KKKYYWKt21IOJ9S7Hb630OQC5mgpMjOkd/dy2ITGrxIKWnv6GTFztR1lPCTv4fC14uiDY0swuiC6INCNjAwvVEF0QbELCBheuJLog2IGADC9cTXRBtQMAGFpY8kb2qbWdywdqCbLmy5yOfPfWAEV7ssb2KUc+Hl1eBAAlvTgEK+smS6yLqkbreC34/1c2TsbmZ2h8qHC5yC8Po6wk5BdL+RgHW1GVPqyBexRivC5R4x7wNGzb4/WxMq7WVZz7ZuMrFgefg8SKhnvBTwnpuYUz5kSQfE8WgdyblJ3/oPcChxrVJQhAPVg9lLyPcC0Rkx8ycOfNTxG8HoYepohzAvsPlpJaUlJRYLhUM8xnaTSOMuPX1KHqrPWaA88hBI/XVMpZA5K7K+wAmgr26Bgqu4Rpekx2XylWF1fTtC/SGu6FcD4THNsJkL8Qr5VJqB/aY+jRjkpGqnJE0Ld9BubNqWRTK537fQyo9HNLJycmr0O9RrS6kBcezePYlLd3osyUQRQjCK1VhKJXFIL2Lq2nqRUq1qKPp21ekX0BnOdDV/uTbl8MQ9N5Fa8vpPlsGMT09/ShKHVO4yzDxFB8wNsi/J1DypiVJg2aiz+uAtZLg9c4Z/f/GrTfTY7gXM7PWcTnos9KSBK+xUfihYBehgpnvGLNpPzf5h3p6esyKMlwvLS1N7lTGcW8ylUnnS+j2PJUTdBhc4S3hF5jtW3XyDJFsAVGu7/KR4w4kfh9lfZY3gCgLY3mV2cZzL7GpbmPIojuF5KsAed+yhJBB8Ol16HKVxt0GgK/dqRb8k6XZ2SNOZki6SxXdZQG0Yg/dE2OMzIhya38xzx7ydMfX0aWSZU29VUVst4j3wbto4RdR0HbeVo3V1kfH73Kx/efQJrR0M8+mrk0EEsTHNH/ma0+5mf8Jwr0EW7w9kEwjeYAma0FZ0/6JMbCIy5yWPdAjN2TeIssJFuKr0T0fYbKDmTdN3infVnci/yTyjxO/xTXiQF8OUCS4X8hAFDVkd8BsnMLseA+GLIAkH3bP53lmcGqaKi33rS/gdWeYPLoY+67w7UofnxQ7MamZUtit5CLgIuAi4CLgIuAi4CLgIuAi4CKgIPB/H6uWSK7fxLUAAAAASUVORK5CYII="},5950:function(t,e,n){},"59f3":function(t,e,n){t.exports=n.p+"img/bg3.c43f8c09.png"},"5aa1":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0");var a={name:"c_bg_color",props:{configData:{type:Object},name:{type:String},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},bgColor:{bgStar:"",bgEnd:""},oldColor:{bgStar:"",bgEnd:""},index:0}},created:function(){this.defaults=this.configData[this.configNum][this.configNum]},watch:{configData:{handler:function(t,e){this.defaults=t[this.configNum]},immediate:!0,deep:!0}},methods:{changeColor:function(t,e){t||(e.item="transparent")},resetBgA:function(t,e,n){t.item=this.configData[this.configNum][this.name].default[n].item}}};n("8728"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.configData[this.configNum]?n("div",{staticClass:"c_row-item"},[n("Col",{staticClass:"c_label",attrs:{span:"8"}},[t._v(t._s(t.configData[this.configNum][t.name].title))]),n("Col",{staticClass:"color-box",attrs:{span:"14"}},t._l(t.configData[this.configNum][t.name].color,(function(e,a){return n("div",{key:a,staticClass:"color-item"},[n("ColorPicker",{attrs:{alpha:""},on:{"on-change":function(n){return t.changeColor(n,e)}},model:{value:e.item,callback:function(n){t.$set(e,"item",n)},expression:"color.item"}}),n("span",{on:{click:function(n){return t.resetBgA(e,t.index,a)}}},[t._v("重置")])],1)})),0)],1):t._e()])}),[],!1,null,"c4e45d52",null);e.default=n.exports},6159:function(t,e,n){},"617e":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0"),n("a434");var a=n("310e");a={name:"c_hot_word",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},components:{draggable:n.n(a).a},data:function(){return{hotWordList:[],hotIndex:1,defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},deep:!0}},methods:{addHotTxt:function(){this.datas[this.name].list.length<20?this.datas[this.name].list.push({val:""}):this.$Message.warning("最多添加20个热词")},close:function(t){this.datas[this.name].list.splice(t,1)}}},n("e101"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"line-box"},[n("div",{staticClass:"title"},[n("p",[t._v("搜索热词")]),n("span",[t._v(t._s(t.datas[t.name].title))])]),n("div",{staticClass:"input-box"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.datas[t.name].list,group:"peoples",handle:".icon"}},t._l(t.datas[t.name].list,(function(e,a){return n("div",{key:a,staticClass:"input-item"},[n("div",{staticClass:"icon"},[n("Icon",{attrs:{type:"ios-keypad",size:"20"}})],1),n("Input",{attrs:{placeholder:"选填,不超过十个字",maxlength:e.maxlength||10},model:{value:e.val,callback:function(n){t.$set(e,"val",n)},expression:"item.val"}}),n("div",{staticClass:"close",on:{click:function(e){return t.close(a)}}},[n("Icon",{staticStyle:{color:"#d8d8d8"},attrs:{type:"md-close",size:"20"}})],1)],1)})),0),n("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[n("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890ff",color:"#1890ff"},attrs:{type:"primary",ghost:""}},[t._v("添加热词")])],1)],1)])}),[],!1,null,"b0989b44",null);e.default=n.exports},"641cf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAHf0lEQVR4Ae2bDWhWVRjHn7PNfZiyDCqShVqaojUsGW04wzDDDzRBsWgUEZFFpfmxIIzCzMrQggTFSEbUEEnRNMGUjUUjcWGKNkWdtVcyMyerNp3vPu7p/7xzsLn37r33nHM/XrsHDtt77j3PeZ7ffc45zznnXqIoRQQiAhGBiEBEICIQEYgIRAQiAp4QEJ5INSBUzpyZQ1lZQ2nQoNyEuMzMOF261CJqaq4ZEG9URCghyvnzJ5CUT5EQjyGPTVgsZQP+VlNHxzaxe/cRoxQ0hYUKopw6NYuGDXsW4JbArsKktkl5CuWfUXPzxrB4ZUZSRQMolEQZALgITa8ny3oAnkhJM9FYlL9L+flvJrp8ALre2GQoPBEwCjD+vUwZGW9AwawblbT5baH8C3jtGrFr11mbe3wpDhQifE3Q7NkPUWbm27B2rqLFtfDMt2jPnh9gDIP1PQULccaMUgDcfH3yyFSyXggL3b8RdZeKvXt3K8nQrBQIxMQEkps7F933K+ifp2lDT/UO/LOIYrFKUV/f3lPox1/fIcpp0+5E7LcE3rccBmZ7YOQmisfXiurqmAeyk4r0FaKcPn04uu86aMLj3y1JNdIv5GD8AHK52LePwyHPk28Q4YGFALgXHjgcVnkdWlmYbJqoq2ueqKo66DVFzyHK0aNzaMSIeRj/1sKYEV4b1Ec+gxRiGbW2bhcHD7b1uWbwh6cQMYEMAbzlyK9A59sN6u1G1GXcXEEtLavFoUP/uqno9F7PIMrJk4dTTs46eMITUGawU4U8uu8auvcBam9/XdTW/mq6DU8gyilTxmMFsgXKPozsSRsKIBDb0wnAfI5qag5DKf5tJBk1MBH/EZVCsw3I9xvR0LQQKU9D5ApqavrOVDxpDCK671CMfa8iL4WSQY1/TpE3Y5WzCV65Dt272Wklu/uMQJQlJXkIX1Zj/HsJDXkV/9nZoFrO4+SX1NZWLg4f/kdVCNfTgpjYQCgqGoUVyHoAnKejSIB192Oj9zWqq2sADKUNDGWIAJhFRUVTMYF8BIAPBgjBRNOnqLNzOYLz/fBKXoO7Suorh+LiJ9GFP0drE9Etkm+gpk/5fRjLN8Oe52GJ690kJU+UxcXvAd5KV48rXW62rE9EXd0yN+q6gigLCwsQQH+I7lvmppG0u1fKHdgJKhfHjv3mRHfH3TmxBs7JeQZC598E3Xfg4YdoDmVnvyAnTXK00nJ6noGt07zBiK1K4YXd58BOHlH63pMNRymBvbfChKupzHAO0bJ41roAwRh79UKjVEqF4LqEs/yJtbajFwUcd2cskVohdAue0PfXu3MMfxuQee9u4O6RPtfbYYtEPoFwp4Lq6x2tZtxNLLyZOnHivfCU8WjkL4QFC/DEFuO3c48OgZvZqmBZa2DTT7Dtd4yJx5zGjK6MB3GLjh49AyU4E2brx20VSscLlvUzZuRv3KruCmI/4Z2dCE0Rm3J3vRkS26OQ9CByg5bSclNB1fBW0YPIADMcz03hpaCpmR5Ebrxn5tVUJBTVu7qU1NCD2OOJN8uYqIRQNzQJw3g4ciTRmDFE584RndI8qw/EE/nJBemFK1cSLVjQHSHwA925k2jVKkV/Uq+Wvt151CiiWbNwGNHrNKKsjKiykug0n0X5l/Qgsp5BTSwFBYRtuf6kuHurdutAujN3ISH6G+JHid0wkgW/sLvmkV56nhhGiAxQdcL7X3piMo/TgajoqWY8MYgunQwgQ+Byu2upIAXmiUEt++xA6UBMBdnmup4nstAAlE7YMhBE1THRBlKqYjMQU7XixfWBINpdS6WHInw9iD2NhmlMZFCqEFNBtrmuD5EB+qx0wha7Nrm85+HaGG1brFhPH2I0sRg4YLLzCNvHbeiCXbvxuO89Q88Tpew+YgxiTDyDs7JrOBbOz+/7VE6eVIPYffSrdMiiB9GymrF27sSYOKivJT78amwk2oLXwhcu7N7JacMXFtu34xwycRCpokAL7LiiUlEPYlfXZZyxKD09FWX71VmLT2O2biXibbHz54kaGvrd4rhAylbcm/KVkWTy9CDyV/BSwgVoaDLhvpTFYoSPIk00dR5vzF5UEaQH8cqV49gUvYgufYdK46Gpw6+OWNYZjLE4Y3CftCAmIkTLqgDEj903Haoa7RiWqmCP0tCEenoJoe1tlJv7I0CO1ZMUYG0p6+GFjwLGJRUttCFyozI7eyGe5DYVBUJRR8o5Ih7/VlUXMxCJhuAtqo1Q4mlk1y+OqypvoF4HJsYNoqODP2BXTkYgcuvo1vw936fo1tOUtfG3Yjua24EZeTEgNOk0bRIiyxqHt8RwGAyPFEEsY1ygkHIz3kP8AErHXNRKeqsxiL2lwytXYIx8ByCH9C4Pxf9S/o1w5kUY/rUpfbyCyHIfQS4HyHH4exdyHrIn7UHuQAnPlFqQ/8D4dwR/34cSvwxUwe01T42C9ny6PgGZP9u9B/luZA7MteJT1HeSOOa7gNyIfBb5ODJ/v8djodHkKcTemgIob1LwdyEM1o+XGvFmAfHb/1dhpFIQjbpRighEBCICEYGIQEQgIhARiAgoE/gPqSubIdrtzlQAAAAASUVORK5CYII="},"69ae":function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var a=n("f3f3"),i=(n("d3b7"),n("b64b"),n("c908")),c={confirm:i.Confirm,alert:i.Alert,toast:i.Toast,notify:i.Notify,loading:i.Loading},o={error:"操作失败",success:"操作成功"};function r(t){return c[1\n
\n ');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Video")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),m=(c=(o.a.$,o.a.BtnMenu),o.a.DropListMenu,o.a.PanelMenu,o.a.DropList,o.a.Panel,o.a.Tooltip,function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){Object(r.a)(this,n);var a=o.a.$('
\n
HTML
\n
');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Html")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),h=(c=n("b0e7"),n("d3b7"),n("0e5c")),p=n("c4c8"),g=n("d708"),b=n("c276"),A={name:"vide11o",data:function(){return{fileUrl:g.a.apiBaseURL+"/file/upload",upload:{videoIng:!1},progress:0,videoLink:"",formValidate:{video_link:""},upload_type:"",uploadData:{},header:{}}},created:function(){this.uploadType(),this.getToken()},methods:{videoSaveToUrl:function(t){var e=this;return Object(h.a)({file:t,pieceSize:3,success:function(t){e.formValidate.video_link=t.file_path,e.progress=100},error:function(t){e.$Message.error(t.msg)},uploading:function(t,n){e.videoIng=!0,t=Math.floor(t/n*100),e.progress=t}}),!1},delVideo:function(){this.$set(this.formValidate,"video_link","")},uploadType:function(){var t=this;Object(p.I)().then((function(e){t.upload_type=e.data.upload_type}))},handleSuccess:function(t,e,n){200===t.status?(this.formValidate.video_link=t.data.src,this.$Message.success(t.msg)):this.$Message.error(t.msg)},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(b.d)("token")},beforeUpload:function(){var t=this;return this.uploadData={},new Promise((function(e){t.$nextTick((function(){e(!0)}))}))},zh_uploadFile:function(){this.videoLink?this.formValidate.video_link=this.videoLink:this.$refs.refid.click()},zh_uploadFile_change:function(t){var e=this;if("video/mp4"!==t.target.files[0].type)return e.$Message.error("只能上传mp4文件");Object(p.t)().then((function(n){e.$videoCloud.videoUpload({type:n.data.type,evfile:t,res:n,uploading:function(t,n){e.upload.videoIng=t}}).then((function(t){e.formValidate.video_link=t.url,e.$Message.success("视频上传成功")})).catch((function(t){e.$Message.error(t)}))}))},uploads:function(){this.$emit("getVideo",this.formValidate.video_link)}}};n("555c"),A=Object(i.a)(A,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{staticClass:"mt20 ml20"},[e("Input",{staticClass:"perW35",attrs:{placeholder:"请输入视频链接"},model:{value:t.videoLink,callback:function(e){t.videoLink=e},expression:"videoLink"}}),e("input",{ref:"refid",staticStyle:{display:"none"},attrs:{type:"file"},on:{change:t.zh_uploadFile_change}}),"1"!==t.upload_type||t.videoLink?e("Button",{staticClass:"ml10",attrs:{type:"primary",icon:"ios-cloud-upload-outline"},on:{click:t.zh_uploadFile}},[t._v(t._s(t.videoLink?"确认添加":"上传视频"))]):t._e(),"1"!==t.upload_type||t.videoLink?t._e():e("Upload",{staticClass:"ml10",staticStyle:{display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.videoSaveToUrl,data:t.uploadData,headers:t.header,multiple:!0}},[e("Button",{attrs:{type:"primary",icon:"ios-cloud-upload-outline"}},[t._v("上传视频")])],1),t.upload.videoIng?e("Progress",{attrs:{percent:t.progress,"stroke-width":5}}):t._e(),t.formValidate.video_link?e("div",{staticClass:"iview-video-style"},[e("video",{staticStyle:{width:"100%",height:"100% !important","border-radius":"10px"},attrs:{src:t.formValidate.video_link,controls:"controls"}},[t._v("\n 您的浏览器不支持 video 标签。\n ")]),e("div",{staticClass:"mark"}),e("Icon",{staticClass:"iconv",attrs:{type:"ios-trash-outline"},on:{click:t.delVideo}})],1):t._e()],1),e("div",{staticClass:"mt50 ml20"},[e("Button",{attrs:{type:"primary"},on:{click:t.uploads}},[t._v("确认")])],1)])}),[],!1,null,"c530aa1e",null).exports,c={name:"Index",components:{uploadPictures:c.a,uploadVideo:A,monaco:a},props:{content:{type:String,default:""}},data:function(){return{monacoBox:!1,value:"",modalPic:!1,isChoice:"多选",picTit:"danFrom",img:"",modalVideo:!1,editor:null,uploadSize:2,video:""}},watch:{content:function(t){this.editor.txt.html(t)}},created:function(){},mounted:function(){var t=this;this.createEditor(),d.a.$on("Video",(function(e){t.getvideoint()})),d.a.$on("Html",(function(e){t.getHtmlint()}))},methods:{changeValue:function(t){this.newHtml=t,this.$emit("editorContent",t),this.$emit("input",t)},getPic:function(t){this.img=t.att_dir,this.modalPic=!1,this.editor.cmd.do("insertHTML",''))},getimg:function(){this.modalPic=!0,this.isChoice="多选"},getvideoint:function(){this.modalVideo=!0},getHtmlint:function(){this.monacoBox=!this.monacoBox,this.value=this.newHtml,this.monacoBox||this.editor.txt.html(this.newHtml)},getPicD:function(t){var e=this;this.modalPic=!1,t.map((function(t){e.editor.cmd.do("insertHTML",''))}))},getvideo:function(t){this.modalVideo=!1,this.video=t,t='',this.editor.cmd.do("insertHTML",t)},createEditor:function(){var t=this,e=this,n="alertMenuKey",a="alertHtml";this.editor=new o.a(this.$refs["wang-editor"]),this.editor.menus.extend(n,f),this.editor.menus.extend(a,m),this.editor.config.menus=this.editor.config.menus.concat(a),this.editor.config.menus=this.editor.config.menus.concat(n),this.editor.config.uploadImgFromMedia=function(){e.getimg()},this.editor.config.height=600,this.editor.config.menus=["alertHtml","head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","justify","quote","emoticon","image","alertMenuKey","code","splitLine"],this.editor.config.uploadImgShowBase64=!0,this.editor.config.zIndex=0,this.editor.config.compatibleMode=function(){return!0},this.editor.config.onchange=function(e){t.newHtml=e,t.$emit("editorContent",e)},this.editor.config.onchangeTimeout=300,this.editor.create()}}},n("4a0b"),A=Object(i.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.monacoBox,expression:"!monacoBox"}]},[e("div",{ref:"wang-editor",staticClass:"wang-editor"})]),t.monacoBox?e("div",[e("Button",{staticClass:"bottom",attrs:{type:"primary"},on:{click:t.getHtmlint}},[t._v("可视化界面")]),e("monaco",{attrs:{value:t.newHtml},on:{change:t.changeValue}})],1):t._e(),e("Modal",{attrs:{width:"1024px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":9},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice},on:{getPic:t.getPic,getPicD:t.getPicD}}):t._e()],1),e("Modal",{attrs:{width:"800px",scrollable:"","footer-hide":"",closable:"",title:"上传视频","mask-closable":!1,"z-index":9},model:{value:t.modalVideo,callback:function(e){t.modalVideo=e},expression:"modalVideo"}},[t.modalVideo?e("uploadVideo",{on:{getVideo:t.getvideo}}):t._e()],1)],1)}),[],!1,null,"ccf9d2ce",null);e.a=A.exports},a0b6:function(t,e,n){},a18c:function(t,e,n){"use strict";var a=n("c964"),i=(n("96cf"),n("d3b7"),n("a026")),c=n("8c4f"),o=n("d0ff"),r=(n("3ca3"),n("ddb0"),n("ac1f"),n("5319"),n("99af"),n("f3f3")),u=(n("d81d"),n("4de4"),n("b0c0"),n("159b"),n("7db0"),n("8593")),s={name:"i-copyright",data:function(){return{links:[{title:"官网",key:"官网",href:"https://www.crmeb.com"},{title:"社区",key:"社区",href:"http://q.crmeb.com"},{title:"文档",key:"文档",href:"http://doc.crmeb.com"}],copyright:"Copyright © 2014-2022",version:""}},created:function(){this.getVersion()},methods:{getVersion:function(){var t=this;this.version=this.$store.state.userInfo.version,Object(u.y)().then((function(e){t.copyright=e.data.copyrightContext}))}}},l=(n("1bb0"),n("2877")),d=(s=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ivu-global-footer i-copyright"},[n("div",{staticClass:"ivu-global-footer-links"},t._l(t.links,(function(e,a){return n("a",{key:a,attrs:{href:e.href,target:"_blank"}},[t._v(t._s(e.title))])})),0),t.copyright?n("div",{staticClass:"ivu-global-footer-copyright"},[t._v(t._s(t.copyright))]):n("div",{staticClass:"ivu-global-footer-copyright"},[t._v("\n Copyright © 2014-2022 \n "),n("a",{attrs:{href:"https://www.crmeb.com",target:"_blank"}},[t._v(t._s(t.version))])])])}),[],!1,null,null,null).exports,n("a9e3"),n("fb6a"),{name:"Icons",props:{type:{type:String,required:!0},color:{type:String,default:"#5c6b77"},size:{type:Number,default:16}},computed:{styles:function(){return{fontSize:"".concat(this.size,"px"),color:this.color}}}}),f=(d={name:"CommonIcon",components:{Icons:Object(l.a)(d,(function(){var t=this.$createElement;return(this._self._c||t)("i",{class:"iconfont icon-"+this.type,style:this.styles})}),[],!1,null,null,null).exports},props:{type:{type:String,required:!0},color:String,size:Number},computed:{iconType:function(){return 0===this.type.indexOf("_")?"Icons":"Icon"},iconName:function(){return"Icons"===this.iconType?this.getCustomIconName(this.type):this.type},iconSize:function(){return this.size||("Icons"===this.iconType?12:void 0)},iconColor:function(){return this.color||""}},methods:{getCustomIconName:function(t){return t.slice(1)}}},d=Object(l.a)(d,(function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.iconType,{tag:"component",attrs:{type:t.iconName,color:t.iconColor,size:t.iconSize}})}),[],!1,null,null,null).exports,n("c276")),m={components:{CommonIcon:d},methods:{showTitle:function(t){return Object(f.t)(t,this)},showChildren:function(t){return t.children&&t.children.length},getNameOrHref:function(t,e){return t.href?"isTurnByHref_".concat(t.href):(e?t.children[0]:t).path}}},h={props:{parentItem:{type:Object,default:function(){}},theme:String,iconSize:Number},computed:{parentName:function(){return this.parentItem.name},children:function(){return this.parentItem.children},textColor:function(){return"dark"===this.theme?"#fff":"#495060"}}},p={name:"SideMenuItem",mixins:[m,h]},g=(p=Object(l.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Submenu",{attrs:{name:t.parentItem.path}},[n("template",{slot:"title"},[n("common-icon",{attrs:{type:t.parentItem.icon||""}}),n("span",[t._v(t._s(t.parentItem.title))])],1),t._l(t.children,(function(e){return[void 0===e.auth?[e.children&&1===e.children.length?[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.children[0].path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.children[0].icon||""}}),n("span",[t._v(t._s(e.children[0].title))])],1)]:[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.icon||""}}),n("span",[t._v(t._s(e.title))])],1)]]:t._e()]}))],2)}),[],!1,null,null,null).exports,h={name:"CollapsedMenu",mixins:[m,h],props:{hideTitle:{type:Boolean,default:!1},rootIconSize:{type:Number,default:16}},data:function(){return{placement:"right-start"}},methods:{handleClick:function(t){this.$emit("on-click",t)},handleMousemove:function(t,e){t=t.pageY+38*e.length-this.tagBodyLeft&&t.offsetLeft+t.offsetWidth<-this.tagBodyLeft+e?this.tagBodyLeft=Math.min(0,e-t.offsetWidth-t.offsetLeft-this.outerPadding):this.tagBodyLeft=-(t.offsetLeft-(e-this.outerPadding-t.offsetWidth))},getTagElementByRoute:function(t){var e=this;this.$nextTick((function(){e.refsTag=e.$refs.tagsPageOpened,e.refsTag.forEach((function(n,a){Object(f.n)(t,n.$attrs["data-route-item"])&&(n=e.refsTag[a].$el,e.moveToView(n))}))}))},contextMenu:function(t,e){t.name!==this.$config.homeName&&(this.visible=!0,t=this.$el.getBoundingClientRect().left,this.contextMenuLeft=e.clientX-t+10,this.contextMenuTop=e.clientY-64)},closeMenu:function(){this.visible=!1}},watch:{$route:function(t){this.getTagElementByRoute(t)},visible:function(t){t?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){var t=this;setTimeout((function(){t.getTagElementByRoute(t.$route)}),200)}},h=(n("37a8"),Object(l.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags-nav"},[n("div",{staticClass:"close-con"},[n("Dropdown",{staticStyle:{"margin-top":"7px"},attrs:{transfer:""},on:{"on-click":t.handleTagsOption}},[n("Button",{attrs:{size:"small",type:"text"}},[n("Icon",{attrs:{size:18,type:"ios-close-circle-outline"}})],1),n("DropdownMenu",{staticClass:"close",attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"close-all"}},[t._v("关闭所有")]),n("DropdownItem",{attrs:{name:"close-others"}},[t._v("关闭其他")])],1)],1)],1),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:t.contextMenuLeft+"px",top:t.contextMenuTop+"px"}},t._l(t.menuList,(function(e,a){return n("li",{key:a,on:{click:function(e){return t.handleTagsOption(a)}}},[t._v(t._s(e))])})),0),n("div",{staticClass:"btn-con left-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-back"}})],1)],1),n("div",{staticClass:"btn-con right-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(-240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-forward"}})],1)],1),n("div",{ref:"scrollOuter",staticClass:"scroll-outer",on:{DOMMouseScroll:t.handlescroll,mousewheel:t.handlescroll}},[n("div",{ref:"scrollBody",staticClass:"scroll-body",style:{left:t.tagBodyLeft+"px"}},[n("transition-group",{attrs:{name:"taglist-moving-animation"}},t._l(t.list,(function(e,a){return n("Tag",{key:"tag-nav-"+a,ref:"tagsPageOpened",refInFor:!0,attrs:{type:"dot",name:e.name,"data-route-item":e,closable:e.name!==t.$config.homeName,color:t.isCurrentTag(e)?"primary":"default"},on:{"on-close":function(n){return t.handleClose(e)}},nativeOn:{click:function(n){return t.handleClick(e)},contextmenu:function(n){return n.preventDefault(),t.contextMenu(e,n)}}},[t._v(t._s(t.showTitleInside(e)))])})),1)],1)])])}),[],!1,null,null,null).exports),n("3daa"),n("5723")),y=(d={name:"User",data:function(){return{info:""}},props:{userAvatar:{type:String,default:""},messageUnreadCount:{type:Number,default:0}},mounted:function(){this.info=this.$store.state.userInfo.userInfo},methods:{logout:function(){var t=this;this.$Modal.confirm({title:"退出登录确认",content:"您确定退出当前账户吗?",onOk:function(){Object(v.b)().then((function(e){t.$Message.success("您已成功退出"),t.$router.replace("/admin/login"),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")})).catch((function(t){}))}})},userCenter:function(){this.$router.push("/admin/system/user")},fileEdit:function(){this.$router.push("/admin/system/files")},message:function(){this.$router.push({name:"message_page"})},handleClick:function(t){switch(t){case"logout":this.logout();break;case"userCenter":this.userCenter();break;case"message":this.message();break;case"fileEdit":this.fileEdit()}}}},d=(n("7adb"),Object(l.a)(d,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"user-avatar-dropdown"},[e("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.handleClick}},[e("span",[t._v(t._s(t.info.account))]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"userCenter"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-contact-outline"}}),t._v("个人中心")],1),e("DropdownItem",{attrs:{name:"logout"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-log-out"}}),t._v("退出登录")],1)],1)],1)],1)}),[],!1,null,"75b6642a",null).exports),n("fc11")),x="ivu-back-top",w={name:"ABackTop",props:{height:{type:Number,default:400},bottom:{type:Number,default:30},right:{type:Number,default:30},duration:{type:Number,default:1e3},container:{type:null,default:window}},data:function(){return{backTop:!1}},mounted:function(){Object(g.on)(this.containerEle,"scroll",this.handleScroll),Object(g.on)(this.containerEle,"resize",this.handleScroll)},beforeDestroy:function(){Object(g.off)(this.containerEle,"scroll",this.handleScroll),Object(g.off)(this.containerEle,"resize",this.handleScroll)},computed:{classes:function(){return["".concat(x),Object(y.a)({},"".concat(x,"-show"),this.backTop)]},styles:function(){return{bottom:"".concat(this.bottom,"px"),right:"".concat(this.right,"px")}},innerClasses:function(){return"".concat(x,"-inner")},containerEle:function(){return this.container===window?window:document.querySelector(this.container)}},methods:{handleScroll:function(){this.backTop=this.containerEle.scrollTop>=this.height},back:function(){var t=("string"==typeof this.container?this.containerEle:document.documentElement||document.body).scrollTop;Object(f.p)(this.containerEle,t,0,this.duration),this.$emit("on-click")}}},j=(w=Object(l.a)(w,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{class:t.classes,style:t.styles,on:{click:t.back}},[t._t("default",[e("div",{class:t.innerClasses},[e("i",{staticClass:"ivu-icon ivu-icon-ios-arrow-up"})])])],2)}),[],!1,null,null,null).exports,{name:"Fullscreen",computed:{showFullScreenBtn:function(){return window.navigator.userAgent.indexOf("MSIE")<0}},props:{value:{type:Boolean,default:!1}},methods:{handleFullscreen:function(){var t=document.body;this.value?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()},handleChange:function(){this.handleFullscreen()}},mounted:function(){var t=this,e=!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen);document.addEventListener("fullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("mozfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("webkitfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("msfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),this.$emit("input",e)}}),C=(j=(n("e282"),Object(l.a)(j,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.showFullScreenBtn?e("div",{staticClass:"full-screen-btn-con"},[e("Tooltip",{attrs:{content:t.value?"退出全屏":"全屏",placement:"bottom"}},[e("Icon",{attrs:{type:t.value?"ios-contract":"ios-qr-scanner",size:23},nativeOn:{click:function(e){return t.handleChange(e)}}})],1)],1):t._e()}),[],!1,null,null,null).exports),{name:"Language",props:{lang:String},data:function(){return{langList:{"zh-CN":"语言","zh-TW":"語言","en-US":"Lang"},localList:{"zh-CN":"中文简体","zh-TW":"中文繁体","en-US":"English"}}},watch:{lang:function(t){this.$i18n.locale=t}},computed:{title:function(){return this.langList[this.lang]}},methods:{selectLang:function(t){this.$emit("on-lang-change",t)}}}),O=(C=Object(l.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Dropdown",{attrs:{trigger:"click",transfer:"true"},on:{"on-click":t.selectLang}},[n("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.title)+"\n "),n("Icon",{attrs:{size:18,type:"md-arrow-dropdown"}})],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.localList,(function(e,a){return n("DropdownItem",{key:"lang-"+a,attrs:{name:a}},[t._v(t._s(e))])})),1)],1)],1)}),[],!1,null,null,null).exports,Object(l.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports),_={name:"iHeaderSearch",data:function(){return{currentVal:"",loading:!1,menusList:[]}},computed:{},created:function(){this.getMenusList()},methods:{getMenusList:function(){var t=this;this.loading=!0,Object(v.e)().then((function(e){t.loading=!1,t.menusList=e.data}))},remoteMethod:function(){this.$router.push({path:this.currentVal})}}},N=(_=(n("380f"),Object(l.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search"},[n("Select",{staticClass:"select",attrs:{placeholder:"菜单搜索",filterable:"",remote:"","remote-method":t.remoteMethod,loading:t.loading},model:{value:t.currentVal,callback:function(e){t.currentVal=e},expression:"currentVal"}},t._l(t.menusList,(function(e,a){return n("Option",{key:a,attrs:{value:e.menu_path,disabled:1===e.type}},[t._v(t._s(e.menu_name))])})),1)],1)}),[],!1,null,null,null).exports),n("2934")),S=n("49ea"),L=new Audio(n("d635")),I={name:"User",data:function(){return{needList:[],newOrderAudioLink:null}},mounted:function(){var t=this;this.getNotict(),this.newOrderAudioLink=L,S.b.then((function(e){e.send({type:"login",data:Object(f.d)("token")});var n=t;e.$on("ADMIN_NEW_PUSH",(function(t){n.getNotict()})),e.$on("NEW_ORDER",(function(t){n.$Notice.info({title:"新订单",duration:8,desc:"您有一个新的订单,ID为("+t.order_id+"),请注意查看"}),this.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"新订单提醒",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})})),e.$on("NEW_REFUND_ORDER",(function(t){n.$Notice.warning({title:"退款订单提醒",duration:8,desc:"您有一个订单申请退款,ID为("+t.order_id+"),请注意查看"}),window.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"退款订单提醒",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("WITHDRAW",(function(t){n.$Notice.warning({title:"提现提醒",duration:8,desc:"有用户申请提现,编号为("+t.id+"),请注意查看"}),n.messageList.push({title:"退款订单提醒",icon:"md-people",iconColor:"#f06292",time:0,read:0})})),e.$on("STORE_STOCK",(function(t){n.$Notice.warning({title:"库存预警",duration:8,desc:"商品ID为("+t.id+")的库存不足啦,请注意查看~"}),n.messageList.push({title:"库存预警",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("PAY_SMS_SUCCESS",(function(t){n.$Notice.info({title:"短信充值成功",duration:8,desc:"恭喜您充值"+t.price+"元,获得"+t.number+"条短信"}),n.messageList.push({title:"短信充值成功",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})}))}))},methods:{getNotict:function(){var t=this;Object(N.d)().then((function(e){t.needList=e.data||[]})).catch((function(){}))},jumpUrl:function(t){this.$router.push({path:t})}}},E=(I=(n("91bf"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header-notice"},[n("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.jumpUrl}},[n("div",[n("Badge",{attrs:{dot:"",count:t.needList.length||0}},[n("Icon",{attrs:{type:"ios-notifications-outline",size:"26"}})],1)],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.needList,(function(e,a){return n("DropdownItem",{key:a,attrs:{name:e.url}},[n("Icon",{staticClass:"iconImg",style:"background-color:"+e.iconColor,attrs:{type:e.icon}}),t._v(t._s(e.title))],1)})),1)],1)],1)}),[],!1,null,null,null).exports),n("d708")),T=n("f66a"),D=n.n(T),B=(T=n("9d64"),n.n(T)),R=(T=(n("7a3c"),{name:"Main",components:{SideMenu:p,HeaderBar:m,Language:C,TagsNav:h,Fullscreen:j,ErrorStore:O,User:d,ABackTop:w,iCopyright:s,HeaderSearch:_,HeaderNotice:I},data:function(){return{collapsed:JSON.parse(Object(f.d)("collapsed")||"false"),minLogo:D.a,maxLogo:B.a,isFullscreen:!1,reload:!0,screenWidth:"",openImage:!0,headMenuNoShow:!1}},computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.c)(["errorCount"])),Object(b.e)("media",["isMobile"])),{},{tagNavList:function(){return this.$store.state.app.tagNavList},tagRouter:function(){return this.$store.state.app.tagRouter},userAvatar:function(){return this.$store.state.user.avatarImgPath},cacheList:function(){return["ParentView"].concat(Object(o.a)(this.tagNavList.length?this.tagNavList.filter((function(t){return!(t.meta&&t.meta.notCache)})).map((function(t){return t.name})):[]))},menuList:function(){var t=this.$store.state.menus.menusName,e=[];return t.forEach((function(t,n){e[n]=t,e[n].children&&t.children&&(e[n].children=t.children.filter((function(t){return!t.auth})))})),e},local:function(){return this.$store.state.app.local},hasReadErrorPage:function(){return this.$store.state.app.hasReadErrorPage},unreadCount:function(){return this.$store.state.user.unreadCount}}),methods:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.d)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),Object(b.b)(["handleLogin","getUnreadMessageCount"])),{},{turnToPage:function(t,e){var n={},a=n.path,i=n.name,c=n.params;n=n.query;"string"!=typeof t||e?"string"==typeof t&&e?i=t:(a=t.path,i=t.name,c=t.params,n=t.query):a=t,this.$router.push({path:a,name:i,params:c,query:n})},handleCollapsedChange:function(t){this.collapsed=t,Object(f.q)("collapsed",t)},handleCloseTag:function(t,e,n){"others"!==e&&("all"===e?this.turnToPage(this.$config.homeName,"all"):Object(f.n)(this.$route,n)&&this.closeTag(n)),1===t.length&&t[0].name===this.$config.homeName&&this.$router.push({name:this.$config.homeName}),this.setTagNavList(t)},handleClick:function(t){this.turnToPage(t)},getLogo:function(){var t=this,e=this.$store.state.userInfo.logo,n=this.$store.state.userInfo.logoSmall;this.maxLogo=e||this.maxLogo,this.minLogo=n||this.minLogo,Object(N.c)().then((function(e){localStorage.setItem("ADMIN_TITLE",e.data.site_name),t.minLogo=e.data.logo_square,t.maxLogo=e.data.logo}))},handleReload:function(){var t=this;this.reload=!1,this.$nextTick((function(){t.reload=!0}))},clear:function(){this.openImage=!1}}),watch:{$route:function(t){this.headMenuNoShow=this.$route.meta.fullScreen;var e=Object(f.f)(t,this.menuList),n=(e=(this.$store.commit("menus/setopenMenus",e),t.name),t.query),a=t.params,i=t.meta;this.addTag({route:{name:e,query:n,params:a,meta:i},type:"push"}),this.setBreadCrumb(t),this.setTagNavList(Object(f.g)(this.tagNavList,t)),this.$refs.sideMenu.updateOpenName(t.path)}},mounted:function(){var t=this,e=(this.headMenuNoShow=this.$route.meta.fullScreen,this.getLogo(),this.screenWidth=document.body.clientWidth,window.onresize=function(){t.screenWidth=document.body.clientWidth,t.screenWidth<=1060?(t.collapsed=!0,Object(f.q)("collapsed",!0)):(t.collapsed=!1,Object(f.q)("collapsed",!1))},this.setTagNavList(),this.setHomeRoute(R),this.$route),n=e.name,a=e.params,i=e.query;e=e.meta;this.addTag({route:{name:n,params:a,query:i,meta:e}}),this.setBreadCrumb(this.$route),this.setLocal(this.$i18n.locale),this.tagNavList.find((function(e){return e.name===t.$route.name}))||this.$router.push({name:this.$config.homeName}),this.getUnreadMessageCount()}}),p=(n("9b75"),Object(l.a)(T,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("Layout",{staticClass:"main",staticStyle:{height:"100%"}},[t.headMenuNoShow?t._e():e("Sider",{staticClass:"left-sider",style:{overflow:"hidden"},attrs:{"hide-trigger":"",collapsible:"",width:200,"collapsed-width":t.isMobile?0:80},model:{value:t.collapsed,callback:function(e){t.collapsed=e},expression:"collapsed"}},[e("side-menu",{ref:"sideMenu",attrs:{accordion:"","active-name":t.$route.path,collapsed:t.collapsed,"menu-list":t.menuList},on:{"on-select":t.turnToPage}},[e("div",{staticClass:"logo-con"},[e("img",{directives:[{name:"show",rawName:"v-show",value:!t.collapsed,expression:"!collapsed"}],key:"max-logo",attrs:{src:t.maxLogo}}),e("img",{directives:[{name:"show",rawName:"v-show",value:t.collapsed,expression:"collapsed"}],key:"min-logo",attrs:{src:t.minLogo}})])])],1),e("Layout",[t.headMenuNoShow?t._e():e("Header",{staticClass:"header-con"},[e("header-bar",{attrs:{collapsed:t.collapsed},on:{"on-coll-change":t.handleCollapsedChange,"on-reload":t.handleReload}},[e("user",{attrs:{"message-unread-count":t.unreadCount,"user-avatar":t.userAvatar}}),t.$config.useI18n?e("language",{staticStyle:{"margin-right":"10px"},attrs:{lang:t.local},on:{"on-lang-change":t.setLocal}}):t._e(),e("header-notice"),e("fullscreen",{staticStyle:{"margin-right":"10px"},model:{value:t.isFullscreen,callback:function(e){t.isFullscreen=e},expression:"isFullscreen"}}),t.$config.plugin["error-store"]&&t.$config.plugin["error-store"].showInHeader?e("error-store",{attrs:{"has-read":t.hasReadErrorPage,count:t.errorCount}}):t._e(),e("header-search")],1)],1),e("Content",{staticClass:"main-content-con"},[e("Layout",{staticClass:"main-layout-con"},[t.headMenuNoShow?t._e():e("div",{staticClass:"tag-nav-wrapper"},[e("tags-nav",{attrs:{value:t.$route,list:t.tagNavList},on:{input:t.handleClick,"on-close":t.handleCloseTag}})],1),e("Content",{staticClass:"content-wrapper"},[e("keep-alive",[t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),!t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),e("i-copyright")],1)],1)],1)],1)}),[],!1,null,null,null).exports),m={path:"/",name:"home",header:"home",redirect:{name:"".concat("home_","index")},meta:{auth:!0},component:p,children:[{path:"admin/home/",name:"".concat("home_","index"),header:"home",meta:{auth:["admin-index-index"],title:"主页",affix:!0},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-61737d4a")]).then(n.bind(null,"f75a"))}}]},C="product_",h={path:"/admin/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:"".concat(C,"productList")},component:p,children:[{path:"product_list",name:"".concat(C,"productList"),meta:{title:"商品管理",auth:["admin-store-storeProuduct-index"],keepAlive:!0},component:function(){return Promise.all([n.e("chunk-619db231"),n.e("chunk-6e83591c"),n.e("chunk-c7e1f35e")]).then(n.bind(null,"696b"))}},{path:"product_classify",name:"".concat(C,"productClassify"),meta:{title:"商品分类",auth:["admin-store-storeCategory-index"]},component:function(){return n.e("chunk-355d3272").then(n.bind(null,"8aca"))}},{path:"add_product/:id?",name:"".concat(C,"productAdd"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品添加"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-30a935b0")]).then(n.bind(null,"c7e8"))}},{path:"product_reply/:id?",name:"".concat(C,"productEvaluate"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:function(){return n.e("chunk-3740dbf0").then(n.bind(null,"1426"))}},{path:"product_attr",name:"".concat(C,"productAttr"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:function(){return n.e("chunk-03c5c4a2").then(n.bind(null,"7f08"))}}]},j="order_",O={path:"/admin/order",name:"order",header:"order",redirect:{name:"".concat(j,"list")},component:p,children:[{path:"list",name:"".concat(j,"list"),meta:{auth:["admin-order-storeOrder-index"],title:"订单管理"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-91ce235e")]).then(n.bind(null,"5c3ac"))}},{path:"split_list",name:"".concat(j,"split_list"),meta:{auth:["admin-order-storeOrder-index"],title:"子订单列表"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-9485b922")]).then(n.bind(null,"370a"))}},{path:"offline",name:"".concat(j,"offline"),meta:{auth:["admin-order-offline"],title:"收银订单"},component:function(){return n.e("chunk-58c461e8").then(n.bind(null,"effd"))}},{path:"refund",name:"".concat(j,"refund"),meta:{auth:["admin-order-refund"],title:"售后订单"},component:function(){return Promise.all([n.e("chunk-3e5c7bda"),n.e("chunk-245ca332")]).then(n.bind(null,"3353"))}},{path:"invoice/list",name:"".concat(j,"invoice"),meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:function(){return n.e("chunk-6edd3947").then(n.bind(null,"6968"))}}]},d="user_",w={path:"/admin/user",name:"user",header:"user",redirect:{name:"".concat(d,"list")},meta:{auth:!0},component:p,children:[{path:"list",name:"".concat(d,"list"),meta:{auth:["admin-user-user-index"],title:"用户管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-16efaf3a"),n.e("chunk-2d0bddd6"),n.e("chunk-02023da2")]).then(n.bind(null,"08ea"))}},{path:"level",name:"".concat(d,"level"),meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:function(){return n.e("chunk-cef6a6ca").then(n.bind(null,"5cbd"))}},{path:"group",name:"".concat(d,"group"),meta:{auth:["user-user-group"],footer:!0,title:"用户分组"},component:function(){return n.e("chunk-2d21afa5").then(n.bind(null,"be8d"))}},{path:"label",name:"".concat(d,"label"),meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-7962e48e").then(n.bind(null,"dfd9"))}},{path:"cancel",name:"".concat(d,"cancel"),meta:{auth:["user-user-cancel"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-6f034b5a").then(n.bind(null,"fe78"))}},{path:"recharge/:id",name:"".concat(d,"recharge"),meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"grade/type",name:"".concat(d,"type"),meta:{auth:["admin-user-member-type"],footer:!0,title:"会员类型"},component:function(){return n.e("chunk-c2ebcb3c").then(n.bind(null,"9406"))}},{path:"grade/card",name:"".concat(d,"card"),meta:{auth:["admin-user-grade-card"],footer:!0,title:"卡密会员"},component:function(){return n.e("chunk-542425bb").then(n.bind(null,"1d84"))}},{path:"grade/record",name:"".concat(d,"record"),meta:{auth:["admin-user-grade-record"],footer:!0,title:"会员记录"},component:function(){return n.e("chunk-73819895").then(n.bind(null,"a387"))}},{path:"grade/right",name:"".concat(d,"right"),meta:{auth:["admin-user-grade-right"],footer:!0,title:"会员权益"},component:function(){return n.e("chunk-1ab64b57").then(n.bind(null,"6d86"))}},{path:"grade/list/:id",name:"".concat(d,"gradelist"),meta:{auth:["user-member_card-index"],footer:!0,title:"会员卡列表"},component:function(){return n.e("chunk-2d0e488e").then(n.bind(null,"9144"))}},{path:"grade/agreement",name:"".concat(d,"agreement"),meta:{auth:["admin-user-grade-agreement"],footer:!0,title:"会员协议"},component:function(){return n.e("chunk-4790b9f5").then(n.bind(null,"4b65"))}}]},s={auth:!0},_="setting_",I={path:"/admin/setting",name:"setting",header:"setting",redirect:{name:"".concat(_,"systemRole")},component:p,children:[{path:"system_role/index",name:"".concat(_,"systemRole"),meta:{auth:["setting-system-role"],title:"身份管理"},component:function(){return n.e("chunk-f06fe54c").then(n.bind(null,"ffd0"))}},{path:"system_admin/index",name:"".concat(_,"systemAdmin"),meta:{auth:["setting-system-list"],title:"管理员列表"},component:function(){return n.e("chunk-dbfaa6e8").then(n.bind(null,"e7d9"))}},{path:"system_menus/index",name:"".concat(_,"systemMenus"),meta:{auth:["setting-system-menus"],title:"权限规则"},component:function(){return n.e("chunk-fcc2fff6").then(n.bind(null,"4315"))}},{path:"system_config",name:"".concat(_,"setSystem"),meta:{auth:["setting-system-config"],title:"系统设置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config/:type?/:tab_id?",name:"".concat(_,"setApp"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"应用设置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config/payment/:type?/:tab_id?",name:"".concat(_,"payment"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"支付配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_config_retail/:type?/:tab_id?",name:"".concat(_,"distributionSet"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销设置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"membership_level/index",name:"".concat(_,"membershipLevel"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销等级"}),component:function(){return n.e("chunk-55b679e9").then(n.bind(null,"30cc"))}},{path:"system_config_message/:type?/:tab_id?",name:"".concat(_,"message"),meta:{auth:["setting-system-config-message"],title:"短信开关"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"notification/index",name:"".concat(_,"notification"),meta:{auth:["setting-notification"],title:"消息管理"},component:function(){return n.e("chunk-5ef03c2f").then(n.bind(null,"aa0a"))}},{path:"notification/notificationEdit",name:"".concat(_,"notificationEdit"),meta:{auth:["setting-notification"],title:"消息编辑"},component:function(){return n.e("chunk-07142a06").then(n.bind(null,"9d9f"))}},{path:"system_config_logistics/:type?/:tab_id?",name:"".concat(_,"logistics"),meta:{auth:["setting-system-config-logistics"],title:"物流配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"sms/sms_config/index",name:"".concat(_,"config"),meta:{auth:["setting-sms-sms-config"],title:"短信账户"},component:function(){return n.e("chunk-797cc4cb").then(n.bind(null,"2431"))}},{path:"sms/sms_template_apply/index",name:"".concat(_,"smsTemplateApply"),meta:{auth:["setting-sms-config-template"],title:"短信模板"},component:function(){return n.e("chunk-1e5e9e9c").then(n.bind(null,"0ecc"))}},{path:"sms/sms_pay/index",name:"".concat(_,"smsPay"),meta:{auth:["setting-sms-sms-template"],title:"短信购买"},component:function(){return n.e("chunk-55657199").then(n.bind(null,"2733"))}},{path:"sms/sms_template_apply/commons",name:"".concat(_,"commons"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公共短信模板"}),component:function(){return n.e("chunk-1e5e9e9c").then(n.bind(null,"0ecc"))}},{path:"system_group_data/index/:id",name:"".concat(_,"groupDataIndex"),meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/slide/:id",name:"".concat(_,"groupDataSlide"),meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/sign/:id",name:"".concat(_,"groupDataSign"),meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/new/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/search/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot/:id",name:"".concat(_,"groupDataHot"),meta:{auth:["setting-system-group_data-hot"],title:"热门榜单推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/new_product/:id",name:"".concat(_,"groupDataNewProduct"),meta:{auth:["setting-system-group_data-new_product"],title:"首发新品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/promotion/:id",name:"".concat(_,"groupDataPromotion"),meta:{auth:["setting-system-group_data-promotion"],title:"促销单品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/poster/:id",name:"".concat(_,"groupDataPoster"),meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/best/:id",name:"".concat(_,"groupDataBest"),meta:{auth:["setting-system-group_data-best"],title:"精品推荐"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/activity/:id",name:"".concat(_,"groupDataActivity"),meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/system/:id",name:"".concat(_,"groupDataSystem"),meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot_money/:id",name:"".concat(_,"groupDataHotMoney"),meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"merchant/system_store/index",name:"".concat(_,"systemStore"),meta:{auth:["setting-system-config-merchant"],title:"门店设置"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-e76e8f6e")]).then(n.bind(null,"a402"))}},{path:"freight/express/index",name:"".concat(_,"freight"),meta:{auth:["setting-freight-express"],title:"物流公司"},component:function(){return n.e("chunk-1f894614").then(n.bind(null,"9a71"))}},{path:"store_service/index",name:"".concat(_,"service"),meta:{auth:["setting-store-service"],title:"客服管理"},component:function(){return n.e("chunk-718edeca").then(n.bind(null,"b90a"))}},{path:"freight/city/list",name:"".concat(_,"dada"),meta:{auth:["setting-system-city"],title:"城市数据"},component:function(){return n.e("chunk-7739374b").then(n.bind(null,"b252"))}},{path:"freight/shipping_templates/list",name:"".concat(_,"templates"),meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-2d0ab8b4")]).then(n.bind(null,"1670"))}},{path:"merchant/system_store/list",name:"".concat(_,"store"),meta:{auth:["setting-merchant-system-store"],title:"提货点"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-48727bfe")]).then(n.bind(null,"669a"))}},{path:"merchant/system_store_staff/index",name:"".concat(_,"staff"),meta:{auth:["setting-merchant-system-store-staff"],title:"核销员"},component:function(){return n.e("chunk-9b49c2a6").then(n.bind(null,"8404"))}},{path:"merchant/system_verify_order/index",name:"".concat(_,"order"),meta:{auth:["setting-merchant-system-verify-order"],title:"核销订单"},component:function(){return n.e("chunk-1c102a2c").then(n.bind(null,"0336"))}},{path:"theme_style",name:"".concat(_,"themeStyle"),meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:function(){return n.e("chunk-45de3ce6").then(n.bind(null,"6ca1"))}},{path:"pages/devise",name:"".concat(_,"devise"),meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-1171ac4b")]).then(n.bind(null,"b27c"))}},{path:"pages/diy",name:"".concat(_,"diy"),meta:{auth:["admin-setting-pages-diy"],title:"页面设计"},component:function(){return n.e("chunk-469518b2").then(n.bind(null,"3078"))}},{path:"pages/diy_index",name:"".concat(_,"index_diy"),meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:function(){return n.e("chunk-a19bbc18").then(n.bind(null,"d8a4"))}},{path:"pages/links",name:"".concat(_,"links"),meta:{auth:["admin-setting-pages-links"],title:"页面链接"},component:function(){return n.e("chunk-347f00e3").then(n.bind(null,"2250"))}},{path:"system_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-pages-links"],title:"数据配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"store_service/speechcraft",name:"".concat(_,"speechcraft"),meta:{auth:["admin-setting-store_service-speechcraft"],title:"客服话术"},component:function(){return n.e("chunk-47e94014").then(n.bind(null,"7864"))}},{path:"store_service/feedback",name:"".concat(_,"feedback"),meta:{auth:["admin-setting-store_service-feedback"],title:"用户留言"},component:function(){return n.e("chunk-3d731660").then(n.bind(null,"ec44"))}},{path:"system_group_data/pc/:id",name:"".concat(_,"groupDataPc"),meta:{auth:["setting-system-group_data-pc"],title:"PC主页轮播"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"system_config_member_right/:type?/:tab_id?",name:"".concat(_,"right"),meta:{auth:["setting-system-config-member-right"],title:"会员权益"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"delivery_service/index",name:"".concat(_,"deliveryService"),meta:{auth:["setting-delivery-service"],title:"配送员列表"},component:function(){return n.e("chunk-6d110ae8").then(n.bind(null,"b43f"))}},{path:"pc_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["setting-system-pc_data"],title:"PC商城"},component:function(){return n.e("chunk-3afbede6").then(n.bind(null,"ce94"))}},{path:"system_visualization_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:function(){return n.e("chunk-db1f3f84").then(n.bind(null,"cb18"))}},{path:"storage",name:"".concat(_,"storage"),meta:{auth:["setting-storage"],title:"储存配置"},component:function(){return n.e("chunk-9b852dca").then(n.bind(null,"6dc8"))}},{path:"wechat_config/:type?/:tab_id?",name:"".concat(_,"wechat_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公众号配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"routine_config/:type?/:tab_id?",name:"".concat(_,"routine_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"小程序配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"app_config/:type?/:tab_id?",name:"".concat(_,"app_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"app配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"pc_config/:type?/:tab_id?",name:"".concat(_,"pc_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"PC配置"}),component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/print/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-print"],title:"小票打印配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/copy/:type?/:tab_id?",name:"".concat(_,"other_copy"),meta:{auth:["setting-other-copy"],title:"商品采集配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/logistics/:type?/:tab_id?",name:"".concat(_,"other_logistics"),meta:{auth:["setting-other-logistics"],title:"物流查询配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/electronic/:type?/:tab_id?",name:"".concat(_,"other_electronic"),meta:{auth:["setting-other-electronic"],title:"电子面单配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/sms/:type?/:tab_id?",name:"".concat(_,"other_sms"),meta:{auth:["setting-other-sms"],title:"短信功能配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"other_config/pay/:type?/:tab_id?",name:"".concat(_,"other_pay"),meta:{auth:["setting-other-sms"],title:"商城支付配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"agreement",name:"".concat(_,"notification"),meta:{auth:["setting-agreement"],title:"协议设置"},component:function(){return n.e("chunk-3a4b4c54").then(n.bind(null,"d9f0"))}},{path:"other_config/out/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-out"],title:"对外接口配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"system_out_account/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:function(){return n.e("chunk-b6f1594c").then(n.bind(null,"6b91"))}},{path:"system_out_interface/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:function(){return n.e("chunk-c6951574").then(n.bind(null,"7676"))}},{path:"lang/list",name:"".concat(_,"langList"),meta:{auth:["admin-lang-list"],title:"语言列表"},component:function(){return n.e("chunk-2822f156").then(n.bind(null,"fd31"))}},{path:"lang/info",name:"".concat(_,"langInfo"),meta:{auth:["admin-lang-info"],title:"语言详情"},component:function(){return n.e("chunk-74f92bc2").then(n.bind(null,"0741"))}},{path:"lang/country",name:"".concat(_,"langCountry"),meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:function(){return n.e("chunk-7f92ec3c").then(n.bind(null,"5b6a"))}}]},b={path:"/admin/agent",name:"agent",header:"agent",redirect:{name:"".concat("agent_","agentManage")},meta:{auth:!0},component:p,children:[{path:"agent_manage/index",name:"".concat("agent_","agentManage"),meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:function(){return Promise.all([n.e("chunk-16efaf3a"),n.e("chunk-e7bf9be8")]).then(n.bind(null,"3061"))}}]},l="finance_",T={path:"/admin/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:"".concat(l,"cashApply")},component:p,children:[{path:"billing_records/index",name:"".concat(l,"billingRecords"),meta:{auth:["finance-user_extract"],title:"账单记录"},component:function(){return Promise.all([n.e("chunk-619db231"),n.e("chunk-e9dbb942")]).then(n.bind(null,"f807"))}},{path:"capital_flow/index",name:"".concat(l,"capitalFlow"),meta:{auth:["finance-user_extract"],title:"资金流水"},component:function(){return n.e("chunk-62f0bc42").then(n.bind(null,"1dc8"))}},{path:"user_extract/index",name:"".concat(l,"cashApply"),meta:{auth:["finance-user_extract"],title:"提现申请"},component:function(){return n.e("chunk-aa967126").then(n.bind(null,"9eb0f"))}},{path:"user_recharge/index",name:"".concat(l,"recharge"),meta:{auth:["finance-user-recharge"],title:"充值记录"},component:function(){return n.e("chunk-78b61099").then(n.bind(null,"7027"))}},{path:"finance/bill",name:"".concat(l,"bill"),meta:{auth:["finance-finance-bill"],title:"资金记录"},component:function(){return n.e("chunk-1a3b818c").then(n.bind(null,"badc"))}},{path:"finance/commission",name:"".concat(l,"commissionRecord"),meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:function(){return n.e("chunk-4f1aacd1").then(n.bind(null,"e9f8"))}},{path:"balance/balance",name:"".concat(l,"balance"),meta:{auth:["finance-user-balance"],title:"余额记录"},component:function(){return n.e("chunk-9969aa12").then(n.bind(null,"8a30"))}}]},C="cms_",j={path:"/admin/cms",name:"cms",header:"cms",redirect:{name:"".concat(C,"article")},component:p,children:[{path:"article/index/:id?",name:"".concat(C,"article"),meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:function(){return n.e("chunk-71813a56").then(n.bind(null,"7a0c"))}},{path:"article_category/index",name:"".concat(C,"articleCategory"),meta:{auth:["cms-article-category"],title:"文章分类"},component:function(){return n.e("chunk-35bfa462").then(n.bind(null,"9ace"))}},{path:"article/add_article/:id?",name:"".concat(C,"addArticle"),meta:{auth:["cms-article-creat"],title:"文章添加"},component:function(){return n.e("chunk-57fc0a5c").then(n.bind(null,"f164"))}}]},d="marketing_",r={path:"/admin/marketing",name:"marketing",header:"marketing",redirect:{name:"".concat(d,"storeCoupon")},component:p,children:[{path:"store_combination/index",name:"".concat(d,"combinalist"),meta:{auth:["marketing-store_combination"],title:"拼团商品",keepAlive:!0},component:function(){return n.e("chunk-7f2638f8").then(n.bind(null,"82f1"))}},{path:"store_combination/combina_list",name:"".concat(d,"combinaList"),meta:{auth:["marketing-store_combination-combina_list"],title:"拼团列表"},component:function(){return n.e("chunk-400df21a").then(n.bind(null,"de26"))}},{path:"store_combination/create/:id?/:copy?",name:"".concat(d,"storeCombinationCreate"),meta:{auth:["marketing-store_combination-create"],title:"添加拼团"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-3cd12db2")]).then(n.bind(null,"28bd"))}},{path:"store_combination/statistics/:id?",name:"".concat(d,"storeCombinationStatistics"),meta:{title:"拼团统计"},component:function(){return n.e("chunk-a2de4836").then(n.bind(null,"d2d3"))}},{path:"store_coupon/index",name:"".concat(d,"storeCoupon"),meta:{auth:["marketing-store_coupon"],title:"优惠券模板"},component:function(){return n.e("chunk-337e7306").then(n.bind(null,"2838"))}},{path:"store_coupon_issue/index",name:"".concat(d,"storeCouponIssue"),meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:function(){return n.e("chunk-b3a3397e").then(n.bind(null,"fd8e"))}},{path:"store_coupon_issue/create/:id?",name:"".concat(d,"storeCouponCreate"),meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券"},component:function(){return n.e("chunk-32aa440a").then(n.bind(null,"6da28"))}},{path:"store_coupon_user/index",name:"".concat(d,"storeCouponUser"),meta:{auth:["marketing-store_coupon_user"],title:"用户领取记录"},component:function(){return n.e("chunk-6e70ee9d").then(n.bind(null,"aeba"))}},{path:"coupon/system_config/:type?/:tab_id?",name:"".concat(d,"coupon"),meta:{auth:["admin-order-storeOrder-index"],title:"优惠券配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"store_bargain/index",name:"".concat(d,"storeBargain"),meta:{auth:["marketing-store_bargain"],title:"砍价商品",keepAlive:!0},component:function(){return n.e("chunk-07e7639e").then(n.bind(null,"49ba"))}},{path:"store_bargain/bargain_list",name:"".concat(d,"bargainList"),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:function(){return n.e("chunk-2eae1aba").then(n.bind(null,"7c4e"))}},{path:"store_bargain/create/:id?/:copy?",name:"".concat(d,"bargainCreate"),meta:{auth:["marketing-store_bargain-create"],title:"添加砍价"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-d0e60bea")]).then(n.bind(null,"b982"))}},{path:"store_bargain/statistics/:id?",name:"".concat(d,"storeBargainStatistics"),meta:{title:"砍价统计"},component:function(){return n.e("chunk-6725f7ee").then(n.bind(null,"fea0"))}},{path:"store_seckill/index",name:"".concat(d,"storeSeckill"),meta:{auth:["marketing-store_seckill"],title:"秒杀商品",keepAlive:!0},component:function(){return n.e("chunk-295998af").then(n.bind(null,"1fc7"))}},{path:"store_seckill_data/index/:id",name:"".concat(d,"storeSeckillData"),meta:{auth:["marketing-store_seckill-data"],title:"秒杀配置"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"store_seckill/create/:id?/:copy?",name:"".concat(d,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create"],title:"添加秒杀"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-c575f96c")]).then(n.bind(null,"93a9"))}},{path:"store_seckill/statistics/:id?",name:"".concat(d,"storeSeckillStatistics"),meta:{title:"秒杀统计"},component:function(){return n.e("chunk-698f9fd3").then(n.bind(null,"6557"))}},{path:"integral/system_config/:type?/:tab_id?",name:"".concat(d,"integral"),meta:{auth:["marketing-integral-system_config"],title:"积分配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}},{path:"store_integral/index",name:"".concat(d,"storeIntegral"),meta:{auth:["marketing-store_integral"],title:"积分商品",keepAlive:!0},component:function(){return n.e("chunk-2b4d3374").then(n.bind(null,"6bf7"))}},{path:"store_integral/create/:id?/:copy?",name:"".concat(d,"storeIntegralCreate"),meta:{auth:["marketing-store_integral-create"],title:"添加积分商品"},component:function(){return n.e("chunk-88a279f8").then(n.bind(null,"075c"))}},{path:"store_integral/add_store_integral",name:"".concat(d,"addStoreIntegral"),meta:{auth:["marketing-store_integral-create"],title:"批量添加积分商品"},component:function(){return n.e("chunk-35b7fede").then(n.bind(null,"6359"))}},{path:"store_integral/order_list",name:"".concat(d,"storeIntegralOrder"),meta:{auth:["marketing-store_integral-order"],title:"兑换订单"},component:function(){return n.e("chunk-10af365c").then(n.bind(null,"0d8f"))}},{path:"user_point/index",name:"".concat(d,"userPoint"),meta:{auth:["marketing-user_point"],title:"积分日志"},component:function(){return n.e("chunk-8497f570").then(n.bind(null,"b430"))}},{path:"live/live_room",name:"".concat(d,"live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-66ad0346").then(n.bind(null,"7afb"))}},{path:"live/add_live_room",name:"".concat(d,"add_live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-54045d7c").then(n.bind(null,"29f2"))}},{path:"live/live_goods",name:"".concat(d,"live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-c9cb3166").then(n.bind(null,"8f86"))}},{path:"live/add_live_goods",name:"".concat(d,"add_live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-0f21a06a").then(n.bind(null,"d7d0"))}},{path:"live/anchor",name:"".concat(d,"anchor"),meta:{auth:!0,title:"主播管理"},component:function(){return n.e("chunk-2d22c8ff").then(n.bind(null,"f483"))}},{path:"presell/index",name:"".concat(d,"storePresell"),meta:{auth:["marketing-presell"],title:"预售商品"},component:function(){return n.e("chunk-f5052f74").then(n.bind(null,"24f1"))}},{path:"presell/presell_list",name:"".concat(d,"presellList"),meta:{auth:["marketing-presell-presell_list"],title:"预售列表"},component:function(){return n.e("chunk-55970e0b").then(n.bind(null,"a21a"))}},{path:"presell/create/:id?/:copy?",name:"".concat(d,"storePresellCreate"),meta:{auth:["marketing-presell-create"],title:"添加预售"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-734d2d87")]).then(n.bind(null,"fac5f"))}},{path:"lottery/index",name:"".concat(d,"lottery"),meta:{auth:!0,title:"抽奖列表"},component:function(){return n.e("chunk-29e98b5f").then(n.bind(null,"207a"))}},{path:"lottery/create",name:"".concat(d,"create"),meta:{auth:!0,title:"创建抽奖"},component:function(){return Promise.all([n.e("chunk-197faf68"),n.e("chunk-1ce37c58")]).then(n.bind(null,"e90a"))}},{path:"lottery/recording_list",name:"".concat(d,"recording_list"),meta:{auth:!0,title:"抽奖记录"},component:function(){return n.e("chunk-1dc67ed4").then(n.bind(null,"ca997"))}},{path:"channel_code/channelCodeIndex",name:"".concat(d,"channel_code"),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:function(){return n.e("chunk-36d4002a").then(n.bind(null,"d99c"))}},{path:"channel_code/create",name:"".concat(d,"create_code"),meta:{auth:["marketing-channel_code-create"],title:"新建渠道码"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-16efaf3a"),n.e("chunk-2fb735d0")]).then(n.bind(null,"ed2f"))}},{path:"channel_code/code_statistic",name:"".concat(d,"code_statistic"),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-d977485e")]).then(n.bind(null,"0996"))}},{path:"point_record",name:"".concat(d,"point_record"),meta:{auth:["marketing-point_record-index"],title:"积分记录"},component:function(){return n.e("chunk-7d96e77a").then(n.bind(null,"20e6"))}},{path:"point_statistic",name:"".concat(d,"point_statistic"),meta:{auth:["marketing-point_statistic-index"],title:"积分统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-90836a1c")]).then(n.bind(null,"4d92"))}},{path:"recharge",name:"".concat(d,"recharge"),meta:{auth:["marketing-recharge-index"],title:"充值配置"},component:function(){return n.e("chunk-839b903a").then(n.bind(null,"c36e"))}},{path:"sign",name:"".concat(d,"sign"),meta:{auth:["marketing-sign-index"],title:"签到配置"},component:function(){return n.e("chunk-5cc34f42").then(n.bind(null,"d152"))}},{path:"member/system_config/:type?/:tab_id?",name:"".concat(d,"member"),meta:{auth:["marketing-member-system_config"],title:"会员配置"},component:function(){return n.e("chunk-02ca0c38").then(n.bind(null,"a53e"))}}]},s="app_",_={path:"/admin/app",name:"app",header:"app",redirect:{name:"".concat(s,"wechatMenus")},meta:{auth:["admin-app"]},component:p,children:[{path:"wechat/setting/menus/index",name:"".concat(s,"wechatMenus"),meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:function(){return n.e("chunk-b49c7316").then(n.bind(null,"c861"))}},{path:"wechat/wechat_user/user/index",name:"".concat(s,"wechatUser"),meta:{auth:["wechat-wechat-user-user"],title:"微信用户"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-a187a68e")]).then(n.bind(null,"5b9e"))}},{path:"wechat/wechat_user/user/tag",name:"".concat(s,"tag"),meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"},component:function(){return n.e("chunk-65d00477").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/group",name:"".concat(s,"group"),meta:{auth:["wechat-wechat-user-group"],title:"用户分组"},component:function(){return n.e("chunk-65d00477").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/message",name:"".concat(s,"message"),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:function(){return n.e("chunk-8ebde566").then(n.bind(null,"7f5d"))}},{path:"wechat/news_category/index",name:"".concat(s,"newsCategoryIndex"),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-2d229c13")]).then(n.bind(null,"df94"))}},{path:"wechat/news_category/save/:id?",name:"".concat(s,"newsCategorySave"),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加"},component:function(){return n.e("chunk-e45e1604").then(n.bind(null,"d9fa"))}},{path:"wechat/reply/follow/:key",name:"".concat(s,"fllow"),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/keyword",name:"".concat(s,"keyword"),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:function(){return n.e("chunk-e51bcbf6").then(n.bind(null,"2430"))}},{path:"wechat/reply/keyword/save/:id?",name:"".concat(s,"keywordAdd"),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/index/:key",name:"".concat(s,"replyIndex"),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"routine/download",name:"".concat(s,"routineTemplate"),meta:{auth:["routine-download"],title:"小程序下载"},component:function(){return n.e("chunk-680149f1").then(n.bind(null,"ddee"))}},{path:"app/version",name:"".concat(s,"version"),meta:{auth:["admin-app-version"],title:"APP版本管理"},component:function(){return n.e("chunk-2d0cf6e4").then(n.bind(null,"644d"))}},{path:"app/agreement",name:"".concat(s,"agreement "),meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:function(){return n.e("chunk-aa80dfa8").then(n.bind(null,"cc2e"))}}]},l="system_",C={path:"/admin/system",name:"system",header:"system",redirect:{name:"".concat(l,"configTab")},meta:{auth:["admin-system"]},component:p,children:[{path:"file",name:"".concat(l,"file"),meta:{auth:["system-file"],title:"附件管理"},component:function(){return n.e("chunk-2febd4b6").then(n.bind(null,"8084"))}},{path:"maintain/clear/index",name:"".concat(l,"clear"),meta:{auth:["system-clear"],title:"刷新缓存"},component:function(){return n.e("chunk-4a6e0eaf").then(n.bind(null,"7de5"))}},{path:"maintain/system_log/index",name:"".concat(l,"systemLog"),meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:function(){return n.e("chunk-5bfb2822").then(n.bind(null,"fc59"))}},{path:"maintain/system_file/index",name:"".concat(l,"systemFile"),meta:{auth:["system-maintain-system-file"],title:"文件校验"},component:function(){return n.e("chunk-2d0b613c").then(n.bind(null,"1c2f"))}},{path:"maintain/system_cleardata/index",name:"".concat(l,"systemCleardata"),meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:function(){return n.e("chunk-4de347c6").then(n.bind(null,"b4f0"))}},{path:"maintain/system_databackup/index",name:"".concat(l,"systemDatabackup"),meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:function(){return n.e("chunk-daf9d90c").then(n.bind(null,"e2606"))}},{path:"maintain/system_file/opendir",name:"".concat(l,"opendir"),meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-31fa1d86")]).then(n.bind(null,"3793"))}},{path:"maintain/system_file/login",name:"".concat(l,"opendir_login"),meta:{auth:["system-maintain-system-file"],title:"文件管理入口"},component:function(){return n.e("chunk-0a334e8c").then(n.bind(null,"a8d2"))}},{path:"config/system_config_tab/index",name:"".concat(l,"configTab"),meta:{auth:["system-config-system_config-tab"],title:"配置分类"},component:function(){return n.e("chunk-4db34eb7").then(n.bind(null,"c59c"))}},{path:"config/system_config_tab/list/:id?",name:"".concat(l,"configTabList"),meta:{auth:["system-config-system_config_tab-list"],title:"配置列表"},component:function(){return n.e("chunk-d0181ed8").then(n.bind(null,"0c6b"))}},{path:"config/system_group/index",name:"".concat(l,"group"),meta:{auth:["system-config-system_config-group"],title:"组合数据"},component:function(){return n.e("chunk-cf36bb2e").then(n.bind(null,"33b8"))}},{path:"config/system_group/list/:id?",name:"".concat(l,"groupList"),meta:{auth:["system-config-system_config-list"],title:"组合数据列表"},component:function(){return n.e("chunk-eed92f48").then(n.bind(null,"cffd"))}},{path:"maintain/auth",name:"".concat(l,"auth"),meta:{auth:["system-maintain-auth"],title:"商业授权"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-afbd234c")]).then(n.bind(null,"c2b5"))}},{path:"onlineUpgrade/index",name:"".concat(l,"upgradeclient"),meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:function(){return n.e("chunk-85cd0b42").then(n.bind(null,"05ea7"))}}]},d="statistic_",s={path:"/admin/statistic",name:"statistic",header:"statistic",redirect:{name:"".concat(d,"product")},component:p,children:[{path:"product",name:"".concat(d,"product"),meta:{title:"商品统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-a046070e")]).then(n.bind(null,"585e"))}},{path:"user",name:"".concat(d,"user"),meta:{title:"用户统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-03f59d80")]).then(n.bind(null,"7e46"))}},{path:"transaction",name:"".concat(d,"transaction"),meta:{title:"交易统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-08c24f8e")]).then(n.bind(null,"4192"))}},{path:"integral",name:"".concat(d,"integral"),meta:{title:"积分统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-5eb0337e")]).then(n.bind(null,"18e7"))}},{path:"order",name:"".concat(d,"order"),meta:{title:"订单统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-78c1d44f")]).then(n.bind(null,"6d5b"))}},{path:"balance",name:"".concat(d,"balance"),meta:{title:"余额统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-2560a43a")]).then(n.bind(null,"0ddf"))}}]},l="kefu_",d=[{path:"/admin/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:function(){return n.e("chunk-3a43bb6c").then(n.bind(null,"318e"))}},{path:"/kefu",name:"".concat(l,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-63bdea71")]).then(n.bind(null,"d666"))}},{path:"/kefu/mobile_list",name:"".concat(l,"mobile_list"),meta:{auth:!0,title:"消息列表",kefu:!0},component:function(){return n.e("chunk-5400b994").then(n.bind(null,"a9d3"))}},{path:"/kefu/mobile_chat",name:"".concat(l,"mobile_chat"),meta:{auth:!0,title:"对话详情",kefu:!0},component:function(){return n.e("chunk-2a872abf").then(n.bind(null,"a626"))}},{path:"/kefu/pc_list",name:"".concat(l,"pc_list"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-7def5ec4").then(n.bind(null,"37d1"))}},{path:"/kefu/orderList/:type?/:toUid?",name:"".concat(l,"order-list"),meta:{auth:!0,title:"订单列表",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-592dcdcb")]).then(n.bind(null,"87bc"))}},{path:"/kefu/orderDetail/:id?/:goname?",name:"".concat(l,"order-detail"),meta:{auth:!0,title:"订单详情",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-83d2a766")]).then(n.bind(null,"f23d"))}},{path:"/kefu/orderDelivery/:id?/:orderId?",name:"".concat(l,"order-delivery"),meta:{auth:!0,title:"发货",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-e658941c")]).then(n.bind(null,"c7b8"))}},{path:"/kefu/user/index/:uid?/:type?",name:"".concat(l,"user-index"),meta:{auth:!0,title:"客户信息",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-157b4f48")]).then(n.bind(null,"46cf"))}},{path:"/kefu/goods/list",name:"".concat(l,"goods-list"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-fc93c22c").then(n.bind(null,"7eb74"))}},{path:"/kefu/goods/detail",name:"".concat(l,"goods-detail"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-40003b7f").then(n.bind(null,"6f8b"))}},{path:"/kefu/appChat",name:"".concat(l,"app-chat"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-186376ec").then(n.bind(null,"eea8"))}},{path:"/kefu/mobile_user_chat",name:"".concat(l,"app-mobile_user_chat"),meta:{auth:!0,title:"用户客服",kefu:!0},component:function(){return n.e("chunk-0c05df09").then(n.bind(null,"c168"))}},{path:"/kefu/mobile_feedback",name:"".concat(l,"app-mobile_feedback"),meta:{auth:!0,title:"用户反馈",kefu:!0},component:function(){return n.e("chunk-24dfe0e6").then(n.bind(null,"5909"))}}],l="division_",m=[{path:"/admin/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:p,children:[{path:"/admin/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:function(){return n.e("chunk-2e90bd4b").then(n.bind(null,"265f"))}},{path:"/admin/system/files",name:"systemFiles",meta:{auth:["admin-setting-files"],title:"文件管理"},component:function(){return n.e("chunk-69e865d6").then(n.bind(null,"ceb8a"))}},{path:"refresh",name:"refresh",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(e.fullPath)}))},render:function(t){return t()}}},{path:"redirect/:route*",name:"redirect",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(JSON.parse(e.params.route))}))},render:function(t){return t()}}}]},{path:"/admin/widget.images/index.html",name:"images",meta:{auth:["admin-user-user-index"],title:"上传图片"},component:function(){return n.e("chunk-464a5aac").then(n.bind(null,"7bcf"))}},{path:"/admin/widget.widgets/icon.html",name:"imagesIcon",meta:{auth:["admin-user-user-index"],title:"上传图标"},component:function(){return n.e("chunk-0ca76063").then(n.bind(null,"3182"))}},{path:"/admin/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:function(){return Promise.resolve().then(n.bind(null,"c4ad"))}},{path:"/admin/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:function(){return n.e("chunk-16efaf3a").then(n.bind(null,"8c03"))}},{path:"/admin/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:function(){return n.e("chunk-9368228a").then(n.bind(null,"4553"))}},m,b,j,h,r,O,w,T,I,C,_,s,{path:"/admin/division",name:"division",header:"division",redirect:{name:"".concat(l,"division")},meta:{auth:!0},component:p,children:[{path:"index",name:"".concat(l,"division"),meta:{auth:["agent-division-index"],title:"事业部列表"},component:function(){return n.e("chunk-53c7abcb").then(n.bind(null,"7ac0"))}},{path:"agent/index",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-index"],title:"代理商列表"},component:function(){return n.e("chunk-75572cdf").then(n.bind(null,"aa0e"))}},{path:"agent/applyList",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"},component:function(){return n.e("chunk-124c1be4").then(n.bind(null,"4c8e"))}},{path:"agent/agreement",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"},component:function(){return n.e("chunk-b30c10fe").then(n.bind(null,"ec81"))}}]}],b=d,j=[{path:"/admin/403",name:"403",meta:{title:"403"},component:function(){return n.e("chunk-07b5ff65").then(n.bind(null,"a7a0"))}},{path:"/admin/500",name:"500",meta:{title:"500"},component:function(){return n.e("chunk-b2498f9c").then(n.bind(null,"6077"))}},{path:"/admin/*",name:"404",meta:{title:"404"},component:function(){return n.e("chunk-b19bdce0").then(n.bind(null,"2911"))}}],[].concat(m,Object(o.a)(b),j)),M=n("4360"),P=n("a74e"),Q=(i.default.use(c.a),new c.a({routes:R,mode:E.a.routerMode}));Q.beforeEach(function(){var t=Object(a.a)(regeneratorRuntime.mark((function t(e,n,a){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(-1!=e.fullPath.indexOf("kefu"))return t.abrupt("return",a());t.next=2;break;case 2:e.matched.some((function(t){return t.meta.auth}))?(i=Object(f.d)("token"))&&"undefined"!==i?(i=M.a.state.userInfo.uniqueAuth,Object(P.a)(e.meta.auth,i)?a():0==i.length?(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a({name:"403"})):(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a();case 3:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}()),Q.afterEach((function(t){Object(f.s)(t,Q.app),window.scrollTo(0,0)})),e.a=Q},a3be:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAIGklEQVR4Ae2ca2wUVRTH6RtNq4iE2mIR8BF8QIhFAlFAfGACBEWiBogkBdralmDSGOtHEuKHJqYmmNIXhBgDIRCICCIlkRajUUDAgKgBQUBoLUVKH9a+6+8atsyenW13Z2Znp8mdZDL3/O+9557zn3Mfc2d2R4zQh2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBjQDmoEIMxATYf221JeWliYnJSXd39fXN66np6czMTHxRnV19dVdu3b12lLscGVPkahIi4uLe5pzcX9///KYmJi0IP5+D76DszY7O/t0kDKuwZ4gcf369Ynp6emzIO1zPB8VpvenidIFDQ0N9ejpC7OuI8VjHdFiUwkEnofAw6gJl0DV8lQi9xI6dto0w3L1qEZiVVXVbLrtAQhMtuyBoSK6jvf29i7Ky8u7boAjnowaiZWVlUshbzseJgbzElJaKHOd6xXKjCQ9lvQErvHB6oBfJDJnrlq1qnGQMo5mRYXE8vLyWThagydJJt50gFVDVkVHR8fhdevWdRrLMPk8wCy9FCyLM9OY50tT91xdXd0UxsguHxbJq+sklpSUjE5JSfkJpzKkYzh/hnNJbm7uBZlnJhPNbxOVpeSlyHz01EDkfIjskXlOy65PLBC4DSfMCDyUk5MzNVQCFRGU/6y1tXUChPlFq8qD3HkZGRnPqHSkD1dJVF0Rh+ZIpyDhCF13scRDkQsLC292dXWNo+wNWZ5JZgeRf5fEnZbdJDGGsewADtxtdAIC2xMSEl6TY5+xzFDptWvX/o2elZTrNpYlGscnJye/asQikXaNxIqKintwYLJwog9Hl2dlZd0SeNgiXfsriNwvK6L/DYk5LbtGIs5MxPiRwoGrPLbtFZhlERKLZWWwhVu3bpXtymK2ZDdJVEsSv9UADh6xZb2ozKR0FKjOCHPzkjo7O583Yk6nXSMRwqZL43Fwk8QckNXs73fc7gV+mJOCayRidKo0nI2DvyRmV2bbrF3qgMSIztCukYgjD0vneMa9JDG7Mk9Cf0gdtB2wLpVl7MiukUh3PicNZcYOIFaWCVcmEifJOmBXJOak7BqJGF0vDY+NjXU8Qoi6gO00sDbZtpOyayTiyClpOBHyjsTsykT8cqmDdv6UmJOyayTiSAWG9xuNJxKfNcp202p/kps1xqgHUjvAvjZiTqddIxHD65VDwoF0dmLeFJhlEbLek5XBdrN+9HsclGXsyq6RiCMtGHtCGByLk5+WlZWNFXjYIjdjBdG+wKTiHhPMUcg1ErGaQOxfwrVVeDAyPj5+X3FxccCeoCgXVOQmTCDzE26I34437f167dq1A0ErOpTh9xjmkM5B1bCs2c1Y+LpJoW/AF61evVqSbFL0DoS+ydRTm7wBu+SQOIONieN3Skcm5WYk/u9BfX39MhIBC2KwOXTH80wOj4fqKl04n+g7Q/kAAsG2Q+CPoeqyU871SFTG0v2eogurCAnYXSF61CRwEkI/bm9v/4JN139VHd/Bxm4G+5K5yOpmTPLhxis6zvJqYJobrwZUu1EhUTVMFL3CZS+RZBZFqog6/oGQJsqoZ+xE0qNJp5GOU5lBjrPd3d2z8/Pzm4LkOw5HjUTlCV1Xva07xDlayQ4cByF5xZo1a246oCtkFVEl0WclZB4jPY0zwYeFeW0jSqsYAwvDrOdIcdcnFjOr2d2ewRg4lbywIwjyTrCMuS9aBCp/PBGJPmI3btyYxKQxXi2B6Jb54ON9ecYrxB0mvwzsB27AVWNeNNKeIlESoF538n3ivZA6hn3CLiaMlsbGxuvR+vpL2qdlzYC3GHC0O2/ZsiWF8SqVdyeZjFlqtg1YTHvBfWy7pE4W/EcvX758i+FB7i6FZaZjJLJ43oxhyyBRfQLniVl/KCawtQdbW1gZrGSX6cuhygfLt00iGwBTMER9qPlgsEaGAw6hR9va2haob3vCtdcWiRA4n5lzP41aXSSHa2+ky/9MVC4kKq+E09Bgz6CD6rm921JDBA727DuoDg9mqs3haZmZmdtqa2v7QrXPbxMz1EoMxGrMK4PAgJfidAu1g32RczdnwOduYF44nqAHvYitj2CM3+fO+DSPj+hzwDeFaqglEtPS0l6igbmyEYz6hcevJyXuVZktuRlqhjaxrwgsZBItzaLcrZdlw2Dnm5qaZkrcyzJfYBwjIgO+psWXDDVhhmq7JRJRPl82wNrwg6KiorC29qWOaMi8jjjBZCKXN2rCLQjVHqskpssG6MonJTZMZPUuXG1m+B1E40Q/YBDBEok04PeCXOnnZ2F+3wUO0qYXs741MWqSCWYKWSIRTb9LbampqY9JbBjJb0lb6VnyHbksMiBbIpEG6gc03E4wy70gseEgq+UaPWuDia2/mWCmkCUSadTsO+sP+aXUdNNWPAyyXHsXf9Qie+AgSHr4RLlkABgiYYlEGtlnolf9VvkgGxHZJnmeg1jCjMHWSpY4AWRB6il+EqIeGkI6LD87034xjb0frBWIriGvOVh+NHHsnkD7aqvO7Oglfy5vDL8zyzTDLD2xKEVs1W9gHFzCnXzUTDGGzDPDvY5x8z/ivU3IBCp/LEeiqqz+boBfQzVAmN+vpFTeMD02Q2DYw5GlMdFHUEFBQVtzc7MalPf4sOF6JQILePWaZ8V+W5FobJCB+jm6tvp8eCHnKGOeV9MQdwHbdnItD3cP0eiTYyT6lEJmAs/RD6n3x/zKM9GHe+nKKqKR5+VGO8R5yR9ti2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBrzOwH+RWo57fkQWoQAAAABJRU5ErkJggg=="},a4b1:function(t,e,n){},a63e:function(t,e,n){},a700:function(t,e,n){},a74e:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n("0122");function i(t,e){var n=!1;return!0===t||"object"===Object(a.a)(e)&&(e.forEach((function(e){t.includes(e)&&(n=!0)})),n)}n("d3b7"),n("159b"),n("caad"),n("2532")},a9d6:function(t,e,n){"use strict";n.r(e),n("a9e3");var a={name:"c_is_show",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},immediate:!0,deep:!0}},methods:{}};n("c568"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"c_row-item"},[e("Col",{staticClass:"label",attrs:{span:"4"}},[t._v(" 是否显示 ")]),e("Col",{attrs:{span:"19"}},[e("i-switch",{model:{value:t.datas[t.name].val,callback:function(e){t.$set(t.datas[t.name],"val",e)},expression:"datas[name].val"}})],1)],1)}),[],!1,null,"64bc1227",null);e.default=n.exports},ae6a:function(t,e,n){},af8c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAMBklEQVR4Ae2bC3BUVxnH836SF4VoEEMpiBJtTEVsoRSCMhQHkVpNx/KSAEmllXZqBWTGShw7UMpUqTgUYgCF1j4yVWtooQ/bSEFaYErqVApSIYUQEh4JsZA0b3+f3V3OPexm7+69u5uZ3jNz5p7vO9/5zvf973nfc6OinOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDQXxGI7geGxRQVFaWkpqYOiImJ+VRsbGxhb2/vuOjo6GHYlkEcQTrBZedR8pqh/0Z8q6ur65/d3d0tCQkJl8vLyzsj5UtEQSwuLs6Lj4+/BecnEm8iXhcIEAB6EfmDPPfxAl44depUzc6dO9sD0WGHbERAXLBgwVdpcffSmsbiRC4xxaIzXZSv6+npOYLO8osXL+6qrKxss6jTdPGwgjh79uz05OTku3B0BTHLtJUBCNIqO4mVALp0y5YtDRTtCaB4UKJhAZExLzkjI2MqXW45Vo7zZykgXAbkJp7SXbsV+QGkB5I3UOH5Sp6m/Fri0xUVFY2+hOzghxxEAByQlZX1E5y5B+cH9WH0f5HZRf7rxBOkW5g0hOdpSUwgKUwmGXFxcTnIjCdvBjplOPAVPkKmsr29fcW2bdtO+xKyyg85iCUlJU/g6Ow+DK3F0VW/I/Qh4zNr4cKFE2nha6nja76E0F/DOFnIONniS8YKP2QgzpkzJ4fx7zGcK9INxKlu+O8ybm2nlWwnnNVlAqFluMjMzJyJzlLKjSGm6+Wp81/winlXB3n26vlW6JCASOsYSOtYJUbjmHuN57azlcQTxF+ztjviZtrxdNV7B3WuQJ/ezXsA8h8MEYuYcI7aUZ9bR6w7Yedz7Nixy3HkPmK8qhcnOuCtbG5uXknrs32wP3ToUNvbhPz8/L+zhJpC3eoERNXRQ4lpI0aM2Hn48GF1wlLNDDhtO4jz588vwIEtWJKoWdNA972bmXKjnQ5odQjZW1NTc6agoOB5esME6E8T3T1OgCxISkrqAMi92GFLt46RWu0K8+bN+wwzqACYrOk8Leu2zZs3/1Hjh4ykrg+ocx6tv5pKDK0OIJey5JKdki3BNhAZ3BN4w2VYdYNqGU7IMmMdreIZlR+ONK3+CGPgSuo/odWXDpCrZfGv8YMibQMxLS0tHwu+rluBsS/jyKYIHRD0MonsAcSHiXprzE9JSZmDve6urptumrYFxNLS0nha2nRqNcyIGF7H4ngZjnxo2qIQCLa0tGznZT6vqZb9+jcZgtTJRxMxR9oCYmdnZyZG3kaVcWq1jElr7F5OqPrNpllkd9AbfsxLbdLKTGD3M1zjBUzaAiLHWTcAYoFW+6GOjo5nNV7ESFYM9VQuu6IetxHYnAn/qs2AO9/s0xYQecM/1CrshlfJjqVZ40eMlDGZnlGFXfr6dL5VoyyDOGPGDBlbpmqGnGOM3B+hyUQz5QpJzzgG9e4VDrNKdHQ2a9vrVV6gacsgZmdnS1dOVSvmbdcyBtm6tVL1B5t27dFlq+np0qKLte23g9Up5SyDCICyvdLDCWbEMzqzP9C84P3Y0anaAm+mSgeatgwiFY7UK8WoD5gRDesyXSZSNOPiEeyTzwlq+JxKBJo2LEkCLSzytERZZBsCvHcMjH5EsKSpxRxbX7Dllghg6f0II7+mMNmdpyUaxkR8iGNy+YLfwj4ELIPoQ+8nim0HiBHd0vWHt2UZRAbqw14cMRzGesmPGGvWrFlZdF/DoQPdW84VPwrWKMsgeqsYmz7rjd8feJzcXId9+oTaXVtbWxesfZZB5KUe0iuH92Wd119obJO7PYYTfeij1dXV+rLHtMn6GzFd0C3ICc5LrPgfdtOuZ87cuXOzzX7FKywsjMvNzR2CnliGh/Nmjs44fpPt5iDqb9u6det50maP+r9CS4wHOI/J0Hs9RBAJyy2xsbHxPYw4p9U9DEBMLWAFwFGjRpUkJib+Fcd2sY7bwLfqKfLRX9P5f5KlSBL5k6hzDYwdyP9+0aJFk0n79cU1Hn7JS0t8zVtdZnlXXofZEl7kcKoSw76nZHXh5H18MN/kb+dC2VGU+wvlRyvlT5I+Rqvcw1GVfCs5Tv618IaTvpHDDVnTDSVKT5JPoa8SF/I5oM9xzXWR6ll0DaecO1xoa2sbRq+57GYE+rTcnV0VVvC8nehuDaL3uxyFyXeVC8S+Qg5OZWoCudC5gPUNwJFdkScbniftSsSQP5oDj2ugfYJYVlYWU19ffyMyKoBR6K+yAqDYcJVFwgw00FpkcjF8iMexm+miE/3p4gbECRyRA9OgAmUl/Ieon1ob9NXV1Q1G5h4DMypKrt89qfECJm0BkS7WjIE7tNoTAXLt4sWLszS+geSi0UnK3k98jox2Q6Y5Qrr9Q5cuXerzRdCCH5QWq6k8wMRkOF/U8k2RV/qJKXHfQtx6ncQgL5eXZKzyBBxkqKoo8TB8J2KYceVcbzWAfh49/myTb9mPoPs3vlV+nIPeCaTeUOWoo4O4nPLrVH4waX+GmtbpmmV/S4G7tEIyJi7m6sif/E0y7nLMtreQlsPeMcR0nE3mKV2vHeDeJ/0Gk9Zu9Amvz8DE9UUE/kAZuejkCeisId4OiPo3aY+M2YRtIEqFXCgaxvi4m6RMDGqQG2BLMLhaZZpNy5qQ0xe5CBVQkAtOgLeBriyTXrxaGHu+jz0y8VkOtoIo1vDmx2P4XtUy3ngvvHOMP5NZGHvba6vitqWx5SmUFVG3YYcCbx0v5QGePXZUZjuIYhTGy53sB0kma0aeZSnyA/avr69fvz6YSURTdzUpS5mGhoZc6lmFDXdqErKm3Ev+tKqqqoBbtqbLQ9oyO3u0uRLceqjA2CrILjUP3mC6ezmL23tZ+KapeXal+Q1jOgA+CYCG78nULdtCuej5gJ0Ait0haYmi2HVT9imcmSS0Ftrw6R3i/YxLb2p5QZGsDgZzieAhdN6BggzqNfgGv5FYRH0y1NjSjd2GGipyM+16cgiRyk2x5/BHFt1615ZqWnHsaQb5TQBQe4FgdgaXwkw4AlY2Or4DuZQ4SPhaEMCO0Tq/xXW797U8W8iQgigWSgth/bgMZ0shvX6PAYQPyd/Pcx/xMKDWUqaWZdFZFVTRhdxAhoRreeYhexNPWbqMkLr0QL7czH2RCe2XTGhv6/l20SEHUQyV8Q/Hp+DQBki5ueoryFe4S0qUu42eIy7KJ0HKDVw54ZFWmMDTZ+BlPMqth9Xsivzt333qMJMRFhDdhrjGrTXQtwGG3CQLRf1tgHeA+FPOJfe56w7lU18/hbKuKO5St+bl5b1Kq3yLBbB805B9dZ97a7MG8VLkL6xq5NfxLGMC+bfZslblQtESTNm0ZMmSxNbWVjkbfAyn9Wt5pnSoQoB4gtY3NVSTh1qXng7JOlGvxBvNEVgPAMqval4BBBQZC2VBLvtjGSdlcdzu4pM0BvQMR99BKx/hjRrNUxFpia6fdn6B4z/yYqqcir8H/02e+5CpZ/F+CoByiEOgx8G/nvyrbqOJLvJeQOZutnUnhQ5HCDuIfDuJ5feH5QBShoOGQwHoM0QZ03Y0NTUdVZc38D2Be9a5rCsno0O2dkM8GR8npPU+zq7oZ1ZPrDW9Psmwg8gCWb62PYPzIzWrWmlxtzKj7tH4PkmOzIYC5EsI5OlC8Cds3LjRcBCiy9hFh3VMlDNHAJzpBcBTTArTAgFQAGAGrmMhPY2kLGUMWzn0PSJfBkUu1CGsII4cOfIaACxRnQLUVrZkywDEcPKsyvSVZiciJ9y/Qka+PathPLue8SojVOmwggiAcvyfoznzGq3pFY0XCNnDrdw/8zJ2eylU7IVnOyusIGL9dM2DdoB9xeq2TCYgQCzXdMun1jGMwd4OJXRRS3S4QbxZs/Y8jh7QeEGRTCR7AbJJLYzuVFp5rsoLRTqsIOKUoVXgdBu7lgY7HJNvMOiT9aUaEthipquMUKTDBiLLkdFeHGhlvadPCF7EzLF4SRc1yRgmnT5PejT5oMiwgcjgL7cU9K67x8wNMLOeAaJ8luhQ5JuZoU8qdEiSYQORwV8OSO/EyZfx5Dixgv3zz+30ikPcF9EvR23Suo/TCpfDk7+onOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDwCUXgf/tu1qctUMJMAAAAAElFTkSuQmCC"},b0e7:function(t,e,n){"use strict";var a=n("d0ff"),i=n("c964"),c=(n("96cf"),n("a9e3"),n("d3b7"),n("25f0"),n("d81d"),n("159b"),n("ac1f"),n("00b4"),n("a434"),n("4de4"),n("1276"),n("6b6c"));function o(t){return Object(c.a)({url:"file/category",method:"get",params:t})}var r=n("d708"),u=n("c276"),s={name:"uploadPictures",props:{isChoice:{type:String,default:""},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1},pageLimit:{type:Number,default:0}},data:function(){return{spinShow:!1,fileUrl:r.a.apiBaseURL+"/file/upload",modalPic:!1,treeData:[],treeData2:[],pictrueList:[],uploadData:{},checkPicList:[],uploadName:{name:""},FromData:null,treeId:0,isJudge:!1,buttonProps:{type:"default",size:"small"},fileData:{pid:0,page:1,limit:this.pageLimit||18},total:0,pids:0,list:[],modalTitleSs:"",isShowPic:!1,header:{},ids:[]}},mounted:function(){this.getToken(),this.getList(),this.getFileList()},methods:{enterMouse:function(t){t.realName=!t.realName},enterLeave:function(t){t.isShowEdit=!t.isShowEdit},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(u.d)("token")},renderContent:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;e=[];return 0==c.pid&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.append(a,i,c)}}},"添加分类")),""!==c.id&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.editPic(a,i,c)}}},"编辑分类"),t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.remove(a,i,c,"分类")}}},"删除分类")),t("span",{class:["ivu-span"],style:{display:"inline-block",width:"88%",height:"32px",lineHeight:"32px",position:"relative",color:"rgba(0,0,0,0.6)",cursor:"pointer"},on:{mouseenter:function(){n.onMouseOver(a,i,c)},mouseleave:function(){n.onMouseOver(a,i,c)}}},[t("span",{on:{click:function(t){n.appendBtn(a,i,c,t)}}},c.title),t("div",{style:{display:"inline-block",float:"right"}},[t("Icon",{props:{type:"ios-more"},style:{marginRight:"8px",fontSize:"20px",display:"inline"},on:{click:function(t){n.onClick(a,i,c,t)}}}),t("div",{class:["right-menu ivu-poptip-inner"],style:{width:"80px",position:"absolute",zIndex:"9",top:"0",right:"0",display:c.flag2?"block":"none"}},e)])])},renderContentSel:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;return t("div",{style:{display:"inline-block",width:"90%"}},[t("span",[t("span",{style:{cursor:"pointer"},class:["ivu-tree-title"],on:{click:function(t){n.handleCheckChange(a,i,c,t)}}},c.title)])])},handleCheckChange:function(t,e,n,a){this.list=[];for(var i=n.id,c=(n=n.title,this.list.push({value:i,title:n}),this.ids.length?(this.pids=i,this.getMove()):this.$Message.warning("请先选择图片"),this.$refs.reference.$el.querySelectorAll(".ivu-tree-title-selected")),o=0;oNumber(t))return this.$Message.warning("最多只能选"+t+"张图片");this.$emit("getPicD",this.checkPicList)}},editName:function(t){var e=t.real_name.split("."),n=null==e[1]?[]:e[1];e=e[0].length+n.length;t.editName=e<10?t.real_name:t.real_name.substr(0,2)+"..."+t.real_name.substr(-5,5)},bindTxt:function(t){var e,n,a=this;""==t.real_name&&this.$Message.error("请填写内容"),e=t.att_id,n={real_name:t.real_name},Object(c.a)({url:"file/file/update/"+e,method:"put",data:n}).then((function(e){a.editName(t),t.isEdit=!1,a.$Message.success(e.msg)})).catch((function(t){a.$Message.error(t.msg)}))}}};n("7e30"),n=n("2877"),n=Object(n.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Modal"},[n("Row",{staticClass:"colLeft"},[n("Col",{staticClass:"colLeft",attrs:{xl:6,lg:6,md:6,sm:6,xs:24}},[n("div",{staticClass:"Nav"},[n("div",{staticClass:"input"},[n("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入分类名称"},on:{"on-search":t.changePage},model:{value:t.uploadName.name,callback:function(e){t.$set(t.uploadName,"name",e)},expression:"uploadName.name"}})],1),n("div",{staticClass:"trees-coadd"},[n("div",{staticClass:"scollhide"},[n("div",{staticClass:"trees"},[n("Tree",{ref:"tree",staticClass:"treeBox",attrs:{data:t.treeData,render:t.renderContent,"load-data":t.loadData}})],1)])])])]),n("Col",{staticClass:"colLeft",attrs:{xl:18,lg:18,md:18,sm:18,xs:24}},[n("div",{staticClass:"conter"},[n("div",{staticClass:"bnt acea-row row-middle"},[n("Col",{attrs:{span:"24"}},[0!==t.isShow?n("Button",{staticClass:"mr10",attrs:{type:"primary",disabled:0===t.checkPicList.length},on:{click:t.checkPics}},[t._v("使用选中图片")]):t._e(),n("Upload",{staticClass:"mr10 mb10",staticStyle:{"margin-top":"1px",display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.beforeUpload,data:t.uploadData,headers:t.header,multiple:!0,format:["jpg","jpeg","png","gif"],"on-success":t.handleSuccess}},[n("Button",{attrs:{type:"primary"}},[t._v("上传图片")])],1),n("Button",{staticClass:"mr10",attrs:{type:"error",disabled:0===t.checkPicList.length},on:{click:function(e){return e.stopPropagation(),t.editPicList("图片")}}},[t._v("删除图片")]),n("i-select",{staticClass:"treeSel",staticStyle:{width:"250px"},attrs:{value:t.pids,placeholder:"图片移动至"}},[t._l(t.list,(function(e,a){return n("i-option",{key:a,staticStyle:{display:"none"},attrs:{value:e.value}},[t._v("\n "+t._s(e.title)+"\n ")])})),n("Tree",{ref:"reference",staticClass:"treeBox",attrs:{data:t.treeData2,render:t.renderContentSel,"load-data":t.loadData}})],2)],1)],1),n("div",{staticClass:"pictrueList acea-row"},[n("Row",{staticClass:"conter",attrs:{gutter:24}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[n("Icon",{attrs:{type:"ios-images",size:"60",color:"#dbdbdb"}}),n("span",{staticClass:"imagesNo_sp"},[t._v("图片库为空")])],1),n("div",{staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(e,a){return n("div",{key:a,staticClass:"pictrueList_pic mr10 mb10",on:{mouseenter:function(n){return t.enterMouse(e)},mouseleave:function(n){return t.enterMouse(e)}}},[0=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/crmeb/public/admin/js/chunk-2d0ae937.95610c06.js.gz b/crmeb/public/admin/js/chunk-2d0ae937.95610c06.js.gz deleted file mode 100644 index 255fcffe0..000000000 Binary files a/crmeb/public/admin/js/chunk-2d0ae937.95610c06.js.gz and /dev/null differ diff --git a/crmeb/public/admin/js/chunk-2d0b613c.2e5cccfa.js b/crmeb/public/admin/js/chunk-2d0b613c.09542cbc.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d0b613c.2e5cccfa.js rename to crmeb/public/admin/js/chunk-2d0b613c.09542cbc.js diff --git a/crmeb/public/admin/js/chunk-2d0cf6e4.51b6c95a.js b/crmeb/public/admin/js/chunk-2d0cf6e4.f8e990e7.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d0cf6e4.51b6c95a.js rename to crmeb/public/admin/js/chunk-2d0cf6e4.f8e990e7.js diff --git a/crmeb/public/admin/js/chunk-2d0e488e.46b1ce45.js b/crmeb/public/admin/js/chunk-2d0e488e.07d9588c.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d0e488e.46b1ce45.js rename to crmeb/public/admin/js/chunk-2d0e488e.07d9588c.js diff --git a/crmeb/public/admin/js/chunk-2d21afa5.f1b2cbb5.js b/crmeb/public/admin/js/chunk-2d21afa5.fb9d5ed8.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d21afa5.f1b2cbb5.js rename to crmeb/public/admin/js/chunk-2d21afa5.fb9d5ed8.js diff --git a/crmeb/public/admin/js/chunk-2d229c13.839b9ad5.js b/crmeb/public/admin/js/chunk-2d229c13.39dda1e1.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d229c13.839b9ad5.js rename to crmeb/public/admin/js/chunk-2d229c13.39dda1e1.js diff --git a/crmeb/public/admin/js/chunk-2d22c8ff.455a0461.js b/crmeb/public/admin/js/chunk-2d22c8ff.44736bfe.js similarity index 100% rename from crmeb/public/admin/js/chunk-2d22c8ff.455a0461.js rename to crmeb/public/admin/js/chunk-2d22c8ff.44736bfe.js diff --git a/crmeb/public/admin/js/chunk-2e3a27a8.c5350cc0.js b/crmeb/public/admin/js/chunk-2e3a27a8.c5350cc0.js deleted file mode 100644 index 88971742b..000000000 --- a/crmeb/public/admin/js/chunk-2e3a27a8.c5350cc0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2e3a27a8"],{3968:function(t,e,a){"use strict";a.d(e,"a",(function(){return r})),a.d(e,"i",(function(){return o})),a.d(e,"g",(function(){return i})),a.d(e,"h",(function(){return s})),a.d(e,"e",(function(){return l})),a.d(e,"j",(function(){return c})),a.d(e,"f",(function(){return u})),a.d(e,"c",(function(){return d})),a.d(e,"d",(function(){return f})),a.d(e,"b",(function(){return m})),a.d(e,"k",(function(){return p})),a("99af");var n=a("6b6c");function r(t){return Object(n.a)({url:"/setting/system_out_account/index",method:"get",params:t})}function o(t){return Object(n.a)({url:"setting/system_out_account/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function i(t){return Object(n.a)({url:"setting/system_out_account/save",method:"post",data:t})}function s(t){return Object(n.a)({url:"setting/system_out_account/update/".concat(t.id),method:"post",data:t})}function l(){return Object(n.a)({url:"setting/system_out_interface/list",method:"get"})}function c(t){return Object(n.a)({url:"setting/system_out_account/set_up/".concat(t.id),method:"put",data:t})}function u(t){return Object(n.a)({url:"setting/system_out_interface/save/".concat(t.id),method:"post",data:t})}function d(t){return Object(n.a)({url:"setting/system_out_interface/info/".concat(t),method:"get"})}function f(t){return Object(n.a)({url:"setting/system_out_interface/edit_name",method:"PUT",data:t})}function m(t){return Object(n.a)({url:"setting/system_out_interface/del/"+t,method:"delete"})}function p(t){return Object(n.a)({url:"setting/system_out_account/text_out_url",method:"post",data:t})}},6701:function(t,e,a){"use strict";var n=a("c0e6");a.n(n).a},7676:function(t,e,a){"use strict";a.r(e);var n=a("c964"),r=a("f3f3"),o=a("fc11"),i=(a("b0c0"),a("a9e3"),a("fb6a"),a("7db0"),a("d3b7"),a("a434"),a("96cf"),a("3968")),s=a("95d5"),l=a("2f62");o={name:"systemOutInterface",components:{VueTreeList:s.VueTreeList},data:function(){return{value:"",isEdit:!1,nameModal:!1,formValidate:{},grid:{xl:7,lg:7,md:12,sm:24,xs:24},ruleValidate:{title:[{message:"请输入正确的描述 (不能多于200位数)",trigger:"blur",max:200}]},loading:!1,typeList:[{value:"string",label:"String"},{value:"array",label:"Array"},{value:"number",label:"Number"},{value:"boolean",label:"Boolean"},{value:"null",label:"Null"},{value:"any",label:"Any"}],requestTypeList:[{value:"get",label:"get"},{value:"post",label:"post"},{value:"delete",label:"delete"},{value:"put",label:"put"},{value:"options",label:"options"}],contextData:null,treeData:void 0,buttonProps:{type:"default",size:"small"},methodColor:"#fff"}},watch:Object(o.a)({},"formValidate.method",{deep:!0,handler:function(t,e){t=t.toUpperCase(),"GET"==t?this.methodColor="#61affe":"POST"==t?this.methodColor="#49cc90":"PUT"==t?this.methodColor="#fca130":"DELETE"==t&&(this.methodColor="#f93e3e")}}),computed:Object(r.a)(Object(r.a)({},Object(l.e)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:50},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getInterfaceList("one")},methods:(l={onClicksss:function(t){},methodsColor:function(t){return t=t.toUpperCase(),"GET"==t?"#61affe":"POST"==t?"#49cc90":"PUT"==t?"#fca130":"DELETE"==t?"#f93e3e":void 0},insertBefore:function(t){},insertAfter:function(t){},moveInto:function(t){},addTableData:function(){return Object(n.a)(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,$table.insertAt(newRow,-1);case 2:return e=t.sent,e=e.row,t.next=6,$table.setActiveCell(e,"name");case 6:case"end":return t.stop()}}),t)})))()},getInterfaceList:function(t){var e=this;Object(i.e)().then((function(t){t.data[0].expand=!1,e.treeData=new s.Tree(t.data),t.data.length&&t.data[0].children.length&&e.onClick(t.data[0].children[0])})).catch((function(t){e.$Message.error(t)}))},onClick:function(t){var e=this;t.method&&(this.isEdit=!1,Object(i.c)(t.id).then((function(t){e.formValidate=t.data})).catch((function(t){e.$Message.error(t)})))},handleSubmit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.formValidate.name){e.next=4;break}return e.abrupt("return",t.$Message.warning("请输入接口名称"));case 4:if(t.formValidate.method){e.next=8;break}return e.abrupt("return",t.$Message.warning("请选择请求类型"));case 8:if(t.formValidate.url){e.next=10;break}return e.abrupt("return",t.$Message.warning("请输入调用方式"));case 10:return e.next=12,t.$refs.xTable.getTableData().tableData;case 12:return t.formValidate.request_params=e.sent,e.next=15,t.$refs.resTable.getTableData().tableData;case 15:return t.formValidate.return_params=e.sent,e.next=18,t.$refs.codeTable.getTableData().tableData;case 18:return t.formValidate.error_code=e.sent,e.next=21,Object(i.f)(t.formValidate).then((function(e){t.isEdit=!1,t.$Message.success(e.msg),t.getInterfaceList()})).catch((function(e){t.$Message.error(e)}));case 21:case"end":return e.stop()}}),e)})))()},insertEvent:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function a(){var n,r,o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=e.$refs[t],r="xTable"==t?{attribute:"",type:"",must:0,trip:""}:"resTable"==t?{attribute:"",type:"",trip:""}:{code:"",value:"",solution:""},a.next=5,n.insertAt(r,-1);case 5:return r=a.sent,o=r.row,a.next=9,n.setActiveCell(o,"name");case 9:case"end":return a.stop()}}),a)})))()},insertRow:function(t,e){var a=this;return Object(n.a)(regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=a.$refs[e],o="xTable"==e?{attribute:"",type:"",must:0,trip:"",id:Date.now(),parentId:t.id}:"resTable"==e?{attribute:"",type:"",trip:"",id:Date.now(),parentId:t.id}:{code:"",value:"",solution:"",id:Date.now(),parentId:t.id},n.next=4,r.insertAt(o,-1);case 4:return o=n.sent,i=o.row,n.next=8,r.setTreeExpand(t,!0);case 8:return n.next=10,r.setActiveRow(i);case 10:case"end":return n.stop()}}),n)})))()},removeRow:function(t,e){var a=this;return Object(n.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=a.$refs[e],n.next=3,r.remove(t);case 3:case"end":return n.stop()}}),n)})))()},add:function(){this.value="",this.formValidate.id=0,this.nameModal=!0},clickMenu:function(t,e){1==t?(this.formValidate={},this.formValidate.pid=e?e.id:0,this.formValidate.id=0,this.isEdit=!0):2==t?(this.value=e.name||"",this.formValidate.id=e?e.id:0,this.nameModal=!0):3==t?this.onDel(e):4==t&&this.add()},addFac:function(t){this.formValidate={id:t?t.id:0},this.isEdit=!0},asyncOK:function(){var t=this,e={id:this.formValidate.id||0,type:0,name:this.value};Object(i.f)(e).then((function(e){t.$Message.success(e.msg),t.getInterfaceList()})).catch((function(e){t.$Message.error(e)}))},handleContextMenu:function(t,e,a){a.left=Number(a.left.slice(0,-2))+75+"px",this.contextData=t},handleContextCreateFolder:function(){},handleContextCreateFile:function(){},renderContent:function(t,e){var a=this,n=e.root,o=e.node,i=e.data;return t("span",{style:{display:"inline-block",width:"100%"}},[t("span",[t(resolveComponent("Icon"),{type:"ios-paper-outline",style:{marginRight:"8px"}}),t("span",i.title)]),t("span",{style:{display:"inline-block",float:"right",marginRight:"32px"}},[t(resolveComponent("Button"),Object(r.a)(Object(r.a)({},this.buttonProps),{},{icon:"ios-add",style:{marginRight:"8px"},onClick:function(){a.append(i)}})),t(resolveComponent("Button"),Object(r.a)(Object(r.a)({},this.buttonProps),{},{icon:"ios-remove",onClick:function(){a.remove(n,o,i)}}))])])},clickDir:function(t,e,a){this.navItem=t,this.pathname=t.pathname},append:function(t){var e=t.children||[];e.push({title:"appended node",expand:!0}),this.$set(t,"children",e)},remove:function(t,e,a){var n=t.find((function(t){return t===e})).parent;t=t.find((function(t){return t.nodeKey===n})).node,a=t.children.indexOf(a);t.children.splice(a,1)},onMouseOver:function(t,e,a,n,r){}},Object(o.a)(l,"onMouseOver",(function(t,e,a,n,r){})),Object(o.a)(l,"onDel",(function(t){var e=this;this.$Modal.confirm({title:"警告",content:"

删除后无法恢复,请确认后删除!

",onOk:function(){Object(i.b)(t.id).then((function(a){e.$Message.success(a.msg),t.remove()})).catch((function(t){e.$Message.error(t)}))},onCancel:function(){}})})),Object(o.a)(l,"onChangeName",(function(t){var e=this;"blur"==t.eventType&&(t={name:t.newName,id:t.id},Object(i.d)(t).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t)})))})),Object(o.a)(l,"onAddNode",(function(t){})),Object(o.a)(l,"addNode",(function(){var t=new s.TreeNode({name:"new node",isLeaf:!1});this.data.children||(this.data.children=[]),this.data.addChildren(t)})),Object(o.a)(l,"getNewTree",(function(){this.newTree=function t(e){var a,n={};for(a in e)"children"!==a&&"parent"!==a&&(n[a]=e[a]);if(e.children&&0e.window.document);i=n.F(e),i&&c.unshift(i);for(const e of c)this._hooks.add(n.l(e,d,e=>{e.buttons!==t?this.stopMonitoring(!0):this._mouseMoveCallback(e)},(e,t)=>this._mouseMoveEventMerger(e,t))),this._hooks.add(n.i(e,"mouseup",e=>this.stopMonitoring(!0)));o.a.hasDifferentOriginAncestor()&&(r=h[h.length-1],this._hooks.add(n.i(r.window.document,"mouseout",e=>{let t=new s.a(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(n.i(r.window.document,"mouseover",e=>{let t=new s.a(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(n.i(r.window.document.body,"mouseleave",e=>{this.stopMonitoring(!0)})))}}}},"01b0":function(e,t,i){},"0292":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return i.e("chunk-2d0a3577").then(i.bind(null,"0287"))}})},"03d9":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"b",(function(){return s})),i.d(t,"e",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"f",(function(){return l})),i.d(t,"h",(function(){return d})),i.d(t,"i",(function(){return h})),i.d(t,"g",(function(){return c}));var n,o,s,r,a,l,d,h,c;t=i("dff7");(i=n=n||{}).noSelection=t.a("noSelection","No selection"),i.singleSelectionRange=t.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),i.singleSelection=t.a("singleSelection","Line {0}, Column {1}"),i.multiSelectionRange=t.a("multiSelectionRange","{0} selections ({1} characters selected)"),i.multiSelection=t.a("multiSelection","{0} selections"),i.emergencyConfOn=t.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),i.openingDocs=t.a("openingDocs","Now opening the Editor Accessibility documentation page."),i.readonlyDiffEditor=t.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),i.editableDiffEditor=t.a("editableDiffEditor"," in a pane of a diff editor."),i.readonlyEditor=t.a("readonlyEditor"," in a read-only code editor"),i.editableEditor=t.a("editableEditor"," in a code editor"),i.changeConfigToOnMac=t.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),i.changeConfigToOnWinLinux=t.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),i.auto_on=t.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),i.auto_off=t.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),i.tabFocusModeOnMsg=t.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),i.tabFocusModeOnMsgNoKb=t.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),i.tabFocusModeOffMsg=t.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),i.tabFocusModeOffMsgNoKb=t.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),i.openDocMac=t.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),i.openDocWinLinux=t.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),i.outroMsg=t.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),i.showAccessibilityHelpAction=t.a("showAccessibilityHelpAction","Show Accessibility Help"),(o=o||{}).inspectTokensAction=t.a("inspectTokens","Developer: Inspect Tokens"),(s=s||{}).gotoLineActionLabel=t.a("gotoLineActionLabel","Go to Line/Column..."),(r=r||{}).helpQuickAccessActionLabel=t.a("helpQuickAccess","Show all Quick Access Providers"),(i=a=a||{}).quickCommandActionLabel=t.a("quickCommandActionLabel","Command Palette"),i.quickCommandHelp=t.a("quickCommandActionHelp","Show And Run Commands"),(i=l=l||{}).quickOutlineActionLabel=t.a("quickOutlineActionLabel","Go to Symbol..."),i.quickOutlineByCategoryActionLabel=t.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(i=d=d||{}).editorViewAccessibleLabel=t.a("editorViewAccessibleLabel","Editor content"),i.accessibilityHelpMessage=t.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(h=h||{}).toggleHighContrast=t.a("toggleHighContrast","Toggle High Contrast Theme"),(c=c||{}).bulkEditServiceSummary=t.a("bulkEditServiceSummary","Made {0} edits in {1} files")},"03e8":function(e,t,i){"use strict";i.d(t,"a",(function(){return g})),i.d(t,"c",(function(){return h})),i.d(t,"b",(function(){return m}));var n,o=i("308f"),s=(t=i("a666"),i("ef8e9")),r=i("5fe7"),a=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};(c=n=n||{})[c.None=0]="None",c[c.Initialized=1]="Initialized",c[c.Closed=2]="Closed";class l extends t.a{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new o.b),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=n.None,this.cache=new Map,this.flushDelayer=new r.f(l.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t;null!=(t=e.changed)&&t.forEach((e,t)=>this.accept(t,e)),null!=(t=e.deleted)&&t.forEach(e=>this.accept(e,void 0))}accept(e,t){if(this.state!==n.Closed){let i=!1;Object(s.m)(t)?i=this.cache.delete(e):this.cache.get(e)!==t&&(this.cache.set(e,t),i=!0),i&&this._onDidChangeStorage.fire(e)}}get(e,t){return e=this.cache.get(e),Object(s.m)(e)?t:e}getBoolean(e,t){return e=this.get(e),Object(s.m)(e)?t:"true"===e}getNumber(e,t){return e=this.get(e),Object(s.m)(e)?t:parseInt(e,10)}set(e,t){return a(this,void 0,void 0,(function*(){var i;if(this.state!==n.Closed)return Object(s.m)(t)?this.delete(e):(i=String(t),this.cache.get(e)!==i?(this.cache.set(e,i),this.pendingInserts.set(e,i),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire(e),this.flushDelayer.trigger(()=>this.flushPending())):void 0)}))}delete(e){return a(this,void 0,void 0,(function*(){if(this.state!==n.Closed&&this.cache.delete(e))return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),this.flushDelayer.trigger(()=>this.flushPending())}))}get hasPending(){return 0{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null!=(e=this.whenFlushedCallbacks.pop())&&e()})}))}dispose(){this.flushDelayer.dispose(),super.dispose()}}l.DEFAULT_FLUSH_DELAY=100;class d{constructor(){this.onDidChangeItemsExternal=o.c.None,this.items=new Map}updateItems(e){return a(this,void 0,void 0,(function*(){e.insert&&e.insert.forEach((e,t)=>this.items.set(t,e)),e.delete&&e.delete.forEach(e=>this.items.delete(e))}))}}var h,c=i("0a0f");const u="__$__targetStorageMarker",g=Object(c.c)("storageService");(i=h=h||{})[i.NONE=0]="NONE",i[i.SHUTDOWN=1]="SHUTDOWN";class p extends t.a{constructor(e={flushInterval:p.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new o.e),this._onDidChangeTarget=this._register(new o.e),this._onWillSaveState=this._register(new o.b),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===u?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){return null==(t=this.getStorage(t))?void 0:t.get(e,i)}getBoolean(e,t,i){return null==(t=this.getStorage(t))?void 0:t.getBoolean(e,i)}getNumber(e,t,i){return null==(t=this.getStorage(t))?void 0:t.getNumber(e,i)}store(e,t,i,n){Object(s.m)(t)?this.remove(e,i):this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null!=(o=this.getStorage(i))&&o.set(e,t)})}remove(e,t){this.withPausedEmitters(()=>{var i;this.updateKeyTarget(e,t,void 0),null!=(i=this.getStorage(t))&&i.delete(e)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){const n=this.getKeyTargets(t);"number"==typeof i?n[e]!==i&&(n[e]=i,null!=(i=this.getStorage(t))&&i.set(u,JSON.stringify(n))):"number"==typeof n[e]&&(delete n[e],null!=(i=this.getStorage(t))&&i.set(u,JSON.stringify(n)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){if(e=this.get(u,e),e)try{return JSON.parse(e)}catch(e){}return Object.create(null)}}p.DEFAULT_FLUSH_INTERVAL=6e4;class m extends p{constructor(){super(),this.globalStorage=this._register(new l(new d)),this.workspaceStorage=this._register(new l(new d)),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.globalStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e)))}getStorage(e){return 0===e?this.globalStorage:this.workspaceStorage}}},"0447":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\{i.push(...this.validateAndRegisterProperties(e,t,e.extensionInfo)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),p.registerSchema(g,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,i,n=3){var r;n=o.m(e.scope)?n:e.scope;let a=[],l=e.properties;if(l)for(var d in l)if(t&&function(e){return e.trim()?m.test(e)?s.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==_.getConfigurationProperties()[e]&&s.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):s.a("config.property.empty","Cannot register an empty property")}(d))delete l[d];else{const e=l[d];this.updatePropertyDefaultValue(d,e),m.test(d)?e.scope=void 0:(e.scope=o.m(e.scope)?n:e.scope,e.restricted=o.m(e.restricted)?!(null==(r=null==i?void 0:i.restrictedConfigurations)||!r.includes(d)):e.restricted),l[d].hasOwnProperty("included")&&!l[d].included?(this.excludedConfigurationProperties[d]=l[d],delete l[d]):(this.configurationProperties[d]=l[d],!l[d].deprecationMessage&&l[d].markdownDeprecationMessage&&(l[d].deprecationMessage=l[d].markdownDeprecationMessage),a.push(d))}if(e=e.allOf,e)for(var h of e)a.push(...this.validateAndRegisterProperties(h,t,i,n));return a}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{var i=e.properties;if(i)for(const t in i)this.updateSchema(t,i[t]);let n=e.allOf;n&&n.forEach(t)};t(e)}updateSchema(e,t){switch((a.properties[e]=t).scope){case 1:l.properties[e]=t;break;case 2:d.properties[e]=t;break;case 6:h.properties[e]=t;break;case 3:c.properties[e]=t;break;case 4:u.properties[e]=t;break;case 5:u.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const i of this.overrideIdentifiers.values()){var e=`[${i}]`,t={type:"object",description:s.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:g};this.updatePropertyDefaultValue(e,t),a.properties[e]=t,l.properties[e]=t,d.properties[e]=t,h.properties[e]=t,c.properties[e]=t,u.properties[e]=t}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.defaultValues[e];o.l(i)&&(i=t.default),o.l(i)&&(i=function(e){switch(e=Array.isArray(e)?e[0]:e,e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=i}};i.a.add(r.Configuration,_)},"099d":function(e,t,i){"use strict";function n(e){return e<0?0:255n.a.replace(o.a.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",r.map(e=>n.a.replaceMove(o.a.lift(e.range),e.text))),i&&e.pushUndoStop()}}},"0a0f":function(e,t,i){"use strict";var n,o;i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return s})),i.d(t,"c",(function(){return a})),i.d(t,"d",(function(){return l})),(o=n=n||{}).serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies",o.getServiceDependencies=function(e){return e[o.DI_DEPENDENCIES]||[]};const s=a("instantiationService");function r(e,t,i,o){t[n.DI_TARGET]===t?t[n.DI_DEPENDENCIES].push({id:e,index:i,optional:o}):(t[n.DI_DEPENDENCIES]=[{id:e,index:i,optional:o}],t[n.DI_TARGET]=t)}function a(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);function t(e,i,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,n,!1)}return t.toString=()=>e,n.serviceIds.set(e,t),t}function l(e){return function(t,i,n){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,n,!0)}}},"0a31":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0f70"),i=i("30db");const n={clipboard:{writeText:i.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:i.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:i.g||t.i?0:navigator.keyboard||t.h?1:2,touch:"ontouchstart"in window||0, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new a(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new a(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,i){t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t;if(e<=this.selectionStart)return t=this.value.substring(e,this.selectionStart),this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1);if(e>=this.selectionEnd)return t=this.value.substring(this.selectionEnd,e),this._finishDeduceEditorPosition(this.selectionEndPosition,t,1);const i=this.value.substring(this.selectionStart,e);return-1===i.indexOf(String.fromCharCode(8230))?this._finishDeduceEditorPosition(this.selectionStartPosition,i,1):(t=this.value.substring(e,this.selectionEnd),this._finishDeduceEditorPosition(this.selectionEndPosition,t,-1))}_finishDeduceEditorPosition(e,t,i){let n=0,o=-1;for(;-1!==(o=t.indexOf("\n",o+1));)n++;return[e,i*t.length,n]}static selectedText(e){return new a(e,0,e.length,null,null)}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};let o=e.value;var s=e.selectionStart;e=e.selectionEnd;let r=t.value;var a=t.selectionStart,l=(t=t.selectionEnd,o.substring(e)),d=r.substring(t);l=n.e(l,d),r=r.substring(0,r.length-l),d=(o=o.substring(0,o.length-l)).substring(0,s),l=r.substring(0,a),l=n.d(d,l);if(r=r.substring(l),o=o.substring(l),a-=l,s-=l,t-=l,e-=l,i&&a==t&&0n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return y(this,void 0,void 0,(function*(){var o=n.includeDisabledActions?t.allActions:t.validActions;if(o.length){if(!this._editor.getDomNode())throw this._visible=!1,Object(h.b)();this._visible=!0,this._showingActions.value=t;const n=this.getMenuActions(e,o,t.documentation),s=m.a.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},r=this._keybindingResolver.getResolver();o=this._editor.getOption(114),this._contextMenuService.showContextMenu({domForShadowRoot:o?this._editor.getDomNode():void 0,getAnchor:()=>s,getActions:()=>n,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof S?r(e.action):void 0})}else this._visible=!1}))}getMenuActions(e,t,i){var n;const o=e=>new S(e.action,()=>this._delegate.onSelectCodeAction(e)),s=t.map(o),r=[...i];if(i=this._editor.getModel(),i&&s.length)for(const a of f.a.all(i))a._getAdditionalMenuItems&&r.push(...a._getAdditionalMenuItems({trigger:e.type,only:null==(n=null==(n=e.filter)?void 0:n.include)?void 0:n.value},t.map(e=>e.action)));return r.length&&s.push(new p.d,...r.map(e=>o(new d.a({title:e.title,command:e},void 0)))),s}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();e=this._editor.getScrolledVisiblePosition(e);var t=Object(g.D)(this._editor.getDomNode());return{x:t.left+e.left,y:t.top+e.top+e.height}}};L=C([w(2,b.a),w(3,v.a)],L);class x{constructor(e){this._keybindingProvider=e}getResolver(){const e=new o(()=>this._keybindingProvider.getKeybindings().filter(e=>0<=x.codeActionCommands.indexOf(e.command)).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===d.e?t={kind:_.b.SourceOrganizeImports.value}:e.command===d.c&&(t={kind:_.b.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},_.a.fromUser(t,{kind:_.b.None,apply:"never"}))}));return t=>t.kind&&null!=(t=this.bestKeybindingForCodeAction(t,e.getValue()))?t.resolvedKeybinding:void 0}bestKeybindingForCodeAction(e,t){if(e.kind){const i=new _.b(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>!e||e.kind.contains(t.kind)?t:e,void 0)}}}x.codeActionCommands=[d.f,d.b,d.g,d.e,d.c];var k,D=i("00a3"),N=i("308f"),O=(i("30d5"),i("b57f")),E=i("dff7"),I=(C=i("b7d0"),i("303e")),M=i("a60f"),T=i("561a"),A=(b=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),M.b.ignoreTarget(this._domNode),this._register(g.n(this._domNode,e=>{if(1===this.state.type){this._editor.focus(),e.preventDefault();var{top:t,height:i}=g.D(this._domNode),n=this._editor.getOption(58);let o=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{if(1==(1&e.buttons)){this.hide();const t=new D.a;t.startMonitoring(e.target,e.buttons,D.b,()=>{},()=>{t.dispose()})}})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(56)&&!this._editor.getOption(56).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,i,n){if(t.validActions.length<=0)return this.hide();const o=this._editor.getOptions();if(!o.get(56).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();var{lineNumber:r,column:a}=s.validatePosition(n),l=s.getOptions().tabSize,d=o.get(42),h=s.getLineContent(r);h=O.b.computeIndentLevel(h,l),l=e=>2{var i=null==(i=e.getColor(I.r))?void 0:i.transparent(.7),n=e.getColor(I.Q);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${T.b.lightBulb.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t\tbackground-color: ${i};\n\t\t}`),n=e.getColor(I.P);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${T.b.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t\tbackground-color: ${i};\n\t\t}`)});A=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._register(r.createInstance(L,this._editor,{onSelectCodeAction:e=>F(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0)}))}))),this._lightBulbWidget=new o(()=>{const e=this._register(r.createInstance(R,this._editor,t,i));return this._register(e.onClick(e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1}))),e})}dispose(){B(this,P,!0,"f"),super.dispose()}update(e){var i,n;return F(this,void 0,void 0,(function*(){if(1!==e.type)null!=(i=this._lightBulbWidget.rawValue)&&i.hide();else{let s;try{s=yield e.actions}catch(t){return void Object(h.f)(t)}if(!j(this,P,"f"))if(this._lightBulbWidget.getValue().update(s,e.trigger,e.position),1===e.trigger.type){if(null!=(i=e.trigger.filter)&&i.include){var o=this.tryGetValidActionToApply(e.trigger,s);if(o){try{yield this.delegate.applyCodeAction(o,!1)}finally{s.dispose()}return}if(e.trigger.context&&(o=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,s),o&&o.action.disabled))return c.a.get(this._editor).showMessage(o.action.disabled,e.trigger.context.position),void s.dispose()}o=!(null==(n=e.trigger.filter)||!n.include),!e.trigger.context||s.allActions.length&&(o||s.validActions.length)?(this._activeCodeActions.value=s,this._codeActionWidget.getValue().show(e.trigger,s,e.position,{includeDisabledActions:o})):(c.a.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),(this._activeCodeActions.value=s).dispose())}else this._codeActionWidget.getValue().isVisible?s.dispose():this._activeCodeActions.value=s}}))}getInvalidActionThatWouldHaveBeenApplied(e,t){return t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length)?t.allActions.find(({action:e})=>e.disabled):void 0}tryGetValidActionToApply(e,t){return t.validActions.length&&("first"===e.autoApply&&0this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(e=>Object(G.f)(e,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const n of this._markerService.read({resource:t.uri})){var i=t.validateRange(n);if(Z.a.intersectRanges(i,e))return Z.a.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(this._editor.hasModel()){const n=this._editor.getModel(),o=this._editor.getSelection();if(o.isEmpty()&&2===e.type){var{lineNumber:e,column:t}=o.getPosition(),i=n.getLineContent(e);if(0===i.length)return;if(1===t){if(/\s/.test(i[0]))return}else if(t===n.getLineMaxColumn(e)){if(/\s/.test(i[i.length-1]))return}else if(/\s/.test(i[t-2])&&/\s/.test(i[t-1]))return}return o}}_createEventAndSignalChange(e,t){var i=this._editor.getModel();if(t&&i){const n=this._getRangeOfMarker(t);return i=(n||t).getStartPosition(),e={trigger:e,selection:t,position:i},this._signalChange(e),e}this._signalChange(void 0)}}v=V=V||{},v.Empty={type:0},v.Triggered=class{constructor(e,t,i,n){this.trigger=e,this.rangeOrSelection=t,this.position=i,this._cancellablePromise=n,this.type=1,this.actions=n.catch(e=>{if(Object(h.e)(e))return ee;throw e})}cancel(){this._cancellablePromise.cancel()}};const ee={allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1};class te extends s.a{constructor(e,t,i,n){super(),this._editor=e,this._markerService=t,this._progressService=n,this._codeActionOracle=this._register(new s.d),this._state=V.Empty,this._onDidChangeState=this._register(new N.b),this.onDidChangeState=this._onDidChangeState.event,ie.set(this,!1),this._supportedCodeActions=Q.bindTo(i),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(f.a.onDidChange(()=>this._update())),this._update()}dispose(){Y(this,ie,"f")||(X(this,ie,!0,"f"),super.dispose(),this.setState(V.Empty,!0))}_update(){if(!Y(this,ie,"f")){this._codeActionOracle.value=void 0,this.setState(V.Empty);const e=this._editor.getModel();if(e&&f.a.has(e)&&!this._editor.getOption(80)){const t=[];for(const i of f.a.all(e))Array.isArray(i.providedCodeActionKinds)&&t.push(...i.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new J(this._editor,this._markerService,t=>{var i,n;t?(n=Object($.h)(i=>Object(d.d)(e,t.selection,t.trigger,K.b.None,i)),1===t.trigger.type&&null!=(i=this._progressService)&&i.showWhile(n,250),this.setState(new V.Triggered(t.trigger,t.selection,t.position,n))):this.setState(V.Empty)},void 0),this._codeActionOracle.value.trigger({type:2})}else this._supportedCodeActions.reset()}}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||Y(this,ie,"f")||this._onDidChangeState.fire(e))}}var ie=new WeakMap,ne=(C=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.update(e))),this._ui=new o(()=>this._register(new W(e,de.Id,me.Id,{applyCodeAction:(e,t)=>ne(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e)}finally{t&&this._trigger({type:2,filter:{}})}}))},this._instantiationService)))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,i){return this._ui.getValue().showCodeActionList(e,t,i,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,i){var n;this._editor.hasModel()&&(c.a.get(this._editor).closeMessage(),n=this._editor.getPosition(),this._trigger({type:1,filter:t,autoApply:i,context:{notAvailableMessage:e,position:n}}))}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(ae,e,this._editor)}};function ae(e,t,i){return ne(this,void 0,void 0,(function*(){const o=e.get(a.a),s=e.get(H.b),r=e.get(q.a),l=e.get(U.a);if(r.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred}),yield t.resolve(n.a.None),t.action.edit&&(yield o.apply(a.b.convert(t.action.edit),{editor:i,label:t.action.title})),t.action.command)try{yield s.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(o){d="string"==typeof(d=o)?d:d instanceof Error&&"string"==typeof d.message?d.message:void 0,l.error("string"==typeof d?d:E.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}var d}))}function le(e,t,i,n){if(e.hasModel()){const o=re.get(e);o&&o.manualTriggerAtCurrentPosition(t,i,n)}}re.ID="editor.contrib.quickFixController",re=C([A(1,w.b),A(2,z.b),A(3,K.a),A(4,u.a)],re);class de extends t.b{constructor(){super({id:de.Id,label:E.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:2132,weight:100}})}run(e,t){return le(t,E.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}de.Id="editor.action.quickFix";class he extends t.c{constructor(){super({id:d.b,precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:se}]}})}runEditorCommand(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Empty,apply:"ifSingle"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):E.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?E.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):E.a("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class ce extends t.b{constructor(){super({id:d.f,label:E.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:z.a.and(l.a.writable,oe(_.b.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:se}]}})}run(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Refactor,apply:"never"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):E.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?E.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):E.a("editor.action.refactor.noneMessage","No refactorings available"),{include:_.b.Refactor.contains(n.kind)?n.kind:_.b.None,onlyIncludePreferredActions:n.preferred},n.apply)}}class ue extends t.b{constructor(){super({id:d.g,label:E.a("source.label","Source Action..."),alias:"Source Action...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:z.a.and(l.a.writable,oe(_.b.Source))},description:{description:"Source Action...",args:[{name:"args",schema:se}]}})}run(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Source,apply:"never"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):E.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?E.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):E.a("editor.action.source.noneMessage","No source actions available"),{include:_.b.Source.contains(n.kind)?n.kind:_.b.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class ge extends t.b{constructor(){super({id:d.e,label:E.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:z.a.and(l.a.writable,oe(_.b.SourceOrganizeImports)),kbOpts:{kbExpr:l.a.editorTextFocus,primary:1581,weight:100}})}run(e,t){return le(t,E.a("editor.action.organize.noneMessage","No organize imports action available"),{include:_.b.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class pe extends t.b{constructor(){super({id:d.c,label:E.a("fixAll.label","Fix All"),alias:"Fix All",precondition:z.a.and(l.a.writable,oe(_.b.SourceFixAll))})}run(e,t){return le(t,E.a("fixAll.noneMessage","No fix all action available"),{include:_.b.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class me extends t.b{constructor(){super({id:me.Id,label:E.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:z.a.and(l.a.writable,oe(_.b.QuickFix)),kbOpts:{kbExpr:l.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return le(t,E.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:_.b.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}me.Id="editor.action.autoFix"},"0baa":function(e,t,i){},"0bfb":function(e,t,i){"use strict";function n(e){const t=this;let i,n=!1;return function(){return n||(n=!0,i=e.apply(t,arguments)),i}}i.d(t,"a",(function(){return n}))},"0d30":function(e,t,i){},"0ef9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return i.e("chunk-2d221814").then(i.bind(null,"cb43"))}})},"0f70":function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"l",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return d})),i.d(t,"g",(function(){return c})),i.d(t,"j",(function(){return u})),i.d(t,"f",(function(){return g})),i.d(t,"h",(function(){return p})),i.d(t,"k",(function(){return m})),i.d(t,"e",(function(){return f})),i.d(t,"i",(function(){return _}));var n=i("308f");class o{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new n.b,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){var e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function s(){return o.INSTANCE.getZoomLevel()}function r(){return o.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return o.INSTANCE.onDidChangeZoomLevel(e)}function l(){return o.INSTANCE.getZoomFactor()}function d(){return o.INSTANCE.getPixelRatio()}o.INSTANCE=new o;const h=navigator.userAgent,c=0<=h.indexOf("Firefox"),u=0<=h.indexOf("AppleWebKit"),g=0<=h.indexOf("Chrome"),p=!g&&0<=h.indexOf("Safari"),m=!g&&!p&&u,f=0<=h.indexOf("Android"),_=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},1080:function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return m}));var n=i("3742"),o=i("7ab3"),s=i("6a89");class r{constructor(e,t,i,n,o,s){this._richEditBracketBrand=void 0,this.languageIdentifier=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=o,this.reversedRegex=s,this._openSet=r._toSet(this.open),this._closeSet=r._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const i of e)t.add(i);return t}}function a(e){const t=e.length,i=(e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]),[]);for(let c=0;c{var[e,i]=e,[t,n]=t;return e===t||e===n||i===t||i===n})(s,e[n])){d=l=void 0;var r=i[c],a=i[n],l=Math.min(r,a),d=Math.max(r,a);for(let e=0;enew r(e,n,t.open,t.close,function(e,t,i,n){let o=[];o=(o=o.concat(e)).concat(t);for(let s=0,r=o.length;st?e:"\\"+e)}const l=new RegExp("\\\\"+i.source,"g");function d(e){return e.replace(l,e=>"\\"+e)}const h=new RegExp(`(\\s)?(\\\\)?${i.source}(\\s)?`,"g");function c(e){return-1===e.indexOf(s)?e:e.replace(h,(e,t,i,n)=>i?e:t||n||"")}function u(e){var t,i=e.indexOf(s);if(-1===i)return{text:e};{var n=e;e=i;const a=[];let l="";function o(e){if(e){l+=e;for(const t of e)a.push(g)}}let d,h,c=-1,u="",g=0,p=e;var r=n.length;for(o(n.substr(0,e));p{let n=i.relatedTarget;for(;n&&n!==e;)n=n.parentNode;n!==e&&t(i)})}function S(e,t){return f(e,"pointerout",i=>{let n=i.relatedTarget;for(;n&&n!==e;)n=n.parentNode;n!==e&&t(i)})}let L,x,k=null;class D{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(t){Object(l.f)(t)}}static sort(e,t){return t.priority-e.priority}}{let e=[],t=null,i=!1,n=!1,o=()=>{for(i=!1,t=e,e=[],n=!0;0(t=new D(t,n),e.push(t),i||(i=!0,n=o,(k=k||(self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||(e=>setTimeout(()=>e((new Date).getTime()),0)))).call(self,n)),t),L=(e,i)=>{var o;return n?(o=new D(e,i),t.push(o),o):x(e,i)}}class N extends h.a{constructor(e,t,i,n=function(e,t){return t},o=8){super();let s=null,r=0,l=this._register(new a.g),d=()=>{r=(new Date).getTime(),i(s),s=null};this._register(f(e,t,e=>{s=n(s,e),e=(new Date).getTime()-r,o<=e?(l.cancel(),d()):l.setIfNotSet(d,o-e)}))}}function O(e,t,i,n,o){return new N(e,t,i,n,o)}function E(e){return document.defaultView.getComputedStyle(e,null)}function I(e){if(e!==document.body)return new T(e.clientWidth,e.clientHeight);if(u.c&&window.visualViewport)return new T(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new T(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new T(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new T(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class M{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=E(e),o="0";return n&&(o=n.getPropertyValue?n.getPropertyValue(t):n.getAttribute(i)),M.convertToPixels(e,o)}static getBorderLeftWidth(e){return M.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return M.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return M.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return M.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return M.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return M.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return M.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return M.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return M.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return M.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return M.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return M.getDimension(e,"margin-bottom","marginBottom")}}class T{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new T(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof T?e:new T(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&e.width===t.width&&e.height===t.height}}function A(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){i-=e.scrollTop;var o=K(e)?null:E(e);o&&(n-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=M.getBorderLeftWidth(e),i=(i+=M.getBorderTopWidth(e))+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function R(e,t,i){"number"==typeof t&&(e.style.width=t+"px"),"number"==typeof i&&(e.style.height=i+"px")}function P(e){return e=e.getBoundingClientRect(),{left:e.left+F.scrollX,top:e.top+F.scrollY,width:e.width,height:e.height}}const F=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function B(e){var t=M.getMarginLeft(e)+M.getMarginRight(e);return e.offsetWidth+t}function j(e){var t=M.getBorderLeftWidth(e)+M.getBorderRightWidth(e),i=M.getPaddingLeft(e)+M.getPaddingRight(e);return e.offsetWidth-t-i}function W(e){var t=M.getBorderTopWidth(e)+M.getBorderBottomWidth(e),i=M.getPaddingTop(e)+M.getPaddingBottom(e);return e.offsetHeight-t-i}function V(e){var t=M.getMarginTop(e)+M.getMarginBottom(e);return e.offsetHeight+t}function H(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function z(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i)if("string"==typeof i){if(e.classList.contains(i))return null}else if(e===i)return null;e=e.parentNode}return null}function U(e,t,i){return!!z(e,t,i)}function K(e){return e&&e.host&&e.mode}function q(e){return!!$(e)}function $(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return K(e)?e:null}function G(){let e=document.activeElement;for(;null!==e&&void 0!==e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Z(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let Y=null;function X(){return Y=Y||Z()}function Q(e,t,i=X()){i&&t&&i.sheet.insertRule(e+"{"+t+"}",0)}function J(e,t=X()){if(t){var i,n,o=null!=(n=null==(i=t)?void 0:i.sheet)&&n.rules?i.sheet.rules:null!=(n=null==i?void 0:i.sheet)&&n.cssRules?i.sheet.cssRules:[];let s=[];for(let t=0;t{i=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(i=!0,window.setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{H(document.activeElement,e)!==t&&(t?o:n)()},this._register(f(e,te.FOCUS,n,!0)),this._register(f(e,te.BLUR,o,!0))}}function re(e){return new se(e)}function ae(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function le(e,t){return e.insertBefore(t,e.firstChild),t}function de(e,...t){e.innerText="",ae(e,...t)}const he=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function ce(e,t,i,...o){let s,r=he.exec(t);if(!r)throw new Error("Bad use of emmet");return i=Object.assign({},i||{}),t=r[1]||"div",s=e!==n.HTML?document.createElementNS(e,t):document.createElement(t),r[3]&&(s.id=r[3]),r[4]&&(s.className=r[4].replace(/\./g," ").trim()),Object.keys(i).forEach(e=>{var t=i[e];void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))}),s.append(...o),s}function ue(e,t,...i){return ce(n.HTML,e,t,...i)}function ge(...e){for(var t of e)t.style.display="",t.removeAttribute("aria-hidden")}function pe(...e){for(var t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function me(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function fe(e){return e=window.devicePixelRatio*e,Math.max(1,Math.floor(e))/window.devicePixelRatio}function _e(e){window.open(e,"_blank","noopener")}function be(e){const t=()=>{e(),i=x(t)};let i=x(t);return Object(h.i)(()=>i.dispose())}function ve(e){return e?`url('${c.a.asBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function Ce(e){return`'${e.replace(/'/g,"%27")}'`}(i=n=n||{}).HTML="http://www.w3.org/1999/xhtml",i.SVG="http://www.w3.org/2000/svg",ue.SVG=function(e,t,...i){return ce(n.SVG,e,t,...i)},c.b.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");class we extends d.b{constructor(){super(),this._subscriptions=new h.b,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(f(window,"keydown",e=>{if(!e.defaultPrevented){var t=new s.a(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}}},!0)),this._subscriptions.add(f(window,"keyup",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(f(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(f(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(f(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(f(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return we.instance||(we.instance=new we),we.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function ye(e,t){const i=window.matchMedia(e);"function"==typeof i.addEventListener?i.addEventListener("change",t):i.addListener(t)}},"133b":function(e,t,i){},1389:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:function(){return i.e("chunk-2d0aab07").then(i.bind(null,"11a2"))}})},"13e8":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return i.e("chunk-2d209408").then(i.bind(null,"a7ea"))}})},1569:function(e,t,i){"use strict";function n(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}i.d(t,"a",(function(){return n}))},1665:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s}));t=i("30db");var n=i("dff7");const o=new(i("4fc3").c)("isWindows",t.i,Object(n.a)("isWindows","Whether the operating system is Windows")),s="inputFocus"},"16f5":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return i.e("chunk-2d0bb267").then(i.bind(null,"39f1"))}})},1754:function(e,t,i){},1898:function(e,t,i){"use strict";i.d(t,"b",(function(){return D})),i.d(t,"c",(function(){return N})),i.d(t,"a",(function(){return O}));var n=i("0f70"),o=i("11f7"),s=i("6653"),r=i("5d28"),a=i("00a3"),l=(t=i("1b7d"),i("5fe7"));class d extends t.a{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new a.a),this.onmousedown(this.bgDomNode,e=>this._arrowMouseDown(e)),this.onmousedown(this.domNode,e=>this._arrowMouseDown(e)),this._mousedownRepeatTimer=this._register(new l.c),this._mousedownScheduleRepeatTimer=this._register(new l.g)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,a.b,e=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}var h=i("a666");class c extends h.a{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new l.g)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){var e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}var u=i("30db");class g extends t.a{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new c(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new a.a),this._shouldRender=!0,this.domNode=Object(s.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,e=>this._domNodeMouseDown(e))}_createArrow(e){e=this._register(new d(e)),this.domNode.domNode.appendChild(e.bgDomNode),this.domNode.domNode.appendChild(e.domNode)}_createSlider(e,t,i,n){this.slider=Object(s.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){var t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=(t=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),this._sliderMousePosition(e));i<=n&&n<=t?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,i;i=e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY?(t=e.browserEvent.offsetX,e.browserEvent.offsetY):(n=o.D(this.domNode.domNode),t=e.posx-n.left,e.posy-n.top);var n=this._mouseDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const i=this._sliderMousePosition(e),n=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,a.b,e=>{var t=this._sliderOrthogonalMousePosition(e);t=Math.abs(t-n);u.i&&140{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}class p{constructor(e,t,i,n,o,s){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=o,this._scrollPosition=s,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new p(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){return e=Math.round(e),this._visibleSize!==e&&(this._visibleSize=e,this._refreshComputedValues(),!0)}setScrollSize(e){return e=Math.round(e),this._scrollSize!==e&&(this._scrollSize=e,this._refreshComputedValues(),!0)}setScrollPosition(e){return e=Math.round(e),this._scrollPosition!==e&&(this._scrollPosition=e,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,o){e=Math.max(0,i-e),t=Math.max(0,e-2*t);var s=0this._host.onMouseWheel(new r.b(null,1,0))}),this._createArrow({className:"scra",icon:_,top:n,left:void 0,bottom:void 0,right:i,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,-1,0))})),this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}const v=Object(m.e)("scrollbar-button-up",m.b.triangleUp),C=Object(m.e)("scrollbar-button-down",m.b.triangleDown);class w extends g{constructor(e,t,i){var n=e.getScrollDimensions(),o=e.getCurrentScrollPosition();super({lazyRender:t.lazyRender,host:i,scrollbarState:new p(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows&&(i=(t.arrowSize-11)/2,n=(t.verticalScrollbarSize-11)/2,this._createArrow({className:"scra",icon:v,top:i,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,1))}),this._createArrow({className:"scra",icon:C,top:void 0,left:n,bottom:i,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,-1))})),this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var y=i("308f"),S=i("42e39");i("7aad");class L{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class x{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){var o=n===this._front?e:Math.pow(2,-i);if(e-=o,t+=this._memory[n].score*o,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}accept(e,t,i){const n=new L(e,t,i);n.score=this._computeScore(n),-1===this._front&&-1===this._rear?(this._memory[0]=n,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=n)}_computeScore(e){if(0{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)})),t={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()},this._verticalScrollbar=this._register(new w(this._scrollable,this._options,t)),this._horizontalScrollbar=this._register(new b(this._scrollable,this._options,t)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(s.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(s.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onnonbubblingmouseout(this._listenOnDomNode,e=>this._onMouseOut(e)),this._hideTimeout=this._register(new l.g),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(h.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,u.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){0{this._onMouseWheel(new r.b(e))},{passive:!1})))}_onMouseWheel(e){const t=x.INSTANCE;var i=window.devicePixelRatio/Object(n.c)();u.i||u.d?t.accept(Date.now(),e.deltaX/i,e.deltaY/i):t.accept(Date.now(),e.deltaX,e.deltaY);let o=!1;if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,r=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(r)?r=0:n=0),this._options.flipAxes&&([n,r]=[r,n]);var s;i=!u.f&&e.browserEvent&&e.browserEvent.shiftKey,i=(!this._options.scrollYToX&&!i||r||(r=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(r*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity),this._scrollable.getFutureScrollPosition());let a={};n&&(s=50*n,s=i.scrollTop-(s<0?Math.floor(s):Math.ceil(s)),this._verticalScrollbar.writeScrollPosition(a,s)),r&&(s=50*r,s=i.scrollLeft-(s<0?Math.floor(s):Math.ceil(s)),this._horizontalScrollbar.writeScrollPosition(a,s)),a=this._scrollable.validateScrollPosition(a),i.scrollLeft===a.scrollLeft&&i.scrollTop===a.scrollTop||(this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),o=!0)}let r=o;(r=!((r=!(r||!this._options.alwaysConsumeMouseWheel)||r)||!this._options.consumeMouseWheelIfScrollbarIsNeeded||!this._verticalScrollbar.isNeeded()&&!this._horizontalScrollbar.isNeeded())||r)&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){var e,t,i;this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows&&(t=(i=0<(e=this._scrollable.getCurrentScrollPosition()).scrollTop)?" top":"",i=(e=0this._hide(),500)}}class D extends k{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;var i=new S.a(0,e=>o.V(e));super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class N extends k{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class O extends D{constructor(e,t){super(e,t),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},"191f":function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m}));var n=i("fdcc"),o=i("3742"),s=i("2c29"),r=i("ccde"),a=i("6a89"),l=i("8025");class d{constructor(e,t,i){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=i}getEditOperations(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){t=t.getInverseEditOperations();var i=t[0].range;t=t[1].range;return new l.a(i.endLineNumber,i.endColumn,t.endLineNumber,t.endColumn-this._charAfterSelection.length)}}var h=i("2e5d"),c=i("e6ff"),u=i("2837"),g=i("70cb");class p{static indent(e,t,i){if(null===t||null===i)return[];let n=[];for(let o=0,s=i.length;othis._compositionType(i,e,o,s,r,a)),new h.e(4,n,{shouldPushStackElementBefore:_(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,o,r){return t.isEmpty()&&(t=t.getPosition(),n=Math.max(1,t.column-n),o=Math.min(e.getLineMaxColumn(t.lineNumber),t.column+o),n=new a.a(t.lineNumber,n,t.lineNumber,o),e.getValueInRange(n)!==i||0!==r)?new s.d(n,i,0,r):null}static _typeCommand(e,t,i){return new(i?s.e:s.a)(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return p._typeCommand(n,"\n",i);if(!t.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent)return r=t.getLineContent(n.startLineNumber),r=o.x(r).substring(0,n.startColumn-1),p._typeCommand(n,"\n"+e.normalizeIndentation(r),i);var r=g.a.getEnterAction(e.autoIndent,t,n);if(r){if(r.indentAction===u.b.None)return p._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===u.b.Indent)return p._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===u.b.IndentOutdent)return l=e.normalizeIndentation(r.indentation),d="\n"+(a=e.normalizeIndentation(r.indentation+r.appendText))+"\n"+l,i?new s.e(n,d,!0):new s.d(n,d,-1,a.length-l.length,!0);if(r.indentAction===u.b.Outdent)return d=p.unshiftIndent(e,r.indentation),p._typeCommand(n,"\n"+e.normalizeIndentation(d+r.appendText),i)}var a=t.getLineContent(n.startLineNumber),l=o.x(a).substring(0,n.startColumn-1);if(4<=e.autoIndent){var d=g.a.getIndentForEnter(e.autoIndent,t,n,{unshiftIndent:t=>p.unshiftIndent(e,t),shiftIndent:t=>p.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(d){let l=h.a.visibleColumnFromColumn2(e,t,n.getEndPosition());if(r=n.endColumn,a=t.getLineContent(n.endLineNumber),a=o.u(a),n=0<=a?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,a+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new s.e(n,"\n"+e.normalizeIndentation(d.afterEnter),!0);{let t=0;return r<=a+1&&(e.insertSpaces||(l=Math.ceil(l/e.indentSize)),t=Math.min(l+1-e.normalizeIndentation(d.afterEnter).length-1,0)),new s.d(n,"\n"+e.normalizeIndentation(d.afterEnter),0,t,!0)}}}return p._typeCommand(n,"\n"+e.normalizeIndentation(l),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let n=0,o=i.length;np.shiftIndent(e,t),unshiftIndent:t=>p.unshiftIndent(e,t)});return null!==s&&s!==e.normalizeIndentation(o)?0===(o=t.getLineFirstNonWhitespaceColumn(i.startLineNumber))?p._typeCommand(new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(s)+n,!1):p._typeCommand(new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(s)+t.getLineContent(i.startLineNumber).substring(o-1,i.startColumn-1)+n,!1):null}static _isAutoClosingOvertype(e,t,i,n,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let l=0,d=i.length;lt.startsWith(e.open)),i=o.some(e=>t.startsWith(e.close)),!e&&i}static _findAutoClosingPairOpen(e,t,i,n){if(e=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n),!e)return null;let o=null;for(const s of e)if(null===o||s.open.length>o.open.length){let e=!0;for(const o of i)if(t.getValueInRange(new a.a(o.lineNumber,o.column-s.open.length+1,o.lineNumber,o.column))+n!==s.open){e=!1;break}e&&(o=s)}return o}static _findSubAutoClosingPairClose(e,t){if(t.open.length<=1)return"";var i=t.close.charAt(t.close.length-1);let n=null;for(const o of e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[])o.open!==t.open&&t.open.includes(o.open)&&t.close.endsWith(o.close)&&(!n||o.open.length>n.open.length)&&(n=o);return n?n.close:""}static _getAutoClosingPairClose(e,t,i,o,s){var r=Object(h.g)(o),a=r?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===a)return null;const l=this._findAutoClosingPairOpen(e,t,i.map(e=>e.getPosition()),o);if(!l)return null;var d=this._findSubAutoClosingPairClose(e,l);let u=!0;const m=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;for(let h=0,b=i.length;hf.column-1){var _=v.charAt(f.column-1);if(!p._isBeforeClosingBrace(e,C)&&!m(_))return null}if(!t.isCheapToTokenize(f.lineNumber))return null;if(1===l.open.length&&r&&"always"!==a){const t=Object(c.a)(e.wordSeparators);if(s&&1new s.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)),new h.e(4,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})):null!==(r=this._getAutoClosingPairClose(t,i,o,d,!1))?this._runAutoClosingOpenCharType(e,t,i,o,d,!1,r):null:null}static typeWithInterceptors(e,t,i,n,o,r,a){if(!e&&"\n"===a){let e=[];for(let t=0,s=o.length;tthis.editorWorkerService.navigateValueSet(h,a,i)),this.currentRequest.then(i=>{var r,d,h;i&&i.range&&i.value&&n.validate(this.editor)&&(r=o.a.lift(i.range),d=i.range,h=i.value.length-(a.endColumn-a.startColumn),d={startLineNumber:d.startLineNumber,startColumn:d.startColumn,endLineNumber:d.endLineNumber,endColumn:d.startColumn+i.value.length},1this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(p.f))}).catch(p.f)):Promise.resolve(void 0)}}}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=u.a.register({description:"in-place-replace",className:"valueSetReplacement"}),f=i([m(1,a.a)],f);class _ extends t.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:n.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:r.a.writable,kbOpts:{kbExpr:r.a.editorTextFocus,primary:3154,weight:100}})}run(e,t){const i=f.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}class b extends t.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:n.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:r.a.writable,kbOpts:{kbExpr:r.a.editorTextFocus,primary:3156,weight:100}})}run(e,t){const i=f.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}Object(t.l)(f.ID,f),Object(t.j)(_),Object(t.j)(b),Object(h.f)((e,t)=>{e=e.getColor(c.k),e&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${e}; }`)})},"1b0e":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return h}));class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=i("eda7");class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i=c[N+1]?(m=(u=c[N+1]-1)-L-l,u>x&&w.MarkNextChange(),x=u+1,w.AddOriginalElement(u+1,m+1),N+1-s):(m=(u=c[N-1])-L-l,u>x&&w.MarkNextChange(),x=u,w.AddModifiedElement(u+1,m+1),N-1-s),0<=k&&(s=(c=this.m_reverseHistory[k])[0],y=1,S=c.length-1)}while(-1<=--k);C=w.getChanges()}return this.ConcatenateChanges(t,C)}ComputeRecursionPoint(e,t,i,o,s,r,a){let d=0,h=0,c=0,u=0,g=0,p=0;e--,i--,r[s[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m=t-e+(o-i),f=1+m;const _=new Int32Array(f),b=new Int32Array(f);var v=o-i,C=t-e,w=e-i,y=t-o,S=(C-v)%2==0;_[v]=e,b[C]=t,a[0]=!1;for(let D=1;D<=m/2+1;D++){let m=0,N=0;c=this.ClipDiagonalBound(v-D,D,v,f),u=this.ClipDiagonalBound(v+D,D,v,f);for(let e=c;e<=u;e+=2){d=e===c||em+N&&(m=d,N=h),!S&&Math.abs(e-C)<=D-1&&d>=b[e])return s[0]=d,r[0]=h,L<=b[e]&&D<=1448?this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a):null}var x=(m-e+(N-i)-D)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,x))return a[0]=!0,s[0]=m,r[0]=N,0=b[n+1]?b[n+1]-1:b[n-1],h=d-(n-C)-y;for(var k=d;d>e&&h>i&&this.ElementsAreEqual(d,h);)d--,h--;if(b[n]=d,S&&Math.abs(n-v)<=D&&d<=_[n])return s[0]=d,r[0]=h,k>=_[n]&&D<=1448?this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a):null}if(D<=1447){let e=new Int32Array(u-c+2);e[0]=v-c+1,l.Copy2(_,c,e,1,u-c+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=C-g+1,l.Copy2(b,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a)}PrettifyChanges(e){for(let v=0;vs&&(s=d,o=e)}t.originalStart-=o,t.modifiedStart-=o;var c=[null];0a&&(a=h,l=c,d=e)}return 0=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){return!(!this._OriginalIsBoundary(e)&&!this._OriginalIsBoundary(e-1))||!!(0=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){return!(!this._ModifiedIsBoundary(e)&&!this._ModifiedIsBoundary(e-1))||!!(0=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart;let r=e.originalLength;var s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(o,r,s,a),!0}return i[0]=null,!1}ClipDiagonalBound(e,t,i,n){return 0<=e&&et(new s.a(e))))}onmousedown(e,t){this._register(n.i(e,n.d.MOUSE_DOWN,e=>t(new s.a(e))))}onmouseover(e,t){this._register(n.i(e,n.d.MOUSE_OVER,e=>t(new s.a(e))))}onnonbubblingmouseout(e,t){this._register(n.j(e,e=>t(new s.a(e))))}onkeydown(e,t){this._register(n.i(e,n.d.KEY_DOWN,e=>t(new o.a(e))))}onkeyup(e,t){this._register(n.i(e,n.d.KEY_UP,e=>t(new o.a(e))))}oninput(e,t){this._register(n.i(e,n.d.INPUT,t))}onblur(e,t){this._register(n.i(e,n.d.BLUR,t))}onfocus(e,t){this._register(n.i(e,n.d.FOCUS,t))}ignoreGesture(e){r.b.ignoreTarget(e)}}},"1bd1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return i.e("chunk-2d0c86e3").then(i.bind(null,"559f"))}})},"1ddc":function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return m}));var n=i("0f70"),o=i("308f"),s=(t=i("a666"),i("30db"));class r{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class a{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div"),t=(e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px",document.createElement("div")),i=(t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t),document.createElement("div")),n=(i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight="bold",i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(i),document.createElement("div")),o=(n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",n.style.fontStyle="italic",e.appendChild(n),[]);for(const r of this._requests){let e;0===r.type&&(e=t),2===r.type&&(e=i),(e=1===r.type?n:e).appendChild(document.createElement("br"));var s=document.createElement("span");a._render(s,r),e.appendChild(s),o.push(s)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t=" ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let t=0,i=this._requests.length;tthis._values[e])}}function g(){p.INSTANCE.clearCache()}class p extends t.a{constructor(){super(),this._onDidChange=this._register(new o.b),this.onDidChange=this._onDidChange.event,this._cache=new u,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new u,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){let e=!1;for(const t of this._cache.getValues())t.isTrusted||(e=!0,this._cache.remove(t));e&&this._onDidChange.fire()}readConfiguration(e){if(!this._cache.has(e)){let t=p._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new c.b({zoomLevel:n.d(),pixelRatio:n.a(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}static createRequest(e,t,i,n){return e=new r(e,t),i.push(e),n&&n.push(e),e}static _actualReadConfiguration(e){var t=[],i=[],o=this.createRequest("n",0,t,i),s=this.createRequest("m",0,t,null),r=this.createRequest(" ",0,t,i),l=this.createRequest("0",0,t,i),d=this.createRequest("1",0,t,i),u=this.createRequest("2",0,t,i),g=this.createRequest("3",0,t,i),p=this.createRequest("4",0,t,i),m=this.createRequest("5",0,t,i),f=this.createRequest("6",0,t,i),_=this.createRequest("7",0,t,i),b=this.createRequest("8",0,t,i),v=this.createRequest("9",0,t,i),C=this.createRequest("→",0,t,i),w=this.createRequest("→",0,t,null),y=this.createRequest("·",0,t,i),S=this.createRequest(String.fromCharCode(11825),0,t,null);this.createRequest("|",0,t,i),this.createRequest("/",0,t,i),this.createRequest("-",0,t,i),this.createRequest("_",0,t,i),this.createRequest("i",0,t,i),this.createRequest("l",0,t,i),this.createRequest("m",0,t,i),this.createRequest("|",1,t,i),this.createRequest("_",1,t,i),this.createRequest("i",1,t,i),this.createRequest("l",1,t,i),this.createRequest("m",1,t,i),this.createRequest("n",1,t,i),this.createRequest("|",2,t,i),this.createRequest("_",2,t,i),this.createRequest("i",2,t,i),this.createRequest("l",2,t,i),this.createRequest("m",2,t,i),this.createRequest("n",2,t,i);{var L=e;const i=new a(L,t);i.read()}L=Math.max(l.width,d.width,u.width,g.width,p.width,m.width,f.width,_.width,b.width,v.width);let x=e.fontFeatureSettings===h.e.OFF;var k=i[0].width;for(let n=1,a=i.length;x&&nC.width&&(N=!1),t=2e3this._recomputeOptions())),this._register(p.INSTANCE.onDidChange(()=>this._recomputeOptions())),this._validatedOptions.get(10)&&this._elementSizeObserver.startObserving(),this._register(n.l(e=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"}static applyFontInfo(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)}observeReferenceElement(e){this._elementSizeObserver.observe(e)}updatePixelRatio(){this._recomputeOptions()}static _getExtraEditorClassName(){let e="";return n.h||n.k||(e+="no-user-select "),n.h&&(e+="no-minimap-shadow "),s.f&&(e+="mac "),e}_getEnvConfiguration(){return{extraEditorClassName:m._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:n.j||n.g,pixelRatio:n.a(),zoomLevel:n.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(e){return p.INSTANCE.readConfiguration(e)}}},"1e03":function(e,t,i){},"1e93":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"e",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"f",(function(){return d})),i.d(t,"d",(function(){return h})),i.d(t,"g",(function(){return c}));const n=void 0!==e;let o;class s{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(t){return n&&!e.isBuffer(t)&&(t=e.from(t.buffer,t.byteOffset,t.byteLength)),new s(t)}toString(){return n?this.buffer.toString():(o=o||new TextDecoder).decode(this.buffer)}}function r(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function a(e,t,i){e[i+0]=255&t,e[i+1]=255&(t>>>=8)}function l(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function d(e,t,i){e[i+3]=t,e[i+2]=t>>>=8,e[i+1]=t>>>=8,e[i]=t>>>=8}function h(e,t){return e[t]}function c(e,t,i){e[i]=t}}).call(this,i("b639").Buffer)},"1f26":function(e,t,i){},"1f84":function(e,t,i){"use strict";i.r(t),i.d(t,"GotoDefinitionAtPositionEditorContribution",(function(){return S})),i("eb68");var n=i("dff7"),o=i("5fe7"),s=i("fdcc"),r=i("78bc"),a=(t=i("5818"),i("6a89")),l=i("b707"),d=i("b2cc"),h=i("bd13"),c=i("a666"),u=i("b78f"),g=i("b7d0"),p=i("303e"),m=i("bc04"),f=i("f187"),_=i("6816"),b=i("7061"),v=i("ef8e9"),C=i("88d4"),w=i("4fc3"),y=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.startFindDefinitionFromMouse(e,Object(v.o)(t))})),this.toUnhook.add(n.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},e=>{this.removeLinkDecorations(),Object(s.f)(e)})})),this.toUnhook.add(n.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){9===e.target.type&&0this.findDefinition(e,t)),this.previousPromise.then(t=>{if(t&&t.length&&l.validate(this.editor))if(1{if(t.object&&t.object.textEditorModel){const l=t["object"]["textEditorModel"];var o=n.range["startLineNumber"];if(!(o<1||o>l.getLineCount())){let t;o=this.getPreviewValue(l,o,n),t=n.originSelectionRange?a.a.lift(n.originSelectionRange):new a.a(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);var s=this.modeService.getModeIdByFilepathOrFirstLine(l.uri);this.addDecoration(t,(new r.a).appendCodeblock(s||"",o))}}t.dispose()})}else this.removeLinkDecorations()}).then(void 0,s.f)}getPreviewValue(t,i,n){let o=n.targetSelectionRange?n.range:this.getPreviewRangeBasedOnBrackets(t,i);return o.endLineNumber-o.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(o=this.getPreviewRangeBasedOnIndentation(t,i)),n=this.stripIndentationFromPreviewRange(t,i,o),n}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t);for(let s=t+1;sn)return new a.a(i,1,n+1,1);r=t.findNextBracket(new b.a(e,d))}return new a.a(i,1,n+1,1)}addDecoration(e,t){this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[{range:e,options:{description:"goto-definition-link",inlineClassName:"goto-definition-link",hoverMessage:t}}])}removeLinkDecorations(){0{var i=!t&&this.editor.getOption(77)&&!this.isInPeekEditor(e);const n=new f.DefinitionAction({openToSide:t,openInPeek:i,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return n.run(e,this.editor)})}isInPeekEditor(e){return e=e.get(w.b),C.b.inPeekEditor.getValue(e)}dispose(){this.toUnhook.dispose()}};S.ID="editor.contrib.gotodefinitionatposition",S.MAX_SOURCE_PREVIEW_LINES=8,S=i([y(1,u.a),y(2,t.a)],S),Object(d.l)(S.ID,S),Object(g.f)((e,t)=>{e=e.getColor(p.q),e&&t.addRule(`.monaco-editor .goto-definition-link { color: ${e} !important; }`)})},"1fa1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return i.e("chunk-2d0e57ec").then(i.bind(null,"9571"))}})},"1fe0":function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var n=i("3352"),o=i("b7d0"),s=i("918c"),r=i("a666"),a=i("b055"),l=i("ef8e9"),d=i("0bfb");class h{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;const n=new r.b,o=(e.canAcceptInBackground=!(null==(i=this.options)||!i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1,n.add(new r.d));return o.value=this.doProvide(e,t),n.add(this.onDidActiveTextEditorControlChange(()=>{o.value=void 0,o.value=this.doProvide(e,t)})),n}doProvide(e,t){const i=new r.b,n=this.activeTextEditorControl;if(n&&this.canProvideWithTextEditor(n)){const o={editor:n},s=Object(a.a)(n);if(s){let e=Object(l.o)(n.saveViewState());i.add(s.onDidChangeCursorPosition(()=>{e=Object(l.o)(n.saveViewState())})),o.restoreViewState=()=>{e&&n===this.activeTextEditorControl&&n.restoreViewState(e)},i.add(Object(d.a)(t.onCancellationRequested)(()=>{var e;return null==(e=o.restoreViewState)?void 0:e.call(o)}))}i.add(Object(r.i)(()=>this.clearDecorations(n))),i.add(this.provideWithTextEditor(o,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Object(a.c)(e)?null==(t=e.getModel())?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{const i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);var r=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:Object(o.g)(s.B),position:n.d.Full}}}],[e,r]=e.deltaDecorations(i,r);this.rangeHighlightDecorationId={rangeHighlightId:e,overviewRulerDecorationId:r}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}},"23ec":function(e,t,i){"use strict";i.r(t);var n=i("5fe7"),o=(t=i("a666"),i("b2cc")),s=i("b707"),r=i("1b69"),a=i("252f"),l=i("b7d0"),d=i("fbba"),h=i("d1a7"),c=i("74ce"),u=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(s.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(h.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;tthis._requestRange(e,n,t,i)))}else e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1)}else e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1)}}_requestRange(e,t,i,o){const s=e.getVersionId(),r=Object(n.h)(n=>Promise.resolve(i.provideDocumentRangeSemanticTokens(e,t,n)));return r.then(i=>{i&&!e.isDisposed()&&e.getVersionId()===s&&e.setPartialSemanticTokens(t,Object(a.b)(i,o,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(r),()=>this._removeOutstandingRequest(r)),r}};g.ID="editor.contrib.viewportSemanticTokens",g=i([u(1,r.a),u(2,l.b),u(3,d.a)],g),Object(o.l)(g.ID,g)},"23f2":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return i.e("chunk-2d221a34").then(i.bind(null,"cacc"))}})},2504:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return l}));var n,o,s=i("308f");const r=Object.freeze((function(e,t){const i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}}));(o=n=n||{}).isCancellationToken=function(e){return e===o.None||e===o.Cancelled||e instanceof a||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},o.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.c.None}),o.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r});class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new s.b),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=n.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=n.None}}},"252f":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("b707"),o=i("d3d7"),s=i("4111");class r{constructor(e,t,i){this._legend=e,this._themeService=t,this._logService=i,this._hashTable=new d,this._hasWarnedOverlappingTokens=!1}getMetadata(e,t,i){var s=this._hashTable.get(e,t,i.id);let r;if(s)r=s.metadata,this._logService.getLevel()===o.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${n.E.getForeground(r)}, fontStyle `+n.E.getFontStyle(r).toString(2));else{let l=this._legend.tokenTypes[e];const d=[];if(l){let e=t;for(let t=0;0>=1;0c&&0===n[5*t];)t--;if(t-1===c){let t=e;for(;t+1g&&(t.warnOverlappingSemanticTokens(m,g+1),w=this._growCount){var o=this._elements;this._currentLengthIndex++,this._currentLength=d._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1e.length&&(i=e.length);te===t)){const n=e[Symbol.iterator](),o=t[Symbol.iterator]();for(;;){var s=n.next(),r=o.next();if(s.done!==r.done)return!1;if(s.done)return!0;if(!i(s.value,r.value))return!1}}}},2652:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return i.e("chunk-2d0d2f22").then(i.bind(null,"5b54"))}})},"27e6":function(e,t,i){},2837:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return s})),(i=n=n||{})[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent";class o{constructor(e){if(this._standardAutoClosingPairConditionalBrand=void 0,this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;t=i.length)&&0!==(t=(s=i.length-e)<=t?s:t)&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e)}return this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0;var s;let r=0;for(;t<=i;)if(n=t+(i-t)/2|0,s=this.prefixSum[n],e<(r=s-this.values[n]))i=n-1;else{if(!(s<=e))break;t=n+1}return new o(n,e-r)}}},"2dec":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return i.e("chunk-2d0e542a").then(i.bind(null,"9470"))}})},"2e4b":function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneCommandsQuickAccessProvider",(function(){return W})),i.d(t,"GotoLineAction",(function(){return V}));t=i("89cd");var n=i("2f1e"),o=i("03d9"),s=i("5717"),r=i("e8e3"),a=i("ef8e9"),l=i("dff7");function d(e,t){return t&&(e.stack||e.stacktrace)?l.a("stackTrace.format","{0}: {1}",c(e),h(e.stack)||h(e.stacktrace)):c(e)}function h(e){return Array.isArray(e)?e.join("\n"):e}function c(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?l.a("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||l.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var u,g=i("fdcc"),p=i("7e93"),m=i("a666"),f=i("40355"),_=i("4b76"),b=i("9e74"),v=i("fbba"),C=i("eafb"),w=i("0a0f"),y=i("6dec"),S=i("5fe7"),L=i("2504"),x=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function k(e){return Array.isArray(e.items)}(N=u=u||{})[N.NO_ACTION=0]="NO_ACTION",N[N.CLOSE_PICKER=1]="CLOSE_PICKER",N[N.REFRESH_PICKER=2]="REFRESH_PICKER",N[N.REMOVE_ITEM=3]="REMOVE_ITEM";class D extends m.a{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new m.b;e.canAcceptInBackground=!(null==(i=this.options)||!i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o=void 0;const s=n.add(new m.d),r=()=>x(this,void 0,void 0,(function*(){var i=s.value=new m.b;null!==o&&void 0!==o&&o.dispose(!0),e.busy=!1;const n=(o=new L.b(t)).token,r=e.value.substr(this.prefix.length).trim(),a=this._getPicks(r,i,n),l=(t,i)=>{let n,o=void 0;if(k(t)?(n=t.items,o=t.active):n=t,0===n.length){if(i)return!1;0r())),r(),n.add(e.onDidAccept(t=>{const[i]=e.selectedItems;"function"==typeof(null===i||void 0===i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))})),n.add(e.onDidTriggerItemButton(({button:i,item:n})=>x(this,void 0,void 0,(function*(){if("function"==typeof n.trigger){var o=null!=(o=null==(o=n.buttons)?void 0:o.indexOf(i))?o:-1;if(0<=o&&(o=n.trigger(o,e.keyMods),o="number"==typeof o?o:yield o,!t.isCancellationRequested))switch(o){case u.NO_ACTION:break;case u.CLOSE_PICKER:e.hide();break;case u.REFRESH_PICKER:r();break;case u.REMOVE_ITEM:var s=e.items.indexOf(n);if(-1!==s){const t=e.items.slice();t.splice(s,1),e.items=t}}}})))),n}}D.FAST_PICKS_RACE_DELAY=200;var N=i("03e8"),O=i("5d75"),E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var i=this.commandsHistory.peek(e.commandId),n=this.commandsHistory.peek(t.commandId);return i&&n?nM(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){Object(g.e)(e)||this.dialogService.show(_.a.Error,Object(l.a)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,function e(t=null,i=!1){if(!t)return l.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");var n;if(Array.isArray(t))return n=e((o=r.e(t))[0],i),1this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){var t=this.storageService.get(e.PREF_KEY_CACHE,0);let i;if(t)try{i=JSON.parse(t)}catch(t){}const n=e.cache=new f.a(this.configuredCommandsHistoryLength,1);if(i){let e;(e=i.usesLRU?i.entries:i.entries.sort((e,t)=>e.value-t.value)).forEach(e=>n.set(e.key,e.value))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var i;return null==(i=e.cache)?void 0:i.peek(t)}static saveState(t){if(e.cache){const i={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>i.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}}static getConfiguredCommandHistoryLength(t){return t=null==(t=null==(t=t.getValue().workbench)?void 0:t.commandPalette)?void 0:t.history,"number"==typeof t?t:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};A.DEFAULT_COMMANDS_HISTORY_LENGTH=50,A.PREF_KEY_CACHE="commandPalette.mru.cache",A.PREF_KEY_COUNTER="commandPalette.mru.counter",A.counter=1,A=E([I(0,N.a),I(1,v.a)],A);var R=i("1097");class P extends T{constructor(e,t,i,n,o,s){super(e,t,i,n,o,s)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:Object(R.e)(i.label)||i.id});return t}}p=i("b2cc");var F=i("c101"),B=i("66bd"),j=(E=function(e,t){return function(i,n){t(i,n,e)}},function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))});let W=class extends P{constructor(e,t,i,n,o,s){super({showAlias:!1},e,i,n,o,s),this.codeEditorService=t}get activeTextEditorControl(){return Object(a.o)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return j(this,void 0,void 0,(function*(){return this.getCodeEditorCommandPicks()}))}};W=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!0,c=()=>!1,u=e=>" "===e||"\t"===e;class g{constructor(e,t,i){this._cursorMoveConfigurationBrand=void 0,this._languageIdentifier=e;const n=i.options;if(i=n.get(130),this.readOnly=n.get(80),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=n.get(104),this.lineHeight=n.get(58),this.pageSize=Math.max(1,Math.floor(i.height/this.lineHeight)-2),this.useTabStops=n.get(115),this.wordSeparators=n.get(116),this.emptySelectionClipboard=n.get(31),this.copyWithSyntaxHighlighting=n.get(20),this.multiCursorMergeOverlapping=n.get(68),this.multiCursorPaste=n.get(70),this.autoClosingBrackets=n.get(5),this.autoClosingQuotes=n.get(8),this.autoClosingDelete=n.get(6),this.autoClosingOvertype=n.get(7),this.autoSurround=n.get(11),this.autoIndent=n.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:g._getShouldAutoClose(e,this.autoClosingQuotes),bracket:g._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=d.a.getAutoClosingPairs(e.id),t=g._getSurroundingPairs(e),t)for(const o of t)this.surroundingPairs[o.open]=o.close}static shouldRecreate(e){return e.hasChanged(130)||e.hasChanged(116)||e.hasChanged(31)||e.hasChanged(68)||e.hasChanged(70)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(115)||e.hasChanged(58)||e.hasChanged(80)}get electricChars(){if(!this._electricChars){this._electricChars={};var e=g._getElectricCharacters(this._languageIdentifier);if(e)for(const t of e)this._electricChars[t]=!0}return this._electricChars}normalizeIndentation(e){return l.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)}static _getElectricCharacters(e){try{return d.a.getElectricCharacters(e.id)}catch(e){return Object(n.f)(e),null}}static _getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return u;case"languageDefined":return g._getLanguageDefinedShouldAutoClose(e);case"always":return h;case"never":return c}}static _getLanguageDefinedShouldAutoClose(e){try{const t=d.a.getAutoCloseBeforeSet(e.id);return e=>-1!==t.indexOf(e)}catch(e){return Object(n.f)(e),c}}static _getSurroundingPairs(e){try{return d.a.getSurroundingPairs(e.id)}catch(e){return Object(n.f)(e),null}}}class p{constructor(e,t,i,n){this._singleCursorStateBrand=void 0,this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=i,this.leftoverVisibleColumns=n,this.selection=p._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,i,n){return e?new p(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new s.a(t,i),n):new p(new r.a(t,i,t,i),n,new s.a(t,i),n)}static _computeSelection(e,t){let i,n,o,s;return n=!e.isEmpty()&&t.isBeforeOrEqual(e.getStartPosition())?(i=e.endLineNumber,e.endColumn):(i=e.startLineNumber,e.startColumn),o=t.lineNumber,s=t.column,new a.a(i,n,o,s)}}class m{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}class f{constructor(e){this.modelState=e,this.viewState=null}}class _{constructor(e){this.modelState=null,this.viewState=e}}class b{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new f(e)}static fromViewState(e){return new _(e)}static fromModelSelection(e){var t=e.selectionStartLineNumber,i=e.selectionStartColumn,n=e.positionLineNumber;e=e.positionColumn,t=new p(new r.a(t,i,t,i),0,new s.a(n,e),0);return b.fromModelState(t)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i=t)return c=t-s,u-te});let x=class extends n.a{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.disposed=!1,this.partsWidget=this._register(this.instantiationService.createInstance(k,this.editor)),this.additionalLinesWidget=this._register(new N(this.editor)),this.viewMoreContentWidget=void 0,this._register(this.editor.onDidChangeConfiguration(e=>{(e.hasChanged(28)||e.hasChanged(105)||e.hasChanged(88)||e.hasChanged(82)||e.hasChanged(43)||e.hasChanged(42)||e.hasChanged(58))&&this.update()})),this._register(Object(n.i)(()=>{var e;this.disposed=!0,this.update(),null!=(e=this.viewMoreContentWidget)&&e.dispose(),this.viewMoreContentWidget=void 0})),this._register(t.onDidChange(()=>{this.update()})),this.update()}shouldShowHoverAtViewZone(e){return this.additionalLinesWidget.viewZoneId===e}update(){var e;const t=this.model.ghostText;if(this.editor.hasModel()&&t&&!this.disposed){const n=new Array,o=new Array,s=this.editor.getModel().getLineContent(t.lineNumber);this.editor.getModel().getLineTokens(t.lineNumber);let r=void 0,a=0;for(const e of t.parts){let t=e.lines;void 0===r?(n.push({column:e.column,text:t[0],preview:e.preview}),t=t.slice(1)):i([s.substring(a,e.column-1)],void 0),0e.lines.length<0)?this.viewMoreContentWidget=this.renderViewMoreLines(new p.a(t.lineNumber,this.editor.getModel().getLineMaxColumn(t.lineNumber)),"",0):(null!=(e=this.viewMoreContentWidget)&&e.dispose(),this.viewMoreContentWidget=void 0)}else this.partsWidget.clear(),this.additionalLinesWidget.clear()}renderViewMoreLines(e,t,i){var o=this.editor.getOption(42);const s=document.createElement("div"),a=(s.className="suggest-preview-additional-widget",u.a.applyFontInfoSlow(s,o),document.createElement("span")),l=(a.className="content-spacer",a.append(t),s.append(a),document.createElement("span")),d=(l.className="content-newline suggest-preview-text",l.append("⏎ "),s.append(l),new n.b),h=document.createElement("div");return h.className="button suggest-preview-text",h.append(`+${i} lines…`),d.add(r.o(h,"mousedown",e=>{var t;null!=(t=this.model)&&t.setExpanded(!0),e.preventDefault(),this.editor.focus()})),s.append(h),new E(this.editor,e,s,d)}},k=(x=y([S(2,w.a)],x),class{constructor(e,t,i,o){this.editor=e,this.codeEditorService=t,this.themeService=i,this.contextKeyService=o,this.decorationIds=[],this.disposableStore=new n.b}dispose(){this.clear(),this.disposableStore.dispose()}clear(){this.editor.deltaDecorations(this.decorationIds,[]),this.disposableStore.clear()}setParts(e,t,i){this.disposableStore.clear();const n=this.themeService.getColorTheme();var o=n.getColor(f.y);let s=void 0,r=void 0;o&&(s=String(o.rgba.a),r=_.a.Format.CSS.format(D(o))),o=n.getColor(f.x);let l=void 0;o&&(l="2px dashed "+o);const d=this.editor.getModel();if(d){const n=d.getOptions()["tabSize"],h=d.getLineContent(e)||"";let c=0,u="";const g=new Array;i&&g.push({range:a.a.fromPositions(new p.a(e,i.column),new p.a(e,i.column+i.length)),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),o=this.contextKeyService.getContextKeyValue("config.editor.useInjectedText");const m=void 0===o||!!o;this.decorationIds=this.editor.deltaDecorations(this.decorationIds,t.map(t=>{u+=h.substring(c,t.column-1),c=t.column-1;var i=m?t.text:this.renderSingleLineText(t.text,u,n,!1);const o=this.disposableStore.add(function(e,t,i,n){const o=i+O++;return e.registerDecorationType(t,o,n),{dispose(){e.removeDecorationType(o)},resolve(){return e.resolveDecorationOptions(o,!0)}}}(this.codeEditorService,"ghost-text","0-ghost-text-",{after:{contentText:i,opacity:s,color:r,border:l,fontWeight:t.preview?"bold":"normal"}}));return{range:a.a.fromPositions(new p.a(e,t.column)),options:m?{description:"ghost-text",after:{content:i,inlineClassName:t.preview?"ghost-text-decoration-preview":"ghost-text-decoration"}}:Object.assign({},o.resolve())}}).concat(g))}}renderSingleLineText(e,t,i,n){var o=b.a.visibleColumnsByColumns(t+e,i);let s="",r=t.length+1;for(const l of e){if("\t"===l){var a=o[r+1]-o[r];if(n){s+="→";for(let e=1;e{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){const n=this.editor.getModel();if(n){const o=n.getOptions()["tabSize"];this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);var s=Math.max(t.length,i);if(0');for(let t=0,o=m.length;t'),l.A(b)),C=l.m(b),w=g.a.createEmpty(b);Object(d.d)(new d.c(y.isMonospace&&!e,y.canUseHalfwidthRightwardsArrow,b,!1,v,C,0,w,_.decorations,p,0,y.spaceWidth,y.middotWidth,y.wsmiddotWidth,i,"none",n,s!==h.e.OFF,null),x),x.appendASCIIString("")}x.appendASCIIString(""),u.a.applyFontInfoSlow(a,y),f=x.build(),f=L?L.createHTML(f):f,a.innerHTML=f}this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:s,domNode:r})}})}}}let O=0;class E extends n.a{constructor(e,t,i,o){super(),this.editor=e,this.position=t,this.domNode=i,this.allowEditorOverflow=!1,this.suppressMouseDown=!1,this._register(o),this._register(Object(n.i)(()=>{this.editor.removeContentWidget(this)})),this.editor.addContentWidget(this)}getId(){return"editor.widget.viewMoreLinesWidget"}getDomNode(){return this.domNode}getPosition(){return{position:this.position,preference:[0]}}}Object(m.f)((e,t)=>{const i=e.getColor(f.y);i&&(o=String(i.rgba.a),n=_.a.Format.CSS.format(D(i)),t.addRule(`.monaco-editor .ghost-text-decoration { opacity: ${o}; color: ${n}; }`),t.addRule(`.monaco-editor .ghost-text-decoration-preview { color: ${i.toString()}; }`),t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { opacity: ${o}; color: ${n}; }`));var n,o=e.getColor(f.x);o&&t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { border: 2px dashed ${o}; }`)});var I=i("dff7"),M=i("5fe7"),T=i("2504"),A=i("fdcc"),R=i("308f"),P=i("b707"),F=i("d3f4"),B=i("9e74"),j=i("d585");class W{constructor(e,t,i=0){this.lineNumber=e,this.parts=t,this.additionalReservedLineCount=i}renderForScreenReader(e){if(0===this.parts.length)return"";var t=this.parts[this.parts.length-1];const i=function(e,t){const i=new V(e),n=t.map(e=>{const t=a.a.lift(e.range);return{startOffset:i.getOffset(t.getStartPosition()),endOffset:i.getOffset(t.getEndPosition()),text:e.text}});n.sort((e,t)=>t.startOffset-e.startOffset);for(const o of n)e=e.substring(0,o.startOffset)+o.text+e.substring(o.endOffset);return e}(e.substr(0,t.column-1),this.parts.map(e=>({range:{startLineNumber:1,endLineNumber:1,startColumn:e.column,endColumn:e.column},text:e.lines.join("\n")})));return i.substring(this.parts[0].column-1)}}class V{constructor(e){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t{e.hasChanged(106)&&void 0===this._expanded&&this.onDidChangeEmitter.fire()}))}setExpanded(e){this._expanded=!0,this.onDidChangeEmitter.fire()}}var U=i("1b0e");function K(e,t,i,n,o=0){if(e.range.startLineNumber===e.range.endLineNumber){var s=e.text.length-o;const g=t.getValueInRange(e.range),p=function(e,t){var i;return(null===q||void 0===q?void 0:q.originalValue)===e&&(null===q||void 0===q?void 0:q.newValue)===t?null===q||void 0===q?void 0:q.changes:(i=function(e,t){function i(e){let t=0;for(let n=0,o=e.length;nt&&(t=i)}return t}const n=Math.max(i(e),i(t));function o(e){if(e<0)throw new Error("unexpected");return n+e+1}function s(e){let t=0,i=0;const n=new Int32Array(e.length);for(let r=0,a=e.length;rr},{getElements:()=>a}).ComputeDiff(!1).changes}(e,t),q={originalValue:e,newValue:t,changes:i},i)}(g,e.text);var r=e.range.startLineNumber;const m=new Array;if("prefix"===i&&(o=p.filter(e=>0===e.originalLength),1{const i=new Set([o.i.id,o.g.id,j.CoreEditingCommands.Tab.id,j.CoreEditingCommands.DeleteLeft.id,j.CoreEditingCommands.DeleteRight.id,$,"acceptSelectedSuggestion"]);i.has(t.commandId)&&e.hasTextFocus()&&this.handleUserInput()})),this._register(this.editor.onDidType(e=>{this.handleUserInput()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.session&&!this.session.isValid&&this.hide()})),this._register(Object(n.i)(()=>{this.disposed=!0}))}handleUserInput(){this.session&&!this.session.isValid&&this.hide(),setTimeout(()=>{this.disposed||this.startSessionIfTriggered()},0)}get session(){return this.completionSession.value}get ghostText(){var e;return null==(e=this.session)?void 0:e.ghostText}get minReservedLineCount(){return this.session?this.session.minReservedLineCount:0}setExpanded(e){var t;null!=(t=this.session)&&t.setExpanded(e)}setActive(e){(this.active=e)&&null!=(e=this.session)&&e.scheduleAutomaticUpdate()}startSessionIfTriggered(){!this.editor.getOption(54).enabled||this.session&&this.session.isValid||this.trigger(P.s.Automatic)}trigger(e){this.completionSession.value?e===P.s.Explicit&&this.completionSession.value.ensureUpdateWithExplicitContext():(this.completionSession.value=new Y(this.editor,this.editor.getPosition(),()=>this.active,this.commandService,this.cache,e),this.completionSession.value.takeOwnership(this.completionSession.value.onDidChange(()=>{this.onDidChangeEmitter.fire()})))}hide(){this.completionSession.clear(),this.onDidChangeEmitter.fire()}commitCurrentSuggestion(){var e;null!=(e=this.session)&&e.commitCurrentCompletion()}showNext(){var e;null!=(e=this.session)&&e.showNextInlineCompletion()}showPrevious(){var e;null!=(e=this.session)&&e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return G(this,void 0,void 0,(function*(){var t=yield null==(e=this.session)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};Z=y([t(2,B.b)],Z);class Y extends z{constructor(e,t,i,o,s,r){super(e),this.triggerPosition=t,this.shouldUpdate=i,this.commandService=o,this.cache=s,this.initialTriggerKind=r,this.minReservedLineCount=0,this.updateOperation=this._register(new n.d),this.updateSoon=this._register(new M.e(()=>{var e=this.initialTriggerKind;return this.initialTriggerKind=P.s.Automatic,this.update(e)},50));let a=this.currentlySelectedCompletionId=void 0;this._register(this.onDidChange(()=>{var e=this.currentCompletion;if(e&&e.sourceInlineCompletion!==a){a=e.sourceInlineCompletion;const t=e.sourceProvider;t.handleItemDidShow&&t.handleItemDidShow(e.sourceInlineCompletions,a)}})),this._register(Object(n.i)(()=>{this.cache.clear()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.cache.value&&this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeModelContent(e=>{this.scheduleAutomaticUpdate()})),this._register(P.t.onDidChange(()=>{this.updateSoon.schedule()})),this.scheduleAutomaticUpdate()}fixAndGetIndexOfCurrentSelection(){var e;return this.currentlySelectedCompletionId&&this.cache.value&&0!==this.cache.value.completions.length?-1===(e=this.cache.value.completions.findIndex(e=>e.semanticId===this.currentlySelectedCompletionId))?(this.currentlySelectedCompletionId=void 0,0):e:0}get currentCachedCompletion(){if(this.cache.value)return this.cache.value.completions[this.fixAndGetIndexOfCurrentSelection()]}showNextInlineCompletion(){var e;return G(this,void 0,void 0,(function*(){yield this.ensureUpdateWithExplicitContext();var t,i=(null==(e=this.cache.value)?void 0:e.completions)||[];0G(this,void 0,void 0,(function*(){let i;try{i=yield ee(n,this.editor.getModel(),{triggerKind:e,selectedSuggestionInfo:void 0},t)}catch(i){return void Object(A.f)(i)}t.isCancellationRequested||(this.cache.setValue(this.editor,i,e),this.onDidChangeEmitter.fire())}))),i=new X(t,e);this.updateOperation.value=i,yield t,this.updateOperation.value===i&&this.updateOperation.clear()}}))}takeOwnership(e){this._register(e)}commitCurrentCompletion(){var e;!this.ghostText||(e=this.currentCompletion)&&this.commit(e)}commit(e){const t=this.cache.clearAndLeak();this.editor.executeEdits("inlineSuggestion.accept",[F.a.replaceMove(e.range,e.text)]),e.command?this.commandService.executeCommand(e.command.id,...e.command.arguments||[]).finally(()=>{null!==t&&void 0!==t&&t.dispose()}).then(void 0,A.g):null!==t&&void 0!==t&&t.dispose(),this.onDidChangeEmitter.fire()}}class X{constructor(e,t){this.promise=e,this.triggerKind=t}dispose(){this.promise.cancel()}}class Q extends n.a{constructor(e,t,i,o){super(),this.triggerKind=o;const s=e.deltaDecorations([],t.items.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}})));this._register(Object(n.i)(()=>{e.deltaDecorations(s,[])})),this.completions=t.items.map((e,t)=>new J(e,s[t])),this._register(e.onDidChangeModelContent(()=>{let t=!1;const n=e.getModel();for(const e of this.completions){var o=n.getDecorationRange(e.decorationId);o?e.synchronizedRange.equalsRange(o)||(t=!0,e.synchronizedRange=o):Object(A.f)(new Error("Decoration has no range"))}t&&i()})),this._register(t)}}class J{constructor(e,t){this.inlineCompletion=e,this.decorationId=t,this.semanticId=JSON.stringify({text:this.inlineCompletion.text,startLine:this.inlineCompletion.range.startLineNumber,startColumn:this.inlineCompletion.range.startColumn,command:this.inlineCompletion.command}),this.synchronizedRange=e.range}toLiveInlineCompletion(){return{text:this.inlineCompletion.text,range:this.synchronizedRange,command:this.inlineCompletion.command,sourceProvider:this.inlineCompletion.sourceProvider,sourceInlineCompletions:this.inlineCompletion.sourceInlineCompletions,sourceInlineCompletion:this.inlineCompletion.sourceInlineCompletion}}}function ee(e,t,i,n=T.a.None){return G(this,void 0,void 0,(function*(){s=e,l=(r=t).getWordAtPosition(s),r=r.getLineMaxColumn(s.lineNumber);const o=l?new a.a(s.lineNumber,l.startColumn,s.lineNumber,r):a.a.fromPositions(s,s.with(void 0,r));var s,r,l;const d=P.t.all(t),h=yield Promise.all(d.map(o=>G(this,void 0,void 0,(function*(){const s=yield o.provideInlineCompletions(t,e,i,n);return{completions:s,provider:o,dispose:()=>{s&&o.freeInlineCompletions(s)}}})))),c=new Map;for(const e of h){const t=e.completions;if(t)for(const i of t.items.map(i=>({text:i.text,range:i.range?a.a.lift(i.range):o,command:i.command,sourceProvider:e.provider,sourceInlineCompletions:t,sourceInlineCompletion:i})))i.range.startLineNumber===i.range.endLineNumber&&c.set(JSON.stringify({text:i.text,range:i.range}),i)}return{items:[...c.values()],dispose:()=>{for(const e of h)e.dispose()}}}))}var te=i("b800"),ie=i("59a4"),ne=i("7a9e");class oe extends n.a{constructor(e){super(),this.editor=e,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentInlineCompletion=void 0,this.onDidChangeEmitter=new R.b,this.onDidChange=this.onDidChangeEmitter.event,this.setInactiveDelayed=this._register(new M.e(()=>{this.isSuggestWidgetVisible||this._isActive&&(this._isActive=!1,this.onDidChangeEmitter.fire())},100)),this._register(e.onKeyDown(e=>{e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(e=>{e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const t=ne.SuggestController.get(this.editor);if(t){let e=!1;const i=()=>{e||(e=!0,this._register(t.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(t.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.setInactiveDelayed.schedule(),this.update(this._isActive)})),this._register(t.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(R.c.once(t.model.onDidTrigger)(e=>{i()}))}this.update(this._isActive)}get state(){if(this._isActive)return{selectedItemAsInlineCompletion:this._currentInlineCompletion}}update(e){var t=this.getInlineCompletion();let i=!1;this._currentInlineCompletion!==t&&(this._currentInlineCompletion=t,i=!0),this._isActive!==e&&(this._isActive=e,i=!0),i&&this.onDidChangeEmitter.fire()}getInlineCompletion(){const e=ne.SuggestController.get(this.editor);if(e&&this.isSuggestWidgetVisible){var t=e.widget.value.getFocusedItem();if(t){var i=e,n=this.editor.getPosition(),o=this.isShiftKeyPressed;if(t=t.item,Array.isArray(t.completion.additionalTextEdits)&&0this.updateCache(),50)),this.minReservedLineCount=0,this._register(this.suggestionInlineCompletionSource.onDidChange(()=>{this.updateCacheSoon.schedule(),this.suggestionInlineCompletionSource.state||(this.minReservedLineCount=0);const e=this.ghostText;e&&(this.minReservedLineCount=Math.max(this.minReservedLineCount,e.parts.map(e=>e.lines.length-1).reduce((e,t)=>e+t,0))),1<=this.minReservedLineCount&&this.isSuggestionPreviewEnabled()?this.suggestionInlineCompletionSource.forceRenderingAbove():this.suggestionInlineCompletionSource.stopForceRenderingAbove(),this.onDidChangeEmitter.fire()})),this._register(this.cache.onDidChange(()=>{this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.isSuggestionPreviewEnabled()&&(this.minReservedLineCount=0,this.updateCacheSoon.schedule(),this.onDidChangeEmitter.fire())})),this._register(Object(n.i)(()=>this.suggestionInlineCompletionSource.stopForceRenderingAbove()))}get isActive(){return void 0!==this.suggestionInlineCompletionSource.state}isSuggestionPreviewEnabled(){return this.editor.getOption(106).preview}updateCache(){return se(this,void 0,void 0,(function*(){var e=this.suggestionInlineCompletionSource.state;if(e&&e.selectedItemAsInlineCompletion){const i={text:e.selectedItemAsInlineCompletion.text,range:e.selectedItemAsInlineCompletion.range},n=this.editor.getPosition();e=Object(M.h)(e=>se(this,void 0,void 0,(function*(){let t;try{t=yield ee(n,this.editor.getModel(),{triggerKind:P.s.Automatic,selectedSuggestionInfo:i},e)}catch(t){return void Object(A.f)(t)}e.isCancellationRequested||(this.cache.setValue(this.editor,t,P.s.Automatic),this.onDidChangeEmitter.fire())})));var t=new X(e,P.s.Automatic);this.updateOperation.value=t,yield e,this.updateOperation.value===t&&this.updateOperation.clear()}}))}get ghostText(){var e=this.suggestionInlineCompletionSource.state;e=ae(this.editor.getModel(),null==e?void 0:e.selectedItemAsInlineCompletion);const t=ae(this.editor.getModel(),null==(i=null==(i=this.cache.value)?void 0:i.completions[0])?void 0:i.toLiveInlineCompletion());var i=!(t&&e&&t.text.startsWith(e.text)&&t.range.equalsRange(e.range))&&e||t;const n=e?((null==i?void 0:i.text.length)||0)-e.text.length:0;return e=i,i=this.editor.getOptions().get(106).previewMode,i=e?K(e,this.editor.getModel(),i,this.editor.getPosition(),n)||new W(e.range.endLineNumber,[],this.minReservedLineCount):void 0,this.isSuggestionPreviewEnabled()?i:void 0}}function ae(e,t){if(!t)return t;const i=e.getValueInRange(t.range);var n=function(e,t){let i=0;for(;i{this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire()}),{object:t,dispose:()=>null==i?void 0:i.dispose()}):void 0,this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire())}get ghostText(){var e;return this.hasCachedGhostText||(this.cachedGhostText=null==(e=null==(e=this.currentModelRef.value)?void 0:e.object)?void 0:e.ghostText,this.hasCachedGhostText=!0),this.cachedGhostText}setExpanded(e){var t;null!=(t=this.targetModel)&&t.setExpanded(e)}get minReservedLineCount(){return this.targetModel?this.targetModel.minReservedLineCount:0}}let he=class extends de{constructor(e,t){super(),this.editor=e,this.commandService=t,this.sharedCache=this._register(new ce),this.suggestWidgetAdapterModel=this._register(new re(this.editor,this.sharedCache)),this.inlineCompletionsModel=this._register(new Z(this.editor,this.sharedCache,this.commandService)),this._register(this.suggestWidgetAdapterModel.onDidChange(()=>{this.updateModel()})),this.updateModel()}get activeInlineCompletionsModel(){if(this.targetModel===this.inlineCompletionsModel)return this.inlineCompletionsModel}updateModel(){this.setTargetModel(this.suggestWidgetAdapterModel.isActive?this.suggestWidgetAdapterModel:this.inlineCompletionsModel),this.inlineCompletionsModel.setActive(this.targetModel===this.inlineCompletionsModel)}shouldShowHoverAt(e){var t;const i=null==(t=this.activeInlineCompletionsModel)?void 0:t.ghostText;return!!i&&i.parts.some(t=>e.containsPosition(new p.a(i.lineNumber,t.column)))}triggerInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.trigger(P.s.Explicit)}commitInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.commitCurrentSuggestion()}hideInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.hide()}showNextInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.showNext()}showPreviousInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.showPrevious()}hasMultipleInlineCompletions(){var e;return le(this,void 0,void 0,(function*(){var t=yield null==(e=this.activeInlineCompletionsModel)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};he=S([m(1,B.b)],he);class ce extends n.a{constructor(){super(...arguments),this.onDidChangeEmitter=new R.b,this.onDidChange=this.onDidChangeEmitter.event,this.cache=this._register(new n.d)}get value(){return this.cache.value}setValue(e,t,i){this.cache.value=new Q(e,t,()=>this.onDidChangeEmitter.fire(),i)}clearAndLeak(){return this.cache.clearAndLeak()}clear(){this.cache.clear()}}y=i("9eb8"),t=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.updateModelController()})),this._register(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(106)&&this.updateModelController(),e.hasChanged(54)&&this.updateModelController()})),this.updateModelController()}static get(t){return t.getContribution(e.ID)}get activeModel(){var e;return null==(e=this.activeController.value)?void 0:e.model}updateModelController(){var e=this.editor.getOption(106),t=this.editor.getOption(54);this.activeController.value=void 0,this.activeController.value=this.editor.hasModel()&&(e.preview||t.enabled||this.triggeredExplicitly)?this.instantiationService.createInstance(me,this.editor):void 0}shouldShowHoverAt(e){var t;return(null==(t=this.activeModel)?void 0:t.shouldShowHoverAt(e))||!1}shouldShowHoverAtViewZone(e){var t;return(null==(t=null==(t=this.activeController.value)?void 0:t.widget)?void 0:t.shouldShowHoverAtViewZone(e))||!1}trigger(){var e;this.triggeredExplicitly=!0,this.activeController.value||this.updateModelController(),null!=(e=this.activeModel)&&e.triggerInlineCompletion()}commit(){var e;null!=(e=this.activeModel)&&e.commitInlineCompletion()}hide(){var e;null!=(e=this.activeModel)&&e.hideInlineCompletion()}showNextInlineCompletion(){var e;null!=(e=this.activeModel)&&e.showNextInlineCompletion()}showPreviousInlineCompletion(){var e;null!=(e=this.activeModel)&&e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return ue(this,void 0,void 0,(function*(){var t=yield null==(e=this.activeModel)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};ge.inlineSuggestionVisible=new C.c("inlineSuggestionVisible",!1,I.a("inlineSuggestionVisible","Whether an inline suggestion is visible")),ge.inlineSuggestionHasIndentation=new C.c("inlineSuggestionHasIndentation",!1,I.a("inlineSuggestionHasIndentation","Whether the inline suggestion starts with whitespace")),ge.ID="editor.contrib.ghostTextController",ge=t([S(1,w.a)],ge);class pe{constructor(e){this.contextKeyService=e,this.inlineCompletionVisible=ge.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=ge.inlineSuggestionHasIndentation.bindTo(this.contextKeyService)}}let me=class extends n.a{constructor(e,t,i){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=i,this.contextKeys=new pe(this.contextKeyService),this.model=this._register(this.instantiationService.createInstance(he,this.editor)),this.widget=this._register(this.instantiationService.createInstance(x,this.editor,this.model)),this._register(Object(n.i)(()=>{this.contextKeys.inlineCompletionVisible.set(!1),this.contextKeys.inlineCompletionSuggestsIndentation.set(!1)})),this._register(this.model.onDidChange(()=>{this.updateContextKeys()})),this.updateContextKeys()}updateContextKeys(){this.contextKeys.inlineCompletionVisible.set(void 0!==(null==(e=this.model.activeInlineCompletionsModel)?void 0:e.ghostText));var e=this.model.inlineCompletionsModel.ghostText;if(e&&0t.prefix.length-e.prefix.length),Object(s.i)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(o.e)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(t=>e.startsWith(t.prefix))||this.defaultProvider}})},"303e":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"wc",(function(){return h})),i.d(t,"eb",(function(){return c})),i.d(t,"cb",(function(){return u})),i.d(t,"fb",(function(){return g})),i.d(t,"db",(function(){return p})),i.d(t,"h",(function(){return m})),i.d(t,"b",(function(){return f})),i.d(t,"Jc",(function(){return _})),i.d(t,"Ic",(function(){return b})),i.d(t,"Hc",(function(){return v})),i.d(t,"Nc",(function(){return C})),i.d(t,"jb",(function(){return w})),i.d(t,"lb",(function(){return y})),i.d(t,"kb",(function(){return S})),i.d(t,"hb",(function(){return L})),i.d(t,"gb",(function(){return x})),i.d(t,"ib",(function(){return k})),i.d(t,"pb",(function(){return D})),i.d(t,"rb",(function(){return N})),i.d(t,"qb",(function(){return O})),i.d(t,"sb",(function(){return E})),i.d(t,"ub",(function(){return I})),i.d(t,"tb",(function(){return M})),i.d(t,"mb",(function(){return T})),i.d(t,"ob",(function(){return A})),i.d(t,"nb",(function(){return R})),i.d(t,"f",(function(){return B})),i.d(t,"e",(function(){return j})),i.d(t,"g",(function(){return W})),i.d(t,"c",(function(){return V})),i.d(t,"d",(function(){return H})),i.d(t,"yc",(function(){return z})),i.d(t,"Ac",(function(){return U})),i.d(t,"Bc",(function(){return K})),i.d(t,"zc",(function(){return q})),i.d(t,"pc",(function(){return $})),i.d(t,"s",(function(){return G})),i.d(t,"u",(function(){return Z})),i.d(t,"t",(function(){return Y})),i.d(t,"V",(function(){return X})),i.d(t,"X",(function(){return Q})),i.d(t,"W",(function(){return J})),i.d(t,"K",(function(){return ee})),i.d(t,"M",(function(){return te})),i.d(t,"L",(function(){return ie})),i.d(t,"D",(function(){return ne})),i.d(t,"C",(function(){return oe})),i.d(t,"r",(function(){return se})),i.d(t,"B",(function(){return re})),i.d(t,"Y",(function(){return ae})),i.d(t,"ab",(function(){return le})),i.d(t,"Z",(function(){return de})),i.d(t,"bb",(function(){return he})),i.d(t,"qc",(function(){return ce})),i.d(t,"rc",(function(){return ue})),i.d(t,"vc",(function(){return ge})),i.d(t,"lc",(function(){return pe})),i.d(t,"kc",(function(){return me})),i.d(t,"vb",(function(){return fe})),i.d(t,"yb",(function(){return _e})),i.d(t,"wb",(function(){return be})),i.d(t,"xb",(function(){return ve})),i.d(t,"R",(function(){return Ce})),i.d(t,"S",(function(){return we})),i.d(t,"J",(function(){return ye})),i.d(t,"T",(function(){return Se})),i.d(t,"U",(function(){return Le})),i.d(t,"v",(function(){return xe})),i.d(t,"x",(function(){return ke})),i.d(t,"z",(function(){return De})),i.d(t,"w",(function(){return Ne})),i.d(t,"y",(function(){return Oe})),i.d(t,"A",(function(){return Ee})),i.d(t,"H",(function(){return Ie})),i.d(t,"E",(function(){return Me})),i.d(t,"G",(function(){return Te})),i.d(t,"F",(function(){return Ae})),i.d(t,"I",(function(){return Re})),i.d(t,"q",(function(){return Pe})),i.d(t,"O",(function(){return Fe})),i.d(t,"N",(function(){return Be})),i.d(t,"Q",(function(){return je})),i.d(t,"P",(function(){return We})),i.d(t,"i",(function(){return Ve})),i.d(t,"j",(function(){return He})),i.d(t,"m",(function(){return ze})),i.d(t,"o",(function(){return Ue})),i.d(t,"n",(function(){return Ke})),i.d(t,"p",(function(){return qe})),i.d(t,"k",(function(){return $e})),i.d(t,"l",(function(){return Ge})),i.d(t,"Gb",(function(){return Ze})),i.d(t,"Hb",(function(){return Ye})),i.d(t,"Jb",(function(){return Xe})),i.d(t,"zb",(function(){return Qe})),i.d(t,"Ab",(function(){return Je})),i.d(t,"Bb",(function(){return et})),i.d(t,"Pb",(function(){return tt})),i.d(t,"Qb",(function(){return it})),i.d(t,"Rb",(function(){return nt})),i.d(t,"Nb",(function(){return ot})),i.d(t,"Ob",(function(){return st})),i.d(t,"Lb",(function(){return rt})),i.d(t,"Mb",(function(){return at})),i.d(t,"Cb",(function(){return lt})),i.d(t,"Kb",(function(){return dt})),i.d(t,"Ib",(function(){return ht})),i.d(t,"Db",(function(){return ct})),i.d(t,"Fb",(function(){return ut})),i.d(t,"Eb",(function(){return gt})),i.d(t,"Mc",(function(){return pt})),i.d(t,"Gc",(function(){return mt})),i.d(t,"tc",(function(){return _t})),i.d(t,"uc",(function(){return bt})),i.d(t,"sc",(function(){return vt})),i.d(t,"Tb",(function(){return Ct})),i.d(t,"Ub",(function(){return wt})),i.d(t,"Sb",(function(){return yt})),i.d(t,"Xb",(function(){return St})),i.d(t,"Vb",(function(){return Lt})),i.d(t,"Wb",(function(){return xt})),i.d(t,"Yb",(function(){return kt})),i.d(t,"Kc",(function(){return Dt})),i.d(t,"Ec",(function(){return Nt})),i.d(t,"Fc",(function(){return Ot})),i.d(t,"Cc",(function(){return Et})),i.d(t,"Dc",(function(){return It})),i.d(t,"ic",(function(){return Mt})),i.d(t,"jc",(function(){return Tt})),i.d(t,"bc",(function(){return At})),i.d(t,"cc",(function(){return Rt})),i.d(t,"ac",(function(){return Pt})),i.d(t,"gc",(function(){return Ft})),i.d(t,"Zb",(function(){return Bt})),i.d(t,"ec",(function(){return jt})),i.d(t,"fc",(function(){return Wt})),i.d(t,"dc",(function(){return Vt})),i.d(t,"mc",(function(){return Ht})),i.d(t,"oc",(function(){return zt})),i.d(t,"nc",(function(){return Ut})),i.d(t,"Lc",(function(){return $t})),i.d(t,"hc",(function(){return Gt})),i.d(t,"xc",(function(){return Yt}));t=i("5fe7");var n=i("ceb8"),o=i("308f"),s=i("ef8e9"),r=i("dff7"),a=i("dd1b");i=i("89cd");const l={ColorContribution:"base.contributions.colors"},d=new class{constructor(){this._onDidChangeSchema=new o.b,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,o){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:o};let s={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){if(e=this.colorsById[e],e&&e.defaults)return Yt(e.defaults[t.type],t)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{var i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!=n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: `+this.colorsById[e].description).join("\n")}};function h(e,t,i,n,o){return d.registerColor(e,t,i,n,o)}i.a.add(l.ColorContribution,d);const c=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},r.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),u=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},r.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),g=h("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},r.a("iconForeground","The default color for icons in the workbench.")),p=h("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},r.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),m=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},r.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),f=h("contrastActiveBorder",{light:null,dark:null,hc:p},r.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),_=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},r.a("textLinkForeground","Foreground color for links in text.")),b=h("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},r.a("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),v=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:n.a.black},r.a("textCodeBlockBackground","Background color for code blocks in text.")),C=h("widget.shadow",{dark:$t(n.a.black,.36),light:$t(n.a.black,.16),hc:null},r.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),w=h("input.background",{dark:"#3C3C3C",light:n.a.white,hc:n.a.black},r.a("inputBoxBackground","Input box background.")),y=h("input.foreground",{dark:c,light:c,hc:c},r.a("inputBoxForeground","Input box foreground.")),S=h("input.border",{dark:null,light:null,hc:m},r.a("inputBoxBorder","Input box border.")),L=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:m},r.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),x=h("inputOption.activeBackground",{dark:$t(p,.4),light:$t(p,.2),hc:n.a.transparent},r.a("inputOption.activeBackground","Background color of activated options in input fields.")),k=h("inputOption.activeForeground",{dark:n.a.white,light:n.a.black,hc:null},r.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),D=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:n.a.black},r.a("inputValidationInfoBackground","Input validation background color for information severity.")),N=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},r.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),O=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:m},r.a("inputValidationInfoBorder","Input validation border color for information severity.")),E=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:n.a.black},r.a("inputValidationWarningBackground","Input validation background color for warning severity.")),I=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},r.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),M=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:m},r.a("inputValidationWarningBorder","Input validation border color for warning severity.")),T=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:n.a.black},r.a("inputValidationErrorBackground","Input validation background color for error severity.")),A=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},r.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),R=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:m},r.a("inputValidationErrorBorder","Input validation border color for error severity."));var P=h("dropdown.background",{dark:"#3C3C3C",light:n.a.white,hc:n.a.black},r.a("dropdownBackground","Dropdown background.")),F=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:n.a.white},r.a("dropdownForeground","Dropdown foreground."));const B=h("button.foreground",{dark:n.a.white,light:n.a.white,hc:n.a.white},r.a("buttonForeground","Button foreground color.")),j=h("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},r.a("buttonBackground","Button background color.")),W=h("button.hoverBackground",{dark:qt(j,.2),light:Kt(j,.2),hc:null},r.a("buttonHoverBackground","Button background color when hovering.")),V=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:n.a.black},r.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),H=h("badge.foreground",{dark:n.a.white,light:"#333",hc:n.a.white},r.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),z=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},r.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),U=h("scrollbarSlider.background",{dark:n.a.fromHex("#797979").transparent(.4),light:n.a.fromHex("#646464").transparent(.4),hc:$t(m,.6)},r.a("scrollbarSliderBackground","Scrollbar slider background color.")),K=h("scrollbarSlider.hoverBackground",{dark:n.a.fromHex("#646464").transparent(.7),light:n.a.fromHex("#646464").transparent(.7),hc:$t(m,.8)},r.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),q=h("scrollbarSlider.activeBackground",{dark:n.a.fromHex("#BFBFBF").transparent(.4),light:n.a.fromHex("#000000").transparent(.6),hc:m},r.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),$=h("progressBar.background",{dark:n.a.fromHex("#0E70C0"),light:n.a.fromHex("#0E70C0"),hc:m},r.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),G=h("editorError.background",{dark:null,light:null,hc:null},r.a("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Z=h("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hc:null},r.a("editorError.foreground","Foreground color of error squigglies in the editor.")),Y=h("editorError.border",{dark:null,light:null,hc:n.a.fromHex("#E47777").transparent(.8)},r.a("errorBorder","Border color of error boxes in the editor.")),X=h("editorWarning.background",{dark:null,light:null,hc:null},r.a("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Q=h("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hc:null},r.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),J=h("editorWarning.border",{dark:null,light:null,hc:n.a.fromHex("#FFCC00").transparent(.8)},r.a("warningBorder","Border color of warning boxes in the editor.")),ee=h("editorInfo.background",{dark:null,light:null,hc:null},r.a("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),te=h("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hc:"#3794FF"},r.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),ie=h("editorInfo.border",{dark:null,light:null,hc:n.a.fromHex("#3794FF").transparent(.8)},r.a("infoBorder","Border color of info boxes in the editor.")),ne=h("editorHint.foreground",{dark:n.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},r.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),oe=h("editorHint.border",{dark:null,light:null,hc:n.a.fromHex("#eeeeee").transparent(.8)},r.a("hintBorder","Border color of hint boxes in the editor.")),se=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:n.a.black},r.a("editorBackground","Editor background color.")),re=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:n.a.white},r.a("editorForeground","Editor default foreground color.")),ae=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},r.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),le=h("editorWidget.foreground",{dark:c,light:c,hc:c},r.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),de=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:m},r.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),he=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},r.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ce=h("quickInput.background",{dark:ae,light:ae,hc:ae},r.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ue=h("quickInput.foreground",{dark:le,light:le,hc:le},r.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ge=h("quickInputTitle.background",{dark:new n.a(new n.c(255,255,255,.105)),light:new n.a(new n.c(0,0,0,.06)),hc:"#000000"},r.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),pe=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:n.a.white},r.a("pickerGroupForeground","Quick picker color for grouping labels.")),me=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:n.a.white},r.a("pickerGroupBorder","Quick picker color for grouping borders.")),fe=h("keybindingLabel.background",{dark:new n.a(new n.c(128,128,128,.17)),light:new n.a(new n.c(221,221,221,.4)),hc:n.a.transparent},r.a("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),_e=h("keybindingLabel.foreground",{dark:n.a.fromHex("#CCCCCC"),light:n.a.fromHex("#555555"),hc:n.a.white},r.a("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),be=h("keybindingLabel.border",{dark:new n.a(new n.c(51,51,51,.6)),light:new n.a(new n.c(204,204,204,.4)),hc:new n.a(new n.c(111,195,223))},r.a("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),ve=h("keybindingLabel.bottomBorder",{dark:new n.a(new n.c(68,68,68,.6)),light:new n.a(new n.c(187,187,187,.4)),hc:new n.a(new n.c(111,195,223))},r.a("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),Ce=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},r.a("editorSelectionBackground","Color of the editor selection.")),we=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},r.a("editorSelectionForeground","Color of the selected text for high contrast.")),ye=h("editor.inactiveSelectionBackground",{light:$t(Ce,.5),dark:$t(Ce,.5),hc:$t(Ce,.5)},r.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Se=h("editor.selectionHighlightBackground",{light:Zt(Ce,se,.3,.6),dark:Zt(Ce,se,.3,.6),hc:null},r.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Le=h("editor.selectionHighlightBorder",{light:null,dark:null,hc:f},r.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),xe=h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},r.a("editorFindMatch","Color of the current search match.")),ke=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},r.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),De=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},r.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ne=h("editor.findMatchBorder",{light:null,dark:null,hc:f},r.a("editorFindMatchBorder","Border color of the current search match.")),Oe=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:f},r.a("findMatchHighlightBorder","Border color of the other search matches.")),Ee=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:$t(f,.4)},r.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ie=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},r.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),Me=h("editorHoverWidget.background",{light:ae,dark:ae,hc:ae},r.a("hoverBackground","Background color of the editor hover.")),Te=h("editorHoverWidget.foreground",{light:le,dark:le,hc:le},r.a("hoverForeground","Foreground color of the editor hover.")),Ae=h("editorHoverWidget.border",{light:de,dark:de,hc:de},r.a("hoverBorder","Border color of the editor hover.")),Re=h("editorHoverWidget.statusBarBackground",{dark:qt(Me,.2),light:Kt(Me,.05),hc:ae},r.a("statusBarBackground","Background color of the editor hover status bar.")),Pe=h("editorLink.activeForeground",{dark:"#4E94CE",light:n.a.blue,hc:n.a.cyan},r.a("activeLinkForeground","Color of active links.")),Fe=h("editorInlayHint.foreground",{dark:$t(H,.8),light:$t(H,.8),hc:H},r.a("editorInlayHintForeground","Foreground color of inline hints")),Be=h("editorInlayHint.background",{dark:$t(V,.6),light:$t(V,.3),hc:V},r.a("editorInlayHintBackground","Background color of inline hints")),je=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},r.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),We=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},r.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Ve=new n.a(new n.c(155,185,85,.2)),He=new n.a(new n.c(255,0,0,.2)),ze=h("diffEditor.insertedTextBackground",{dark:Ve,light:Ve,hc:null},r.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ue=h("diffEditor.removedTextBackground",{dark:He,light:He,hc:null},r.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Ke=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},r.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),qe=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},r.a("diffEditorRemovedOutline","Outline color for text that got removed.")),$e=h("diffEditor.border",{dark:null,light:null,hc:m},r.a("diffEditorBorder","Border color between the two text editors.")),Ge=h("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},r.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),Ze=h("list.focusBackground",{dark:null,light:null,hc:null},r.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ye=h("list.focusForeground",{dark:null,light:null,hc:null},r.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Xe=h("list.focusOutline",{dark:p,light:p,hc:f},r.a("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Qe=h("list.activeSelectionBackground",{dark:"#094771",light:"#0060C0",hc:null},r.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Je=h("list.activeSelectionForeground",{dark:n.a.white,light:n.a.white,hc:null},r.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),et=h("list.activeSelectionIconForeground",{dark:null,light:null,hc:null},r.a("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tt=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},r.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),it=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},r.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),nt=h("list.inactiveSelectionIconForeground",{dark:null,light:null,hc:null},r.a("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ot=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},r.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),st=h("list.inactiveFocusOutline",{dark:null,light:null,hc:null},r.a("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),rt=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},r.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),at=h("list.hoverForeground",{dark:null,light:null,hc:null},r.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),lt=h("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},r.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),dt=h("list.highlightForeground",{dark:"#18A3FF",light:"#0066BF",hc:p},r.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),ht=h("list.focusHighlightForeground",{dark:dt,light:{op:5,if:Qe,then:dt,else:"#9DDDFF"},hc:dt},r.a("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.")),ct=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:n.a.black},r.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),ut=h("listFilterWidget.outline",{dark:n.a.transparent,light:n.a.transparent,hc:"#f38518"},r.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),gt=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:m},r.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),pt=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},r.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),mt=h("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hc:null},r.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides."));var ft=h("quickInput.list.focusBackground",{dark:null,light:null,hc:null},"",void 0,r.a("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead"));const _t=h("quickInputList.focusForeground",{dark:Je,light:Je,hc:Je},r.a("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),bt=h("quickInputList.focusIconForeground",{dark:et,light:et,hc:et},r.a("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),vt=h("quickInputList.focusBackground",{dark:Gt(ft,Qe),light:Gt(ft,Qe),hc:null},r.a("quickInput.listFocusBackground","Quick picker background color for the focused item.")),Ct=h("menu.border",{dark:null,light:null,hc:m},r.a("menuBorder","Border color of menus.")),wt=h("menu.foreground",{dark:F,light:c,hc:F},r.a("menuForeground","Foreground color of menu items.")),yt=h("menu.background",{dark:P,light:P,hc:P},r.a("menuBackground","Background color of menu items.")),St=h("menu.selectionForeground",{dark:Je,light:Je,hc:Je},r.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Lt=h("menu.selectionBackground",{dark:Qe,light:Qe,hc:Qe},r.a("menuSelectionBackground","Background color of the selected menu item in menus.")),xt=h("menu.selectionBorder",{dark:null,light:null,hc:f},r.a("menuSelectionBorder","Border color of the selected menu item in menus.")),kt=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:m},r.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Dt=h("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hc:null},r.a("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),Nt=h("editor.snippetTabstopHighlightBackground",{dark:new n.a(new n.c(124,124,124,.3)),light:new n.a(new n.c(10,50,100,.2)),hc:new n.a(new n.c(124,124,124,.3))},r.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Ot=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},r.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Et=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},r.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),It=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new n.a(new n.c(10,50,100,.5)),hc:"#525252"},r.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),Mt=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},r.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Tt=h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},r.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),At=h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},r.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),Rt=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},r.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),Pt=h("minimap.errorHighlight",{dark:new n.a(new n.c(255,18,18,.7)),light:new n.a(new n.c(255,18,18,.7)),hc:new n.a(new n.c(255,50,50,1))},r.a("minimapError","Minimap marker color for errors.")),Ft=h("minimap.warningHighlight",{dark:Q,light:Q,hc:J},r.a("overviewRuleWarning","Minimap marker color for warnings.")),Bt=h("minimap.background",{dark:null,light:null,hc:null},r.a("minimapBackground","Minimap background color.")),jt=h("minimapSlider.background",{light:$t(U,.5),dark:$t(U,.5),hc:$t(U,.5)},r.a("minimapSliderBackground","Minimap slider background color.")),Wt=h("minimapSlider.hoverBackground",{light:$t(K,.5),dark:$t(K,.5),hc:$t(K,.5)},r.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),Vt=h("minimapSlider.activeBackground",{light:$t(q,.5),dark:$t(q,.5),hc:$t(q,.5)},r.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),Ht=h("problemsErrorIcon.foreground",{dark:Z,light:Z,hc:Z},r.a("problemsErrorIconForeground","The color used for the problems error icon.")),zt=h("problemsWarningIcon.foreground",{dark:Q,light:Q,hc:Q},r.a("problemsWarningIconForeground","The color used for the problems warning icon.")),Ut=h("problemsInfoIcon.foreground",{dark:te,light:te,hc:te},r.a("problemsInfoIconForeground","The color used for the problems info icon."));function Kt(e,t){return{op:0,value:e,factor:t}}function qt(e,t){return{op:1,value:e,factor:t}}function $t(e,t){return{op:2,value:e,factor:t}}function Gt(...e){return{op:3,values:e}}function Zt(e,t,i,n){return{op:4,value:e,background:t,factor:i,transparency:n}}function Yt(e,t){if(null!==e){if("string"==typeof e)return"#"===e[0]?n.a.fromHex(e):t.getColor(e);if(e instanceof n.a)return e;if("object"==typeof e){var i,o=e,r=t;switch(o.op){case 0:return null==(i=Yt(o.value,r))?void 0:i.darken(o.factor);case 1:return null==(i=Yt(o.value,r))?void 0:i.lighten(o.factor);case 2:return null==(i=Yt(o.value,r))?void 0:i.transparent(o.factor);case 3:for(const t of o.values){var a=Yt(t,r);if(a)return a}return;case 5:return Yt(r.defines(o.if)?o.then:o.else,r);case 4:const e=Yt(o.value,r);return e?(i=Yt(o.background,r))?(e.isDarkerThan(i)?n.a.getLighterColor(e,i,o.factor):n.a.getDarkerColor(e,i,o.factor)).transparent(o.transparency):e.transparent(o.factor*o.transparency):void 0;default:throw Object(s.b)(o)}}}}const Xt="vscode://schemas/workbench-colors";let Qt=i.a.as(a.a.JSONContribution);Qt.registerSchema(Xt,d.getColorSchema());const Jt=new t.e(()=>Qt.notifySchemaChanged(Xt),200);d.onDidChangeSchema(()=>{Jt.isScheduled()||Jt.schedule()})},"308f":function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"b",(function(){return b})),i.d(t,"e",(function(){return v})),i.d(t,"a",(function(){return C})),i.d(t,"d",(function(){return w})),i.d(t,"f",(function(){return y}));var n,o=i("fdcc"),s=i("a666"),r=i("db88"),a=i("e58e");{var l=n=n||{};function d(e){return(t,i=null,n)=>{let o,s=!1;return o=e(e=>{if(!s)return o?o.dispose():s=!0,t.call(i,e)},null,n),s&&o.dispose(),o}}function h(e,t){return p((i,n=null,o)=>e(e=>i.call(n,t(e)),null,o))}function c(e,t){return p((i,n=null,o)=>e(e=>{t(e),i.call(n,e)},null,o))}function u(e,t){return p((i,n=null,o)=>e(e=>t(e)&&i.call(n,e),null,o))}function g(e,t,i){let n=i;return h(e,e=>n=t(n,e))}function p(e){let t;const i=new b({onFirstListenerAdd(){t=e(i.fire,i)},onLastListenerRemove(){t.dispose()}});return i.event}function m(e,t,i=100,n=!1,o){let s,r=void 0,a=void 0,l=0;const d=new b({leakWarningThreshold:o,onFirstListenerAdd(){s=e(e=>{l++,r=t(r,e),n&&!a&&(d.fire(r),r=void 0),clearTimeout(a),a=setTimeout(()=>{var e=r;r=void 0,a=void 0,(!n||1e===t)){let i,n=!0;return u(e,e=>{var o=n||!t(e,i);return n=!1,i=e,o})}l.None=()=>s.a.None,l.once=d,l.map=h,l.forEach=c,l.filter=u,l.signal=function(e){return e},l.any=function(...e){return(t,i=null,n)=>Object(s.e)(...e.map(e=>e(e=>t.call(i,e),null,n)))},l.reduce=g,l.debounce=m,l.latch=f,l.split=function(e,t){return[l.filter(e,t),l.filter(e,e=>!t(e))]},l.buffer=function(e,t=!1,i=[]){let n=i.slice(),o=e(e=>{n?n.push(e):r.fire(e)});const s=()=>{n&&n.forEach(e=>r.fire(e)),n=null},r=new b({onFirstListenerAdd(){o=o||e(e=>r.fire(e))},onFirstListenerDidAdd(){n&&(t?setTimeout(s):s())},onLastListenerRemove(){o&&o.dispose(),o=null}});return r.event};class e{constructor(e){this.event=e}map(t){return new e(h(this.event,t))}forEach(t){return new e(c(this.event,t))}filter(t){return new e(u(this.event,t))}reduce(t,i){return new e(g(this.event,t,i))}latch(){return new e(f(this.event))}debounce(t,i=100,n=!1,o){return new e(m(this.event,t,i,n,o))}on(e,t,i){return this.event(e,t,i)}once(e,t,i){return d(this.event)(e,t,i)}}l.chain=function(t){return new e(t)},l.fromNodeEventEmitter=function(e,t,i=(e=>e)){const n=(...e)=>o.fire(i(...e)),o=new b({onFirstListenerAdd:()=>e.on(t,n),onLastListenerRemove:()=>e.removeListener(t,n)});return o.event},l.fromDOMEventEmitter=function(e,t,i=(e=>e)){const n=(...e)=>o.fire(i(...e)),o=new b({onFirstListenerAdd:()=>e.addEventListener(t,n),onLastListenerRemove:()=>e.removeEventListener(t,n)});return o.event},l.toPromise=function(e){return new Promise(t=>d(e)(t))}}class _{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=e+"_"+_._idPool++}start(e){this._stopWatch=new a.a(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0}}}_._idPool=0;class b{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=null!=(e=this._options)&&e._profName?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,i)=>{this._listeners||(this._listeners=new r.a);var n=this._listeners.isEmpty();n&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e),a=(n&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),null==(n=this._leakageMon)?void 0:n.check(this._listeners.size));return e=Object(s.i)(()=>{a&&a(),this._disposed||(o(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))}),i instanceof s.b?i.add(e):Array.isArray(i)&&i.push(e),e}),this._event}fire(e){var t;if(this._listeners){for(var i of(this._deliveryQueue||(this._deliveryQueue=new r.a),this._listeners))this._deliveryQueue.push([i,e]);for(null!=(t=this._perfMon)&&t.start(this._deliveryQueue.size);0{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class w{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{const n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){const t=[];return this.buffers.push(t),e=e(),this.buffers.pop(),t.forEach(e=>e()),e}}class y{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=s.a.None,this.emitter=new b({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},"30d5":function(e,t,i){},"30db":function(e,t,i){"use strict";(function(e,n){i.d(t,"b",(function(){return g})),i.d(t,"i",(function(){return b})),i.d(t,"f",(function(){return v})),i.d(t,"d",(function(){return C})),i.d(t,"g",(function(){return w})),i.d(t,"h",(function(){return y})),i.d(t,"c",(function(){return S})),i.d(t,"k",(function(){return L})),i.d(t,"j",(function(){return x})),i.d(t,"a",(function(){return k})),i.d(t,"e",(function(){return O}));let o=!1,s=!1,r=!1,a=!1,l=!1,d=!1,h=void 0,c="en",u=void 0;const g="object"==typeof self?self:"object"==typeof e?e:{};let p=void 0;if(void 0!==g.vscode&&void 0!==g.vscode.process?p=g.vscode.process:void 0!==n&&(p=n),n="string"==typeof(null==(e=null===p||void 0===p?void 0:p.versions)?void 0:e.electron)&&"renderer"===p.type,"object"!=typeof navigator||n){if("object"==typeof p){if(o="win32"===p.platform,s="darwin"===p.platform,(r="linux"===p.platform)&&!!p.env.SNAP&&p.env.SNAP_REVISION,h="en",c="en",e=p.env.VSCODE_NLS_CONFIG,e)try{var m=JSON.parse(e),f=m.availableLanguages["*"];h=m.locale,c=f||"en",m._translationsConfigFile}catch(e){}a=!0}}else u=navigator.userAgent,o=0<=u.indexOf("Windows"),s=0<=u.indexOf("Macintosh"),d=(0<=u.indexOf("Macintosh")||0<=u.indexOf("iPad")||0<=u.indexOf("iPhone"))&&!!navigator.maxTouchPoints&&0{if(t.data&&t.data.vscodeSetImmediateId)for(let i=0,n=e.length;i{var n=++t;e.push({id:n,callback:i}),g.postMessage({vscodeSetImmediateId:n},"*")}}if("function"==typeof(null===p||void 0===p?void 0:p.nextTick))return p.nextTick.bind(p);const e=Promise.resolve();return t=>e.then(t)}(),k=s||d?2:o?1:3;let D=!0,N=!1;function O(){if(!N){N=!0;const t=new Uint8Array(2);t[0]=1,t[1]=2;var e=new Uint16Array(t.buffer);D=513===e[0]}return D}}).call(this,i("c8ba"),i("f28c"))},3170:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return s}));var n=i("099d");class o{constructor(e){e=Object(n.b)(e),this._defaultValue=e,this._asciiMap=o._createAsciiMap(e),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let i=0;i<256;i++)t[i]=e;return t}set(e,t){t=Object(n.b)(t),0<=e&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return 0<=e&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class s{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},"31df":function(e,t,i){"use strict";i.d(t,"c",(function(){return o})),i.d(t,"b",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("11f7");function o(e,t={}){const i=r(t);return i.textContent=e,i}function s(e,t={}){var i=r(t);return function e(t,i,o,s){let r;if(2===i.type)r=document.createTextNode(i.content||"");else if(3===i.type)r=document.createElement("b");else if(4===i.type)r=document.createElement("i");else if(7===i.type&&s)r=document.createElement("code");else if(5===i.type&&o){const e=document.createElement("a");e.href="#",o.disposables.add(n.o(e,"click",e=>{o.callback(String(i.index),e)})),r=e}else 8===i.type?r=document.createElement("br"):1===i.type&&(r=t);r&&t!==r&&t.appendChild(r),r&&Array.isArray(i.children)&&i.children.forEach(t=>{e(r,t,o,s)})}(i,function(e,t){var i={type:1,children:[]};let n=0,o=i;const s=[],r=new a(e);for(;!r.eos();){let e=r.next();var d="\\"===e&&0!==l(r.peek(),t);if(d&&(e=r.next()),!d&&function(e,t){return 0!==l(e,t)}(e,t)&&e===r.peek()){r.advance(),2===o.type&&(o=s.pop());d=l(e,t);if(o.type===d||5===o.type&&6===d)o=s.pop();else{const e={type:d,children:[]};5===d&&(e.index=n,n++),o.children.push(e),s.push(o),o=e}}else"\n"===e?(o=2===o.type?s.pop():o).children.push({type:8}):2!==o.type?(d={type:2,content:e},o.children.push(d),s.push(o),o=d):o.content+=e}return 2===o.type&&(o=s.pop()),s.length,i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function r(e){var t=e.inline?"span":"div";const i=document.createElement(t);return e.className&&(i.className=e.className),i}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){var e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},"32a4":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"b",(function(){return d}));t=i("dff7");var n=i("308f"),o=i("b707"),s=i("70cb"),r=i("89cd");i=i("b9b4");const a=new class{constructor(){this._onDidChangeLanguages=new n.b,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}},0)},"32b8":function(e,t,i){"use strict";i.d(t,"i",(function(){return c})),i.d(t,"e",(function(){return u})),i.d(t,"d",(function(){return g})),i.d(t,"g",(function(){return p})),i.d(t,"f",(function(){return m})),i.d(t,"b",(function(){return f})),i.d(t,"a",(function(){return _})),i.d(t,"c",(function(){return b})),i.d(t,"h",(function(){return v}));var n=i("c317");class o extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var o=-1!==e.indexOf(".")?"property":"argument";e=`The "${e}" ${o} ${n} of type `+t;super(e+=". Received type "+typeof i),this.code="ERR_INVALID_ARG_TYPE"}}function s(e,t){if("string"!=typeof e)throw new o(t,"string",e)}function r(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return 65<=e&&e<=90||97<=e&&e<=122}function d(e,t,i,n){let o="",s=0,r=-1,a=0,l=0;for(let h=0;h<=e.length;++h){if(ho&&92===e.charCodeAt(r-1);)r--;var a=r-o;let l=0;for(;ll&&92===t.charCodeAt(d-1);)d--;var h=d-l,u=a=n;--s)if(r(e.charCodeAt(s))){if(!d){a=s;break}}else d=!1;if(-1===a){if(-1===i)return".";a=i}return e.slice(0,a)},basename(e,t){void 0!==t&&s(t,"ext"),s(e,"path");let i,n=0,o=-1,a=!0;if(2<=e.length&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&0=n;--i){var d=e.charCodeAt(i);if(r(d)){if(!a){n=i+1;break}}else-1===l&&(a=!1,l=i+1),0<=s&&(d===t.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=l))}return n===o?o=l:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=n;--i)if(r(e.charCodeAt(i))){if(!a){n=i+1;break}}else-1===o&&(a=!1,o=i+1);return-1===o?"":e.slice(n,o)},extname(e){s(e,"path");let t=0,i=-1,n=0,o=-1,a=!0,d=0;2<=e.length&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=n=2);for(let s=e.length-1;s>=t;--s){var h=e.charCodeAt(s);if(r(h)){if(a)continue;n=s+1;break}-1===o&&(a=!1,o=s+1),46===h?-1===i?i=s:1!==d&&(d=1):-1!==i&&(d=-1)}return-1===i||-1===o||0===d||1===d&&i===o-1&&i===n+1?"":e.slice(i,o)},format:h.bind(null,"\\"),parse(e){s(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){var i=e.length;let n=0,o=e.charCodeAt(0);if(1===i)r(o)?t.root=t.dir=e:t.base=t.name=e;else{if(r(o)){if(n=1,r(e.charCodeAt(1))){let t=2,o=t;for(;t=n;--c){if(r(o=e.charCodeAt(c))){if(h)continue;a=c+1;break}-1===d&&(h=!1,d=c+1),46===o?-1===s?s=c:1!==u&&(u=1):-1!==s&&(u=-1)}-1!==d&&(-1===s||0===u||1===u&&s===d-1&&s===a+1?t.base=t.name=e.slice(a,d):(t.name=e.slice(a,s),t.base=e.slice(a,d),t.ext=e.slice(s,d))),t.dir=0=o;--d){var n=e.charCodeAt(d);if(47===n){if(l)continue;r=d+1;break}-1===a&&(l=!1,a=d+1),46===n?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}if(-1!==a){const n=0===r&&i?1:r;-1===s||0===h||1===h&&s===a-1&&s===r+1?t.base=t.name=e.slice(n,a):(t.name=e.slice(n,s),t.base=e.slice(n,a),t.ext=e.slice(s,a))}0i&&(c=i-u),l=h.color;let g=this._color2Id[l];g||(g=++this._lastAssignedId,this._color2Id[l]=g,this._id2Color[g]=l),l=new n(c-u,c+u,g),h.setColorZone(l),r.push(l)}return this._colorZonesInvalid=!1,r.sort(n.compare),r}}},3323:function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneGotoLineQuickAccessProvider",(function(){return m})),i.d(t,"GotoLineAction",(function(){return f}));var n=i("dff7"),o=i("a666"),s=(t=i("1fe0"),i("b055"));class r extends t.a{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){var t=Object(n.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,o.a.None}provideWithTextEditor(e,t,i){const n=e.editor,a=new o.b,l=(a.add(t.onDidAccept(i=>{var[o]=t.selectedItems;o&&this.isValidLineNumber(n,o.lineNumber)&&(this.gotoLocation(e,{range:this.toRange(o.lineNumber,o.column),keyMods:t.keyMods,preserveFocus:i.inBackground}),i.inBackground||t.hide())})),()=>{var e=this.parsePosition(n,t.value.trim().substr(r.PREFIX.length)),i=this.getPickLabel(n,e.lineNumber,e.column);t.items=[{lineNumber:e.lineNumber,column:e.column,label:i}],t.ariaLabel=i,this.isValidLineNumber(n,e.lineNumber)?(i=this.toRange(e.lineNumber,e.column),n.revealRangeInCenter(i,0),this.addDecorations(n,i)):this.clearDecorations(n)}),d=(l(),a.add(t.onDidChangeValue(()=>l())),Object(s.a)(n));if(d){const e=d.getOptions();2===e.get(59).renderType&&(d.updateOptions({lineNumbers:"on"}),a.add(Object(o.i)(()=>d.updateOptions({lineNumbers:"relative"}))))}return a}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){return t=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),e=this.lineCount(e)+1,{lineNumber:0e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}}class s{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class r{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class a{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class l{constructor(){this.changeType=5}}class d{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;tthis._onDidAttemptReadOnlyEdit())}static get(t){return t.getContribution(e.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let i;Object(r.a)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new m(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new o.g(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(i?i.containsPosition(e.target.position)||this.closeMessage():i=new a.a(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(m.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(n.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};g.ID="editor.contrib.messageController",g.MESSAGE_VISIBLE=new l.c("messageVisible",!1,n.a("messageVisible","Whether the editor is currently showing an inline message")),g=i([u(1,l.b)],g);const p=t.c.bindToContribution(g.get);Object(t.k)(new p({id:"leaveEditorMessage",precondition:g.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class m{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div"),s=(o.classList.add("anchor","top"),this._domNode.appendChild(o),document.createElement("div")),r=(s.classList.add("message"),s.textContent=n,this._domNode.appendChild(s),document.createElement("div"));r.classList.add("anchor","below"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}Object(t.l)(g.ID,g),Object(d.f)((e,t)=>{var i=e.getColor(h.qb),n=(i&&(n=e.type===c.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.below { border-top-color: ${i}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.top { border-bottom-color: ${i}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${n}px solid ${i}; }`)),e.getColor(h.pb));n&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${n}; }`),i=e.getColor(h.rb);i&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${i}; }`)})},3742:function(e,t,i){"use strict";function n(e){return!e||"string"!=typeof e||0===e.trim().length}i.d(t,"C",(function(){return n})),i.d(t,"v",(function(){return s})),i.d(t,"s",(function(){return r})),i.d(t,"t",(function(){return a})),i.d(t,"U",(function(){return l})),i.d(t,"J",(function(){return d})),i.d(t,"O",(function(){return h})),i.d(t,"p",(function(){return c})),i.d(t,"T",(function(){return u})),i.d(t,"q",(function(){return g})),i.d(t,"N",(function(){return p})),i.d(t,"M",(function(){return m})),i.d(t,"Q",(function(){return f})),i.d(t,"u",(function(){return _})),i.d(t,"x",(function(){return b})),i.d(t,"I",(function(){return v})),i.d(t,"f",(function(){return C})),i.d(t,"h",(function(){return w})),i.d(t,"g",(function(){return y})),i.d(t,"i",(function(){return S})),i.d(t,"G",(function(){return L})),i.d(t,"H",(function(){return x})),i.d(t,"r",(function(){return D})),i.d(t,"R",(function(){return O})),i.d(t,"d",(function(){return E})),i.d(t,"e",(function(){return I})),i.d(t,"E",(function(){return M})),i.d(t,"F",(function(){return T})),i.d(t,"j",(function(){return A})),i.d(t,"z",(function(){return R})),i.d(t,"K",(function(){return F})),i.d(t,"L",(function(){return B})),i.d(t,"m",(function(){return W})),i.d(t,"k",(function(){return H})),i.d(t,"A",(function(){return U})),i.d(t,"a",(function(){return K})),i.d(t,"n",(function(){return q})),i.d(t,"l",(function(){return $})),i.d(t,"D",(function(){return G})),i.d(t,"B",(function(){return Z})),i.d(t,"b",(function(){return Y})),i.d(t,"S",(function(){return X})),i.d(t,"o",(function(){return Q})),i.d(t,"P",(function(){return J})),i.d(t,"w",(function(){return ee})),i.d(t,"c",(function(){return te})),i.d(t,"y",(function(){return ne}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,i){return i=parseInt(i,10),isNaN(i)||i<0||i>=t.length?e:t[i]}))}function r(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;var i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function h(e,t){if(!e||!t)return e;var i=t.length,n=e.length;if(0===i||0===n)return e;let o,s=n;for(;;){if(-1===(o=e.lastIndexOf(t,s-1))||o+i!==s)break;if(0===o)return"";s=o}return e.substring(0,s)}function c(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e){return e.replace(/\*/g,"")}function g(e,t,i={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function p(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function m(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function f(e){return e.split(/\r\n|\r|\n/)}function _(e){for(let i=0,n=e.length;ie.length)&&N(e,t,i)}function E(e,t){let i,n=Math.min(e.length,t.length);for(i=0;it[3*n+1]))return t[3*n+2];n=2*n+1}}return 0}}function ne(e,t){var i;return 0===e?0:void 0!==(i=function(e,t){let i=P(t,e);for(e-=oe(i);function(e){return 127995<=e&&e<=127999}(i)||65039===i||8419===i;){if(0===e)return;i=P(t,e),e-=oe(i)}var n;if(Z(i))return 0<=e&&8205===(n=P(t,e))&&(e-=oe(n)),e}(e,t))?i:e-oe(P(t,e))}function oe(e){return 65536<=e?2:1}ie._INSTANCE=null},3765:function(e,t,i){"use strict";i.r(t),i.d(t,"SelectionAnchorSet",(function(){return u})),i("1754");t=i("b2cc");var n=i("dff7"),o=i("c101"),s=i("8025"),r=i("fe45"),a=i("4fc3"),l=i("78bc"),d=i("3813"),h=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.selectionAnchorSetContextKey.reset())}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){var e,t;this.editor.hasModel()&&(e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],t=this.editor.deltaDecorations(t,[{range:s.a.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:(new l.a).appendText(Object(n.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]),this.decorationId=t[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(d.a)(Object(n.a)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column)))}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const t=this.editor.getModel().getDecorationRange(this.decorationId);var e;t&&(e=this.editor.getPosition(),this.editor.setSelection(s.a.fromPositions(t.getStartPosition(),e)),this.cancelSelectionAnchor())}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};g.ID="editor.contrib.selectionAnchorController",g=i([h(1,a.b)],g);class p extends t.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object(n.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:o.a.editorTextFocus,primary:Object(r.a)(2089,2080),weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.setSelectionAnchor()}))}}class m extends t.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object(n.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:u})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.goToSelectionAnchor()}))}}class f extends t.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object(n.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:u,kbOpts:{kbExpr:o.a.editorTextFocus,primary:Object(r.a)(2089,2089),weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.selectFromAnchorToCursor()}))}}class _ extends t.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object(n.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:u,kbOpts:{kbExpr:o.a.editorTextFocus,primary:9,weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.cancelSelectionAnchor()}))}}Object(t.l)(g.ID,g),Object(t.j)(p),Object(t.j)(m),Object(t.j)(f),Object(t.j)(_)},3793:function(e,t,i){"use strict";i.r(t);var n=i("fc11"),o=i("c964"),s=(i("c740"),i("d3b7"),i("25f0"),i("a9e3"),i("fb6a"),i("159b"),i("a434"),i("96cf"),i("8593")),r=(i("56b3"),i("d9e2"),i("ac1f"),i("00b4"),{name:"file_login",data:function(){return{formInline:{password:""},ruleInline:{password:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},created:function(){var e=this;document.onkeydown=function(t){13===window.event.keyCode&&e.handleSubmit("formInline")}},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Object(s.O)(t.formInline).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$Message.success("登录成功!"),t.$emit("on-Login",i.data);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}))}}}),a=(i("9240"),i("2877")),l=(r=Object(a.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("Row",{attrs:{type:"flex"}},[t("Col",{attrs:{span:"24"}},[t("div",{staticClass:"index_from page-account-container"},[t("div",{staticClass:"page-account-top"},[t("span",{staticClass:"page-account-top-tit"},[e._v("文件管理登录")])]),t("Form",{ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},nativeOn:{submit:function(e){e.preventDefault()}}},[t("FormItem",{staticClass:"maxInpt",attrs:{prop:"sms_token"}},[t("Input",{attrs:{type:"password",prefix:"ios-lock-outline",placeholder:"请输入密码"},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}})],1),t("FormItem",{staticClass:"maxInpt"},[t("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v("登录")])],1)],1)],1)])],1)}),[],!1,null,"d4b80e9e",null).exports,i("c276")),d=i("c2c6");r={name:"opendir",data:function(){return{modals:!1,editor:"",editorIndex:[{tab:!0,index:"0",title:"",icon:""}],editorList:[],indexEditor:0,code:"",navList:[],navItem:{},contextData:null,fileType:"",className:"",isSave:!0,isShowLogn:!1,isShowList:!1,spinShow:!1,loading:!1,tabList:[],columns4:[{title:"文件/文件夹名",slot:"filename",minWidth:150,back:"返回上级"},{title:"文件/文件夹路径",key:"real_path",minWidth:150},{title:"文件/文件夹大小",key:"size",minWidth:100},{title:"是否可写",slot:"isWritable",minWidth:100},{title:"更新时间",key:"mtime",minWidth:150},{title:"操作",slot:"action",minWidth:150}],formItem:{dir:"",superior:0,filedir:"",fileToken:Object(l.d)("file_token")},dir:"",pathname:"",title:"",formFile:{filename:""},ruleInline:{filename:[{required:!0,message:"请输入文件或文件夹的名字",trigger:"blur"}]},formShow:!1,formTitle:"",fileToken:Object(l.d)("file_token")}},components:{loginFrom:r},mounted:function(){this.initEditor()},created:function(){this.getList()},beforeDestroy:function(){Object(l.m)("file_token")},computed:{},methods:{currentChange:function(e){e.isDir?this.open(e):this.edit(e)},getList:function(e,t){var i,n=this;e?i={dir:"",superior:0,filedir:"",fileToken:this.fileToken}:(i=this.formItem).fileToken=this.fileToken,t||(this.loading=!0),Object(s.N)(i).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=i.data,t?n.navList=o.navList:(n.navListForTab=o.navList,n.tabList=o.list,n.isShowList=!0),n.dir=o.dir,n.isShowLogn=!1,n.loading=!1;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){n.catchFun(e)}))},getListItem:function(e){var t=this;Object(s.N)(e).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$set(t.contextData,"children",i.data.navList);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.catchFun(e)}))},goBack:function(e){this.formItem={dir:this.dir,superior:1,filedir:""},this.getList(!1,e)},open:function(e){this.formItem={dir:e.path,superior:0,filedir:e.filename,fileToken:this.fileToken},this.getList(!1,!1)},edit:function(e){this.navItem=e,this.spinShow=!0,this.pathname=e.pathname,this.title=e.filename,this.editorIndex[0].title=e.filename,this.editorIndex[0].pathname=e.pathname,this.navList=this.navListForTab,this.dir=e.path,this.editorList.length<=0&&this.initEditor(),this.openfile(e.pathname,!1)},savefile:function(e,t){var i=this.editorList[e].editor.getValue(),n={comment:i,filepath:this.editorList[e].path,fileToken:this.fileToken},r=this;Object(s.V)(n).then(function(){var n=Object(o.a)(regeneratorRuntime.mark((function n(o){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t||(r.code=i,r.isSave=!0,r.editorIndex[e].icon="",r.editorList[e].isSave=!0),r.$Message.success(o.msg),r.$Modal.remove();case 3:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){r.catchFun(e)}))},refreshfile:function(){this.editorList[this.indexEditor]&&this.openfile(this.editorList[this.indexEditor].path,!0)},getExpiresTime:function(e){var t=Math.round(new Date/1e3);return parseFloat(parseFloat(parseFloat((e-t)/60)/60)/24)},loadData:function(e,t){var i=this;e.isDir&&(this.formItem={dir:e.path,superior:0,filedir:e.title,fileToken:this.fileToken},Object(s.N)(this.formItem).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t(i.data.navList);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){110008==e.status?(i.$Message.error(e.msg),i.isShowLogn=!0,i.isShowList=!1,i.loading=!1):i.catchFun(e)})))},renderContent:function(e,t){var i=t.root,o=t.node,s=t.data,r=this;return e("span",{style:(t={display:"inline-block",cursor:"pointer",userSelect:"null",color:"#cccccc"},Object(n.a)(t,"display","inline-block"),Object(n.a)(t,"width","100%"),Object(n.a)(t,"borderRadis","5px"),t),on:{click:function(){r.clickDir(s,i,o)},contextmenu:function(){}}},[e("span",[e("Icon",{props:{type:s.isDir?"md-folder":"ios-document-outline"},style:{marginRight:"8px"}}),e("span",{attrs:{title:s.title}},s.title)])])},clickDir:function(e,t,i){var n,o=this;o.navItem=e,o.pathname=e.pathname,e.isDir||(-1<(n=o.editorIndex.findIndex((function(t){return t.pathname===e.pathname})))?(o.toggleEditor(n),o.indexEditor=n.toString()):(n=o.editorIndex.length,o.editorIndex.push({tab:!0,index:n.toString(),title:e.title,icon:"",pathname:e.pathname}),o.indexEditor=n.toString(),o.initEditor(),o.openfile(e.pathname,!0)))},handleContextMenu:function(e,t,i){i.left=Number(i.left.slice(0,-2))+75+"px",this.contextData=e},handleContextCreateFolder:function(){this.formFile.filename="",this.formTitle="创建文件夹",this.formShow=!0,this.fileType="createFolder"},handleContextCreateFile:function(){this.formFile.filename="",this.formTitle="创建文件",this.formShow=!0,this.fileType="createFile"},handleContextDelFolder:function(){var e=this,t=this;t.$Modal.confirm({title:"删除文件夹和文件",content:"您确定要删除改文件?",loading:!0,onOk:function(){var i={path:t.contextData.pathname,fileToken:e.fileToken};Object(s.q)(i).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loopDel(t.navList,t.contextData.nodeKey),t.$Modal.remove(),t.$Message.success("删除成功");case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.catchFun(e)}))},onCancel:function(){t.$Message.info("取消删除")}})},handleContextRename:function(){this.formFile.filename=this.contextData.title,this.formTitle="重命名文件",this.formShow=!0,this.fileType="renameFile"},openfile:function(e,t){var i=this,n={filepath:e,fileToken:this.fileToken};Object(s.P)(n).then(function(){var n=Object(o.a)(regeneratorRuntime.mark((function n(o){var s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:s=o.data,i.code=s.content,i.editorList[i.indexEditor].path=e,i.editorList[i.indexEditor].oldCode=i.code,i.changeModel(s.mode,i.code),t||(i.modals=!0,i.spinShow=!1);case 6:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}))},initEditor:function(){var e=this;e.$nextTick((function(){e.editor=d.editor.create(document.getElementById("container_"+e.indexEditor),{value:e.code,language:"sql",automaticLayout:!0,theme:"vs",foldingStrategy:"indentation",overviewRulerBorder:!1,scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:10},autoIndent:!0,tabSize:4,autoClosingOvertype:"always"}),e.editor.addCommand(d.KeyMod.CtrlCmd|d.KeyCode.KEY_S,(function(){e.savefile(e.indexEditor)})),e.editor.onKeyUp((function(){e.editor.getValue()!=e.code&&(e.isSave=!1,e.editorIndex[e.indexEditor].icon="md-warning",e.editorList[e.indexEditor].isSave=!1)})),e.editorList.push({editor:e.editor,oldCode:e.code,path:"",isSave:!0,index:e.indexEditor})}))},changeModel:function(e,t){var i=this.editorList[this.indexEditor].editor.getModel();e=e||i.getLanguageId(),t=d.editor.createModel(t,e);i&&i.dispose(),this.editorList[this.indexEditor].editor.setModel(t)},handleSubmit:function(e){var t=this,i=this,n="",r="";this.$refs[e].validate((function(e){if(e)switch(i.fileType){case"createFolder":n={path:i.contextData.pathname,name:i.formFile.filename,fileToken:t.fileToken},Object(s.o)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={dir:i.contextData.path,superior:0,filedir:i.contextData.title,fileToken:t.fileToken},i.getListItem(r),i.formShow&&(i.formShow=!1),i.$Message.success("创建成功");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}));break;case"createFile":n={path:i.contextData.pathname,name:i.formFile.filename,fileToken:t.fileToken},Object(s.n)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={dir:i.contextData.path,superior:0,filedir:i.contextData.title,fileToken:t.fileToken},i.getListItem(r),i.formShow&&(i.formShow=!1),i.$Message.success("创建成功");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}));break;case"renameFile":n={newname:i.contextData.path+"\\"+i.formFile.filename,oldname:i.contextData.pathname,fileToken:t.fileToken},Object(s.S)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.$set(i.contextData,"title",i.formFile.filename),i.$Message.success("修改成功"),i.formShow&&(i.formShow=!1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}))}else t.$Message.error("Fail!")}))},formExit:function(){this.formShow=!1},catchFun:function(e){e.status&&(400==e.status&&this.$Message.error(e.msg),110008==e.status&&(this.isShowLogn=!0,this.isShowList=!1,this.loading=!1)),this.spinShow&&(this.spinShow=!1),this.loading&&(this.loading=!1)},loopDel:function(e,t){var i=this;e.forEach((function(n,o){return n.nodeKey===t?e.splice(o,1):0{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};a=t(),l=t(),t=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};d=t(),h=t(),e.appendChild(r)}function u(e){r&&(a.textContent!==e?(n.t(l),p(a,e)):(n.t(a),p(l,e)))}function g(e){r&&(o.f?u(e):d.textContent!==e?(n.t(h),p(d,e)):(n.t(d),p(h,e)))}function p(e,t){n.t(e),t.length>s&&(t=t.substr(0,s)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},"38a2b":function(e,t,i){},"38e9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return i.e("chunk-2d0ba136").then(i.bind(null,"3652"))}})},"38f6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return i.e("chunk-2d0dda4e").then(i.bind(null,"81ed"))}})},"3a19":function(e,t,i){},"3bfb":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("11f7"),o=(t=i("ceb8"),i("aa3d")),s=i("3742");i("54f2");const r={badgeBackground:t.a.fromHex("#4D4D4D"),badgeForeground:t.a.fromHex("#FFFFFF")};class a{constructor(e,t){this.count=0,this.options=t||Object.create(null),Object(o.f)(this.options,r,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(n.q)(e,Object(n.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=Object(s.v)(this.countFormat,this.count),this.element.title=Object(s.v)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){var e,t,i;this.element&&(e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",i=this.badgeBorder?this.badgeBorder.toString():"",this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i)}}},"3d378":function(e,t,i){"use strict";i.d(t,"d",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("32b8"),o=i("30db"),s=i("3742");function r(e){return-1===e.indexOf("/")&&(e=e.replace(/[\\/]/g,n.e.sep)),/^[a-zA-Z]:(\/|$)/.test(e)?"/"+e:e}function a(e,t,i,o=n.h){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(i){if(!Object(s.R)(e,t))return!1;if(t.length===e.length)return!0;let i=t.length;return t.charAt(t.length-1)===o&&i--,e.charAt(i)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}function l(e){const t=Object(n.d)(e);return o.i?!(3!1)){return new u(new h(e))}static forStrings(){return new u(new a)}static forConfigKeys(){return new u(new l)}clear(){this._root=void 0}set(e,t){const i=this._iter.reset(e);let n;for(this._root||(this._root=new c,this._root.segment=i.value()),n=this._root;;){var o=i.cmp(n.segment);if(0e.toString();class p{constructor(){this[o]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null==(e=this._head)?void 0:e.value}get last(){var e;return null==(e=this._tail)?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){if(e=this._map.get(e),e)return 0!==t&&this.touch(e,t),e.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:this.addItemLast(n);break;case 1:this.addItemFirst(n);break;default:this.addItemLast(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){var t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(this._head||this._tail){var e;if(this._head&&this._tail)return e=this._head,this._map.delete(e.key),this.removeItem(e),this._size--,e.value;throw new Error("Invalid list")}}forEach(e,t){var i=this._state;let n=this._head;for(;n;){if((t?e.bind(t):e)(n.value,n.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");n=n.next}}keys(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:i.key,done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}values(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:i.value,done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}entries(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:[i.key,i.value],done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}[(o=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(!(e>=this.size))if(0===e)this.clear();else{let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,i=e.previous;if(!t||!i)throw new Error("Invalid list");(t.previous=i).next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e!==this._head){const t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i).next=t,e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}}else if(2===t&&e!==this._tail){const t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i).next=t,e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(var[t,i]of(this.clear(),e))this.set(t,i)}}class m extends p{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},4058:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return i.e("chunk-2d0c512b").then(i.bind(null,"3e14"))}})},"40c2":function(e,t,i){},4111:function(e,t,i){"use strict";i.d(t,"f",(function(){return l})),i.d(t,"b",(function(){return c})),i.d(t,"c",(function(){return u})),i.d(t,"a",(function(){return p})),i.d(t,"e",(function(){return _})),i.d(t,"d",(function(){return b}));var n=i("e8e3"),o=i("e1b5"),s=i("7061"),r=i("6a89"),a=i("b707");function l(e){let t=0,i=0,n=0,o=0;for(let r=0,a=e.length;r>>0}const h=new Uint32Array(0).buffer;class c{constructor(){this.tokens=[]}add(e,t){if(0t&&this._getDeltaLine(o-1)===e;)o--;let s=n;for(;so?m-=o-i:m=i;else if(g===t&&p===i){if(!(g===n&&m>o)){d=!0;continue}m-=o-i}else if(go)){d=!0;continue}m=(p=g===t?i:0)+(m-o)}else if(g>n){if(0==a&&!d){l=r;break}g-=a}else{if(!(g===n&&p>=o))throw new Error("Not possible!");e&&0===g&&(p+=e,m+=e),g-=a,p-=o-i,m-=o-i}var c=4*l;s[c]=g,s[1+c]=p,s[2+c]=m,s[3+c]=h}l++}this._tokenCount=l}acceptInsertText(e,t,i,n,o,s){var r=0===i&&1===n&&(48<=s&&s<=57||65<=s&&s<=90||97<=s&&s<=122);const a=this._tokens;var l=this._tokenCount;for(let c=0;ci.endLineNumber){r=r||{index:n};break}if(e.removeTokens(i),e.isEmpty())this._pieces.splice(n,1),n--,a--;else if(!(e.endLineNumberi.endLineNumber)r=r||{index:n};else{const[t,o]=e.split(i);t.isEmpty()?r=r||{index:n}:o.isEmpty()||(this._pieces.splice(n,1,t,o),n++,a++,r=r||{index:n})}}}return r=r||{index:this._pieces.length},0{e!==c&&(c=e,d[h++]=e,d[h++]=t)};for(let o=0;o>>0,v=~b>>>0;lt)){for(;o>i&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}n=o-1}}return i}acceptEdit(e,t,i,n,o){for(const s of this._pieces)s.acceptEdit(e,t,i,n,o)}}class b{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,i){let n=null;if(null!==(n=t=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0!==t){let i=[];for(let e=0;e=this._len)){if(e.startLineNumber===e.endLineNumber)return e.startColumn===e.endColumn?void 0:void(this._lineTokens[t]=b._delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1));this._lineTokens[t]=b._deleteEnding(this._lineTokens[t],e.startColumn-1);var i=e.endLineNumber-1;let n=null;i=this._len||(0===t?this._lineTokens[n]=b._insert(this._lineTokens[n],e.column-1,i):(this._lineTokens[n]=b._deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=b._insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)))}static _deleteBeginning(e,t){return null===e||e===h?e:b._delete(e,0,t)}static _deleteEnding(e,t){var i;return null===e||e===h?e:(i=(i=f(e))[i.length-2],b._delete(e,t,i))}static _delete(e,t,i){if(null===e||e===h||t===i)return e;const n=f(e);var s=n.length>>>1;if(0===t&&n[n.length-2]===i)return h;var r=o.a.findIndexInTokensArray(n,t),a=0d&&(n[l++]=u,n[l++]=n[1+(o<<1)],d=u)}if(l===n.length)return e;let g=new Uint32Array(l);return g.set(n.subarray(0,l),0),g.buffer}static _append(e,t){if(t===h)return e;if(e===h)return t;if(null===e)return e;if(null===t)return null;e=f(e);var i=f(t),n=i.length>>>1;let o=new Uint32Array(e.length+i.length),s=(o.set(e,0),e.length);var r=e[e.length-2];for(let a=0;a>>1;let r=o.a.findIndexInTokensArray(s,t);0{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()},e=>{Object(n.e)(e)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache}))}}class w{constructor(e=2,t=new Set,i=new Set,n=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=i,this.showDeprecated=n}}let y;function S(){return y}w.default=new w;class L{constructor(e,t,i,n){this.items=e,this.needsClipboard=t,this.durations=i,this.disposable=n}}function x(e,t,i=w.default,s={triggerKind:0},l=r.a.None){return _(this,void 0,void 0,(function*(){const r=new u.a(!0);t=t.clone();var h=e.getWordAtPosition(t);const g=h?new a.a(t.lineNumber,h.startColumn,t.lineNumber,h.endColumn):a.a.fromPositions(t),p={replace:g,insert:g.setEndPosition(t.lineNumber,t.column)},m=[],f=new d.b,b=[];let v=!1;const w=(e,n,o)=>{var s,r;if(n){for(var a of n.suggestions)i.kindFilter.has(a.kind)||!i.showDeprecated&&null!=(s=null===a||void 0===a?void 0:a.tags)&&s.includes(1)||(a.range||(a.range=p),a.sortText||(a.sortText=("string"==typeof a.label?a:a.label).label),!v&&a.insertTextRules&&4&a.insertTextRules&&(v=c.c.guessNeedsClipboard(a.insertText)),m.push(new C(t,a,n,e)));Object(d.g)(n)&&f.add(n),b.push({providerName:null!=(r=e._debugDisplayName)?r:"unkown_provider",elapsedProvider:null!=(r=n.duration)?r:-1,elapsedOverall:o.elapsed()})}};var S;h=_(this,void 0,void 0,(function*(){var n,o;!y||i.kindFilter.has(27)||0_(this,void 0,void 0,(function*(){if(!(0t.sortTextLow)return 1}return e.completion.labelt.completion.label?1:e.completion.kind-t.completion.kind}const D=new Map;function N(e){return D.get(e)}D.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return k(e,t)})),D.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return k(e,t)})),D.set(1,k),g.a.registerCommand("_executeCompletionItemProvider",(e,...t)=>_(void 0,void 0,void 0,(function*(){var[i,n,o,a]=t;Object(p.c)(m.a.isUri(i)),Object(p.c)(s.a.isIPosition(n)),Object(p.c)("string"==typeof o||!o),Object(p.c)("number"==typeof a||!a);const l=yield e.get(f.a).createModelReference(i);try{const e={incomplete:!1,suggestions:[]},t=[],i=yield x(l.object.textEditorModel,s.a.lift(n),void 0,{triggerCharacter:o,triggerKind:o?1:0});for(const n of i.items)t.length<(null!=a?a:0)&&t.push(n.resolve(r.a.None)),e.incomplete=e.incomplete||n.container.incomplete,e.suggestions.push(n.completion);try{return yield Promise.all(t),e}finally{setTimeout(()=>i.disposable.dispose(),100)}}finally{l.dispose()}})));const O=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){var e={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,e}};function E(e,t){setTimeout(()=>{O.onlyOnceSuggestions.push(...t),e.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(O))},0)}o.d.register("*",O)},"418f":function(e,t,i){"use strict";i.d(t,"a",(function(){return ee}));var n=i("dff7"),o=i("fdcc"),s=i("a666"),r=(t=i("5717"),i("0a0f")),a=i("4fc3"),l=i("fbba"),d=i("03e8"),h=i("f68e"),c=(i("29a1"),i("11f7")),u=i("ceb8"),g=i("308f"),p=i("b589"),m=i("82c9"),f=i("d379"),_=i("6a89"),b=i("b57f"),v=i("b78f"),C=i("c4e3"),w=i("3bfb"),y=i("47cb"),S=i("b7d0"),L=i("a6d7"),x=i("debc"),k=i("6dec"),D=i("7e93"),N=i("ee56"),O=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.children);throw new Error("bad tree")}};I=O([E(0,v.a)],I);class M{getHeight(){return 23}getTemplateId(e){return(e instanceof h.a?P:B).id}}let T=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){if(e instanceof h.b){var t=null==(t=e.parent.getPreview(e))?void 0:t.preview(e.range);if(t)return t.value}return Object(m.b)(e.uri)}};T=O([E(0,k.a)],T);class A{getId(e){return e instanceof h.b?e.id:e.uri}}let R=class extends s.a{constructor(e,t,i){super(),this._uriLabel=t;const n=document.createElement("div");n.classList.add("reference-file"),this.file=this._register(new C.a(n,{supportHighlights:!0})),this.badge=new w.a(c.q(n,c.a(".count"))),this._register(Object(L.a)(this.badge,i)),e.appendChild(n)}set(e,t){var i=Object(m.d)(e.uri);this.file.setLabel(Object(x.a)(e.uri),this._uriLabel.getUriLabel(i,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t}),i=e.children.length;this.badge.setCount(i),1this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e)for(var t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}_addDecorations(e){if(this._editor.hasModel()){this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const i=[],n=[];for(let t=0,o=e.children.length;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(G,"ReferencesWidget",this._treeContainer,new M,[this._instantiationService.createInstance(P),this._instantiationService.createInstance(B)],this._instantiationService.createInstance(I),e),this._splitView.addView({onDidChange:g.c.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},z.a.Distribute),this._splitView.addView({onDidChange:g.c.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=e+"px",this._tree.layout(this._dim.height,e)}},z.a.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let t=(e,t)=>{e instanceof h.b&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?t(e.element,"side"):e.editorOptions.pinned?t(e.element,"goto"):t(e.element,"show")}),c.K(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new c.b(t,e),this.layoutData.heightInLines=(this._viewZone||this.layoutData).heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=n.a("noResults","No results"),c.W(this._messageContainer),Promise.resolve(void 0)):(c.K(this._messageContainer),this._decorationsManager=new q(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{var t,{event:e,target:i}=e;2===e.detail&&(t=this._getFocusedReference())&&this._onDidSelectReference.fire({element:{uri:t.uri,range:i.range},kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),c.W(this._treeContainer),c.W(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){var[e]=this._tree.getFocus();return e instanceof h.b?e:e instanceof h.a&&0{var i=e.getColor(H.m);i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${i}; }`),i=e.getColor(H.h),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${i}; }`),i=e.getColor(H.i),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${i}; box-sizing: border-box; }`),i=e.getColor(V.b),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${i}; box-sizing: border-box; }`),i=e.getColor(H.j),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${i}; }`),i=e.getColor(H.l),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${i}; }`),i=e.getColor(H.k),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${i}; }`),i=e.getColor(H.n),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${i}; }`),i=e.getColor(H.o),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${i} !important; }`),i=e.getColor(H.f),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: ${i};}`),i=e.getColor(H.g);i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: ${i};}`)});var Y=i("7061"),X=(E=i("b0cd"),i("5fe7")),Q=(v=i("9eb8"),y=i("fe45"),O=i("9e74"),U=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const o="peekViewLayout";var s=$.fromJSON(this._storageService.get(o,0,"{}"));this._widget=this._instantiationService.createInstance(Z,this._editor,this._defaultTreeKeyboardSupport,s),this._widget.setTitle(n.a("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(o,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{var{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t):this.openReference(t,!1,!0)}}));const r=++this._requestIdPool;t.then(t=>{var i;if(r===this._requestIdPool&&this._widget)return null!=(i=this._model)&&i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(n.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));var t=this._editor.getModel().uri,i=new Y.a(e.startLineNumber,e.startColumn);t=this._model.nearestReference(t,i);if(t)return this._widget.setSelection(t).then(()=>{this._widget&&"editor"===this._editor.getOption(76)&&this._widget.focusOnPreviewEditor()})}});t.dispose()},e=>{this._notificationService.error(e)})}}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return Q(this,void 0,void 0,(function*(){var t,i,n;this._editor.hasModel()&&this._model&&this._widget&&(t=this._widget.position)&&(t=this._model.nearestReference(this._editor.getModel().uri,t))&&(t=this._model.nextOrPreviousReference(t,e),i=this._editor.hasTextFocus(),n=this._widget.isPreviewEditorFocused(),yield this._widget.setSelection(t),yield this._gotoReference(t),i?this._editor.focus():this._widget&&n&&this._widget.focusOnPreviewEditor())}))}revealReference(e){return Q(this,void 0,void 0,(function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))}))}closeWidget(e=!0){var t;null!=(t=this._widget)&&t.dispose(),null!=(t=this._model)&&t.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const i=_.a.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:i}},this._editor).then(t=>{if(this._ignoreModelChangeEvent=!1,t&&this._widget)if(this._editor===t)this._widget.show(i),this._widget.focusOnReferenceTree();else{const n=e.get(t),o=this._model.clone();this.closeWidget(),t.focus(),n.toggleWidget(i,Object(X.h)(e=>Promise.resolve(o)),null!=(t=this._peekMode)&&t)}else this.closeWidget()},e=>{this._ignoreModelChangeEvent=!1,Object(o.f)(e)})}openReference(e,t,i){t||this.closeWidget();var{uri:e,range:n}=e;this._editorService.openCodeEditor({resource:e,options:{selection:n,pinned:i}},this._editor,t)}};function te(e,t){e=Object(H.d)(e);!e||(e=ee.get(e))&&t(e)}ee.ID="editor.contrib.referencesController",ee=U([k(2,a.b),k(3,t.a),k(4,E.a),k(5,r.a),k(6,d.a),k(7,l.a)],ee),v.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object(y.a)(2089,60),when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),v.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.goToNextOrPreviousReference(!0)})}}),v.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.goToNextOrPreviousReference(!1)})}}),O.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),O.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),O.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),O.a.registerCommand("closeReferenceSearch",e=>te(e,e=>e.closeWidget())),v.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:a.a.and(H.b.inPeekEditor,a.a.not("config.editor.stablePeek"))}),v.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:a.a.and(J,a.a.not("config.editor.stablePeek"))}),v.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:a.a.and(J,W.e),handler(e){var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.revealReference(i[0]))}}),v.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:a.a.and(J,W.e),handler(e){var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.openReference(i[0],!0,!0))}}),O.a.registerCommand("openReference",e=>{var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.openReference(i[0],!1,!0))})},"41a0":function(e,t,i){},4220:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return i.e("chunk-2d0ea098").then(i.bind(null,"8fa5"))}})},"42e39":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("308f");class o{constructor(e,t,i,n,o,s){this._scrollStateBrand=void 0,e|=0,n|=0,o|=0,s|=0,(i=(t|=0)<(this.rawScrollLeft=i|=0)+(e=e<0?0:e)?t-e:i)<0&&(i=0),(s=o<(this.rawScrollTop=s)+(n=n<0?0:n)?o-n:s)<0&&(s=0),this.width=e,this.scrollWidth=t,this.scrollLeft=i,this.height=n,this.scrollHeight=o,this.scrollTop=s}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o((void 0!==e.width?e:this).width,(void 0!==e.scrollWidth?e:this).scrollWidth,t?this.rawScrollLeft:this.scrollLeft,(void 0!==e.height?e:this).height,(void 0!==e.scrollHeight?e:this).scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){var i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,s=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,a=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:o,heightChanged:s,scrollHeightChanged:r,scrollTopChanged:a}}}class s extends i("a666").a{constructor(e,t){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new n.b),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new o(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){e=this._state.withScrollDimensions(e,t),this._setState(e,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){e=this._state.withScrollPosition(e),this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(e,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:(void 0===e.scrollLeft?this._smoothScrolling.to:e).scrollLeft,scrollTop:(void 0===e.scrollTop?this._smoothScrolling.to:e).scrollTop};var i=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===i.scrollLeft&&this._smoothScrolling.to.scrollTop===i.scrollTop)return;let n;n=t?new l(this._smoothScrolling.from,i,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,i,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=n}else t=this._state.withScrollPosition(e),this._smoothScrolling=l.start(this._state,t,this._smoothScrollDuration);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){var e,t;this._smoothScrolling&&(e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e),this._setState(t,!0),this._smoothScrolling&&(e.isDone?(this._smoothScrolling.dispose(),this._smoothScrolling=null):this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})))}_setState(e,t){const i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class r{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function a(e,t){const i=t-e;return function(t){return e+i*(1-function(e){return Math.pow(e,3)}(1-t))}}class l{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){var n,o,s;if(2.5*i{e.hasChanged(42)&&this._updateFont()})),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){var e;return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(n.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),(e=()=>{var[e,t]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(e),this._label.innerText=Object(n.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null==(e=this._keybindingService.lookupKeybinding(e))?void 0:e.getLabel(),null==(e=this._keybindingService.lookupKeybinding(t))?void 0:e.getLabel())})(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(e){var t;if(this._input&&this._domNode){var i=e.getColor(h.Nc);this._domNode.style.backgroundColor=String(null!=(t=e.getColor(h.Y))?t:""),this._domNode.style.boxShadow=i?" 0 0 8px 2px "+i:"",this._domNode.style.color=String(null!=(t=e.getColor(h.lb))?t:""),this._input.style.backgroundColor=String(null!=(i=e.getColor(h.jb))?i:"");const n=e.getColor(h.kb);this._input.style.borderWidth=n?"1px":"0px",this._input.style.borderStyle=n?"solid":"none",this._input.style.borderColor=null!=(t=null===n||void 0===n?void 0:n.toString())?t:"none"}}_updateFont(){var e;this._input&&this._label&&(e=this._editor.getOption(42),this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px")}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,i,n,o,s){this._domNode.classList.toggle("preview",o),this._position=new d.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",i.toString()),this._input.setAttribute("selectionEnd",n.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const r=new l.b;return new Promise(e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=i=>{0===this._input.value.trim().length||this._input.value===t?this.cancelInput(!0):(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&i}))},s.onCancellationRequested(()=>this.cancelInput(!0)),r.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{r.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};f=g([p(2,c.b),p(3,u.a),p(4,s.b)],f);var _=i("b707"),b=i("3813"),v=i("6a89"),C=i("351f"),w=i("bc04"),y=(g=i("b0cd"),i("c7f5")),S=i("6d8e"),L=i("5717"),x=i("2504"),k=i("5fe7"),D=(c=i("d3d7"),u=i("0a0f"),p=i("89cd"),i("0910")),N=i("7b4a"),O=i("ef8e9"),E=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._dispoableStore.add(this._instaService.createInstance(f,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(t){return t.getContribution(e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return I(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),this.editor.hasModel()){var e=this.editor.getPosition();const o=new M(this.editor.getModel(),e);if(o.hasProvider()){let s;this._cts=new w.b(this.editor,5);try{var i=o.resolveRenameLocation(this._cts.token);this._progressService.showWhile(i,250),s=yield i}catch(t){return void C.a.get(this.editor).showMessage(t||n.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(s)if(s.rejectReason)C.a.get(this.editor).showMessage(s.rejectReason,e);else if(!this._cts.token.isCancellationRequested){this._cts.dispose(),this._cts=new w.b(this.editor,5,s.range),i=this.editor.getSelection();let t=0,r=s.text.length;v.a.isEmpty(i)||v.a.spansMultipleLines(i)||!v.a.containsRange(s.range,i)||(t=Math.max(0,i.startColumn-s.range.startColumn),r=Math.min(s.range.endColumn,i.endColumn)-s.range.startColumn),e=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview");const a=yield this._renameInputField.value.getInput(s.range,s.text,t,r,e,this._cts.token);if("boolean"!=typeof a)return this.editor.focus(),i=Object(k.l)(o.provideRenameEdits(a.newName,this._cts.token),this._cts.token).then(e=>I(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):this._bulkEditService.apply(y.b.convert(e),{editor:this.editor,showPreview:a.wantsPreview,label:n.a("label","Renaming '{0}'",null===s||void 0===s?void 0:s.text),quotableLabel:n.a("quotableLabel","Renaming {0}",null===s||void 0===s?void 0:s.text)}).then(e=>{e.ariaSummary&&Object(b.a)(n.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",s.text,a.newName,e.ariaSummary))}).catch(e=>{this._notificationService.error(n.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)}))})),e=>{this._notificationService.error(n.a("rename.failed","Rename failed to compute edits")),this._logService.error(e)}),this._progressService.showWhile(i,250),i;a&&this.editor.focus()}}}}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};A.ID="editor.contrib.renameController",A=i([E(1,u.a),E(2,g.a),E(3,y.a),E(4,t.a),E(5,c.b),E(6,N.a)],A);class R extends r.b{constructor(){super({id:"editor.action.rename",label:n.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:s.a.and(a.a.writable,a.a.hasRenameProvider),kbOpts:{kbExpr:a.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const i=e.get(L.a),[n,s]=Array.isArray(t)&&t||[void 0,void 0];return S.a.isUri(n)&&d.a.isIPosition(s)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(s),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},o.f):super.runCommand(e,t)}run(e,t){const i=A.get(t);return i?i.run():Promise.resolve()}}Object(r.l)(A.ID,A),Object(r.j)(R);const P=r.c.bindToContribution(A.get);Object(r.k)(new P({id:"acceptRenameInput",precondition:m,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:a.a.focus,primary:3}})),Object(r.k)(new P({id:"acceptRenameInputWithPreview",precondition:s.a.and(m,s.a.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:a.a.focus,primary:1027}})),Object(r.k)(new P({id:"cancelRenameInput",precondition:m,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:a.a.focus,primary:9,secondary:[1033]}})),Object(r.n)("_executeDocumentRenameProvider",(function(e,t,...i){var[i]=i;return Object(O.c)("string"==typeof i),T(e,t,i)})),p.a.as(D.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:n.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},"44c7":function(e,t,i){},4779:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o})),t=i("4fc3"),i=i("0a0f");const n=Object(i.c)("accessibilityService"),o=new t.c("accessibilityModeEnabled",!1)},"47cb":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("labelService")},4816:function(e,t,i){"use strict";i.r(t),i("41a0");var n=i("11f7"),o=i("6653"),s=i("31df"),r=i("3813"),a=(t=i("1b7d"),i("a666")),l=i("30db"),d=i("3742"),h=i("6d8e"),c=i("b2cc"),u=i("c101"),g=i("93ba"),p=i("4fc3"),m=i("0a0f"),f=i("6dec"),_=i("5bd7"),b=i("303e"),v=i("b7d0"),C=i("03d9"),w=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._isVisible&&this._layout()})),this._register(n.o(this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&(Object(r.a)(C.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),n.t(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(r.a)(C.a.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(h.a.parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,i){let n=this._keybindingService.lookupKeybinding(e);return n?d.v(t,n.getAriaLabel()):d.v(i,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let i=0;if(t){const e=this._editor.getModel();e&&t.forEach(t=>{i+=e.getValueLengthInRange(t)})}o=t,a=i;let n=o&&0!==o.length?1===o.length?a?d.v(C.a.singleSelectionRange,o[0].positionLineNumber,o[0].positionColumn,a):d.v(C.a.singleSelection,o[0].positionLineNumber,o[0].positionColumn):a?d.v(C.a.multiSelectionRange,o.length,a):0e.hide(),kbOpts:{weight:200,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(v.f)((e,t)=>{var i=e.getColor(b.Y);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${i}; }`),i=e.getColor(b.ab),i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`),i=e.getColor(b.Nc),i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${i}; }`),i=e.getColor(b.h);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${i}; }`)})},"49d9":function(e,t,i){"use strict";function n(e,t,i){return Math.min(Math.max(e,t),i)}i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}));class o{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}get value(){return this._val}}},"4a64":function(e,t,i){"use strict";i.d(t,"a",(function(){return le})),i("94a7");var n=i("dff7"),o=i("11f7"),s=i("6653"),r=i("70c3"),a=i("5fe7"),l=i("308f"),d=(t=i("a666"),i("1ddc")),h=i("bc04"),c=i("5717"),u=i("9c1d"),g=(i("0d30"),i("5aa5")),p=i("1898"),m=i("f070"),f=i("b2cc"),_=i("fd49"),b=i("e1b5"),v=i("7061"),C=i("918c"),w=i("6da2"),y=i("a8d0"),S=i("4fc3"),L=i("303e"),x=i("b7d0"),k=i("561a"),D=i("bf5b"),N=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class O{constructor(e,t,i,n){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=i,this.modifiedLineEnd=n}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class E{constructor(e){this.entries=e}}const I=Object(D.b)("diff-review-insert",k.b.add,n.a("diffReviewInsertIcon","Icon for 'Insert' in diff review.")),M=Object(D.b)("diff-review-remove",k.b.remove,n.a("diffReviewRemoveIcon","Icon for 'Remove' in diff review.")),T=Object(D.b)("diff-review-close",k.b.close,n.a("diffReviewCloseIcon","Icon for 'Close' in diff review."));class A extends t.a{constructor(e){super(),this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=Object(s.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(s.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new g.a(this.actionBarContainer.domNode)),this._actionBar.push(new m.a("diffreview.close",n.a("label.close","Close"),"close-diff-review "+x.d.asClassName(T),!0,()=>N(this,void 0,void 0,(function*(){return this.hide()}))),{label:!1,icon:!0}),this.domNode=Object(s.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(s.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new p.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(o.o(this.domNode.domNode,"click",e=>{e.preventDefault(),e=o.x(e.target,"diff-review-row"),e&&this._goToRow(e)})),this._register(o.o(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,i=this._diffs.length;en&&(r=n-d,d+=r,m+=r),m>o&&(a=o-m,d+=a,m+=a),g[p++]=new O(u,d,h,m)}n[o++]=new E(g)}let g=n[0].entries,p=[],m=0;for(let f=1,_=n.length;f<_;f++){const e=n[f].entries,t=g[g.length-1],i=e[0];0===t.getType()&&0===i.getType()&&i.originalLineStart<=t.originalLineEnd?(g[g.length-1]=new O(t.originalLineStart,i.originalLineEnd,t.modifiedLineStart,i.modifiedLineEnd),g=g.concat(e.slice(1))):(p[m++]=new E(g),g=e)}return p[m++]=new E(g),p}_findDiffIndex(e){var t=e.lineNumber;for(let n=0,o=this._diffs.length;ny)&&(y=g),0!==p&&(0===S||pL)&&(L=c)}let x=document.createElement("div"),k=(x.className="diff-review-row",document.createElement("div"));k.className="diff-review-cell diff-review-summary";var m=y-w+1,f=L-S+1,_=(k.appendChild(document.createTextNode(`${l+1}/${this._diffs.length}: @@ -${w},${m} +${S},${f} @@`)),x.setAttribute("data-line",String(S)),e=>0===e?n.a("no_lines_changed","no lines changed"):1===e?n.a("one_line_changed","1 line changed"):n.a("more_lines_changed","{0} lines changed",e)),b=(m=_(m),_=_(f),x.setAttribute("aria-label",n.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",l+1,this._diffs.length,w,m,S,_)),x.appendChild(k),x.setAttribute("role","listitem"),C.appendChild(x),t.get(58));let D=S;for(let n=0,o=h.length;ne}),Object(x.f)((e,t)=>{var i=e.getColor(C.r);i&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${i}; }`),i=e.getColor(L.yc);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)});class R extends f.b{constructor(){super({id:"editor.action.diffReview.next",label:n.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:S.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const i=F(e);i&&i.diffReviewNext()}}class P extends f.b{constructor(){super({id:"editor.action.diffReview.prev",label:n.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:S.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const i=F(e);i&&i.diffReviewPrev()}}function F(e){const t=e.get(c.a);var i=t.listDiffEditors();const n=t.getActiveCodeEditor();if(n)for(let o=0,s=i.length;os.modifiedStartLineNumber?n.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):n.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e=new B.a(s.originalStartLineNumber,1,s.originalEndLineNumber+1,1);e=s.originalModel.getValueInRange(e);yield this._clipboardService.writeText(e)}))));let c=0,u=void 0;s.originalEndLineNumber>s.modifiedStartLineNumber&&(u=new m.a("diff.clipboard.copyDeletedLineContent",n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",s.originalStartLineNumber),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e=s.originalModel.getLineContent(s.originalStartLineNumber+c);yield this._clipboardService.writeText(e)}))),h.push(u)),i.getOption(80)||h.push(new m.a("diff.inline.revertChange",n.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e,t=new B.a(s.originalStartLineNumber,1,s.originalEndLineNumber,s.originalModel.getLineMaxColumn(s.originalEndLineNumber));t=s.originalModel.getValueInRange(t);0===s.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(s.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new B.a(s.modifiedStartLineNumber,e,s.modifiedStartLineNumber,e),text:d+t}])):(e=i.getModel().getLineMaxColumn(s.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new B.a(s.modifiedStartLineNumber,1,s.modifiedEndLineNumber,e),text:t}]))}))));const g=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(u&&(u.label=n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",s.originalStartLineNumber+c)),h),autoSelectFirstItem:!0})};this._register(o.o(this._diffActions,"mousedown",e=>{var{top:t,height:i}=o.D(this._diffActions),n=Math.floor(l/3);e.preventDefault(),g(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId!==this._viewZoneId?this.visibility=!1:(this.visibility=!0,c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l))})),this._register(i.onMouseDown(e=>{!e.event.rightButton||8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===this._viewZoneId&&(e.event.preventDefault(),c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l),g(e.event.posx,e.event.posy+l))}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,i){e=o.D(e)["top"];var n=Math.floor((t-e)/i);if(this._diffActions.style.top=n*i+"px",this.diff.viewLineCounts){let e=0;for(let t=0;t!this._zonesMap[String(e.id)])}clean(e){0{for(const t of this._zones)e.removeZone(t)}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,i,n){const o=n?h.c.capture(e):null;e.changeViewZones(t=>{for(const e of this._zones)t.removeZone(e);for(const e of this._inlineDiffMargins)e.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let o=0,s=i.zones.length;oe});let le=class e extends t.a{constructor(t,i,n,r,d,h,c,u,g,p,m,b){super(),this._editorProgressService=b,this._onDidDispose=this._register(new l.b),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new l.b),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new l.b),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=d,this._codeEditorService=u,this._contextKeyService=this._register(h.createScoped(t)),this._instantiationService=c.createChild(new q.a([S.b,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=g,this._notificationService=p,this._id=++oe,this._state=0,this._updatingDiffProgress=null,this._domElement=t,i=i||{},this._renderSideBySide=!0,void 0!==i.renderSideBySide&&(this._renderSideBySide=i.renderSideBySide),this._maxComputationTime=5e3,void 0!==i.maxComputationTime&&(this._maxComputationTime=i.maxComputationTime),this._ignoreTrimWhitespace=!0,void 0!==i.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=i.ignoreTrimWhitespace),this._renderIndicators=!0,void 0!==i.renderIndicators&&(this._renderIndicators=i.renderIndicators),this._originalIsEditable=Object(_.k)(i.originalEditable,!1),this._diffCodeLens=Object(_.k)(i.diffCodeLens,!1),this._diffWordWrap=be(i.diffWordWrap,"inherit"),void 0!==i.isInEmbeddedEditor?this._contextKeyService.createKey("isInEmbeddedDiffEditor",i.isInEmbeddedEditor):this._contextKeyService.createKey("isInEmbeddedDiffEditor",!1),this._renderOverviewRuler=!0,void 0!==i.renderOverviewRuler&&(this._renderOverviewRuler=Boolean(i.renderOverviewRuler)),this._updateDecorationsRunner=this._register(new a.e(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(s.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(o.o(this._overviewDomElement,"mousedown",e=>{this._modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),this._renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new ne(m,r),this._modifiedEditorState=new ne(m,r),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new ee.a(this._containerDomElement,i.dimension,()=>this._onDidContainerSizeChanged())),i.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(i,n.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(i,n.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new A(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,void 0!==i.enableSplitViewResizing&&(this._enableSplitViewResizing=i.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new pe(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._register(g.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));for(const e of f.d.getDiffEditorContributions())try{this._register(c.createInstance(e.ctor,this))}catch(t){Object(Q.f)(t)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let i="monaco-diff-editor monaco-editor-background ";return t&&(i+="side-by-side "),i+Object(x.e)(e.type)}_recreateOverviewRulers(){this._renderOverviewRuler&&(this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(t,i){const n=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(t),i),o=(this._register(n.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(42)&&this._updateDecorationsRunner.schedule(),e.hasChanged(131)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._contextKeyService.createKey("isInDiffLeftEditor",n.hasWidgetFocus()));return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{var i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),n}_createRightHandSideEditor(t,i){const n=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t),i),o=(this._register(n.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(42)&&this._updateDecorationsRunner.schedule(),e.hasChanged(131)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(n.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()})),this._contextKeyService.createKey("isInDiffRightEditor",n.hasWidgetFocus()));return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{var i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),n}_createInnerEditor(e,t,i,n){return e.createInstance(u.a,t,i,n)}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._renderOverviewRuler&&this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this._originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this._modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return W.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this._originalEditor}getModifiedEditor(){return this._modifiedEditor}updateOptions(t){let i=!1,n=(void 0!==t.renderSideBySide&&this._renderSideBySide!==t.renderSideBySide&&(this._renderSideBySide=t.renderSideBySide,i=!0),void 0!==t.maxComputationTime&&(this._maxComputationTime=t.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon()),!1);void 0!==t.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==t.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=t.ignoreTrimWhitespace,n=!0),void 0!==t.renderIndicators&&this._renderIndicators!==t.renderIndicators&&(this._renderIndicators=t.renderIndicators,n=!0),n&&this._beginUpdateDecorations(),this._originalIsEditable=Object(_.k)(t.originalEditable,this._originalIsEditable),this._diffCodeLens=Object(_.k)(t.diffCodeLens,this._diffCodeLens),this._diffWordWrap=be(t.diffWordWrap,this._diffWordWrap),this._modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t)),this._originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t)),void 0!==t.enableSplitViewResizing&&(this._enableSplitViewResizing=t.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),i&&(this._renderSideBySide?this._setStrategy(new pe(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)),void 0!==t.renderOverviewRuler&&this._renderOverviewRuler!==t.renderOverviewRuler&&(this._renderOverviewRuler=t.renderOverviewRuler,this._renderOverviewRuler?this._containerDomElement.appendChild(this._overviewDomElement):this._containerDomElement.removeChild(this._overviewDomElement))}getModel(){return{original:this._originalEditor.getModel(),modified:this._modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this._originalEditor.setModel(e?e.original:null),this._modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this._originalEditor.setScrollTop(0),this._modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this._modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._modifiedEditor.getPosition()}setPosition(e){this._modifiedEditor.setPosition(e)}revealLine(e,t=0){this._modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this._modifiedEditor.getSelection()}getSelections(){return this._modifiedEditor.getSelections()}setSelection(e){this._modifiedEditor.setSelection(e)}setSelections(e){this._modifiedEditor.setSelections(e)}revealLines(e,t,i=0){this._modifiedEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._modifiedEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._modifiedEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._modifiedEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._modifiedEditor.getSupportedActions()}saveViewState(){return{original:this._originalEditor.saveViewState(),modified:this._modifiedEditor.saveViewState()}}restoreViewState(e){e&&e.original&&e.modified&&(this._originalEditor.restoreViewState((e=e).original),this._modifiedEditor.restoreViewState(e.modified))}layout(e){this._elementSizeObserver.observe(e)}focus(){this._modifiedEditor.focus()}hasTextFocus(){return this._originalEditor.hasTextFocus()||this._modifiedEditor.hasTextFocus()}trigger(e,t,i){this._modifiedEditor.trigger(e,t,i)}changeDecorations(e){return this._modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){var t,i,n;this._renderOverviewRuler&&this._originalOverviewRuler&&this._modifiedOverviewRuler&&(t=this._elementSizeObserver.getHeight(),i=this._getReviewHeight(),n=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH,this._modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:n+e.ONE_OVERVIEW_WIDTH,height:t-i}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-i})))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this._originalEditor.getModel(),i=this._modifiedEditor.getModel();if(t&&i){this._diffComputationToken++;const o=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(t.uri,i.uri)?this._editorWorkerService.computeDiff(t.uri,i.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(e=>{o===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{o===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(i.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=i.uri,this._notificationService.warn(n.a("diff.tooLarge","Cannot compare files because one file is too large.")))}}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(this._originalEditor.getModel()&&this._modifiedEditor.getModel()){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),i=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces());e=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,i);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,e.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,e.modified,!0)}finally{this._currentlyChangingViewZones=!1}}}_adjustOptionsForSubEditor(e){const t=Object.assign({},e);return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar=Object.assign({},t.scrollbar||{}),t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=this._diffCodeLens,t.fixedOverflowWidgets=!0,t.minimap=Object.assign({},t.minimap||{}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e){const t=this._adjustOptionsForSubEditor(e);return this._renderSideBySide?t.wordWrapOverride1=this._diffWordWrap:t.wordWrapOverride1="off",e.originalAriaLabel&&(t.ariaLabel=e.originalAriaLabel),t.readOnly=!this._originalIsEditable,t.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}_adjustOptionsForRightHandSide(t){const i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.wordWrapOverride1=this._diffWordWrap,i.revealHorizontalRightPadding=_.g.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},i),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){var t=this._elementSizeObserver.getWidth(),i=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=i-n+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:o,height:i-n}),this._modifiedEditor.layout({width:t-o-(this._renderOverviewRuler?e.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:i-n}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(i-n,t,n),this._layoutOverviewViewport()}_layoutOverviewViewport(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){var e,t,i,n=this._modifiedEditor.getLayoutInfo();return n?(e=this._modifiedEditor.getScrollTop(),t=this._modifiedEditor.getScrollHeight(),i=Math.max(0,n.height),i=Math.max(0,+i),i=0this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),(this._strategy=e).applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){var i=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===i.length||ee.originalStartLineNumber);return o?(n=o.originalStartLineNumber+(0e.modifiedStartLineNumber);return o?(t=o.originalStartLineNumber+(0e.afterLineNumber-t.afterLineNumber),n=n.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),n=this._getViewZones(e,n,o,i),o=this._getOriginalEditorDecorations(e,t,i),e=this._getModifiedEditorDecorations(e,t,i),{original:{decorations:o.decorations,overviewZones:o.overviewZones,zones:n.original},modified:{decorations:e.decorations,overviewZones:e.overviewZones,zones:n.modified}}}}class he{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexe.afterLineNumber-t.afterLineNumber,_=(e,t)=>{if(null===t.domNode&&0=t.heightInLines?(e.heightInLines-=t.heightInLines,T++):(t.heightInLines-=e.heightInLines,M++)}for(;M(e.domNode||(e.domNode=we()),e))}}function ue(e,t,i,n,o){return{range:new B.a(e,t,i,n),options:o}}const ge={charDelete:V.a.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:V.a.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:V.a.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:V.a.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:V.a.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:V.a.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+x.d.asClassName(se),marginClassName:"line-insert",isWholeLine:!0}),lineDelete:V.a.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:V.a.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+x.d.asClassName(re),marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:V.a.register({description:"diff-editor-line-delete-margin",marginClassName:"line-delete"})};class pe extends de{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new r.b(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(e=>this._onSashDrag(e)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(e){e=!1===e,this._disableSash!==e&&(this._disableSash=e,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){var t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?le.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let i=Math.floor((e||.5)*t);return e=Math.floor(.5*t),i=!this._disableSash&&i||e,t>2*pe.MINIMUM_EDITOR_WIDTH?(i=it-pe.MINIMUM_EDITOR_WIDTH&&(i=t-pe.MINIMUM_EDITOR_WIDTH):i=e,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(e){var t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?le.ENTIRE_DIFF_OVERVIEW_WIDTH:0);e=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=e/t,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,i){var n=this._dataSource.getOriginalEditor(),o=this._dataSource.getModifiedEditor();const s=new me(e,t,i,n,o);return s.getViewZones()}_getOriginalEditorDecorations(e,t,i){const n=this._dataSource.getOriginalEditor();var o=String(this._removeColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(Ce(d)){s.decorations.push({range:new B.a(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824),options:i?ge.lineDeleteWithSign:ge.lineDelete}),ve(d)&&d.charChanges||s.decorations.push(ue(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824,ge.charDeleteWholeLine));var l=ye(r,a,d.originalStartLineNumber,d.originalEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges)for(const e of d.charChanges)if(Ce(e))if(t)for(let t=e.originalStartLineNumber;t<=e.originalEndLineNumber;t++){let i,n;i=t===e.originalStartLineNumber?e.originalStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.originalEndLineNumber?e.originalEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charDelete))}else s.decorations.push(ue(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn,ge.charDelete))}return s}_getModifiedEditorDecorations(e,t,i){const n=this._dataSource.getModifiedEditor();var o=String(this._insertColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(ve(d)){s.decorations.push({range:new B.a(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824),options:i?ge.lineInsertWithSign:ge.lineInsert}),Ce(d)&&d.charChanges||s.decorations.push(ue(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824,ge.charInsertWholeLine));var l=ye(r,a,d.modifiedStartLineNumber,d.modifiedEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges)for(const e of d.charChanges)if(ve(e))if(t)for(let t=e.modifiedStartLineNumber;t<=e.modifiedEndLineNumber;t++){let i,n;i=t===e.modifiedStartLineNumber?e.modifiedStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.modifiedEndLineNumber?e.modifiedEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charInsert))}else s.decorations.push(ue(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn,ge.charInsert))}return s}}pe.MINIMUM_EDITOR_WIDTH=100;class me extends ce{constructor(e,t,i,n,o){super(e,t,i,n,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,i){return t{this._decorationsLeft!==t.decorationsLeft&&(this._decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,i,n){var o=this._dataSource.getOriginalEditor(),s=this._dataSource.getModifiedEditor();const r=new _e(e,t,i,o,s,n);return r.getViewZones()}_getOriginalEditorDecorations(e,t,i){var n=String(this._removeColor);const o={decorations:[],overviewZones:[]},s=this._dataSource.getOriginalEditor();var r,a=s.getModel(),l=s._getViewModel();for(const d of e)Ce(d)&&(o.decorations.push({range:new B.a(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824),options:ge.lineDeleteMargin}),r=ye(a,l,d.originalStartLineNumber,d.originalEndLineNumber),o.overviewZones.push(new z.a(r.startLineNumber,r.endLineNumber,n)));return o}_getModifiedEditorDecorations(e,t,i){const n=this._dataSource.getModifiedEditor();var o=String(this._insertColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(ve(d)){s.decorations.push({range:new B.a(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824),options:i?ge.lineInsertWithSign:ge.lineInsert});var l=ye(r,a,d.modifiedStartLineNumber,d.modifiedEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges){for(const e of d.charChanges)if(ve(e))if(t)for(let t=e.modifiedStartLineNumber;t<=e.modifiedEndLineNumber;t++){let i,n;i=t===e.modifiedStartLineNumber?e.modifiedStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.modifiedEndLineNumber?e.modifiedEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charInsert))}else s.decorations.push(ue(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn,ge.charInsert))}else s.decorations.push(ue(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824,ge.charInsertWholeLine))}return s}layout(){return Math.max(5,this._decorationsLeft)}}class _e extends ce{constructor(e,t,i,n,o,s){super(e,t,i,n,o),this._originalModel=n.getModel(),this._renderIndicators=s,this._pendingLineChange=[],this._pendingViewZones=[],this._lineBreaksComputer=this._modifiedEditor._getViewModel().createLineBreaksComputer()}getViewZones(){var e=super.getViewZones();return this._finalize(e),e}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){const e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,i){const n=document.createElement("div");return n.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:i,domNode:document.createElement("div"),marginDomNode:n}}_produceModifiedFromDiff(e,t,i){const n=document.createElement("div"),o=(n.className="view-lines line-delete "+te.a,document.createElement("div"));o.className="inline-deleted-margin-view-zone",t={shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:0,domNode:n,marginDomNode:o,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalModel:this._originalModel,viewLineCounts:null}};for(let s=e.originalStartLineNumber;s<=e.originalEndLineNumber;s++)this._lineBreaksComputer.addRequest(this._originalModel.getLineContent(s),null,null);return this._pendingLineChange.push(e),this._pendingViewZones.push(t),t}_finalize(e){const t=this._modifiedEditor.getOptions();var i=this._modifiedEditor.getModel().getOptions().tabSize,n=t.get(42),o=t.get(28),s=n.typicalHalfwidthCharacterWidth,r=t.get(93),a=this._originalModel.mightContainNonBasicASCII(),l=this._originalModel.mightContainRTL(),h=t.get(58),c=t.get(130).decorationsWidth,u=t.get(105),g=t.get(88),p=t.get(82),m=t.get(43),f=this._lineBreaksComputer.finalize();let _=0;for(let O=0;Oe.afterLineNumber-t.afterLineNumber)}_renderOriginalLine(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p,m,f,b){f.appendASCIIString('
'),o=y.f.isBasicASCII(t,s),s=y.f.containsRTL(t,o,r);const v=Object(w.d)(new w.c(a.isMonospace&&!l,a.canUseHalfwidthRightwardsArrow,t,!1,o,s,0,i,n,m,0,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,c,u,g,p!==_.e.OFF,null),f);if(f.appendASCIIString("
"),this._renderIndicators){const t=document.createElement("div");t.className="delete-sign "+x.d.asClassName(re),t.setAttribute("style",`position:absolute;top:${e*d}px;width:${h}px;height:${d}px;right:0;`),b.appendChild(t)}return v.characterMapping.getAbsoluteOffset(v.characterMapping.length)}}function be(e,t){return Object(_.n)(e,t,["off","on","inherit"])}function ve(e){return 0{var i=e.getColor(L.m);i&&(t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${i}; }`)),i=e.getColor(L.o),i&&(t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i}; }`)),i=e.getColor(L.n),i&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${i}; }`),i=e.getColor(L.p),i&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${i}; }`),i=e.getColor(L.yc),i&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${i}; }`),i=e.getColor(L.k),i&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${i}; }`),i=e.getColor(L.Ac),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.Bc),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.zc),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.l);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${i} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${i} 50%, ${i} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)})},"4acc":function(e,t,i){e.exports=function(){"use strict";function e(e,t){for(var i=0;ie.length)&&(t=e.length);for(var i=0,n=new Array(t);i=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s={exports:{}};function r(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function a(e){s.exports.defaults=e}s.exports={defaults:r(),getDefaults:r,changeDefaults:a};var l=/[&<>"']/,d=/[&<>"']/g,h=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(e){return u[e]};function p(e,t){if(t){if(l.test(e))return e.replace(d,g)}else if(h.test(e))return e.replace(c,g);return e}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(e){return e.replace(m,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var _=/(^|[^\[])\^/g;function b(e,t){e=e.source||e,t=t||"";var i={replace:function(t,n){return n=n.source||n,n=n.replace(_,"$1"),e=e.replace(t,n),i},getRegex:function(){return new RegExp(e,t)}};return i}var v=/[^\w:]/g,C=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,i){if(e){var n;try{n=decodeURIComponent(f(i)).replace(v,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!C.test(i)&&(i=k(t,i));try{i=encodeURI(i).replace(/%25/g,"%")}catch(e){return null}return i}var y={},S=/^[^:]+:\/*[^/]*$/,L=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function k(e,t){y[" "+e]||(S.test(e)?y[" "+e]=e+"/":y[" "+e]=O(e,"/",!0)),e=y[" "+e];var i=-1===e.indexOf(":");return"//"===t.substring(0,2)?i?t:e.replace(L,"$1")+t:"/"===t.charAt(0)?i?t:e.replace(x,"$1")+t:e+t}function D(e){for(var t,i,n=1;n=0&&"\\"===i[o])n=!n;return n?"|":" |"})),n=i.split(/ \|/),o=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else while(n.length1)1&t&&(i+=e),t>>=1,e+=e;return i+e}var T={escape:p,unescape:f,edit:b,cleanUrl:w,resolveUrl:k,noopTest:{exec:function(){}},merge:D,splitCells:N,rtrim:O,findClosingBracket:E,checkSanitizeDeprecation:I,repeatString:M},A=s.exports.defaults,R=T.rtrim,P=T.splitCells,F=T.escape,B=T.findClosingBracket;function j(e,t,i,n){var o=t.href,s=t.title?F(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?(n.state.inLink=!0,{type:"link",raw:i,href:o,title:s,text:r,tokens:n.inlineTokens(r,[])}):{type:"image",raw:i,href:o,title:s,text:F(r)}}function W(e,t){var i=e.match(/^(\s+)(?:```)/);if(null===i)return t;var n=i[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var i=t[0];return i.length>=n.length?e.slice(n.length):e})).join("\n")}var V=function(){function e(e){this.options=e||A}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:R(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var i=t[0],n=W(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var i=t[2].trim();if(/#$/.test(i)){var n=R(i,"#");this.options.pedantic?i=n.trim():n&&!/ $/.test(n)||(i=n.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var i=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(i,[]),text:i}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var i,n,o,s,r,a,l,d,h,c,u=t[1].trim(),g=u.length>1,p={type:"list",raw:"",ordered:g,start:g?+u.slice(0,-1):"",loose:!1,items:[]};u=g?"\\d{1,9}\\"+u.slice(-1):"\\"+u,this.options.pedantic&&(u=g?u:"[*+-]");var m=new RegExp("^( {0,3}"+u+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");while(e){if(this.rules.block.hr.test(e))break;if(!(t=m.exec(e)))break;h=t[2].split("\n"),this.options.pedantic?(s=2,c=h[0].trimLeft()):(s=t[2].search(/[^ ]/),s=t[1].length+(s>4?1:s),c=h[0].slice(s-t[1].length)),a=!1,i=t[0],!h[0]&&/^ *$/.test(h[1])&&(i=t[1]+h.slice(0,2).join("\n")+"\n",p.loose=!0,h=[]);var f=new RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(r=1;r=s)&&d.trim()){i=t[1]+h.slice(0,r).join("\n")+"\n";break}c+="\n"+d.slice(s)}else d.trim()||(a=!0),d.search(/[^ ]/)>=s?c+="\n"+d.slice(s):c+="\n"+d}p.loose||(l?p.loose=!0:/\n *\n *$/.test(i)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(c),n&&(o="[ ] "!==n[0],c=c.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:i,task:!!n,checked:o,loose:!1,text:c}),p.raw+=i,e=e.slice(i.length)}p.items[p.items.length-1].raw=i.trimRight(),p.items[p.items.length-1].text=c.trimRight(),p.raw=p.raw.trimRight();var _=p.items.length;for(r=0;r<_;r++)this.lexer.state.top=!1,p.items[r].tokens=this.lexer.blockTokens(p.items[r].text,[]),p.items[r].tokens.some((function(e){return"space"===e.type}))&&(p.loose=!0,p.items[r].loose=!0);return p}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t){var i={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(i.type="paragraph",i.text=this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]),i.tokens=[],this.lexer.inline(i.text,i.tokens)),i}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var i=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:i,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var i={type:"table",header:P(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=t[0];var n,o,s,r,a=i.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]):t[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;var n=R(i.slice(0,-1),"\\");if((i.length-n.length)%2===0)return}else{var o=B(t[2],"()");if(o>-1){var s=0===t[0].indexOf("!")?5:4,r=s+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,r).trim(),t[3]=""}}var a=t[2],l="";if(this.options.pedantic){var d=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);d&&(a=d[1],l=d[3])}else l=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(i)?a.slice(1):a.slice(1,-1)),j(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},t.reflink=function(e,t){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var n=(i[2]||i[1]).replace(/\s+/g," ");if(n=t[n.toLowerCase()],!n||!n.href){var o=i[0].charAt(0);return{type:"text",raw:o,text:o}}return j(i,n,i[0],this.lexer)}},t.emStrong=function(e,t,i){void 0===i&&(i="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!i.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===i||this.rules.inline.punctuation.exec(i))){var s,r,a=n[0].length-1,l=a,d=0,h="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;h.lastIndex=0,t=t.slice(-1*e.length+a);while(null!=(n=h.exec(t)))if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],s)if(r=s.length,n[3]||n[4])l+=r;else if(!((n[5]||n[6])&&a%3)||(a+r)%3){if(l-=r,!(l>0)){if(r=Math.min(r,r+l+d),Math.min(a,r)%2){var c=e.slice(1,a+n.index+r);return{type:"em",raw:e.slice(0,a+n.index+r+1),text:c,tokens:this.lexer.inlineTokens(c,[])}}var u=e.slice(2,a+n.index+r-1);return{type:"strong",raw:e.slice(0,a+n.index+r+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}}else d+=r}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var i=t[2].replace(/\n/g," "),n=/[^ ]/.test(i),o=/^ /.test(i)&&/ $/.test(i);return n&&o&&(i=i.substring(1,i.length-1)),i=F(i,!0),{type:"codespan",raw:t[0],text:i}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},t.autolink=function(e,t){var i,n,o=this.rules.inline.autolink.exec(e);if(o)return"@"===o[2]?(i=F(this.options.mangle?t(o[1]):o[1]),n="mailto:"+i):(i=F(o[1]),n=i),{type:"link",raw:o[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}},t.url=function(e,t){var i;if(i=this.rules.inline.url.exec(e)){var n,o;if("@"===i[2])n=F(this.options.mangle?t(i[0]):i[0]),o="mailto:"+n;else{var s;do{s=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0]}while(s!==i[0]);n=F(i[0]),o="www."===i[1]?"http://"+n:n}return{type:"link",raw:i[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t){var i,n=this.rules.inline.text.exec(e);if(n)return i=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]):n[0]:F(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}},e}(),H=T.noopTest,z=T.edit,U=T.merge,K={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:H,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/},q=(K.def=z(K.def).replace("label",K._label).replace("title",K._title).getRegex(),K.bullet=/(?:[*+-]|\d{1,9}[.)])/,K.listItemStart=z(/^( *)(bull) */).replace("bull",K.bullet).getRegex(),K.list=z(K.list).replace(/bull/g,K.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+K.def.source+")").getRegex(),K._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K._comment=/|$)/,K.html=z(K.html,"i").replace("comment",K._comment).replace("tag",K._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),K.paragraph=z(K._paragraph).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.blockquote=z(K.blockquote).replace("paragraph",K.paragraph).getRegex(),K.normal=U({},K),K.gfm=U({},K.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)\\|?(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),K.gfm.table=z(K.gfm.table).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.pedantic=U({},K.normal,{html:z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",K._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:H,paragraph:z(K.normal._paragraph).replace("hr",K.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",K.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),{escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:H,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:H,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"}),$=(q.punctuation=z(q.punctuation).replace(/punctuation/g,q._punctuation).getRegex(),q.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,q.escapedEmSt=/\\\*|\\_/g,q._comment=z(K._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),q.emStrong.lDelim=z(q.emStrong.lDelim).replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimAst=z(q.emStrong.rDelimAst,"g").replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimUnd=z(q.emStrong.rDelimUnd,"g").replace(/punct/g,q._punctuation).getRegex(),q._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,q._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,q._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,q.autolink=z(q.autolink).replace("scheme",q._scheme).replace("email",q._email).getRegex(),q._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,q.tag=z(q.tag).replace("comment",q._comment).replace("attribute",q._attribute).getRegex(),q._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,q._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,q._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,q.link=z(q.link).replace("label",q._label).replace("href",q._href).replace("title",q._title).getRegex(),q.reflink=z(q.reflink).replace("label",q._label).getRegex(),q.reflinkSearch=z(q.reflinkSearch,"g").replace("reflink",q.reflink).replace("nolink",q.nolink).getRegex(),q.normal=U({},q),q.pedantic=U({},q.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",q._label).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q._label).getRegex()}),q.gfm=U({},q.normal,{escape:z(q.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),n+="&#"+i+";";return n}var te=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Z,this.options.tokenizer=this.options.tokenizer||new G,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:Y.normal,inline:X.normal};this.options.pedantic?(t.block=Y.pedantic,t.inline=X.pedantic):this.options.gfm&&(t.block=Y.gfm,this.options.breaks?t.inline=X.breaks:t.inline=X.gfm),this.tokenizer.rules=t}e.lex=function(t,i){var n=new e(i);return n.lex(t)},e.lexInline=function(t,i){var n=new e(i);return n.inlineTokens(t)};var i=e.prototype;return i.lex=function(e){var t;e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);while(t=this.inlineQueue.shift())this.inlineTokens(t.src,t.tokens);return this.tokens},i.blockTokens=function(e,t){var i,n,o,s,r=this;void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(i=n.call({lexer:r},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))))if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e))e=e.substring(i.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?t.push(i):(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.list(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.html(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.def(e))e=e.substring(i.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(i=this.tokenizer.table(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.lheading(e))e=e.substring(i.raw.length),t.push(i);else if(o=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,i=e.slice(1),n=void 0;r.options.extensions.startBlock.forEach((function(e){n=e.call({lexer:this},i),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),this.state.top&&(i=this.tokenizer.paragraph(o)))n=t[t.length-1],s&&"paragraph"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i),s=o.length!==e.length,e=e.substring(i.raw.length);else if(i=this.tokenizer.text(e))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return this.state.top=!0,t},i.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},i.inlineTokens=function(e,t){var i,n,o,s=this;void 0===t&&(t=[]);var r,a,l,d=e;if(this.tokens.links){var h=Object.keys(this.tokens.links);if(h.length>0)while(null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(d)))h.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(r=this.tokenizer.rules.inline.blockSkip.exec(d)))d=d.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(d)))d=d.slice(0,r.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(a||(l=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(i=n.call({lexer:s},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))))if(i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(i=this.tokenizer.emStrong(e,d,l))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.autolink(e,ee))e=e.substring(i.raw.length),t.push(i);else if(this.state.inLink||!(i=this.tokenizer.url(e,ee))){if(o=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,i=e.slice(1),n=void 0;s.options.extensions.startInline.forEach((function(e){n=e.call({lexer:this},i),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(o,J))e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(l=i.raw.slice(-1)),a=!0,n=t[t.length-1],n&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:Y,inline:X}}}]),e}(),ie=s.exports.defaults,ne=T.cleanUrl,oe=T.escape,se=function(){function e(e){this.options=e||ie}var t=e.prototype;return t.code=function(e,t,i){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(i=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'
'+(i?e:oe(e,!0))+"
\n":"
"+(i?e:oe(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,i,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,i){var n=t?"ol":"ul",o=t&&1!==i?' start="'+i+'"':"";return"<"+n+o+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var i=t.header?"th":"td",n=t.align?"<"+i+' align="'+t.align+'">':"<"+i+">";return n+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,i){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return i;var n='",n},t.image=function(e,t,i){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return i;var n=''+i+'":">",n},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,i){return""+i},t.image=function(e,t,i){return""+i},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var i=e,n=0;if(this.seen.hasOwnProperty(i)){n=this.seen[e];do{n++,i=e+"-"+n}while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=n,this.seen[i]=0),i},t.slug=function(e,t){void 0===t&&(t={});var i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)},e}(),le=se,de=re,he=ae,ce=s.exports.defaults,ue=T.unescape,ge=te,pe=function(){function e(e){this.options=e||ce,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new de,this.slugger=new he}e.parse=function(t,i){var n=new e(i);return n.parse(t)},e.parseInline=function(t,i){var n=new e(i);return n.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var i,n,o,s,r,a,l,d,h,c,u,g,p,m,f,_,b,v,C,w="",y=e.length;for(i=0;i0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=v+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=v+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:v}):m+=v),m+=this.parse(f.tokens,p),h+=this.renderer.listitem(m,b,_);w+=this.renderer.list(h,u,g);continue;case"html":w+=this.renderer.html(c.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":h=c.tokens?this.parseInline(c.tokens):c.text;while(i+1An error occurred:

    "+we(e.message+"",!0)+"
    ";throw e}}return xe.options=xe.setOptions=function(e){return ve(xe.defaults,e),Se(xe.defaults),xe},xe.getDefaults=ye,xe.defaults=Le,xe.use=function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;nAn error occurred:

    "+we(e.message+"",!0)+"
    ";throw e}},xe.Parser=pe,xe.parser=pe.parse,xe.Renderer=fe,xe.TextRenderer=_e,xe.Lexer=ge,xe.lexer=ge.lex,xe.Tokenizer=me,xe.Slugger=be,xe.parse=xe}()},"4af6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return i.e("chunk-2d0afa49").then(i.bind(null,"0eca"))}})},"4b76":function(e,t,i){"use strict";var n,o,s=i("3742");(i=n=n||{})[i.Ignore=0]="Ignore",i[i.Info=1]="Info",i[i.Warning=2]="Warning",i[i.Error=3]="Error",(o=n=n||{}).fromValue=function(e){return e?s.r("error",e)?o.Error:s.r("warning",e)||s.r("warn",e)?o.Warning:s.r("info",e)?o.Info:o.Ignore:o.Ignore},o.toString=function(e){switch(e){case o.Error:return"error";case o.Warning:return"warning";case o.Info:return"info";default:return"ignore"}},t.a=n},"4c2a":function(e,t,i){"use strict";var n=i("c8df");i.n(n).a},"4d05":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"a",(function(){return l}));var n=i("3742"),o=i("e1b5"),s=i("8bf1");const r={getInitialState:()=>s.c,tokenize2:(e,t,i,n)=>Object(s.e)(0,e,i,n)};function a(e,t=r){{var i=t||r;let d='
    ',h=n.Q(e),c=i.getInitialState();for(let e=0,t=h.length;e");var s=i.tokenize2(t,!0,c,0);o.a.convertToEndOffset(s.tokens,t.length);let r=new o.a(s.tokens,t),u=r.inflate(),g=0;for(let e=0,i=u.getCount();e${n.s(t.substring(g,l))}`,g=l}c=s.endState}return d+="
    "}}function l(e,t,i,n,o,s,r){let a="
    ",l=n,d=0;for(let u=0,g=t.getCount();u${n}`,o=o)break}}return a+"
    "}},"4d3d":function(e,t,i){},"4da7":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:function(){return i.e("chunk-2d21ab79").then(i.bind(null,"bd67"))}})},"4dc7":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s}));class n{constructor(e,t,i){this._tokenBrand=void 0,this.offset=0|e,this.type=t,this.language=i}toString(){return"("+this.offset+", "+this.type+")"}}class o{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class s{constructor(e,t){this._tokenizationResult2Brand=void 0,this.tokens=e,this.endState=t}}},"4fc3":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"c",(function(){return x})),i.d(t,"b",(function(){return k})),i.d(t,"d",(function(){return D})),i.d(t,"e",(function(){return E}));t=i("30db");var n=i("3742");i=i("0a0f");let o=t.k||"";const s=new Map,r=(s.set("false",!1),s.set("true",!0),s.set("isMac",t.f),s.set("isLinux",t.d),s.set("isWindows",t.i),s.set("isWeb",t.h),s.set("isMacNative",t.f&&!t.h),s.set("isEdge",0<=o.indexOf("Edg/")),s.set("isFirefox",0<=o.indexOf("Firefox")),s.set("isChrome",0<=o.indexOf("Chrome")),s.set("isSafari",0<=o.indexOf("Safari")),Object.prototype.hasOwnProperty);class a{static has(e){return c.create(e)}static equals(e,t){return u.create(e,t)}static regex(e,t){return w.create(e,t)}static not(e){return f.create(e)}static and(...e){return S.create(e,null)}static or(...e){return L.create(e,null,!0)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let i=e.split("||");return L.create(i.map(e=>this._deserializeAndExpression(e,t)),null,!0)}static _deserializeAndExpression(e,t){let i=e.split("&&");return S.create(i.map(e=>this._deserializeOne(e,t)),null)}static _deserializeOne(e,t){if(0<=(e=e.trim()).indexOf("!=")){let i=e.split("!=");return m.create(i[0].trim(),this._deserializeValue(i[1],t))}if(0<=e.indexOf("==")){let i=e.split("==");return u.create(i[0].trim(),this._deserializeValue(i[1],t))}if(0<=e.indexOf("=~")){let i=e.split("=~");return w.create(i[0].trim(),this._deserializeRegexValue(i[1],t))}if(0<=e.indexOf(" in ")){let t=e.split(" in ");return g.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const t=e.split(">=");return b.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const t=e.split(">");return _.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const t=e.split("<=");return C.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const t=e.split("<");return v.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?f.create(e.substr(1).trim()):c.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let i=/^'([^']*)'$/.exec(e);return i?i[1].trim():e}static _deserializeRegexValue(e,t){if(Object(n.C)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return null}var i=e.indexOf("/"),o=e.lastIndexOf("/");if(i===o||i<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return null}i=e.slice(i+1,o),o="i"===e[o+1]?"i":"";try{return new RegExp(i,o)}catch(i){if(t)throw new Error(`bad regexp-value '${e}', parse error: `+i);return null}}}function l(e,t){return e.cmp(t)}class d{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}d.INSTANCE=new d;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return d.INSTANCE}}h.INSTANCE=new h;class c{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){var i=s.get(e);return"boolean"==typeof i?(i?h:d).INSTANCE:new c(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:N(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this)),this.negated}}class u{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}static create(e,t,i=null){var n;return"boolean"==typeof t?(t?c:f).create(e,i):"boolean"==typeof(n=s.get(e))?(t===(n?"true":"false")?h:d).INSTANCE:new u(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class g{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new g(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}evaluate(e){const t=e.getValue(this.valueKey);return e=e.getValue(this.key),Array.isArray(t)?0<=t.indexOf(e):"string"==typeof e&&"object"==typeof t&&null!==t&&r.call(t,e)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=p.create(this)),this.negated}}class p{constructor(e){this._actual=e,this.type=11}static create(e){return new p(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}static create(e,t,i=null){var n;return"boolean"==typeof t?(t?f:c).create(e,i):"boolean"==typeof(n=s.get(e))?(t===(n?"true":"false")?d:h).INSTANCE:new m(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class f{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){var i=s.get(e);return"boolean"==typeof i?(i?d:h).INSTANCE:new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:N(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this)),this.negated}}class _{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}static create(e,t,i=null){return new _(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>parseFloat(this.value)}serialize(){return this.key+" > "+this.value}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class b{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}static create(e,t,i=null){return new b(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>=parseFloat(this.value)}serialize(){return this.key+" >= "+this.value}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class v{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}static create(e,t,i=null){return new v(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))e.expr.length)return 1;for(let i=0,n=this.expr.length;iS.create([e,t],null)),null,o);o&&(i.push(o),i.sort(l))}return 1===i.length?i[0]:new S(i,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(var t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const t=[];for(var e of this.expr)t.push(e.negate());this.negated=L.create(t,this,!0)}return this.negated}}class L{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,i){return L._normalizeArr(e,t,i)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let i=0,n=this.expr.length;ie.serialize()).join(" || ")}keys(){const e=[];for(var t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let n=[];for(var e of this.expr)n.push(e.negate());for(;1` ${t} `).trim():""}class d{constructor(e,t,i){this.id=e,this.definition=t,this.description=i,s.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}{(t=n=n||{}).iconNameSegment="[A-Za-z0-9]+",t.iconNameExpression="[A-Za-z0-9\\-]+",t.iconModifierExpression="~[A-Za-z]+";const e=new RegExp(`^(${t.iconNameExpression})(${t.iconModifierExpression})?$`);function h(t){if(t instanceof d)return["codicon","codicon-"+t.id];if(t=e.exec(t.id),!t)return h(d.error);let[,i,n]=t;const o=["codicon","codicon-"+i];return n&&o.push("codicon-modifier-"+n.substr(1)),o}t.asClassNameArray=h,t.asClassName=function(e){return h(e).join(" ")},t.asCSSSelector=function(e){return"."+h(e).join(".")}}(i=d=d||{}).add=new i("add",{fontCharacter:"\\ea60"}),i.plus=new i("plus",{fontCharacter:"\\ea60"}),i.gistNew=new i("gist-new",{fontCharacter:"\\ea60"}),i.repoCreate=new i("repo-create",{fontCharacter:"\\ea60"}),i.lightbulb=new i("lightbulb",{fontCharacter:"\\ea61"}),i.lightBulb=new i("light-bulb",{fontCharacter:"\\ea61"}),i.repo=new i("repo",{fontCharacter:"\\ea62"}),i.repoDelete=new i("repo-delete",{fontCharacter:"\\ea62"}),i.gistFork=new i("gist-fork",{fontCharacter:"\\ea63"}),i.repoForked=new i("repo-forked",{fontCharacter:"\\ea63"}),i.gitPullRequest=new i("git-pull-request",{fontCharacter:"\\ea64"}),i.gitPullRequestAbandoned=new i("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),i.recordKeys=new i("record-keys",{fontCharacter:"\\ea65"}),i.keyboard=new i("keyboard",{fontCharacter:"\\ea65"}),i.tag=new i("tag",{fontCharacter:"\\ea66"}),i.tagAdd=new i("tag-add",{fontCharacter:"\\ea66"}),i.tagRemove=new i("tag-remove",{fontCharacter:"\\ea66"}),i.person=new i("person",{fontCharacter:"\\ea67"}),i.personFollow=new i("person-follow",{fontCharacter:"\\ea67"}),i.personOutline=new i("person-outline",{fontCharacter:"\\ea67"}),i.personFilled=new i("person-filled",{fontCharacter:"\\ea67"}),i.gitBranch=new i("git-branch",{fontCharacter:"\\ea68"}),i.gitBranchCreate=new i("git-branch-create",{fontCharacter:"\\ea68"}),i.gitBranchDelete=new i("git-branch-delete",{fontCharacter:"\\ea68"}),i.sourceControl=new i("source-control",{fontCharacter:"\\ea68"}),i.mirror=new i("mirror",{fontCharacter:"\\ea69"}),i.mirrorPublic=new i("mirror-public",{fontCharacter:"\\ea69"}),i.star=new i("star",{fontCharacter:"\\ea6a"}),i.starAdd=new i("star-add",{fontCharacter:"\\ea6a"}),i.starDelete=new i("star-delete",{fontCharacter:"\\ea6a"}),i.starEmpty=new i("star-empty",{fontCharacter:"\\ea6a"}),i.comment=new i("comment",{fontCharacter:"\\ea6b"}),i.commentAdd=new i("comment-add",{fontCharacter:"\\ea6b"}),i.alert=new i("alert",{fontCharacter:"\\ea6c"}),i.warning=new i("warning",{fontCharacter:"\\ea6c"}),i.search=new i("search",{fontCharacter:"\\ea6d"}),i.searchSave=new i("search-save",{fontCharacter:"\\ea6d"}),i.logOut=new i("log-out",{fontCharacter:"\\ea6e"}),i.signOut=new i("sign-out",{fontCharacter:"\\ea6e"}),i.logIn=new i("log-in",{fontCharacter:"\\ea6f"}),i.signIn=new i("sign-in",{fontCharacter:"\\ea6f"}),i.eye=new i("eye",{fontCharacter:"\\ea70"}),i.eyeUnwatch=new i("eye-unwatch",{fontCharacter:"\\ea70"}),i.eyeWatch=new i("eye-watch",{fontCharacter:"\\ea70"}),i.circleFilled=new i("circle-filled",{fontCharacter:"\\ea71"}),i.primitiveDot=new i("primitive-dot",{fontCharacter:"\\ea71"}),i.closeDirty=new i("close-dirty",{fontCharacter:"\\ea71"}),i.debugBreakpoint=new i("debug-breakpoint",{fontCharacter:"\\ea71"}),i.debugBreakpointDisabled=new i("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),i.debugHint=new i("debug-hint",{fontCharacter:"\\ea71"}),i.primitiveSquare=new i("primitive-square",{fontCharacter:"\\ea72"}),i.edit=new i("edit",{fontCharacter:"\\ea73"}),i.pencil=new i("pencil",{fontCharacter:"\\ea73"}),i.info=new i("info",{fontCharacter:"\\ea74"}),i.issueOpened=new i("issue-opened",{fontCharacter:"\\ea74"}),i.gistPrivate=new i("gist-private",{fontCharacter:"\\ea75"}),i.gitForkPrivate=new i("git-fork-private",{fontCharacter:"\\ea75"}),i.lock=new i("lock",{fontCharacter:"\\ea75"}),i.mirrorPrivate=new i("mirror-private",{fontCharacter:"\\ea75"}),i.close=new i("close",{fontCharacter:"\\ea76"}),i.removeClose=new i("remove-close",{fontCharacter:"\\ea76"}),i.x=new i("x",{fontCharacter:"\\ea76"}),i.repoSync=new i("repo-sync",{fontCharacter:"\\ea77"}),i.sync=new i("sync",{fontCharacter:"\\ea77"}),i.clone=new i("clone",{fontCharacter:"\\ea78"}),i.desktopDownload=new i("desktop-download",{fontCharacter:"\\ea78"}),i.beaker=new i("beaker",{fontCharacter:"\\ea79"}),i.microscope=new i("microscope",{fontCharacter:"\\ea79"}),i.vm=new i("vm",{fontCharacter:"\\ea7a"}),i.deviceDesktop=new i("device-desktop",{fontCharacter:"\\ea7a"}),i.file=new i("file",{fontCharacter:"\\ea7b"}),i.fileText=new i("file-text",{fontCharacter:"\\ea7b"}),i.more=new i("more",{fontCharacter:"\\ea7c"}),i.ellipsis=new i("ellipsis",{fontCharacter:"\\ea7c"}),i.kebabHorizontal=new i("kebab-horizontal",{fontCharacter:"\\ea7c"}),i.mailReply=new i("mail-reply",{fontCharacter:"\\ea7d"}),i.reply=new i("reply",{fontCharacter:"\\ea7d"}),i.organization=new i("organization",{fontCharacter:"\\ea7e"}),i.organizationFilled=new i("organization-filled",{fontCharacter:"\\ea7e"}),i.organizationOutline=new i("organization-outline",{fontCharacter:"\\ea7e"}),i.newFile=new i("new-file",{fontCharacter:"\\ea7f"}),i.fileAdd=new i("file-add",{fontCharacter:"\\ea7f"}),i.newFolder=new i("new-folder",{fontCharacter:"\\ea80"}),i.fileDirectoryCreate=new i("file-directory-create",{fontCharacter:"\\ea80"}),i.trash=new i("trash",{fontCharacter:"\\ea81"}),i.trashcan=new i("trashcan",{fontCharacter:"\\ea81"}),i.history=new i("history",{fontCharacter:"\\ea82"}),i.clock=new i("clock",{fontCharacter:"\\ea82"}),i.folder=new i("folder",{fontCharacter:"\\ea83"}),i.fileDirectory=new i("file-directory",{fontCharacter:"\\ea83"}),i.symbolFolder=new i("symbol-folder",{fontCharacter:"\\ea83"}),i.logoGithub=new i("logo-github",{fontCharacter:"\\ea84"}),i.markGithub=new i("mark-github",{fontCharacter:"\\ea84"}),i.github=new i("github",{fontCharacter:"\\ea84"}),i.terminal=new i("terminal",{fontCharacter:"\\ea85"}),i.console=new i("console",{fontCharacter:"\\ea85"}),i.repl=new i("repl",{fontCharacter:"\\ea85"}),i.zap=new i("zap",{fontCharacter:"\\ea86"}),i.symbolEvent=new i("symbol-event",{fontCharacter:"\\ea86"}),i.error=new i("error",{fontCharacter:"\\ea87"}),i.stop=new i("stop",{fontCharacter:"\\ea87"}),i.variable=new i("variable",{fontCharacter:"\\ea88"}),i.symbolVariable=new i("symbol-variable",{fontCharacter:"\\ea88"}),i.array=new i("array",{fontCharacter:"\\ea8a"}),i.symbolArray=new i("symbol-array",{fontCharacter:"\\ea8a"}),i.symbolModule=new i("symbol-module",{fontCharacter:"\\ea8b"}),i.symbolPackage=new i("symbol-package",{fontCharacter:"\\ea8b"}),i.symbolNamespace=new i("symbol-namespace",{fontCharacter:"\\ea8b"}),i.symbolObject=new i("symbol-object",{fontCharacter:"\\ea8b"}),i.symbolMethod=new i("symbol-method",{fontCharacter:"\\ea8c"}),i.symbolFunction=new i("symbol-function",{fontCharacter:"\\ea8c"}),i.symbolConstructor=new i("symbol-constructor",{fontCharacter:"\\ea8c"}),i.symbolBoolean=new i("symbol-boolean",{fontCharacter:"\\ea8f"}),i.symbolNull=new i("symbol-null",{fontCharacter:"\\ea8f"}),i.symbolNumeric=new i("symbol-numeric",{fontCharacter:"\\ea90"}),i.symbolNumber=new i("symbol-number",{fontCharacter:"\\ea90"}),i.symbolStructure=new i("symbol-structure",{fontCharacter:"\\ea91"}),i.symbolStruct=new i("symbol-struct",{fontCharacter:"\\ea91"}),i.symbolParameter=new i("symbol-parameter",{fontCharacter:"\\ea92"}),i.symbolTypeParameter=new i("symbol-type-parameter",{fontCharacter:"\\ea92"}),i.symbolKey=new i("symbol-key",{fontCharacter:"\\ea93"}),i.symbolText=new i("symbol-text",{fontCharacter:"\\ea93"}),i.symbolReference=new i("symbol-reference",{fontCharacter:"\\ea94"}),i.goToFile=new i("go-to-file",{fontCharacter:"\\ea94"}),i.symbolEnum=new i("symbol-enum",{fontCharacter:"\\ea95"}),i.symbolValue=new i("symbol-value",{fontCharacter:"\\ea95"}),i.symbolRuler=new i("symbol-ruler",{fontCharacter:"\\ea96"}),i.symbolUnit=new i("symbol-unit",{fontCharacter:"\\ea96"}),i.activateBreakpoints=new i("activate-breakpoints",{fontCharacter:"\\ea97"}),i.archive=new i("archive",{fontCharacter:"\\ea98"}),i.arrowBoth=new i("arrow-both",{fontCharacter:"\\ea99"}),i.arrowDown=new i("arrow-down",{fontCharacter:"\\ea9a"}),i.arrowLeft=new i("arrow-left",{fontCharacter:"\\ea9b"}),i.arrowRight=new i("arrow-right",{fontCharacter:"\\ea9c"}),i.arrowSmallDown=new i("arrow-small-down",{fontCharacter:"\\ea9d"}),i.arrowSmallLeft=new i("arrow-small-left",{fontCharacter:"\\ea9e"}),i.arrowSmallRight=new i("arrow-small-right",{fontCharacter:"\\ea9f"}),i.arrowSmallUp=new i("arrow-small-up",{fontCharacter:"\\eaa0"}),i.arrowUp=new i("arrow-up",{fontCharacter:"\\eaa1"}),i.bell=new i("bell",{fontCharacter:"\\eaa2"}),i.bold=new i("bold",{fontCharacter:"\\eaa3"}),i.book=new i("book",{fontCharacter:"\\eaa4"}),i.bookmark=new i("bookmark",{fontCharacter:"\\eaa5"}),i.debugBreakpointConditionalUnverified=new i("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),i.debugBreakpointConditional=new i("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),i.debugBreakpointConditionalDisabled=new i("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),i.debugBreakpointDataUnverified=new i("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),i.debugBreakpointData=new i("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),i.debugBreakpointDataDisabled=new i("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),i.debugBreakpointLogUnverified=new i("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),i.debugBreakpointLog=new i("debug-breakpoint-log",{fontCharacter:"\\eaab"}),i.debugBreakpointLogDisabled=new i("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),i.briefcase=new i("briefcase",{fontCharacter:"\\eaac"}),i.broadcast=new i("broadcast",{fontCharacter:"\\eaad"}),i.browser=new i("browser",{fontCharacter:"\\eaae"}),i.bug=new i("bug",{fontCharacter:"\\eaaf"}),i.calendar=new i("calendar",{fontCharacter:"\\eab0"}),i.caseSensitive=new i("case-sensitive",{fontCharacter:"\\eab1"}),i.check=new i("check",{fontCharacter:"\\eab2"}),i.checklist=new i("checklist",{fontCharacter:"\\eab3"}),i.chevronDown=new i("chevron-down",{fontCharacter:"\\eab4"}),i.chevronLeft=new i("chevron-left",{fontCharacter:"\\eab5"}),i.chevronRight=new i("chevron-right",{fontCharacter:"\\eab6"}),i.chevronUp=new i("chevron-up",{fontCharacter:"\\eab7"}),i.chromeClose=new i("chrome-close",{fontCharacter:"\\eab8"}),i.chromeMaximize=new i("chrome-maximize",{fontCharacter:"\\eab9"}),i.chromeMinimize=new i("chrome-minimize",{fontCharacter:"\\eaba"}),i.chromeRestore=new i("chrome-restore",{fontCharacter:"\\eabb"}),i.circleOutline=new i("circle-outline",{fontCharacter:"\\eabc"}),i.debugBreakpointUnverified=new i("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),i.circleSlash=new i("circle-slash",{fontCharacter:"\\eabd"}),i.circuitBoard=new i("circuit-board",{fontCharacter:"\\eabe"}),i.clearAll=new i("clear-all",{fontCharacter:"\\eabf"}),i.clippy=new i("clippy",{fontCharacter:"\\eac0"}),i.closeAll=new i("close-all",{fontCharacter:"\\eac1"}),i.cloudDownload=new i("cloud-download",{fontCharacter:"\\eac2"}),i.cloudUpload=new i("cloud-upload",{fontCharacter:"\\eac3"}),i.code=new i("code",{fontCharacter:"\\eac4"}),i.collapseAll=new i("collapse-all",{fontCharacter:"\\eac5"}),i.colorMode=new i("color-mode",{fontCharacter:"\\eac6"}),i.commentDiscussion=new i("comment-discussion",{fontCharacter:"\\eac7"}),i.compareChanges=new i("compare-changes",{fontCharacter:"\\eafd"}),i.creditCard=new i("credit-card",{fontCharacter:"\\eac9"}),i.dash=new i("dash",{fontCharacter:"\\eacc"}),i.dashboard=new i("dashboard",{fontCharacter:"\\eacd"}),i.database=new i("database",{fontCharacter:"\\eace"}),i.debugContinue=new i("debug-continue",{fontCharacter:"\\eacf"}),i.debugDisconnect=new i("debug-disconnect",{fontCharacter:"\\ead0"}),i.debugPause=new i("debug-pause",{fontCharacter:"\\ead1"}),i.debugRestart=new i("debug-restart",{fontCharacter:"\\ead2"}),i.debugStart=new i("debug-start",{fontCharacter:"\\ead3"}),i.debugStepInto=new i("debug-step-into",{fontCharacter:"\\ead4"}),i.debugStepOut=new i("debug-step-out",{fontCharacter:"\\ead5"}),i.debugStepOver=new i("debug-step-over",{fontCharacter:"\\ead6"}),i.debugStop=new i("debug-stop",{fontCharacter:"\\ead7"}),i.debug=new i("debug",{fontCharacter:"\\ead8"}),i.deviceCameraVideo=new i("device-camera-video",{fontCharacter:"\\ead9"}),i.deviceCamera=new i("device-camera",{fontCharacter:"\\eada"}),i.deviceMobile=new i("device-mobile",{fontCharacter:"\\eadb"}),i.diffAdded=new i("diff-added",{fontCharacter:"\\eadc"}),i.diffIgnored=new i("diff-ignored",{fontCharacter:"\\eadd"}),i.diffModified=new i("diff-modified",{fontCharacter:"\\eade"}),i.diffRemoved=new i("diff-removed",{fontCharacter:"\\eadf"}),i.diffRenamed=new i("diff-renamed",{fontCharacter:"\\eae0"}),i.diff=new i("diff",{fontCharacter:"\\eae1"}),i.discard=new i("discard",{fontCharacter:"\\eae2"}),i.editorLayout=new i("editor-layout",{fontCharacter:"\\eae3"}),i.emptyWindow=new i("empty-window",{fontCharacter:"\\eae4"}),i.exclude=new i("exclude",{fontCharacter:"\\eae5"}),i.extensions=new i("extensions",{fontCharacter:"\\eae6"}),i.eyeClosed=new i("eye-closed",{fontCharacter:"\\eae7"}),i.fileBinary=new i("file-binary",{fontCharacter:"\\eae8"}),i.fileCode=new i("file-code",{fontCharacter:"\\eae9"}),i.fileMedia=new i("file-media",{fontCharacter:"\\eaea"}),i.filePdf=new i("file-pdf",{fontCharacter:"\\eaeb"}),i.fileSubmodule=new i("file-submodule",{fontCharacter:"\\eaec"}),i.fileSymlinkDirectory=new i("file-symlink-directory",{fontCharacter:"\\eaed"}),i.fileSymlinkFile=new i("file-symlink-file",{fontCharacter:"\\eaee"}),i.fileZip=new i("file-zip",{fontCharacter:"\\eaef"}),i.files=new i("files",{fontCharacter:"\\eaf0"}),i.filter=new i("filter",{fontCharacter:"\\eaf1"}),i.flame=new i("flame",{fontCharacter:"\\eaf2"}),i.foldDown=new i("fold-down",{fontCharacter:"\\eaf3"}),i.foldUp=new i("fold-up",{fontCharacter:"\\eaf4"}),i.fold=new i("fold",{fontCharacter:"\\eaf5"}),i.folderActive=new i("folder-active",{fontCharacter:"\\eaf6"}),i.folderOpened=new i("folder-opened",{fontCharacter:"\\eaf7"}),i.gear=new i("gear",{fontCharacter:"\\eaf8"}),i.gift=new i("gift",{fontCharacter:"\\eaf9"}),i.gistSecret=new i("gist-secret",{fontCharacter:"\\eafa"}),i.gist=new i("gist",{fontCharacter:"\\eafb"}),i.gitCommit=new i("git-commit",{fontCharacter:"\\eafc"}),i.gitCompare=new i("git-compare",{fontCharacter:"\\eafd"}),i.gitMerge=new i("git-merge",{fontCharacter:"\\eafe"}),i.githubAction=new i("github-action",{fontCharacter:"\\eaff"}),i.githubAlt=new i("github-alt",{fontCharacter:"\\eb00"}),i.globe=new i("globe",{fontCharacter:"\\eb01"}),i.grabber=new i("grabber",{fontCharacter:"\\eb02"}),i.graph=new i("graph",{fontCharacter:"\\eb03"}),i.gripper=new i("gripper",{fontCharacter:"\\eb04"}),i.heart=new i("heart",{fontCharacter:"\\eb05"}),i.home=new i("home",{fontCharacter:"\\eb06"}),i.horizontalRule=new i("horizontal-rule",{fontCharacter:"\\eb07"}),i.hubot=new i("hubot",{fontCharacter:"\\eb08"}),i.inbox=new i("inbox",{fontCharacter:"\\eb09"}),i.issueClosed=new i("issue-closed",{fontCharacter:"\\eba4"}),i.issueReopened=new i("issue-reopened",{fontCharacter:"\\eb0b"}),i.issues=new i("issues",{fontCharacter:"\\eb0c"}),i.italic=new i("italic",{fontCharacter:"\\eb0d"}),i.jersey=new i("jersey",{fontCharacter:"\\eb0e"}),i.json=new i("json",{fontCharacter:"\\eb0f"}),i.kebabVertical=new i("kebab-vertical",{fontCharacter:"\\eb10"}),i.key=new i("key",{fontCharacter:"\\eb11"}),i.law=new i("law",{fontCharacter:"\\eb12"}),i.lightbulbAutofix=new i("lightbulb-autofix",{fontCharacter:"\\eb13"}),i.linkExternal=new i("link-external",{fontCharacter:"\\eb14"}),i.link=new i("link",{fontCharacter:"\\eb15"}),i.listOrdered=new i("list-ordered",{fontCharacter:"\\eb16"}),i.listUnordered=new i("list-unordered",{fontCharacter:"\\eb17"}),i.liveShare=new i("live-share",{fontCharacter:"\\eb18"}),i.loading=new i("loading",{fontCharacter:"\\eb19"}),i.location=new i("location",{fontCharacter:"\\eb1a"}),i.mailRead=new i("mail-read",{fontCharacter:"\\eb1b"}),i.mail=new i("mail",{fontCharacter:"\\eb1c"}),i.markdown=new i("markdown",{fontCharacter:"\\eb1d"}),i.megaphone=new i("megaphone",{fontCharacter:"\\eb1e"}),i.mention=new i("mention",{fontCharacter:"\\eb1f"}),i.milestone=new i("milestone",{fontCharacter:"\\eb20"}),i.mortarBoard=new i("mortar-board",{fontCharacter:"\\eb21"}),i.move=new i("move",{fontCharacter:"\\eb22"}),i.multipleWindows=new i("multiple-windows",{fontCharacter:"\\eb23"}),i.mute=new i("mute",{fontCharacter:"\\eb24"}),i.noNewline=new i("no-newline",{fontCharacter:"\\eb25"}),i.note=new i("note",{fontCharacter:"\\eb26"}),i.octoface=new i("octoface",{fontCharacter:"\\eb27"}),i.openPreview=new i("open-preview",{fontCharacter:"\\eb28"}),i.package_=new i("package",{fontCharacter:"\\eb29"}),i.paintcan=new i("paintcan",{fontCharacter:"\\eb2a"}),i.pin=new i("pin",{fontCharacter:"\\eb2b"}),i.play=new i("play",{fontCharacter:"\\eb2c"}),i.run=new i("run",{fontCharacter:"\\eb2c"}),i.plug=new i("plug",{fontCharacter:"\\eb2d"}),i.preserveCase=new i("preserve-case",{fontCharacter:"\\eb2e"}),i.preview=new i("preview",{fontCharacter:"\\eb2f"}),i.project=new i("project",{fontCharacter:"\\eb30"}),i.pulse=new i("pulse",{fontCharacter:"\\eb31"}),i.question=new i("question",{fontCharacter:"\\eb32"}),i.quote=new i("quote",{fontCharacter:"\\eb33"}),i.radioTower=new i("radio-tower",{fontCharacter:"\\eb34"}),i.reactions=new i("reactions",{fontCharacter:"\\eb35"}),i.references=new i("references",{fontCharacter:"\\eb36"}),i.refresh=new i("refresh",{fontCharacter:"\\eb37"}),i.regex=new i("regex",{fontCharacter:"\\eb38"}),i.remoteExplorer=new i("remote-explorer",{fontCharacter:"\\eb39"}),i.remote=new i("remote",{fontCharacter:"\\eb3a"}),i.remove=new i("remove",{fontCharacter:"\\eb3b"}),i.replaceAll=new i("replace-all",{fontCharacter:"\\eb3c"}),i.replace=new i("replace",{fontCharacter:"\\eb3d"}),i.repoClone=new i("repo-clone",{fontCharacter:"\\eb3e"}),i.repoForcePush=new i("repo-force-push",{fontCharacter:"\\eb3f"}),i.repoPull=new i("repo-pull",{fontCharacter:"\\eb40"}),i.repoPush=new i("repo-push",{fontCharacter:"\\eb41"}),i.report=new i("report",{fontCharacter:"\\eb42"}),i.requestChanges=new i("request-changes",{fontCharacter:"\\eb43"}),i.rocket=new i("rocket",{fontCharacter:"\\eb44"}),i.rootFolderOpened=new i("root-folder-opened",{fontCharacter:"\\eb45"}),i.rootFolder=new i("root-folder",{fontCharacter:"\\eb46"}),i.rss=new i("rss",{fontCharacter:"\\eb47"}),i.ruby=new i("ruby",{fontCharacter:"\\eb48"}),i.saveAll=new i("save-all",{fontCharacter:"\\eb49"}),i.saveAs=new i("save-as",{fontCharacter:"\\eb4a"}),i.save=new i("save",{fontCharacter:"\\eb4b"}),i.screenFull=new i("screen-full",{fontCharacter:"\\eb4c"}),i.screenNormal=new i("screen-normal",{fontCharacter:"\\eb4d"}),i.searchStop=new i("search-stop",{fontCharacter:"\\eb4e"}),i.server=new i("server",{fontCharacter:"\\eb50"}),i.settingsGear=new i("settings-gear",{fontCharacter:"\\eb51"}),i.settings=new i("settings",{fontCharacter:"\\eb52"}),i.shield=new i("shield",{fontCharacter:"\\eb53"}),i.smiley=new i("smiley",{fontCharacter:"\\eb54"}),i.sortPrecedence=new i("sort-precedence",{fontCharacter:"\\eb55"}),i.splitHorizontal=new i("split-horizontal",{fontCharacter:"\\eb56"}),i.splitVertical=new i("split-vertical",{fontCharacter:"\\eb57"}),i.squirrel=new i("squirrel",{fontCharacter:"\\eb58"}),i.starFull=new i("star-full",{fontCharacter:"\\eb59"}),i.starHalf=new i("star-half",{fontCharacter:"\\eb5a"}),i.symbolClass=new i("symbol-class",{fontCharacter:"\\eb5b"}),i.symbolColor=new i("symbol-color",{fontCharacter:"\\eb5c"}),i.symbolConstant=new i("symbol-constant",{fontCharacter:"\\eb5d"}),i.symbolEnumMember=new i("symbol-enum-member",{fontCharacter:"\\eb5e"}),i.symbolField=new i("symbol-field",{fontCharacter:"\\eb5f"}),i.symbolFile=new i("symbol-file",{fontCharacter:"\\eb60"}),i.symbolInterface=new i("symbol-interface",{fontCharacter:"\\eb61"}),i.symbolKeyword=new i("symbol-keyword",{fontCharacter:"\\eb62"}),i.symbolMisc=new i("symbol-misc",{fontCharacter:"\\eb63"}),i.symbolOperator=new i("symbol-operator",{fontCharacter:"\\eb64"}),i.symbolProperty=new i("symbol-property",{fontCharacter:"\\eb65"}),i.wrench=new i("wrench",{fontCharacter:"\\eb65"}),i.wrenchSubaction=new i("wrench-subaction",{fontCharacter:"\\eb65"}),i.symbolSnippet=new i("symbol-snippet",{fontCharacter:"\\eb66"}),i.tasklist=new i("tasklist",{fontCharacter:"\\eb67"}),i.telescope=new i("telescope",{fontCharacter:"\\eb68"}),i.textSize=new i("text-size",{fontCharacter:"\\eb69"}),i.threeBars=new i("three-bars",{fontCharacter:"\\eb6a"}),i.thumbsdown=new i("thumbsdown",{fontCharacter:"\\eb6b"}),i.thumbsup=new i("thumbsup",{fontCharacter:"\\eb6c"}),i.tools=new i("tools",{fontCharacter:"\\eb6d"}),i.triangleDown=new i("triangle-down",{fontCharacter:"\\eb6e"}),i.triangleLeft=new i("triangle-left",{fontCharacter:"\\eb6f"}),i.triangleRight=new i("triangle-right",{fontCharacter:"\\eb70"}),i.triangleUp=new i("triangle-up",{fontCharacter:"\\eb71"}),i.twitter=new i("twitter",{fontCharacter:"\\eb72"}),i.unfold=new i("unfold",{fontCharacter:"\\eb73"}),i.unlock=new i("unlock",{fontCharacter:"\\eb74"}),i.unmute=new i("unmute",{fontCharacter:"\\eb75"}),i.unverified=new i("unverified",{fontCharacter:"\\eb76"}),i.verified=new i("verified",{fontCharacter:"\\eb77"}),i.versions=new i("versions",{fontCharacter:"\\eb78"}),i.vmActive=new i("vm-active",{fontCharacter:"\\eb79"}),i.vmOutline=new i("vm-outline",{fontCharacter:"\\eb7a"}),i.vmRunning=new i("vm-running",{fontCharacter:"\\eb7b"}),i.watch=new i("watch",{fontCharacter:"\\eb7c"}),i.whitespace=new i("whitespace",{fontCharacter:"\\eb7d"}),i.wholeWord=new i("whole-word",{fontCharacter:"\\eb7e"}),i.window=new i("window",{fontCharacter:"\\eb7f"}),i.wordWrap=new i("word-wrap",{fontCharacter:"\\eb80"}),i.zoomIn=new i("zoom-in",{fontCharacter:"\\eb81"}),i.zoomOut=new i("zoom-out",{fontCharacter:"\\eb82"}),i.listFilter=new i("list-filter",{fontCharacter:"\\eb83"}),i.listFlat=new i("list-flat",{fontCharacter:"\\eb84"}),i.listSelection=new i("list-selection",{fontCharacter:"\\eb85"}),i.selection=new i("selection",{fontCharacter:"\\eb85"}),i.listTree=new i("list-tree",{fontCharacter:"\\eb86"}),i.debugBreakpointFunctionUnverified=new i("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),i.debugBreakpointFunction=new i("debug-breakpoint-function",{fontCharacter:"\\eb88"}),i.debugBreakpointFunctionDisabled=new i("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),i.debugStackframeActive=new i("debug-stackframe-active",{fontCharacter:"\\eb89"}),i.debugStackframeDot=new i("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),i.debugStackframe=new i("debug-stackframe",{fontCharacter:"\\eb8b"}),i.debugStackframeFocused=new i("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),i.debugBreakpointUnsupported=new i("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),i.symbolString=new i("symbol-string",{fontCharacter:"\\eb8d"}),i.debugReverseContinue=new i("debug-reverse-continue",{fontCharacter:"\\eb8e"}),i.debugStepBack=new i("debug-step-back",{fontCharacter:"\\eb8f"}),i.debugRestartFrame=new i("debug-restart-frame",{fontCharacter:"\\eb90"}),i.callIncoming=new i("call-incoming",{fontCharacter:"\\eb92"}),i.callOutgoing=new i("call-outgoing",{fontCharacter:"\\eb93"}),i.menu=new i("menu",{fontCharacter:"\\eb94"}),i.expandAll=new i("expand-all",{fontCharacter:"\\eb95"}),i.feedback=new i("feedback",{fontCharacter:"\\eb96"}),i.groupByRefType=new i("group-by-ref-type",{fontCharacter:"\\eb97"}),i.ungroupByRefType=new i("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),i.account=new i("account",{fontCharacter:"\\eb99"}),i.bellDot=new i("bell-dot",{fontCharacter:"\\eb9a"}),i.debugConsole=new i("debug-console",{fontCharacter:"\\eb9b"}),i.library=new i("library",{fontCharacter:"\\eb9c"}),i.output=new i("output",{fontCharacter:"\\eb9d"}),i.runAll=new i("run-all",{fontCharacter:"\\eb9e"}),i.syncIgnored=new i("sync-ignored",{fontCharacter:"\\eb9f"}),i.pinned=new i("pinned",{fontCharacter:"\\eba0"}),i.githubInverted=new i("github-inverted",{fontCharacter:"\\eba1"}),i.debugAlt=new i("debug-alt",{fontCharacter:"\\eb91"}),i.serverProcess=new i("server-process",{fontCharacter:"\\eba2"}),i.serverEnvironment=new i("server-environment",{fontCharacter:"\\eba3"}),i.pass=new i("pass",{fontCharacter:"\\eba4"}),i.stopCircle=new i("stop-circle",{fontCharacter:"\\eba5"}),i.playCircle=new i("play-circle",{fontCharacter:"\\eba6"}),i.record=new i("record",{fontCharacter:"\\eba7"}),i.debugAltSmall=new i("debug-alt-small",{fontCharacter:"\\eba8"}),i.vmConnect=new i("vm-connect",{fontCharacter:"\\eba9"}),i.cloud=new i("cloud",{fontCharacter:"\\ebaa"}),i.merge=new i("merge",{fontCharacter:"\\ebab"}),i.exportIcon=new i("export",{fontCharacter:"\\ebac"}),i.graphLeft=new i("graph-left",{fontCharacter:"\\ebad"}),i.magnet=new i("magnet",{fontCharacter:"\\ebae"}),i.notebook=new i("notebook",{fontCharacter:"\\ebaf"}),i.redo=new i("redo",{fontCharacter:"\\ebb0"}),i.checkAll=new i("check-all",{fontCharacter:"\\ebb1"}),i.pinnedDirty=new i("pinned-dirty",{fontCharacter:"\\ebb2"}),i.passFilled=new i("pass-filled",{fontCharacter:"\\ebb3"}),i.circleLargeFilled=new i("circle-large-filled",{fontCharacter:"\\ebb4"}),i.circleLargeOutline=new i("circle-large-outline",{fontCharacter:"\\ebb5"}),i.combine=new i("combine",{fontCharacter:"\\ebb6"}),i.gather=new i("gather",{fontCharacter:"\\ebb6"}),i.table=new i("table",{fontCharacter:"\\ebb7"}),i.variableGroup=new i("variable-group",{fontCharacter:"\\ebb8"}),i.typeHierarchy=new i("type-hierarchy",{fontCharacter:"\\ebb9"}),i.typeHierarchySub=new i("type-hierarchy-sub",{fontCharacter:"\\ebba"}),i.typeHierarchySuper=new i("type-hierarchy-super",{fontCharacter:"\\ebbb"}),i.gitPullRequestCreate=new i("git-pull-request-create",{fontCharacter:"\\ebbc"}),i.runAbove=new i("run-above",{fontCharacter:"\\ebbd"}),i.runBelow=new i("run-below",{fontCharacter:"\\ebbe"}),i.notebookTemplate=new i("notebook-template",{fontCharacter:"\\ebbf"}),i.debugRerun=new i("debug-rerun",{fontCharacter:"\\ebc0"}),i.workspaceTrusted=new i("workspace-trusted",{fontCharacter:"\\ebc1"}),i.workspaceUntrusted=new i("workspace-untrusted",{fontCharacter:"\\ebc2"}),i.workspaceUnspecified=new i("workspace-unspecified",{fontCharacter:"\\ebc3"}),i.terminalCmd=new i("terminal-cmd",{fontCharacter:"\\ebc4"}),i.terminalDebian=new i("terminal-debian",{fontCharacter:"\\ebc5"}),i.terminalLinux=new i("terminal-linux",{fontCharacter:"\\ebc6"}),i.terminalPowershell=new i("terminal-powershell",{fontCharacter:"\\ebc7"}),i.terminalTmux=new i("terminal-tmux",{fontCharacter:"\\ebc8"}),i.terminalUbuntu=new i("terminal-ubuntu",{fontCharacter:"\\ebc9"}),i.terminalBash=new i("terminal-bash",{fontCharacter:"\\ebca"}),i.arrowSwap=new i("arrow-swap",{fontCharacter:"\\ebcb"}),i.copy=new i("copy",{fontCharacter:"\\ebcc"}),i.personAdd=new i("person-add",{fontCharacter:"\\ebcd"}),i.filterFilled=new i("filter-filled",{fontCharacter:"\\ebce"}),i.wand=new i("wand",{fontCharacter:"\\ebcf"}),i.debugLineByLine=new i("debug-line-by-line",{fontCharacter:"\\ebd0"}),i.inspect=new i("inspect",{fontCharacter:"\\ebd1"}),i.layers=new i("layers",{fontCharacter:"\\ebd2"}),i.layersDot=new i("layers-dot",{fontCharacter:"\\ebd3"}),i.layersActive=new i("layers-active",{fontCharacter:"\\ebd4"}),i.compass=new i("compass",{fontCharacter:"\\ebd5"}),i.compassDot=new i("compass-dot",{fontCharacter:"\\ebd6"}),i.compassActive=new i("compass-active",{fontCharacter:"\\ebd7"}),i.azure=new i("azure",{fontCharacter:"\\ebd8"}),i.issueDraft=new i("issue-draft",{fontCharacter:"\\ebd9"}),i.gitPullRequestClosed=new i("git-pull-request-closed",{fontCharacter:"\\ebda"}),i.gitPullRequestDraft=new i("git-pull-request-draft",{fontCharacter:"\\ebdb"}),i.debugAll=new i("debug-all",{fontCharacter:"\\ebdc"}),i.debugCoverage=new i("debug-coverage",{fontCharacter:"\\ebdd"}),i.runErrors=new i("run-errors",{fontCharacter:"\\ebde"}),i.folderLibrary=new i("folder-library",{fontCharacter:"\\ebdf"}),i.dropDownButton=new i("drop-down-button",i.chevronDown.definition)},"56dc":function(e,t,i){},"56f3":function(e,t,i){},5717:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("codeEditorService")},"580d":function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nt!==e&&(t instanceof c.d&&(o=Object(s.x)(Object(s.Q)(t.value).pop())),!0));const r=Object(s.d)(o,i);n=n.replace(/(\r\n|\r|\n)(.*)/g,(e,t,i)=>""+t+o.substr(r)+i)}return n}}}class x{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const t=e["name"];if("TM_FILENAME"===t)return g.a(this._model.uri.fsPath);if("TM_FILENAME_BASE"!==t)return"TM_DIRECTORY"===t&&this._labelService?"."===g.b(this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(p.d)(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0;{const t=g.a(this._model.uri.fsPath);return e=t.lastIndexOf("."),e<=0?t:t.slice(0,e)}}}class k{constructor(e,t,i,n){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=i,this._spread=n}resolve(e){if("CLIPBOARD"===e.name){const t=this._readClipboardText();if(t)return this._spread&&(e=t.split(/\r\n|\n|\r/).filter(e=>!Object(s.C)(e)),e.length===this._selectionCount)?e[this._selectionIdx]:t}}}class D{constructor(e,t){this._model=e,this._selection=t}resolve(e){e=e["name"];var t=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn);t=m.a.getComments(t);if(t)return"LINE_COMMENT"===e?t.lineCommentToken||void 0:"BLOCK_COMMENT_START"===e?t.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===e&&t.blockCommentEndToken||void 0}}class N{constructor(){this._date=new Date}resolve(e){return e=e.name,"CURRENT_YEAR"===e?String(this._date.getFullYear()):"CURRENT_YEAR_SHORT"===e?String(this._date.getFullYear()).slice(-2):"CURRENT_MONTH"===e?String(this._date.getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===e?String(this._date.getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===e?String(this._date.getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===e?String(this._date.getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===e?String(this._date.getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===e?N.dayNames[this._date.getDay()]:"CURRENT_DAY_NAME_SHORT"===e?N.dayNamesShort[this._date.getDay()]:"CURRENT_MONTH_NAME"===e?N.monthNames[this._date.getMonth()]:"CURRENT_MONTH_NAME_SHORT"===e?N.monthNamesShort[this._date.getMonth()]:"CURRENT_SECONDS_UNIX"===e?String(Math.floor(this._date.getTime()/1e3)):void 0}}N.dayNames=[u.a("Sunday","Sunday"),u.a("Monday","Monday"),u.a("Tuesday","Tuesday"),u.a("Wednesday","Wednesday"),u.a("Thursday","Thursday"),u.a("Friday","Friday"),u.a("Saturday","Saturday")],N.dayNamesShort=[u.a("SundayShort","Sun"),u.a("MondayShort","Mon"),u.a("TuesdayShort","Tue"),u.a("WednesdayShort","Wed"),u.a("ThursdayShort","Thu"),u.a("FridayShort","Fri"),u.a("SaturdayShort","Sat")],N.monthNames=[u.a("January","January"),u.a("February","February"),u.a("March","March"),u.a("April","April"),u.a("May","May"),u.a("June","June"),u.a("July","July"),u.a("August","August"),u.a("September","September"),u.a("October","October"),u.a("November","November"),u.a("December","December")],N.monthNamesShort=[u.a("JanuaryShort","Jan"),u.a("FebruaryShort","Feb"),u.a("MarchShort","Mar"),u.a("AprilShort","Apr"),u.a("MayShort","May"),u.a("JuneShort","Jun"),u.a("JulyShort","Jul"),u.a("AugustShort","Aug"),u.a("SeptemberShort","Sep"),u.a("OctoberShort","Oct"),u.a("NovemberShort","Nov"),u.a("DecemberShort","Dec")];class O{constructor(e){this._workspaceService=e}resolve(e){if(this._workspaceService){var t=(t=this._workspaceService.getWorkspace()).configuration?{id:t.id,configPath:t.configuration}:1===t.folders.length?{id:t.id,uri:t.folders[0].uri}:void 0;if(t)return"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0}}_resolveWorkspaceName(e){if(b(e))return g.a(e.uri.path);let t=g.a(e.configPath.path);return t.endsWith(_)?t.substr(0,t.length-_.length-1):t}_resoveWorkspacePath(e){if(b(e))return Object(v.b)(e.uri.fsPath);var t=g.a(e.configPath.path);let i=e.configPath.fsPath;return(i=i.endsWith(t)?i.substr(0,i.length-t.length-1):i)?Object(v.b)(i):"/"}}class E{resolve(e){var t;e=e["name"];return"RANDOM"===e?Math.random().toString().slice(-6):"RANDOM_HEX"===e?Math.random().toString(16).slice(-6):"UUID"===e?(y(C),C[6]=15&C[6]|64,C[8]=63&C[8]|128,e=0,t="",(t+=w[C[e++]])+w[C[e++]]+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+w[C[e++]]+w[C[e++]]+w[C[+e]]+w[C[15]]):void 0}}u=i("b7d0");var I=i("303e"),M=i("47cb");Object(u.f)((e,t)=>{function i(t){const i=e.getColor(t);return i?i.toString():"transparent"}t.addRule(`.monaco-editor .snippet-placeholder { background-color: ${i(I.Ec)}; outline-color: ${i(I.Fc)}; }`),t.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${i(I.Cc)}; outline-color: ${i(I.Dc)}; }`)});class T{constructor(e,t,i,o){this._editor=e,this._snippet=t,this._offset=i,this._snippetLineLeadingWhitespace=o,this._nestingLevel=1,this._placeholderGroups=Object(n.l)(t.placeholders,c.b.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(!this._placeholderDecorations){this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const o of this._snippet.placeholders){var i=this._snippet.offset(o),n=this._snippet.fullLen(o);i=a.a.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+n)),n=o.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive,i=t.addDecoration(i,n);this._placeholderDecorations.set(o,i)}})}}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),0<=this._placeholderGroupsIdx){let e=[];for(const n of this._placeholderGroups[this._placeholderGroupsIdx])if(n.transform){var t=this._placeholderDecorations.get(n),i=(t=this._editor.getModel().getDecorationRange(t),this._editor.getModel().getValueInRange(t));const o=n.transform.resolve(i).split(/\r\n|\r|\n/);for(let e=1;e{const t=new Set,i=[];for(const h of this._placeholderGroups[this._placeholderGroupsIdx]){var o=this._placeholderDecorations.get(h),s=this._editor.getModel().getDecorationRange(o);i.push(new l.a(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),n=n&&this._hasPlaceholderBeenCollapsed(h),e.changeDecorationOptions(o,h.isFinalTabstop?T._decor.activeFinal:T._decor.active),t.add(h);for(const i of this._snippet.enclosingPlaceholders(h)){var r=this._placeholderDecorations.get(i);e.changeDecorationOptions(r,i.isFinalTabstop?T._decor.activeFinal:T._decor.active),t.add(i)}}for(var[a,d]of this._placeholderDecorations)t.has(a)||e.changeDecorationOptions(d,a.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive);return i});return n?this.move(e):null!=o?o:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof c.b){var i=this._placeholderDecorations.get(t);const e=this._editor.getModel().getDecorationRange(i);if(e.isEmpty()&&0{for(const n of this._placeholderGroups[this._placeholderGroupsIdx]){const d=e.shift();var o=d._snippet.placeholderInfo.last.index;for(const e of d._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=n.index+(o+1)/this._nestingLevel:e.index=n.index+e.index/this._nestingLevel;this._snippet.replace(n,d._snippet.children);var s=this._placeholderDecorations.get(n);i.removeDecoration(s),this._placeholderDecorations.delete(n);for(const e of d._snippet.placeholders){var r=d._snippet.offset(e),l=d._snippet.fullLen(e);r=a.a.fromPositions(t.getPositionAt(d._offset+r),t.getPositionAt(d._offset+r+l)),l=i.addDecoration(r,T._decor.inactive);this._placeholderDecorations.set(e,l)}}this._placeholderGroups=Object(n.l)(this._snippet.placeholders,c.b.compareByIndex)})}}T._decor={active:t.a.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:t.a.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:t.a.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:t.a.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const A={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class R{constructor(e,t,i=A){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=i}static adjustWhitespace(e,t,i,n,o){var r=e.getLineContent(t.lineNumber);const a=Object(s.x)(r,0,t.column-1);let l;return i.walk(t=>{if(t instanceof c.d&&!(t.parent instanceof c.a)){const s=t.value.split(/\r\n|\r|\n/);if(n){var o=i.offset(t);0===o?s[0]=e.normalizeIndentation(s[0]):10!==(o=(l=null!==l&&void 0!==l?l:i.toString()).charCodeAt(o-1))&&13!==o||(s[0]=e.normalizeIndentation(a+s[0]));for(let t=1;te.get(d.a,h.d)),f=e.invokeWithinContext(e=>new x(e.get(M.a,h.d),F)),_=()=>l;let B=0;var b,v,C=F.getValueInRange(R.adjustSelection(F,e.getSelection(),i,0)),w=F.getValueInRange(R.adjustSelection(F,e.getSelection(),0,n)),y=F.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber),I=e.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>a.a.compareRangesUsingStarts(e.selection,t.selection));for({selection:b,idx:v}of I){let a=R.adjustSelection(F,b,i,0),l=R.adjustSelection(F,b,0,n);C!==F.getValueInRange(a)&&(a=b),w!==F.getValueInRange(l)&&(l=b);const d=b.setStartPosition(a.startLineNumber,a.startColumn).setEndPosition(l.endLineNumber,l.endColumn),h=(new c.c).parse(t,!0,o);var A=d.getStartPosition(),P=R.adjustWhitespace(F,A,h,s||0 ")}"`}insert(){var e,t;this._editor.hasModel()&&(({edits:e,snippets:t}=R.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer)),this._snippets=t,this._editor.executeEdits("snippet",e,e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter(e=>!!e.identifier).map(e=>l.a.fromPositions(e.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0]))}merge(e,t=A){if(this._editor.hasModel()){this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:i,snippets:n}=R.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",i,e=>{for(const t of this._snippets)t.merge(n);return this._snippets[0].hasPlaceholder?this._move(void 0):e.filter(e=>!!e.identifier).map(e=>l.a.fromPositions(e.range.getEndPosition()))})}}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){var i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length{e.push(...o.get(t))})}for(var[o,s]of(e.sort(a.a.compareRangesUsingStarts),t))if(s.length!==e.length)t.delete(o);else{s.sort(a.a.compareRangesUsingStarts);for(let i=0;ithis.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.b),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new a.b),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!=(i=t.context)?i:null,this._orientation=null!=(i=this.options.orientation)?i:0,this._triggerKeys={keyDown:null!=(i=null==(i=this.options.triggerKeys)?void 0:i.keyDown)&&i,keys:null!=(i=null==(i=this.options.triggerKeys)?void 0:i.keys)?i:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new r.b,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onBeforeRun(e=>this._onBeforeRun.fire(e))),this._actionIds=[],this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),!(this.domNode.className="monaco-action-bar")!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:l=[15],d=[17];break;case 1:l=[16],d=[18],this.domNode.className+=" vertical"}this._register(n.i(this.domNode,n.d.KEY_DOWN,e=>{const t=new o.a(e);let i=!0;e="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0,l&&(t.equals(l[0])||t.equals(l[1]))?i=this.focusPrevious():d&&(t.equals(d[0])||t.equals(d[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&e instanceof s.b&&e.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.i(this.domNode,n.d.KEY_UP,e=>{const t=new o.a(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.Y(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.y()!==this.domNode&&n.L(n.y(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){for(let t=0;tt.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const i=Array.isArray(e)?e:[e];let o=d.i(t.index)?t.index:null;i.forEach(e=>{const i=document.createElement("li");let r;i.className="action-item",i.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(n.i(i,n.d.CONTEXT_MENU,e=>{n.c.stop(e,!0)})),(r=(r=this.options.actionViewItemProvider?this.options.actionViewItemProvider(e):r)||new s.a(this.context,e,t)).actionRunner=this._actionRunner,r.setActionContext(this.context),r.render(i),this.focusable&&r instanceof s.b&&0===this.viewItems.length&&r.setFocusable(!0),null===o||o<0||o>=this.actionsList.children.length?(this.actionsList.appendChild(i),this.viewItems.push(r),this._actionIds.push(e.id)):(this.actionsList.insertBefore(i,this.actionsList.children[o]),this.viewItems.splice(o,0,r),this._actionIds.splice(o,0,e.id),o++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(l.f)(this.viewItems),this.viewItems=[],this._actionIds=[],n.t(this.actionsList)}length(){return this.viewItems.length}focus(e){let t=!1,i=void 0;void 0===e?t=!0:"number"==typeof e?i=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(e=this.viewItems.findIndex(e=>e.isEnabled()),this.focusedItem=-1===e?void 0:e):void 0!==i&&(this.focusedItem=i),this.updateFocus()}focusFirst(){return this.focusedItem=1=this.viewItems.length)return this.focusedItem=e,!1}while(this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem],this.focusedItem!==e&&this.options.focusOnlyEnabledItems&&!t.isEnabled());return this.updateFocus(),!0}focusPrevious(){if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;var e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}}while(t=this.viewItems[this.focusedItem],this.focusedItem!==e&&this.options.focusOnlyEnabledItems&&!t.isEnabled());return this.updateFocus(!0),!0}updateFocus(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let i=0;iy(void 0,void 0,void 0,(function*(){var[i,n,o]=t;Object(C.c)(v.a.isUri(i)),Object(C.c)(m.a.isIPosition(n)),Object(C.c)("string"==typeof o||!o);const s=yield e.get(w.a).createModelReference(i);try{const e=yield L(s.object.textEditorModel,m.a.lift(n),{triggerKind:f.C.Invoke,isRetrigger:!1,triggerCharacter:o},_.a.None);if(e)return setTimeout(()=>e.dispose(),0),e.value}finally{s.dispose()}})));b=i("5bd7");var x,k=i("303e"),D=i("b7d0"),N=i("5fe7"),O=i("3170"),E=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))},I=x=x||{};I.Default={type:0},I.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}},I.Active=class{constructor(e){this.hints=e,this.type=1}};class M extends o.a{constructor(e,t=M.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new c.b),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=x.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new o.d),this.triggerChars=new O.b,this.retriggerChars=new O.b,this.triggerId=0,this.editor=e,this.throttledDelayer=new N.a(t),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(f.B.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=x.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){var i=this.editor.getModel();if(i&&f.B.has(i)){const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(i),t).catch(p.f)}}next(){var e,t,i,n;1===this.state.type&&(e=this.state.hints.signatures.length,i=(t=this.state.hints.activeSignature)%e==e-1,n=this.editor.getOption(75).cycle,(e<2||i)&&!n?this.cancel():this.updateActiveSignature(i&&n?0:t+1))}previous(){var e,t,i,n;1===this.state.type&&(e=this.state.hints.signatures.length,i=0===(t=this.state.hints.activeSignature),n=this.editor.getOption(75).cycle,(e<2||i)&&!n?this.cancel():this.updateActiveSignature(i&&n?e-1:t-1))}updateActiveSignature(e){1===this.state.type&&(this.state=new x.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return E(this,void 0,void 0,(function*(){var t=1===this.state.type||2===this.state.type,i=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;var n=this._pendingTriggers.reduce(T);this._pendingTriggers=[];const o={triggerKind:n.triggerKind,triggerCharacter:n.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;const s=this.editor.getModel(),r=this.editor.getPosition();this.state=new x.Pending(Object(N.h)(e=>L(s,r,o,e)),i);try{const t=yield this.state.request;return e!==this.triggerId?(null!==t&&void 0!==t&&t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new x.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null!==t&&void 0!==t&&t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(t){return e===this.triggerId&&(this.state=x.Default),Object(p.f)(t),!1}}))}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new O.b,this.retriggerChars=new O.b;var e=this.editor.getModel();if(e)for(const t of f.B.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){var t,i;this.triggerOnType&&(t=e.length-1,i=e.charCodeAt(t),(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:f.C.TriggerCharacter,triggerCharacter:e.charAt(t)}))}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:f.C.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:f.C.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(75).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function T(e,t){switch(t.triggerKind){case f.C.Invoke:return t;case f.C.ContentChange:return e;default:return f.C.TriggerCharacter,t}}M.DEFAULT_DELAY=120;var A=i("3742"),R=(I=i("561a"),i("9c41")),P=(i=i("bf5b"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e?(this.show(),this.render(e)):this.hide()}))}createParameterHintDOMNodes(){const e=B(".editor-widget.parameter-hints-widget"),t=l.q(e,B(".phwrapper"));t.tabIndex=-1;var i=l.q(t,B(".controls")),n=l.q(i,B(".button"+D.d.asCSSSelector(W))),o=l.q(i,B(".overloads"));i=l.q(i,B(".button"+D.d.asCSSSelector(j))),this._register(l.i(n,"click",e=>{l.c.stop(e),this.previous()})),this._register(l.i(i,"click",e=>{l.c.stop(e),this.next()})),n=B(".body");const s=new h.a(n,{});this._register(s),t.appendChild(s.getDomNode()),i=l.q(n,B(".signature")),n=l.q(n,B(".docs")),e.style.userSelect="text",this.domNodes={element:e,signature:i,overloads:o,docs:n,scrollbar:s},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)})),i=()=>{var e;this.domNodes&&(e=this.editor.getOption(42),this.domNodes.element.style.fontSize=e.fontSize+"px")},i(),this._register(c.c.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(42)).on(i,null)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&this.domNodes.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&this.domNodes.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){if(this.renderDisposeables.clear(),this.domNodes){var t=1{var e;null!=(e=this.domNodes)&&e.scrollbar.scanDomNode()}}));return t.element.classList.add("markdown-docs"),t}hasDocs(e,t){return!!(t&&"string"==typeof t.documentation&&0{const i=e.getColor(k.F);i&&(n=e.type===R.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .parameter-hints-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${i.transparent(.5)}; }`));var n=e.getColor(k.E);n&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${n}; }`),n=e.getColor(k.Jc),n&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${n}; }`),n=e.getColor(k.Ic),n&&t.addRule(`.monaco-editor .parameter-hints-widget a:hover { color: ${n}; }`),n=e.getColor(k.G),n&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${n}; }`),n=e.getColor(k.Hc);n&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${n}; }`)}),i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.cancel(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:9,secondary:[1033]}})),Object(a.k)(new U({id:"showPrevParameterHint",precondition:r.a.and(S.Visible,S.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(a.k)(new U({id:"showNextParameterHint",precondition:r.a.and(S.Visible,S.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},"5bd7":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return l})),i.d(t,"c",(function(){return d}));var n=i("a666"),o=i("3742"),s=i("6d8e"),r=(t=i("0a0f"),function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))});const a=Object(t.c)("openerService"),l=Object.freeze({_serviceBrand:void 0,registerOpener(){return n.a.None},registerValidator(){return n.a.None},registerExternalUriResolver(){return n.a.None},setDefaultExternalOpener(){},registerExternalOpener(){return n.a.None},open(){return r(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return r(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return s.a.isUri(e)?Object(o.r)(e.scheme,t):Object(o.R)(e,t+":")}},"5d08":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return i.e("chunk-2d238465").then(i.bind(null,"ff4c"))}})},"5d28":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("0f70"),o=i("e757"),s=i("30db");class r{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop),e=o.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view),this.posx-=e.left,this.posy-=e.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,i=0){this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e&&(t=i=e,void 0!==i.wheelDeltaY?this.deltaY=i.wheelDeltaY/120:void 0!==t.VERTICAL_AXIS&&t.axis===t.VERTICAL_AXIS?this.deltaY=-t.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.g&&!s.f?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==i.wheelDeltaX?n.h&&s.i?this.deltaX=-i.wheelDeltaX/120:this.deltaX=i.wheelDeltaX/120:void 0!==t.HORIZONTAL_AXIS&&t.axis===t.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.g&&!s.f?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120))}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},"5d70":function(e,t,i){},"5d75":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("telemetryService")},"5ed2":function(e,t,i){"use strict";i.r(t),i.d(t,"getOccurrencesAtPosition",(function(){return k}));var n=i("dff7"),o=i("e8e3"),s=i("5fe7"),r=i("2504"),a=i("fdcc"),l=i("a666"),d=(t=i("b2cc"),i("6a89")),h=i("c101"),c=i("3352"),u=i("b57f"),g=i("b707"),p=i("4fc3"),m=i("303e"),f=i("b7d0"),_=i("3813"),b=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3()=>Promise.resolve(n.provideDocumentHighlights(e,t,i)).then(void 0,a.g)),o.n)}class D{constructor(e,t,i){this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(s.h)(n=>this._compute(e,t,i,n))}_getCurrentWordRange(e,t){return e=e.getWordAtPosition(t.getPosition()),e?new d.a(t.startLineNumber,e.startColumn,t.startLineNumber,e.endColumn):null}isValid(e,t,i){var n=t.startLineNumber,o=t.startColumn,s=t.endColumn;t=this._getCurrentWordRange(e,t);let r=Boolean(this._wordRange&&this._wordRange.equalsRange(t));for(let l=0,d=i.length;!r&&l=s&&(r=!0)}return r}cancel(){this.result.cancel()}}class N extends D{_compute(e,t,i,n){return k(e,t.getPosition(),n).then(e=>e||[])}}class O extends D{constructor(e,t,i){super(e,t,i),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,i,n){return Object(s.n)(250,n).then(()=>{if(!t.isEmpty())return[];var n=e.getWordAtPosition(t.getPosition());if(!n||1e3({range:e.range,kind:g.h.Text}))})}isValid(e,t,i){var n=t.isEmpty();return this._selectionIsEmpty===n&&super.isValid(e,t,i)}}Object(t.n)("_executeDocumentHighlights",(e,t)=>k(e,t,r.a.None));class E{constructor(e,t){this.toUnhook=new l.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=x.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(71),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(e)})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{var t=this.editor.getOption(71);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return 0this.model.getDecorationRange(e)).sort(d.a.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights();var t=(e.findIndex(e=>e.containsPosition(this.editor.getPosition()))+1)%e.length;let i=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);var n,o=this._getWord();o&&(n=this.editor.getModel().getLineContent(i.startLineNumber),Object(_.a)(`${n}, ${1+t} of ${e.length} for '${o.word}'`))}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights();var t=(e.findIndex(e=>e.containsPosition(this.editor.getPosition()))-1+e.length)%e.length;let i=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);var n,o=this._getWord();o&&(n=this.editor.getModel().getLineContent(i.startLineNumber),Object(_.a)(`${n}, ${1+t} of ${e.length} for '${o.word}'`))}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){0t||n.endColumn{t===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=e||[],this._beginRenderDecorations())},a.f)}}}_beginRenderDecorations(){var e=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;t<=e?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:E._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===g.h.Write?this._WRITE_OPTIONS:e===g.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}E._WRITE_OPTIONS=u.a.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(f.g)(L),position:c.d.Center}}),E._TEXT_OPTIONS=u.a.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(f.g)(m.jc),position:c.d.Center}}),E._REGULAR_OPTIONS=u.a.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(f.g)(S),position:c.d.Center}});let I=class e extends l.a{constructor(e,t){super(),this.wordHighlighter=null;const i=()=>{e.hasModel()&&(this.wordHighlighter=new E(e,t))};this._register(e.onDidChangeModel(e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),i()})),i()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};I.ID="editor.contrib.wordHighlighter",I=i([b(1,p.b)],I);class M extends t.b{constructor(e,t){super(t),this._isNext=e}run(e,t){const i=I.get(t);i&&(this._isNext?i.moveNext():i.moveBack())}}class T extends t.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:n.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:x.toNegated(),kbOpts:{kbExpr:h.a.editorTextFocus,primary:0,weight:100}})}run(e,t,i){const n=I.get(t);n&&n.restoreViewState(!0)}}Object(t.l)(I.ID,I),Object(t.j)(class extends M{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:n.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:x,kbOpts:{kbExpr:h.a.editorTextFocus,primary:65,weight:100}})}}),Object(t.j)(class extends M{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:n.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:x,kbOpts:{kbExpr:h.a.editorTextFocus,primary:1089,weight:100}})}}),Object(t.j)(T),Object(f.f)((e,t)=>{const i=e.getColor(m.T);i&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${i}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${i.transparent(.5)}; }`));var n=e.getColor(v);n&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${n}; }`),n=e.getColor(C),n&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${n}; }`),n=e.getColor(m.U),n&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${n}; box-sizing: border-box; }`),n=e.getColor(w),n&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; box-sizing: border-box; }`),n=e.getColor(y);n&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; box-sizing: border-box; }`)})},"5fe7":function(e,t,i){"use strict";i.d(t,"k",(function(){return l})),i.d(t,"h",(function(){return d})),i.d(t,"l",(function(){return h})),i.d(t,"a",(function(){return u})),i.d(t,"f",(function(){return g})),i.d(t,"n",(function(){return p})),i.d(t,"i",(function(){return m})),i.d(t,"j",(function(){return f})),i.d(t,"g",(function(){return _})),i.d(t,"c",(function(){return b})),i.d(t,"e",(function(){return v})),i.d(t,"m",(function(){return C})),i.d(t,"b",(function(){return w})),i.d(t,"d",(function(){return n}));var n,o=i("2504"),s=i("fdcc"),r=i("a666"),a=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function l(e){return!!e&&"function"==typeof e.then}function d(e){const t=new o.b,i=e(t.token),n=new Promise((e,n)=>{const o=t.token.onCancellationRequested(()=>{o.dispose(),t.dispose(),n(Object(s.b)())});Promise.resolve(i).then(i=>{o.dispose(),t.dispose(),e(i)},e=>{o.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function h(e,t,i){return Promise.race([e,new Promise(e=>t.onCancellationRequested(()=>e(i)))])}class c{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{this.queuedPromise=null;var e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}}class u{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Object(s.b)()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancel()}}class g{constructor(e){this.delayer=new u(e),this.throttler=new c}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function p(e,t){return t?new Promise((i,n)=>{const o=setTimeout(()=>{r.dispose(),i()},e),r=t.onCancellationRequested(()=>{clearTimeout(o),r.dispose(),n(Object(s.b)())})}):d(t=>p(e,t))}function m(e,t=0){const i=setTimeout(e,t);return Object(r.i)(()=>clearTimeout(i))}function f(e,t=(e=>!!e),i=null){let n=0;const o=e.length,s=()=>{if(n>=o)return Promise.resolve(i);const r=e[n++],a=Promise.resolve(r());return a.then(e=>t(e)?Promise.resolve(e):s())};return s()}class _{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class b{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class v{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let C;if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining(){return 15}});C=t=>{const i=setTimeout(()=>t(e));let n=!1;return{dispose(){n||(n=!0,clearTimeout(i))}}}}else C=(e,t)=>{const i=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(i))}}};class w{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=C(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}(n||(n={})).settled=function(e){return a(this,void 0,void 0,(function*(){let t=void 0;var i=yield Promise.all(e.map(e=>e.then(e=>e,e=>{t=t||e})));if(void 0!==t)throw t;return i}))}},"607c":function(e,t,i){},"62bd":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("308f");const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.b,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},6424:function(e,t,i){"use strict";function n(e,t,i){let n=null,o=null;if("function"==typeof i.value?(n="value",(o=i.value).length):"function"==typeof i.get&&(n="get",o=i.get),!o)throw new Error("not supported");const s="$memoize$"+t;i[n]=function(...e){return this.hasOwnProperty(s)||Object.defineProperty(this,s,{configurable:!1,enumerable:!1,writable:!1,value:o.apply(this,e)}),this[s]}}i.d(t,"a",(function(){return n}))},6483:function(e,t,i){"use strict";i.d(t,"b",(function(){return d})),i.d(t,"a",(function(){return h}));var n=i("2504"),o=i("fdcc"),s=i("6d8e"),r=i("6a89"),a=i("b707"),l=i("1b69");t=i("9e74");function d(e,t){const i=[],n=a.c.ordered(e).reverse();var o=n.map(n=>Promise.resolve(n.provideDocumentColors(e,t)).then(e=>{if(Array.isArray(e))for(var t of e)i.push({colorInfo:t,provider:n})}));return Promise.all(o).then(()=>i)}function h(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}t.a.registerCommand("_executeDocumentColorProvider",(function(e,...t){var[t]=t;if(!(t instanceof s.a))throw Object(o.c)();const i=e.get(l.a).getModel(t);if(!i)throw Object(o.c)();const r=[],d=a.c.ordered(i).reverse();return e=d.map(e=>Promise.resolve(e.provideDocumentColors(i,n.a.None)).then(e=>{if(Array.isArray(e))for(var t of e)r.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})})),Promise.all(e).then(()=>r)})),t.a.registerCommand("_executeColorPresentationProvider",(function(e,...t){var[t,i]=t,{uri:i,range:d}=i;if(!(i instanceof s.a&&Array.isArray(t)&&4===t.length&&r.a.isIRange(d)))throw Object(o.c)();var[t,h,c,u]=t;const g=e.get(l.a).getModel(i);if(!g)throw Object(o.c)();const p={range:d,color:{red:t,green:h,blue:c,alpha:u}},m=[],f=a.c.ordered(g).reverse();return e=f.map(e=>Promise.resolve(e.provideColorPresentations(g,p,n.a.None)).then(e=>{Array.isArray(e)&&m.push(...e)})),Promise.all(e).then(()=>m)}))},"650e":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s}));const n={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:i("b9b4").a.text,TERMINALS:"Terminals"};class o{constructor(e){this.data=e}update(){}getData(){return this.data}}const s={CurrentDragAndDropData:void 0}},6640:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return i.e("chunk-2d0af08c").then(i.bind(null,"0d35"))}})},6653:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o}));class n{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function o(e){return new n(e)}},"66bd":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("0a0f"),o=i("cdd6");i.d(t,"b",(function(){return o.a}));const s=Object(n.c)("quickInputService")},"66f1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return i.e("chunk-2d217e5b").then(i.bind(null,"c94c"))}})},"675a4":function(e,t,i){},"67b4":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("7061"),o=i("6a89"),s=i("db88"),r=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class a{provideSelectionRanges(e,t){return r(this,void 0,void 0,(function*(){const i=[];for(const n of t){const t=[],o=(i.push(t),new Map);yield new Promise(t=>a._bracketsRightYield(t,0,e,n,o)),yield new Promise(i=>a._bracketsLeftYield(i,0,e,n,o,t))}return i}))}static _bracketsRightYield(e,t,i,n,o){const r=new Map;for(var l=Date.now();;){if(t>=a._maxRounds){e();break}if(!n){e();break}let c=i.findNextBracket(n);if(!c){e();break}if(Date.now()-l>a._maxDuration){setTimeout(()=>a._bracketsRightYield(e,t+1,i,n,o));break}var d=c.close[0];if(c.isOpen){var h=r.has(d)?r.get(d):0;r.set(d,h+1)}else if(h=r.has(d)?r.get(d):0,--h,r.set(d,Math.max(0,h)),h<0){let e=o.get(d);e||(e=new s.a,o.set(d,e)),e.push(c.range)}n=c.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,s,r){const l=new Map;for(var d=Date.now();;){if(t>=a._maxRounds&&0===s.size){e();break}if(!n){e();break}let g=i.findPrevBracket(n);if(!g){e();break}if(Date.now()-d>a._maxDuration){setTimeout(()=>a._bracketsLeftYield(e,t+1,i,n,s,r));break}var h=g.close[0];if(g.isOpen){var c=l.has(h)?l.get(h):0;if(--c,l.set(h,Math.max(0,c)),c<0){let e=s.get(h);if(e){let t=e.shift();0===e.size&&s.delete(h);c=o.a.fromPositions(g.range.getEndPosition(),t.getStartPosition());var u=o.a.fromPositions(g.range.getStartPosition(),t.getEndPosition());r.push({range:c}),r.push({range:u}),a._addBracketLeading(i,u,r)}}}else c=l.has(h)?l.get(h):0,l.set(h,c+1);n=g.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber!==t.endLineNumber){var s=t.startLineNumber;const r=e.getLineFirstNonWhitespaceColumn(s);if(0!==r&&r!==t.startColumn&&(i.push({range:o.a.fromPositions(new n.a(s,r),t.getEndPosition())}),i.push({range:o.a.fromPositions(new n.a(s,1),t.getEndPosition())})),s-=1,0{e.hasChanged(69)&&(e=l(this._editor.getOption(69)),this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()))})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new s(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new s(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new s(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new r(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new r(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){var t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},"6a38":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return i.e("chunk-2d0abc00").then(i.bind(null,"1737"))}})},"6a5d":function(e,t,i){"use strict";i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return m}));var n=i("308f"),o=i("eda7"),s=i("a666"),r=i("40355"),a=i("49d9"),l=i("9768"),d=i("32b8"),h=i("1b69");function c(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(c):!!e.exclusive)}class u{constructor(){this._clock=0,this._entries=[],this._onDidChange=new n.b}get onDidChange(){return this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.i)(()=>{var e;i&&0<=(e=this._entries.indexOf(i))&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)})}has(e){return 0t.push(e.provider)),t}orderedGroups(e){const t=[];let i,n;return this._orderedForEach(e,e=>{i&&n===e._score?i.push(e.provider):(n=e._score,i=[e.provider],t.push(i))}),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)0r&&(r=s)}return r}if("string"==typeof t)return o?"*"===t?5:t===n?10:0:0;if(t){var{language:t,pattern:r,scheme:a,hasAccessToAllModels:h}=t;if(!o&&!h)return 0;let e=0;if(a)if(a===i.scheme)e=10;else{if("*"!==a)return 0;e=5}if(t)if(t===n)e=10;else{if("*"!==t)return 0;e=Math.max(e,5)}if(r){let t;if((t="string"==typeof r?r:Object.assign(Object.assign({},r),{base:Object(d.d)(r.base)}))!==i.fsPath&&!Object(l.a)(t,i.fsPath))return 0;e=10}return e}return 0}(i.selector,e.uri,e.getLanguageIdentifier().language,Object(h.b)(e)),c(i.selector)&&0t._score?-1:e._timet._time?-1:0}}const g=new WeakMap;let p=0;class m{constructor(e,t,i=Number.MAX_SAFE_INTEGER){this._registry=e,this.min=t,this.max=i,this._cache=new r.a(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>Object(o.b)(function(e){let t=g.get(e);return void 0===t&&(t=++p,g.set(e,t)),t}(t),e),0)}_clamp(e){return void 0===e?this.min:Math.min(this.max,Math.max(this.min,Math.floor(1.3*e)))}get(e){return e=this._key(e),e=this._cache.get(e),this._clamp(null==e?void 0:e.value)}update(e,t){var i=this._key(e);let n=this._cache.get(i);return n||(n=new a.a,this._cache.set(i,n)),n.update(t),this.get(e)}}},"6a89":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7061");class o{constructor(e,t,i,n){ie.endLineNumber)&&!(t.lineNumber===e.startLineNumber&&t.columne.endColumn)}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let i,n,s,r;return n=t.startLineNumbere.endLineNumber?(s=t.endLineNumber,t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,e.endColumn),new o(i,n,s,r)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,r=e.endColumn;e=t.startLineNumber;var a=t.startColumn,l=t.endLineNumber;t=t.endColumn;return il?(s=l,r=t):s===l&&(r=Math.min(r,t)),i>s||i===s&&n>r?null:new o(i,n,s,r)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new n.a(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new n.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}}},"6c8c":function(e,t,i){"use strict";i.r(t);var n=i("89cd"),o=i("2f1e"),s=(t=i("03d9"),i("a666")),r=i("dff7"),a=(i=i("66bd"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),i.add(t.onDidChangeValue(t=>{t=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length)),t&&t.prefix&&t.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})}));var{editorProviders:n,globalProviders:o}=this.getQuickAccessProviders();return t.items=0===n.length||0===o.length?[...0===n.length?o:n]:[{label:Object(r.a)("globalCommands","global commands"),type:"separator"},...o,{label:Object(r.a)("editorCommands","editor commands"),type:"separator"},...n],i}getQuickAccessProviders(){const t=[],i=[];for(const s of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(s.prefix!==e.PREFIX)for(const e of s.helpEntries){var n=e.prefix||s.prefix,o=n||"…";(e.needsEditor?i:t).push({prefix:n,label:o,ariaLabel:Object(r.a)("helpPickAriaLabel","{0}, {1}",o,e.description),description:e.description})}return{editorProviders:i,globalProviders:t}}};d.PREFIX="?",d=a([l(0,i.a)],d),n.a.as(o.b.Quickaccess).registerQuickAccessProvider({ctor:d,prefix:"",helpEntries:[{description:t.e.helpQuickAccessActionLabel,needsEditor:!0}]})},"6d8e":function(e,t,i){"use strict";i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return f}));var n=i("32b8"),o=i("30db");const s=/^\w[\w\d+.-]*$/,r=/^\//,a=/^\/\//;function l(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!r.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,i,n,o,s=!1){var r;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(r=s,(e=e)||r?e:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=o||"",l(this,s))}static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:o,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===o?o=this.query:null===o&&(o=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&o===this.query&&s===this.fragment?this:new u(t,i,n,o,s)}static parse(e,t=!1){return e=d.exec(e),e?new u(e[2]||"",v(e[4]||""),v(e[5]||""),v(e[7]||""),v(e[9]||""),t):new u("","","","","")}static file(e){let t="";var i;return"/"===(e=o.i?e.replace(/\\/g,"/"):e)[0]&&"/"===e[1]&&(e=-1===(i=e.indexOf("/",2))?(t=e.substring(2),"/"):(t=e.substring(2,i),e.substring(i)||"/")),new u("file",t,e,"","")}static from(e){return e=new u(e.scheme,e.authority,e.path,e.query,e.fragment),l(e,!0),e}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return i=o.i&&"file"===e.scheme?h.file(n.i.join(f(e,!0),...t)).path:n.e.join(e.path,...t),e.with({path:i})}toString(e=!1){return _(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===c?e.fsPath:null,t}}return e}}const c=o.i?1:void 0;class u extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=c),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const g={[58]:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function p(e,t){let i=void 0,n=-1;for(let s=0;sfunction t(i){try{return decodeURIComponent(i)}catch(e){return 3e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._absoluteOffsets[e-1]=n+i}getAbsoluteOffset(e){return 0===this._absoluteOffsets.length?0:this._absoluteOffsets[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){e=this.charOffsetToPartData(e-1);var t=h.getPartIndex(e);e=h.getCharIndex(e);return new d(t,e)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;var n=(e<<16|i<<0)>>>0;let o=0,s=this.length-1;for(;o+1>>1,a=this._data[r];if(a===n)return r;n=k.endOffset&&(x++,k=c&&c[x]),(e=(e=Iw||9===O||32===O&&(!u||!!L||32===(N=I+1I:e)&&g&&(e=y||I>w),L){if(!e||!h&&D>=l){if(p)for(let e=(0a)&&(m[f++]=new r(I,b,0),D%=l);for(9===O?D=l:n.D(O)?D+=2:D++,L=e;I===v&&++_h&&(h=m.startOffset,l[d++]=new r(h,g,p)),!(m.endOffset+1<=u)){h=u,l[d++]=new r(h,g+" "+m.className,p|m.metadata);break}h=m.endOffset+1,l[d++]=new r(h,g+" "+m.className,p|m.metadata),a++}u>h&&(h=u,l[d++]=new r(h,g,p))}var f=t[t.length-1].endIndex;if(a'):o.appendASCIIString("");for(let e=0,t=L.length;e=x&&(i+=p)}}for(u&&(o.appendASCIIString(' style="width:'),o.appendASCIIString(String(O*t)),o.appendASCIIString('px"')),o.appendASCII(62);R=x&&(P+=t)}j=t}else{let t=0;for(o.appendASCII(62);R=x&&(P+=s)}j=t}g?B++:B=0,R>=y&&!A&&t.isPseudoAfter()&&(A=!0,T.setColumnInfo(R+1,e,F,W)),o.appendASCIIString("")}return A||T.setColumnInfo(y+1,L.length-1,F,W),S&&o.appendASCIIString("…"),o.appendASCIIString(""),new c(T,N,C)}if(0");let i=0,n=0,o=0;for(const r of e.lineDecorations)1!==r.type&&2!==r.type||(t.appendASCIIString(''),1===r.type&&(o|=1,i++),2===r.type&&(o|=2,n++));t.appendASCIIString("");const s=new h(1,i+n);return s.setColumnInfo(1,i,0,0),new c(s,!1,o)}return t.appendASCIIString(""),new c(new h(0,0),!1,0)}class g{constructor(e,t,i,n){this.characterMapping=e,this.html=t,this.containsRTL=i,this.containsForeignElements=n}}function p(e){let t=Object(o.a)(1e4);return e=u(e,t),new g(e.characterMapping,t.build(),e.containsRTL,e.containsForeignElements)}class m{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.len=n,this.isOverflowing=o,this.parts=s,this.containsForeignElements=r,this.fauxIndentLength=a,this.tabSize=l,this.startVisibleColumn=d,this.containsRTL=h,this.spaceWidth=c,this.renderSpaceCharCode=u,this.renderWhitespace=g,this.renderControlCharacters=p}}},"6daf":function(e,t,i){"use strict";i.r(t);var n=i("dff7"),o=(t=i("b2cc"),i("2c29")),s=i("6a89"),r=i("c101"),a=i("f85a");class l extends t.b{constructor(){super({id:"editor.action.transposeLetters",label:n.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:r.a.writable,kbOpts:{kbExpr:r.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(t.hasModel()){let e=t.getModel(),h=[];var i,n,r,l,d;for(i of t.getSelections())i.isEmpty()&&(n=i.startLineNumber,l=i.startColumn,d=e.getLineMaxColumn(n),1===n&&(1===l||2===l&&2===d)||(n=l===d?i.getPosition():a.a.rightPosition(e,i.getPosition().lineNumber,i.getPosition().column),l=a.a.leftPosition(e,n),d=a.a.leftPosition(e,l),r=e.getValueInRange(s.a.fromPositions(d,l)),l=e.getValueInRange(s.a.fromPositions(l,n)),d=s.a.fromPositions(d,n),h.push(new o.a(d,l+r))));0this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(63),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(63)&&(this._matchBrackets=this._editor.getOption(63),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(e){return e.getContribution(b.ID)}jumpToBracket(){if(this._editor.hasModel()){const t=this._editor.getModel();var e=this._editor.getSelections().map(e=>{e=e.getStartPosition();const i=t.matchBracket(e);let n=null;if(i)i[0].containsPosition(e)?n=i[1].getStartPosition():i[1].containsPosition(e)&&(n=i[0].getStartPosition());else{const i=t.findEnclosingBrackets(e);if(i)n=i[0].getStartPosition();else{const i=t.findNextBracket(e);i&&i.range&&(n=i.range.getStartPosition())}}return n?new l.a(n.lineNumber,n.column,n.lineNumber,n.column):new l.a(e.lineNumber,e.column,e.lineNumber,e.column)});this._editor.setSelections(e),this._editor.revealRange(e[0])}}selectToBracket(e){if(this._editor.hasModel()){const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{n=n.getStartPosition();let o=t.matchBracket(n);if(!o&&!(o=t.findEnclosingBrackets(n))){const e=t.findNextBracket(n);e&&e.range&&(o=t.matchBracket(e.range.getStartPosition()))}let s=null,r=null;if(o){o.sort(a.a.compareRangesUsingStarts);const[t,i]=o;s=e?t.getStartPosition():t.getEndPosition(),r=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(n)&&(n=s,s=r,r=n)}s&&r&&i.push(new l.a(s.lineNumber,s.column,r.lineNumber,r.column))}),0{var i=e.getColor(u.j);i&&t.addRule(`.monaco-editor .bracket-match { background-color: ${i}; }`),i=e.getColor(u.k);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)}),i.d.appendMenuItem(i.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:n.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})},"6e62":function(e,t,i){"use strict";i.r(t),i.d(t,"getInlayHints",(function(){return S})),i.d(t,"InlayHintsController",(function(){return L}));var n=i("5fe7"),o=i("fdcc"),s=i("eda7"),r=i("a666"),a=(t=i("b2cc"),i("5717")),l=i("b707"),d=i("e8e3"),h=i("303e"),c=i("2504"),u=i("b7d0"),g=i("6a89"),p=i("6a5d"),m=i("9e74"),f=i("6d8e"),_=i("ef8e9"),b=i("b78f"),v=i("7061"),C=(i=i("fbba"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.map(t=>Promise.resolve(s.provideInlayHints(e,t,i)).then(e=>{e=null==e?void 0:e.filter(e=>t.containsPosition(e.position)),null!=e&&e.length&&n.push({list:e,provider:s})},e=>{Object(o.g)(e)}))));return yield Promise.all(r),n}))}let L=class{constructor(e,t,i,n){this._editor=e,this._codeEditorService=t,this._themeService=i,this._configurationService=n,this._disposables=new r.b,this._sessionDisposables=new r.b,this._getInlayHintsDelays=new p.b(l.r,25,2500),this._decorationsTypeIds=[],this._decorationIds=[],this._disposables.add(l.r.onDidChange(()=>this._update())),this._disposables.add(i.onDidColorThemeChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(126)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){if(this._sessionDisposables.clear(),this._editor.getOption(126).enabled){const e=this._editor.getModel();if(e&&l.r.has(e)){const t=new n.e(()=>y(this,void 0,void 0,(function*(){var i=Date.now();const n=new c.b;this._sessionDisposables.add(Object(r.i)(()=>n.dispose(!0)));var o=this._editor.getVisibleRangesPlusViewportAboveBelow();o=yield S(e,o,n.token),i=this._getInlayHintsDelays.update(e,Date.now()-i);t.delay=i,this._updateHintsDecorators(o)})),this._getInlayHintsDelays.get(e)),i=(this._sessionDisposables.add(t),this._sessionDisposables.add(this._editor.onDidChangeModelContent(()=>t.schedule())),this._disposables.add(this._editor.onDidScrollChange(()=>t.schedule())),t.schedule(),new r.b);this._sessionDisposables.add(i);for(const n of l.r.all(e))"function"==typeof n.onDidChangeInlayHints&&i.add(n.onDidChangeInlayHints(()=>t.schedule()))}else this._removeAllDecorations()}else this._removeAllDecorations()}_updateHintsDecorators(e){var{fontSize:t,fontFamily:i}=this._getLayoutInfo(),n=this._themeService.getColorTheme().getColor(h.N),o=this._themeService.getColorTheme().getColor(h.O);const r=[],a=[];var l="--inlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(l,i);const d=this._configurationService.getValue("editor.useInjectedText");var c,u=void 0===d||!!d;for({list:c}of e)for(let e=0;et)&&(i=.9*t|0),t=e.fontFamily||this._editor.getOption(41),{fontSize:i,fontFamily:t}}_removeAllDecorations(){this._decorationIds=this._editor.deltaDecorations(this._decorationIds,[]),this._decorationsTypeIds.forEach(this._codeEditorService.removeDecorationType,this._codeEditorService),this._decorationsTypeIds=[]}};L.ID="editor.contrib.InlayHints",L=C([w(1,a.a),w(2,u.b),w(3,i.a)],L),Object(t.l)(L.ID,L),m.a.registerCommand("_executeInlayHintProvider",(e,...t)=>y(void 0,void 0,void 0,(function*(){var[i,n]=t;Object(_.c)(f.a.isUri(i)),Object(_.c)(g.a.isIRange(n));const o=yield e.get(b.a).createModelReference(i);try{const e=yield S(o.object.textEditorModel,[g.a.lift(n)],c.a.None);return Object(d.k)(e.map(e=>e.list)).sort((e,t)=>v.a.compare(e.position,t.position))}finally{o.dispose()}})))},7061:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new n(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return n.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return n.isBefore(this,e)}static isBefore(e,t){return e.lineNumberthis._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(c.x.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),this._editor.getOption(47)&&this._editor.hasModel()){var e=this._editor.getModel(),[e]=c.x.ordered(e);if(e&&e.autoFormatTriggerCharacters){let i=new l.b;for(var t of e.autoFormatTriggerCharacters)i.add(t.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(e=>{e=e.charCodeAt(e.length-1),i.has(e)&&this._trigger(String.fromCharCode(e))}))}}}_trigger(e){if(this._editor.hasModel()&&!(1{if(e.isFlush)o=!0,s.dispose();else for(let t=0,n=e.changes.length;t{s.dispose(),o||Object(n.n)(e)&&(p.a.execute(this._editor,e,!0),Object(g.b)(e))},e=>{throw s.dispose(),e})}}},L=(S.ID="editor.contrib.autoFormat",S=i([w(1,u.a)],S),class{constructor(e,t){this.editor=e,this._instantiationService=t,this._callOnDispose=new r.b,this._callOnModel=new r.b,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(c.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(46)&&this.editor.hasModel()&&c.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){!this.editor.hasModel()||1e.isEmpty()?new d.a(e.startLineNumber,1,e.startLineNumber,s.getLineMaxColumn(e.startLineNumber)):e);const r=e.get(C.a);yield r.showWhile(n.invokeFunction(g.c,t,i,1,C.b.None,o.a.None),250)}}))}}Object(t.l)(S.ID,S),Object(t.l)(L.ID,L),Object(t.j)(x),Object(t.j)(k),f.a.registerCommand("editor.action.format",e=>y(void 0,void 0,void 0,(function*(){const t=e.get(a.a).getFocusedCodeEditor();if(t&&t.hasModel()){const i=e.get(f.b);t.getSelection().isEmpty()?yield i.executeCommand("editor.action.formatDocument"):yield i.executeCommand("editor.action.formatSelection")}})))},"708a":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("2e5d");class o{static whitespaceVisibleColumn(e,t,i){var o=e.length;let s=0,r=-1,a=-1;for(let l=0;lthis.onPointerStart(e,new p),this)),this._register(new r.a(this.el,"dblclick")).event),f=(this._register(o(this.onPointerDoublePress,this)),this._register(new r.a(this.el,"mouseenter")).event),b=(this._register(f(()=>_.onMouseEnter(this))),this._register(new r.a(this.el,"mouseleave")).event),v=(this._register(b(()=>_.onMouseLeave(this))),this._register(a.b.addTarget(this.el)),d.c.map(this._register(new r.a(this.el,a.a.Start)).event,e=>Object.assign(Object.assign({},e),{target:null!=(e=e.initialTarget)?e:null})));this._register(v(e=>this.onPointerStart(e,new m(this.el)),this)),e=this._register(new r.a(this.el,a.a.Tap)).event;const C=d.c.map(d.c.filter(d.c.debounce(e,(e,t)=>({event:t,count:(null!=(t=null==e?void 0:e.count)?t:0)+1}),250),({count:e})=>2===e),({event:e})=>Object.assign(Object.assign({},e),{target:null!=(e=e.initialTarget)?e:null}));this._register(C(this.onPointerDoublePress,this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(u.event(e=>{this.size=e,this.layout()}))),this._register(g.event(e=>this.hoverDelay=e)),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){var t;this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e&&(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=Object(s.q)(this.el,Object(s.a)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add(Object(h.i)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new r.a(this._orthogonalStartDragHandle,"mouseenter")).event(()=>_.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new r.a(this._orthogonalStartDragHandle,"mouseleave")).event(()=>_.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))},this)),t(e.state)),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){var t;this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e&&(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=Object(s.q)(this.el,Object(s.a)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add(Object(h.i)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new r.a(this._orthogonalEndDragHandle,"mouseenter")).event(()=>_.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new r.a(this._orthogonalEndDragHandle,"mouseleave")).event(()=>_.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))},this)),t(e.state)),this._orthogonalEndSash=e}onPointerStart(e,t){s.c.stop(e);let i=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new f(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new f(t))),this.state){const n=Object(s.E)("iframe");for(const e of n)e.style.pointerEvents="none";const o=e.pageX,r=e.pageY,a=e.altKey;e={startX:o,currentX:o,startY:r,currentY:r,altKey:a},this.el.classList.add("active"),this._onDidStart.fire(e);const l=Object(s.w)(this.el);e=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.f?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.f?"col-resize":"ew-resize",l.textContent=`* { cursor: ${e} !important; }`};const d=new h.b;e(),i||this.onDidEnablementChange(e,null,d),t.onPointerMove(e=>{s.c.stop(e,!1),e={startX:o,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:a},this._onDidChange.fire(e)},null,d),t.onPointerUp(e=>{s.c.stop(e,!1),this.el.removeChild(l),this.el.classList.remove("active"),this._onDidEnd.fire(),d.dispose();for(const t of n)t.style.pointerEvents="auto"},null,d),d.add(t)}}onPointerDoublePress(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&_.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&_.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){_.onMouseLeave(this)}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}getOrthogonalSash(e){return e.target&&e.target instanceof HTMLElement&&e.target.classList.contains("orthogonal-drag-handle")?e.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash:void 0}dispose(){super.dispose(),this.el.remove()}}},"70cb":function(e,t,i){"use strict";i.d(t,"a",(function(){return C}));var n=i("308f"),o=i("a666"),s=i("3742"),r=i("d093"),a=i("2837"),l=i("045b");class d{constructor(e){var t;e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new a.c(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new a.c({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=e.colorizedBracketPairs.map(e=>[e[0],e[1]]):e.brackets?this._colorizedBracketPairs=e.brackets.map(e=>[e[0],e[1]]):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment&&(t=e.__electricCharacterSupport.docComment,this._autoClosingPairs.push(new a.c({open:t.open,close:t.close||""}))),this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(e,t,i){return 0===t.getTokenCount()||(i=t.findTokenIndexAtOffset(i-2),t=t.getStandardTokenType(i),e.isOK(t))}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var h=i("1080");class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const i of this._richEditBrackets.brackets)for(const n of i.close){var t=n.charAt(n.length-1);e.push(t)}return e.filter((e,t,i)=>i.indexOf(e)===t)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var n=t.findTokenIndexAtOffset(i-1);if(Object(l.b)(t.getStandardTokenType(n)))return null;n=this._richEditBrackets.reversedRegex;const o=t.getLineContent().substring(0,i-1)+e;return i=h.a.findPrevBracketInRange(n,1,o,0,o.length),i&&(e=o.substring(i.startColumn-1,i.endColumn-1).toLowerCase(),!this._richEditBrackets.textIsOpenBracket[e]&&(n=t.getActualLineContentBefore(i.startColumn-1),/^\s*$/.test(n)))?{matchOpenBracket:e}:null}}function u(e){return e.global&&(e.lastIndex=0),1}class g{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&u(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&u(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&u(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&u(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var p=i("fdcc");class m{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{var t=m._createOpenBracketRegExp(e[0]),i=m._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(3<=e)for(let o=0,s=this._regExpRules.length;o!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text))))return e.action}if(2<=e&&0{for(let e=0;e{s.dispose(),this._onDidChange.fire(new _(e))})}_getRichEditSupport(e){const t=this._entries2.get(e);return t?t.getRichEditSupport():null}getIndentationRules(e){return e=this._getRichEditSupport(e),e&&e.indentationRules||null}_getElectricCharacterSupport(e){return e=this._getRichEditSupport(e),e&&e.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,i){t=Object(l.a)(t,i-1);let n=this._getElectricCharacterSupport(t.languageId);return n?n.onElectricCharacter(e,t,i-t.firstCharOffset):null}getComments(e){return e=this._getRichEditSupport(e),e&&e.comments||null}_getCharacterPairSupport(e){return e=this._getRichEditSupport(e),e&&e.characterPair||null}getAutoClosingPairs(e){const t=this._getCharacterPairSupport(e);return new a.a(t?t.getAutoClosingPairs():[])}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}shouldAutoClosePair(e,t,i){return t=Object(l.a)(t,i-1),d.shouldAutoClosePair(e,t,i-t.firstCharOffset)}getWordDefinition(e){return e=this._getRichEditSupport(e),e?Object(r.c)(e.wordDefinition||null):Object(r.c)(null)}getFoldingRules(e){return e=this._getRichEditSupport(e),e?e.foldingRules:{}}getIndentRulesSupport(e){return e=this._getRichEditSupport(e),e&&e.indentRulesSupport||null}getPrecedingValidLine(e,t,i){var n=e.getLanguageIdAtPosition(t,0);if(1t.getLineTokens(e),getLanguageIdentifier:()=>t.getLanguageIdentifier(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i),getLineContent:e=>e===i.startLineNumber?p:t.getLineContent(e)},_=s.x(o.getLineContent());e=this.getInheritIndentForLine(e,f,i.startLineNumber+1);if(!e)return{beforeEnter:f=u?_:m,afterEnter:f};let b=u?_:e.indentation;return e.action===a.b.Indent&&(b=n.shiftIndent(b)),g.shouldDecrease(c)&&(b=n.unshiftIndent(b)),{beforeEnter:u?_:m,afterEnter:b}}getIndentActionForType(e,t,i,n,o){if(e<4)return null;const s=this.getScopedLineTokens(t,i.startLineNumber,i.startColumn);if(s.firstCharOffset)return null;const r=this.getIndentRulesSupport(s.languageId);if(!r)return null;const l=s.getLineContent();var d=l.substr(0,i.startColumn-1-s.firstCharOffset);let h;if(i.isEmpty())h=l.substr(i.startColumn-1-s.firstCharOffset);else{const e=this.getScopedLineTokens(t,i.endLineNumber,i.endColumn);h=e.getLineContent().substr(i.endColumn-1-s.firstCharOffset)}if(r.shouldDecrease(d+h)||!r.shouldDecrease(d+n+h))return null;{if(d=this.getInheritIndentForLine(e,t,i.startLineNumber,!1),!d)return null;let n=d.indentation;return n=d.action!==a.b.Indent?o.unshiftIndent(n):n}}getIndentMetadata(e,t){const i=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return!i||t<1||t>e.getLineCount()?null:i.getIndentMetadata(e.getLineContent(t))}getEnterAction(e,t,i){const n=this.getScopedLineTokens(t,i.startLineNumber,i.startColumn),o=this._getRichEditSupport(n.languageId);if(!o)return null;const s=n.getLineContent();var r=s.substr(0,i.startColumn-1-n.firstCharOffset);let l;if(i.isEmpty())l=s.substr(i.startColumn-1-n.firstCharOffset);else{const e=this.getScopedLineTokens(t,i.endLineNumber,i.endColumn);l=e.getLineContent().substr(i.endColumn-1-n.firstCharOffset)}let d="";if(1i-1?n.substring(0,i-1):n}getScopedLineTokens(e,t,i){e.forceTokenization(t);var n=e.getLineTokens(t);e=void 0===i?e.getLineMaxColumn(t)-1:i-1;return Object(l.a)(n,e)}getBracketsSupport(e){return e=this._getRichEditSupport(e),e&&e.brackets||null}getColorizedBracketPairs(e){return(null==(e=this._getRichEditSupport(e))?void 0:e.characterPair.getColorizedBrackets())||[]}}},"70f5":function(e,t,i){"use strict";i.d(t,"a",(function(){return u}));var n=i("e8e3"),o=i("2504"),s=i("fdcc"),r=(t=i("40355"),i("6a89")),a=i("b707"),l=i("258a");i=i("6a5d");class d{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let i,n=("string"==typeof e?i=t.id+"/"+e:(i=t.id+"/"+e.name,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_`+e.range.startColumn)),i);for(let o=0;void 0!==t.children.get(n);o++)n=i+"_"+o;return n}static empty(e){return 0===e.children.size}}class h extends d{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class c extends d{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class u extends d{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let i=this._keys.for(e,!0),n=u._requests.get(i);if(!n){var s=new o.b;n={promiseCnt:0,source:s,promise:u._create(e,s.token),model:void 0},u._requests.set(i,n);const t=Date.now();n.promise.then(()=>{this._requestDurations.update(e,Date.now()-t)})}return n.model?Promise.resolve(n.model):(n.promiseCnt+=1,t.onCancellationRequested(()=>{0==--n.promiseCnt&&(n.source.cancel(),u._requests.delete(i))}),new Promise((e,t)=>{n.promise.then(t=>{n.model=t,e(t)},e=>{u._requests.delete(i),t(e)})}))}static _create(e,t){const i=new o.b(t),r=new u(e.uri),l=a.m.ordered(e);var h=l.map((t,n)=>{var o;let a=d.findId("provider_"+n,r),l=new c(a,r,null!=(o=t.displayName)?o:"Unknown Outline Provider",n);return Promise.resolve(t.provideDocumentSymbols(e,i.token)).then(e=>{for(const t of e||[])u._makeOutlineElement(t,l);return l},e=>(Object(s.g)(e),l)).then(e=>{d.empty(e)?e.remove():r._groups.set(a,e)})});const g=a.m.onDidChange(()=>{var t=a.m.ordered(e);Object(n.h)(t,l)||i.cancel()});return Promise.all(h).then(()=>i.token.isCancellationRequested&&!t.isCancellationRequested?u._create(e,t):r._compact()).finally(()=>{g.dispose()})}static _makeOutlineElement(e,t){var i=d.findId(e,t),n=new h(i,t,e);if(e.children)for(const o of e.children)u._makeOutlineElement(o,n);t.children.set(n.id,n)}_compact(){let e=0;for(var[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;var n;if(1!==e)this.children=this._groups;else for([,n]of l.a.first(this._groups.values()).children)(n.parent=this).children.set(n.id,n);return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof h?e.push(t.symbol):e.push(...l.a.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>r.a.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){var e=this.getTopLevelSymbols();const t=[];return u._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>r.a.compareRangesUsingStarts(e.range,t.range))}static _flattenDocumentSymbols(e,t,i){for(const n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&u._flattenDocumentSymbols(e,n.children,n.name)}}u._requestDurations=new i.b(a.m,350),u._requests=new t.a(9,.75),u._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(e,t){return`${e.id}/${t?e.getVersionId():""}/`+this._hash(a.m.all(e))}_hash(e){let t="";for(const i of e){let e=this._data.get(i);void 0===e&&(e=this._counter++,this._data.set(i,e)),t+=e}return t}}},"722f":function(e,t,i){},7257:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return i.e("chunk-26d4603e").then(i.bind(null,"ed797"))}})},"725e":function(e,t,i){},"72a7":function(e,t,i){"use strict";i.d(t,"e",(function(){return N})),i.d(t,"f",(function(){return O})),i.d(t,"a",(function(){return I})),i.d(t,"h",(function(){return A})),i.d(t,"g",(function(){return R})),i.d(t,"d",(function(){return F})),i.d(t,"b",(function(){return B})),i.d(t,"c",(function(){return q}));var n=i("11f7"),o=i("e32d"),s=i("b835"),r=i("a60f"),a=i("3813");class l{constructor(e){this.spliceables=e}splice(e,t,i){this.spliceables.forEach(n=>n.splice(e,t,i))}}var d=i("e8e3"),h=i("5fe7"),c=(t=i("ceb8"),i("6424")),u=i("308f"),g=i("7e93"),p=i("a666"),m=i("49d9"),f=i("aa3d"),_=i("30db"),b=i("ef8e9");i("e2b8");class v extends Error{constructor(e,t){super(`ListError [${e}] `+t)}}var C,w,y=i("7de1"),S=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.templateData===i);if(0<=n){const e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){const n=[];for(const o of this.renderedElements)o.index=e+t&&n.push({index:o.index+i-t,templateData:o.templateData});this.renderedElements=n}renderIndexes(e){for(var{index:t,templateData:i}of this.renderedElements)-1t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class x{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new u.b,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new L(this)}splice(e,t,i){t=Math.max(0,Math.min(t,this.length-e));const n=i.length-t,o=e+t,s=[...this.sortedIndexes.filter(t=>tt?i+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=o).map(e=>e+n)];var r,a=this.length+n;0e<=t))?r:a-1,s.push(Math.min(r,a-1))),this.renderer.splice(e,t,i.length),this._set(s,s),this.length=a}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(H),t)}_set(e,t,i){var n=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t,t=V(o,e);return this.renderer.renderIndexes(t),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return 0<=Object(d.d)(this.sortedIndexes,e,H)}dispose(){Object(p.f)(this._onChange)}}i([c.a],x.prototype,"renderer",null);class k extends x{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class D{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,i.map(()=>!1));const n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString());i=i.map(e=>-13===e.keyCode).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),!1!==i.multipleSelectionSupport&&this.onKeyDown.filter(e=>(_.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keydown")).event).filter(e=>!N(e.target)).map(e=>new s.a(e))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter(e=>(_.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(d.r)(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}i([c.a],E.prototype,"onKeyDown",null),(w=C=C||{})[w.Idle=0]="Idle",w[w.Typing=1]="Typing";const I=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30||93<=e.keyCode&&e.keyCode<=102||80<=e.keyCode&&e.keyCode<=90)}};class M{constructor(e,t,i,n){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.delegate=n,this.enabled=!1,this.state=C.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new p.b,this.disposables=new p.b,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(!this.enabled){var e=u.c.chain(this.enabledDisposables.add(new o.a(this.view.domNode,"keydown")).event).filter(e=>!N(e.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(e=>new s.a(e)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>{e.stopPropagation(),e.preventDefault()}).map(e=>e.browserEvent.key).event;const t=u.c.debounce(e,()=>null,800),i=u.c.reduce(u.c.any(e,t),(e,t)=>null===t?null:(e||"")+t);i(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e,t=this.list.getFocus();0!N(e.target)).map(e=>new s.a(e));i.filter(e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)).on(this.onTab,this,this.disposables)}onTab(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){const i=this.view.domElement(t[0]);if(i){const n=i.querySelector("[tabIndex]");n&&n instanceof HTMLElement&&-1!==n.tabIndex&&"hidden"!==(t=window.getComputedStyle(n)).visibility&&"none"!==t.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}}}}dispose(){this.disposables.dispose()}}function A(e){return _.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function R(e){return e.browserEvent.shiftKey}const P={isSelectionSingleChangeEvent:A,isSelectionRangeChangeEvent:R};class F{constructor(e){this.list=e,this.disposables=new p.b,this._onPointer=new u.b,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||P),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(r.b.addTarget(e.getHTMLElement()))),u.c.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||P))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){O(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){var t;O(e.browserEvent.target)||(t=void 0===e.index?[]:[e.index],this.list.setFocus(t,e.browserEvent))}onViewPointer(e){if(this.mouseSupport&&!N(e.browserEvent.target)&&!O(e.browserEvent.target)){var t,i=e.index;if(void 0!==i)return this.isSelectionRangeChangeEvent(e)||this.isSelectionChangeEvent(e)?this.changeSelection(e):(this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),(t=e.browserEvent)instanceof MouseEvent&&2===t.button||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e));this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0)}}onDoubleClick(e){var t;N(e.browserEvent.target)||O(e.browserEvent.target)||this.isSelectionChangeEvent(e)||(t=this.list.getFocus(),this.list.setSelection(t,e.browserEvent))}changeSelection(e){const t=e.index;let i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){void 0===i&&(n=this.list.getFocus()[0],i=null!=n?n:t,this.list.setAnchor(i));var n=Math.min(i,t),o=Math.max(i,t),s=(n=Object(d.r)(n,o+1),o=this.list.getSelection(),function(e,t){var i=e.indexOf(t);if(-1===i)return[];const n=[];let o=i-1;for(;0<=o&&e[o]===t-(i-o);)n.push(e[o--]);for(n.reverse(),o=i;o=e.length?i.push(t[o++]):o>=t.length?i.push(e[n++]):e[n]===t[o]?(n++,o++):e[n]e!==t),this.list.setFocus([t]),this.list.setAnchor(t),i.length===o.length?this.list.setSelection([...o,t],e.browserEvent):this.list.setSelection(o,e.browserEvent)}}dispose(){this.disposables.dispose()}}class B{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t=this.selectorSuffix&&"."+this.selectorSuffix;const i=[];e.listBackground&&(e.listBackground.isOpaque()?i.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):_.f),e.listFocusBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&i.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(i.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&i.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&i.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&i.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&i.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&i.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&i.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&i.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&i.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&i.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&i.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&i.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`),e.tableColumnsBorder&&i.push(`\n\t\t\t\t.monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t}`),this.styleElement.textContent=i.join("\n")}}const j={listFocusBackground:t.a.fromHex("#7FB0D0"),listActiveSelectionBackground:t.a.fromHex("#0E639C"),listActiveSelectionForeground:t.a.fromHex("#FFFFFF"),listActiveSelectionIconForeground:t.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:t.a.fromHex("#094771"),listFocusAndSelectionForeground:t.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:t.a.fromHex("#3F3F46"),listInactiveSelectionIconForeground:t.a.fromHex("#FFFFFF"),listHoverBackground:t.a.fromHex("#2A2D2E"),listDropBackground:t.a.fromHex("#383B3D"),treeIndentGuidesStroke:t.a.fromHex("#a9a9a9"),tableColumnsBorder:t.a.fromHex("#cccccc").transparent(.2)},W={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function V(e,t){const i=[];let n=0,o=0;for(;n=e.length?i.push(t[o++]):o>=t.length?i.push(e[n++]):e[n]===t[o]?(i.push(e[n]),n++,o++):e[n]e-t;class z{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let o=0;for(const s of this.renderers)s.renderElement(e,t,i[o++],n)}disposeElement(e,t,i,n){let o=0;for(const s of this.renderers)s.disposeElement&&s.disposeElement(e,t,i[o],n),o+=1}disposeTemplate(e){let t=0;for(const i of this.renderers)i.disposeTemplate(e[t++])}}class U{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,i){var n=this.accessibilityProvider.getAriaLabel(e);n?i.setAttribute("aria-label",n):i.removeAttribute("aria-label"),n=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof n?i.setAttribute("aria-level",""+n):i.removeAttribute("aria-level")}disposeTemplate(e){}}class K{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return-1new z(e.templateId,[...r,e]));var a=Object.assign(Object.assign({},s),{dnd:s.dnd&&new K(this,s.dnd)});this.view=new y.b(t,i,o,a),this.view.domNode.setAttribute("role",e),s.styleController?this.styleController=s.styleController(this.view.domId):(t=Object(n.w)(this.view.domNode),this.styleController=new B(t,this.view.domId)),this.spliceable=new l([new D(this.focus,this.view,s.identityProvider),new D(this.selection,this.view,s.identityProvider),new D(this.anchor,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new T(this,this.view)),"boolean"==typeof s.keyboardSupport&&!s.keyboardSupport||(this.keyboardController=new E(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider&&(i=s.keyboardNavigationDelegate||I,this.typeLabelController=new M(this,this.view,s.keyboardNavigationLabelProvider,i),this.disposables.add(this.typeLabelController)),this.mouseController=this.createMouseController(s),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return u.c.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return u.c.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;var t=u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keydown")).event).map(e=>new s.a(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(o.b).filter(()=>!1).event,i=u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keyup")).event).forEach(()=>e=!1).map(e=>new s.a(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(o.b).map(({browserEvent:e})=>{var t=this.getFocus();t=t.length?t[0]:void 0;return{index:t,element:void 0!==t?this.view.element(t):void 0,anchor:void 0!==t?this.view.domElement(t):this.view.domNode,browserEvent:e}}).event,n=u.c.chain(this.view.onContextMenu).filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:{x:i.pageX+1,y:i.pageY},browserEvent:i})).event;return u.c.any(t,i,n)}get onKeyDown(){return this.disposables.add(new o.a(this.view.domNode,"keydown")).event}get onDidFocus(){return u.c.signal(this.disposables.add(new o.a(this.view.domNode,"focus",!0)).event)}createMouseController(e){return new F(this)}updateOptions(e={}){var t;this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null!=(t=this.keyboardController)&&t.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new v(this.user,"Invalid start index: "+e);if(t<0)throw new v(this.user,"Invalid delete count: "+t);0===t&&0===i.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const i of e)if(i<0||i>=this.length)throw new v(this.user,"Invalid index "+i);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e)this.anchor.set([]);else{if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);this.anchor.set([e])}}getAnchor(){return Object(d.j)(this.anchor.get(),void 0)}getAnchorElement(){var e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(const i of e)if(i<0||i>=this.length)throw new v(this.user,"Invalid index "+i);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){var o;0!==this.length&&(o=this.focus.get(),-1<(o=this.findNextIndex(0=this.length&&!t)return-1;if(e%=this.length,!i||i(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);var i,n=this.view.getScrollTop(),o=this.view.elementTop(e);e=this.view.elementHeight(e);Object(b.i)(t)?(i=e-this.view.renderHeight,this.view.setScrollTop(i*Object(m.b)(t,0,1)+o)):(i=o+e,t=n+this.view.renderHeight,o=this.view.renderHeight?this.view.setScrollTop(o):t<=i&&this.view.setScrollTop(i-this.view.renderHeight)))}getRelativeTop(e){if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);var t=this.view.getScrollTop(),i=this.view.elementTop(e);e=this.view.elementHeight(e);return it+this.view.renderHeight?null:(e-=this.view.renderHeight,Math.abs((t-i)/e))}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){var e=this.focus.get();this.view.domNode.classList.toggle("element-focused",0o[0]&&l[1]=s||(a[l++]=new o(Math.max(1,d.startColumn-n+1),Math.min(1+r,d.endColumn-n+1),d.className,d.type));return a}static filter(e,t,i,n){if(0===e.length)return[];let s=[],r=0;for(let h=0,c=e.length;ht||c.isEmpty()&&(0===d.type||3===d.type)||(a=c.startLineNumber===t?c.startColumn:i,l=c.endLineNumber===t?c.endColumn:n,s[r++]=new o(a,l,d.inlineClassName,d.type))}return s}static _typeCompare(e,t){var i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){var i;return e.startColumn!==t.startColumn?e.startColumn-t.startColumn:e.endColumn!==t.endColumn?e.endColumn-t.endColumn:0!==(i=o._typeCompare(e.type,t.type))?i:e.className!==t.className?e.className=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];var i=[];const o=new r;let s=0;for(let r=0,u=t.length;re.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let a=t.length-2;0<=a;a--)t[a].lineNumber===t[a+1].lineNumber&&t.splice(a,1);let i=[],n=0,o=0,s=t.length;for(let u=1,g=e.getLineCount();u<=g;u++){var r=e.getLineContent(u),h=r.length+1;let g=0;if(!(oe.getLineTokens(t),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(t,i)=>e.getLanguageIdAtPosition(t,i),getLineContent:null};if(l.startLineNumber===l.endLineNumber&&1===e.getLineMaxColumn(l.startLineNumber)){var s=l.startLineNumber,r=this._isMovingDown?s+1:s-1;1===e.getLineMaxColumn(r)?t.addEditOperation(new d.a(1,1,1,1),null):(t.addEditOperation(new d.a(s,1,s,1),e.getLineContent(r)),t.addEditOperation(new d.a(r,1,r,e.getLineMaxColumn(r)),null)),l=new g.a(r,1,r,1)}else{let c,u;if(this._isMovingDown){c=l.endLineNumber+1,u=e.getLineContent(c),t.addEditOperation(new d.a(c-1,e.getLineMaxColumn(c-1),c,e.getLineMaxColumn(c)),null);let g=u;this.shouldAutoIndent(e,l)?(null!==(s=this.matchEnterRule(e,n,i,c,l.startLineNumber-1))?(r=a.x(e.getLineContent(c)),s+=v.b(r,i),r=v.a(s,i,o),g=r+this.trimLeft(u)):(h.getLineContent=t=>t===l.startLineNumber?e.getLineContent(c):e.getLineContent(t),null!==(s=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(c,1),l.startLineNumber,n))&&(r=a.x(e.getLineContent(c)),(s=v.b(s,i))!==v.b(r,i)&&(r=v.a(s,i,o),g=r+this.trimLeft(u)))),t.addEditOperation(new d.a(l.startLineNumber,1,l.startLineNumber,1),g+"\n"),null!==(s=this.matchEnterRuleMovingDown(e,n,i,l.startLineNumber,c,g))?0!==s&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,s):(h.getLineContent=t=>t===l.startLineNumber?g:t>=l.startLineNumber+1&&t<=l.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t),null!==(r=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(c,1),l.startLineNumber+1,n))&&(s=a.x(e.getLineContent(l.startLineNumber)),(r=v.b(r,i))!==(s=v.b(s,i))&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,r-s)))):t.addEditOperation(new d.a(l.startLineNumber,1,l.startLineNumber,1),g+"\n")}else c=l.startLineNumber-1,u=e.getLineContent(c),t.addEditOperation(new d.a(c,1,c+1,1),null),t.addEditOperation(new d.a(l.endLineNumber,e.getLineMaxColumn(l.endLineNumber),l.endLineNumber,e.getLineMaxColumn(l.endLineNumber)),"\n"+u),this.shouldAutoIndent(e,l)&&(h.getLineContent=t=>t===c?e.getLineContent(l.startLineNumber):e.getLineContent(t),null!==(r=this.matchEnterRule(e,n,i,l.startLineNumber,l.startLineNumber-2))?0!==r&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,r):null!==(s=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(l.startLineNumber,1),c,n))&&(r=a.x(e.getLineContent(l.startLineNumber)),(n=v.b(s,i))!==(s=v.b(r,i))&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,n-s)))}this._selectionId=t.trackSelection(l)}else this._selectionId=t.trackSelection(this._selection)}buildIndentConverter(e,t,i){return{shiftIndent:n=>f.a.shiftIndent(n,n.length+1,e,t,i),unshiftIndent:n=>f.a.unshiftIndent(n,n.length+1,e,t,i)}}parseEnterResult(e,t,i,n,o){if(o){let s=o.indentation;if(o.indentAction===_.b.None||o.indentAction===_.b.Indent?s=o.indentation+o.appendText:o.indentAction===_.b.IndentOutdent?s=o.indentation:o.indentAction===_.b.Outdent&&(s=t.unshiftIndent(o.indentation)+o.appendText),o=e.getLineContent(n),0<=this.trimLeft(o).indexOf(this.trimLeft(s))){o=a.x(e.getLineContent(n));let r=a.x(s);return e=b.a.getIndentMetadata(e,n),null!==e&&2&e&&(r=t.unshiftIndent(r)),n=v.b(r,i),n-v.b(o,i)}}return null}matchEnterRuleMovingDown(e,t,i,n,o,s){if(0<=a.I(s))return s=e.getLineMaxColumn(o),o=b.a.getEnterAction(this._autoIndent,e,new d.a(o,s,o,s)),this.parseEnterResult(e,t,i,n,o);{let l=n-1;for(;1<=l;){var r=e.getLineContent(l);if(0<=a.I(r))break;l--}return l<1||n>e.getLineCount()?null:(s=e.getLineMaxColumn(l),o=b.a.getEnterAction(this._autoIndent,e,new d.a(l,s,l,s)),this.parseEnterResult(e,t,i,n,o))}}matchEnterRule(e,t,i,n,o,s){let r=o;for(;1<=r;){let t;if(t=r===o&&void 0!==s?s:e.getLineContent(r),0<=a.I(t))break;r--}var l;return r<1||n>e.getLineCount()?null:(l=e.getLineMaxColumn(r),l=b.a.getEnterAction(this._autoIndent,e,new d.a(r,l,r,l)),this.parseEnterResult(e,t,i,n,l))}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){var i;return!(this._autoIndent<4)&&!!e.isCheapToTokenize(t.startLineNumber)&&(i=e.getLanguageIdAtPosition(t.startLineNumber,1))===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==b.a.getIndentRulesSupport(i)}getIndentEditsOfMovingBlock(e,t,i,n,o,s){for(let h=i.startLineNumber;h<=i.endLineNumber;h++){var r=e.getLineContent(h),l=(r=a.x(r),v.b(r,n));l=v.a(l+s,n,o);l!==r&&(t.addEditOperation(new d.a(h,1,h,r.length+1),l),h===i.endLineNumber&&i.endColumn<=r.length+1&&""===l&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&i.startLineNumber=o)return null;let s=[];for(let a=n;a<=o;a++)s.push(e.getLineContent(a));let r=s.slice(0);return r.sort(w.getCollator().compare),!0===i&&(r=r.reverse()),{startLineNumber:n,endLineNumber:o,before:s,after:r}}w._COLLATOR=null;var S=i("7e32");class L extends t.b{constructor(e,t){super(t),this.down=e}run(e,t){if(t.hasModel()){const e=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));e.sort((e,t)=>d.a.compareRangesUsingStarts(e.selection,t.selection));let i=e[0];for(let t=1;tnew u.a(e.positionLineNumber,e.positionColumn)));i=t.getSelection();null!==i&&(i=new h(i,n),t.pushUndoStop(),t.executeCommands(this.id,[i]),t.pushUndoStop())}}E.ID="editor.action.trimTrailingWhitespace";class I extends t.b{constructor(){super({id:"editor.action.deleteLines",label:n.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:3113,weight:100}})}run(e,t){if(t.hasModel()){var i=this._getLinesToRemove(t);let e=t.getModel();if(1!==e.getLineCount()||1!==e.getLineMaxColumn(1)){let o=0,s=[],r=[];for(let t=0,a=i.length;t{let t=e.endLineNumber;return e.startLineNumbere.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber),[]),n=t[0];for(let o=1;o=t[o].startLineNumber?n.endLineNumber=t[o].endLineNumber:(i.push(n),n=t[o]);return i.push(n),i}}class M extends t.b{constructor(){super({id:"editor.action.indentLines",label:n.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2137,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.indent(i.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class T extends t.b{constructor(){super({id:"editor.action.outdentLines",label:n.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2135,weight:100}})}run(e,t){s.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)}}class A extends t.b{constructor(){super({id:"editor.action.insertLineBefore",label:n.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:3075,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.lineInsertBefore(i.cursorConfig,t.getModel(),t.getSelections())))}}class R extends t.b{constructor(){super({id:"editor.action.insertLineAfter",label:n.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2051,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.lineInsertAfter(i.cursorConfig,t.getModel(),t.getSelections())))}}class P extends t.b{run(e,t){if(t.hasModel()){var i=t.getSelection();let e=this._getRangesToDelete(t),r=[];for(let t=0,i=e.length-1;tl.a.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,s,i),t.pushUndoStop()}}}class F extends P{constructor(){super({id:"deleteAllLeft",label:n.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let i=null,n=[],o=0;return t.forEach(t=>{let s;var r;s=1===t.endColumn&&0{var t,i;return e.isEmpty()?1===e.startColumn?(t=Math.max(1,e.startLineNumber-1),i=1===e.startLineNumber?1:n.getLineContent(t).length+1,new d.a(t,i,e.startLineNumber,1)):new d.a(e.startLineNumber,1,e.startLineNumber,e.startColumn):new d.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)}))}}class B extends P{constructor(){super({id:"deleteAllRight",label:n.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let i=null,n=[];for(let s=0,r=t.length;s{var i;return e.isEmpty()?(i=t.getLineMaxColumn(e.startLineNumber),e.startColumn===i?new d.a(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new d.a(e.startLineNumber,e.startColumn,e.startLineNumber,i)):e});return n.sort(d.a.compareRangesUsingStarts),n}}class j extends t.b{constructor(){super({id:"editor.action.joinLines",label:n.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let i=t.getSelections();if(null!==i){let e=t.getSelection();if(null!==e){i.sort(d.a.compareRangesUsingStarts);let h=[];var n=i.reduce((t,i)=>t.isEmpty()?t.endLineNumber===i.startLineNumber?(e.equalsSelection(t)&&(e=i),i):i.startLineNumber>t.endLineNumber+1?(h.push(t),i):new g.a(t.startLineNumber,t.startColumn,i.endLineNumber,i.endColumn):i.startLineNumber>t.endLineNumber?(h.push(t),i):new g.a(t.startLineNumber,t.startColumn,i.endLineNumber,i.endColumn));h.push(n);let c=t.getModel();if(null!==c){let i=[],n=[],u=e,p=0;for(let t=0,m=h.length;t=n?i.lineNumber!==e.getLineCount()&&(n=new d.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber+1,1),n=e.getValueInRange(n).split("").reverse().join(""),a.push(new r.a(new g.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber+1,1),n))):(n=new d.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber,i.column+1),o=e.getValueInRange(n).split("").reverse().join(""),a.push(new r.b(n,o,new g.a(i.lineNumber,i.column+1,i.lineNumber,i.column+1)))))}t.pushUndoStop(),t.executeCommands(this.id,a),t.pushUndoStop()}}}}class V extends t.b{run(e,t){var i=t.getSelections();if(null!==i){const e=t.getModel();if(null!==e){var n,o,s=t.getOption(116);const r=[];for(const a of i)a.isEmpty()?(o=a.getStartPosition(),(n=t.getConfiguredWordAtPosition(o))&&(o=new d.a(o.lineNumber,n.startColumn,o.lineNumber,n.endColumn),n=e.getValueInRange(o),r.push(l.a.replace(o,this._modifyText(n,s))))):(o=e.getValueInRange(a),r.push(l.a.replace(a,this._modifyText(o,s))));t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop()}}}}class H extends V{constructor(){super({id:"editor.action.transformToUppercase",label:n.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:p.a.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}class z extends V{constructor(){super({id:"editor.action.transformToLowercase",label:n.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:p.a.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}class U extends V{constructor(){super({id:"editor.action.transformToTitlecase",label:n.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:p.a.writable})}_modifyText(e,t){const i="\r\n\t "+t,n=i.split("");let o="",s=!0;for(let r=0;rp(void 0,void 0,void 0,(function*(){var[i]=t,n=(Object(d.c)(i instanceof s.a),e.get(a.a).getModel(i));if(n){const t=b(n);return t?t.getLegend():e.get(l.b).executeCommand("_provideDocumentRangeSemanticTokensLegend",i)}}))),l.a.registerCommand("_provideDocumentSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i]=t;Object(d.c)(i instanceof s.a);const r=e.get(a.a).getModel(i);if(r){var h=_(r,null,n.a.None);if(!h)return e.get(l.b).executeCommand("_provideDocumentRangeSemanticTokens",i,r.getFullModelRange());const{provider:s,request:a}=h;let d;try{d=yield a}catch(t){return void Object(o.g)(t)}return d&&m(d)?(i=u({id:0,type:"full",data:d.data}),d.resultId&&s.releaseDocumentSemanticTokens(d.resultId),i):void 0}}))),l.a.registerCommand("_provideDocumentRangeSemanticTokensLegend",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i]=t,i=(Object(d.c)(i instanceof s.a),e.get(a.a).getModel(i));if(i){const e=v(i);if(e)return e.getLegend()}}))),l.a.registerCommand("_provideDocumentRangeSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i,r]=t,i=(Object(d.c)(i instanceof s.a),Object(d.c)(g.a.isIRange(r)),e.get(a.a).getModel(i));if(i){const t=v(i);if(t){let s;try{s=yield t.provideDocumentRangeSemanticTokens(i,g.a.lift(r),n.a.None)}catch(e){return void Object(o.g)(e)}if(s&&m(s))return u({id:0,type:"full",data:s.data})}}})))},7605:function(e,t,i){"use strict";i.r(t),i.d(t,"FoldingController",(function(){return U})),i.d(t,"foldBackgroundBackground",(function(){return de})),i.d(t,"editorFoldForeground",(function(){return he})),i("0a33");var n=i("dff7"),o=i("ef8e9"),s=i("3742"),r=i("5fe7"),a=i("fe45"),l=i("a666"),d=i("b2cc"),h=i("308f");const c=16777215;class u{constructor(e,t,i){if(e.length!==t.length||65535{var i=o[o.length-1];return this.getStartLineNumber(i)<=e&&this.getEndLineNumber(i)>=t};for(let s=0,r=this._startIndexes.length;sc||i>c)throw new Error("startLineNumber or endLineNumber must not exceed "+c);for(;0>>24)+((4278190080&this._endIndexes[e])>>>16),65535==e?-1:e}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return-1;for(;t=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class p{constructor(e,t){this._updateEventEmitter=new h.b,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new u(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(e.length){e=e.sort((e,t)=>e.regionIndex-t.regionIndex);const t={};this._decorationProvider.changeDecorations(i=>{let n=0,o=-1,s=-1;var r,a=e=>{for(;ns&&(s=t),n++}};for(r of e){var l=r.regionIndex,d=this._editorDecorationIds[l];d&&!t[d]&&(t[d]=!0,a(l),d=!this._regions.isCollapsed(l),this._regions.setCollapsed(l,d),o=Math.max(o,this._regions.getEndLineNumber(l)))}a(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}}update(e,t=[]){let i=[],n=(e,i)=>{for(var n of t)if(e{var r=e.getStartLineNumber(t),a=e.getEndLineNumber(t);(s=s||e.isCollapsed(t))&&n(r,a)&&(s=!1),e.setCollapsed(t,s),t=this._textModel.getLineMaxColumn(r),r={startLineNumber:r,startColumn:Math.max(t-1,1),endLineNumber:r,endColumn:t};i.push({range:r,options:this._decorationProvider.getDecorationOption(s,a<=o)}),s&&a>o&&(o=a)};let r=0;var a=()=>{for(;re.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i),o.push(...s);e.toggleCollapseState(o)}function _(e,t,i){let n=[];for(var o of i)n.push(e.getAllRegionsAtLine(o,void 0)[0]);i=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t),e.toggleCollapseState(i)}function b(e,t,i){let n=e.textModel,o=e.regions,s=[];for(let a=o.length-1;0<=a;a--){var r;i!==o.isCollapsed(a)&&(r=o.getStartLineNumber(a),t.test(n.getLineContent(r))&&s.push(o.toRegion(a)))}e.toggleCollapseState(s)}function v(e,t,i){let n=e.regions,o=[];for(let s=n.length-1;0<=s;s--)i!==n.isCollapsed(s)&&t===n.getType(s)&&o.push(n.toRegion(s));e.toggleCollapseState(o)}var C=i("b57f"),w=(t=i("561a"),i("bf5b")),y=i("b7d0");const S=Object(w.b)("folding-expanded",t.b.chevronDown,Object(n.a)("foldingExpandedIcon","Icon for expanded ranges in the editor glyph margin.")),L=Object(w.b)("folding-collapsed",t.b.chevronRight,Object(n.a)("foldingCollapsedIcon","Icon for collapsed ranges in the editor glyph margin."));class x{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?x.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?x.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:x.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?x.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:x.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}x.COLLAPSED_VISUAL_DECORATION=C.a.register({description:"folding-collapsed-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(L)}),x.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=C.a.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(L)}),x.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=C.a.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(S)}),x.EXPANDED_VISUAL_DECORATION=C.a.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+y.d.asClassName(S)}),x.HIDDEN_RANGE_DECORATION=C.a.register({description:"folding-hidden-range-decoration",stickiness:1});var k=i("c101"),D=i("6a89"),N=i("e8e3");class O{constructor(e){this._updateEventEmitter=new h.b,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,o=Number.MAX_VALUE,s=-1,r=this._foldingModel.regions;for(;i({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return 0{var t,i;return(n=n&&(t=e,i=n,t>=i.startLineNumber&&t<=i.endLineNumber)?n:E(this._hiddenRanges,e))?n.startLineNumber-1:null};for(let r=0,a=e.length;rt=t?e[i]:null}var I=i("70cb");class M{constructor(e){this.editorModel=e,this.id="indent"}dispose(){}compute(e){var t=I.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),i=t&&!!t.offSide;t=t&&t.markers;return Promise.resolve(function(e,t,i,n=5e3){var o=e.getOptions().tabSize;let s=new T(n),r=void 0;i&&(r=new RegExp(`(${i.start.source})|(?:${i.end.source})`));let a=[],l=e.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let c=e.getLineCount();0d){for(;a.pop(),(n=a[a.length-1]).indent>d;);var h=n.endAbove-1;1<=h-c&&s.insertFirst(c,h,d)}n.indent===d?n.endAbove=c:a.push({indent:d,endAbove:c,line:c})}}return s.toIndentRanges(e)}(this.editorModel,i,t))}}class T{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){var n;e>c||t>c||(n=this._length,this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1))}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;0<=i;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new u(e,t)}{let s=0,r=this._indentOccurrences.length;for(let e=0;ethis._foldingRangesLimit){r=e;break}s+=t}}var i=e.getOptions().tabSize;let a=new Uint32Array(this._foldingRangesLimit),l=new Uint32Array(this._foldingRangesLimit);for(let t=this._length-1,d=0;0<=t;t--){var n=this._startIndexes[t],o=e.getLineContent(n);o=C.b.computeIndentLevel(o,i);(oPromise.resolve(e.provideFoldingRanges(t,P,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(n)||(n=[]);var s,r=t.getLineCount();for(s of e)0s.start&&s.end<=r&&n.push({start:s.start,end:s.end,rank:o,kind:s.kind})}},R.g));return Promise.all(o).then(e=>n)}(this.providers,this.editorModel,e).then(e=>e?j(e,this.limit):null)}dispose(){var e;null!=(e=this.disposables)&&e.dispose()}}class B{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){var o;e>c||t>c||(o=this._length,this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=n,this._types[o]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1))}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ithis._foldingRangesLimit){n=t;break}i+=e}}let o=new Uint32Array(this._foldingRangesLimit),s=new Uint32Array(this._foldingRangesLimit),r=[];for(let e=0,a=0;e{let i=e.start-t.start;return 0===i?e.rank-t.rank:i});let n=new B(t),o=void 0,s=[];for(i of e)if(o){if(i.start>o.start){if(i.end<=o.end)s.push(o),o=i;else if(i.start>o.end){for(;(o=s.pop())&&i.start>o.end;);o&&s.push(o),o=i}n.add(i.start,i.end,i.kind&&i.kind.value,s.length)}}else o=i,n.add(i.start,i.end,i.kind&&i.kind.value,s.length);return n.toIndentRanges()}class W{constructor(e,t,i,n){this.editorModel=e,this.id="init",t.length&&(this.decorationIds=e.deltaDecorations([],t.map(t=>({range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{description:"folding-initializing-range-provider",stickiness:1}}))),this.timeout=setTimeout(i,n))}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(var i of this.decorationIds)i=this.editorModel.getDecorationRange(i),i&&t.push({start:i.startLineNumber,end:i.endLineNumber,rank:1});return Promise.resolve(j(t,Number.MAX_VALUE))}}w=i("4fc3"),t=i("303e");var V=i("bc04"),H=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(36)&&(this._isEnabled=this.editor.getOptions().get(36),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(99)||e.hasChanged(38)){const e=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(99),this.foldingDecorationProvider.showFoldingHighlights=e.get(38),this.onModelContentChanged()}e.hasChanged(37)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(37),this.onFoldingStrategyChanged()),e.hasChanged(40)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(40)),e.hasChanged(39)&&(this._foldingImportsByDefault=this.editor.getOptions().get(39))})),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();var t,i;return e&&this._isEnabled&&!e.isTooLargeForTokenization()?this.foldingModel?(t=(this.foldingModel.isInitialized?this.foldingModel:this.hiddenRangeModel).getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0,{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}):void 0:{}}restoreViewState(e){let t=this.editor.getModel();if(t&&this._isEnabled&&!t.isTooLargeForTokenization()&&this.hiddenRangeModel&&e&&e.lineCount===t.getLineCount()&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions)){"syntax"!==e.provider&&"init"!==e.provider||(this.foldingStateMemento=e);const t=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(t)){const e=this.getFoldingModel();e&&e.then(e=>{if(e){this._restoringViewState=!0;try{e.applyMemento(t)}finally{this._restoringViewState=!1}}}).then(void 0,R.f)}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this._currentModelHasFoldedImports=!1,this.foldingModel=new p(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new O(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new r.a(200),this.cursorChangedScheduler=new r.e(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(A.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(!this.rangeProvider){if(this.rangeProvider=new M(e),this._useFoldingProviders&&this.foldingModel){var t=A.o.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new W(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4);0this.onModelContentChanged()))}this.foldingStateMemento=null}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const e=this.foldingModel;if(!e)return null;const t=this.getRangeProvider(e.textModel);let i=this.foldingRegionPromise=Object(r.h)(e=>t.compute(e));return i.then(t=>{if(t&&i===this.foldingRegionPromise){let i;!this._foldingImportsByDefault||this._currentModelHasFoldedImports||(n=t.setCollapsedAllOfType(A.n.Imports.value,!0))&&(i=V.c.capture(this.editor),this._currentModelHasFoldedImports=n);let o=this.editor.getSelections();var n=o?o.map(e=>e.startLineNumber):[];e.update(t,n),i&&i.restore(this.editor)}return e})}).then(void 0,e=>(Object(R.f)(e),null)))}onHiddenRangesChanges(e){var t;this.hiddenRangeModel&&e.length&&!this._restoringViewState&&(t=this.editor.getSelections())&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t),this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then(e=>{if(e){let i=this.editor.getSelections();if(i&&0e.isCollapsed&&i>e.startLineNumber))}n.length&&(e.toggleCollapseState(n),this.reveal(i[0].getPosition()))}}}).then(void 0,R.f)}onEditorMouseDown(e){if(this.mouseDownInfo=null,this.hiddenRangeModel&&e.target&&e.target.range&&(e.event.leftButton||e.event.middleButton)){var t=e.target.range;let o=!1;switch(e.target.type){case 4:var i=e.target.detail,n=e.target.element.offsetLeft;if(i.offsetX-n<5)return;o=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:o}}}onEditorMouseUp(e){const t=this.getFoldingModel();if(t&&this.mouseDownInfo&&e.target){let n=this.mouseDownInfo.lineNumber,o=this.mouseDownInfo.iconClicked;var i=e.target.range;if(i&&i.startLineNumber===n){if(o){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||i.startColumn!==e.getLineMaxColumn(n))return}t.then(t=>{if(t){let r=t.getRegionAtLine(n);if(r&&r.startLineNumber===n){var i=r.isCollapsed;if(o||i){let o=[];if(e.event.altKey){var s=t.getRegionsInside(null,e=>!e.containedBy(r)&&!r.containedBy(e));for(const e of s)e.isCollapsed&&o.push(e);0===o.length&&(o=s)}else{if(s=e.event.middleButton||e.event.shiftKey,s)for(const e of t.getRegionsInside(r))e.isCollapsed===i&&o.push(e);!i&&s&&0!==o.length||o.push(r)}t.toggleCollapseState(o),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,R.f)}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};U.ID="editor.contrib.folding",U=i([H(1,w.b)],U);class K extends d.b{runEditorCommand(e,t,i){let n=U.get(t);if(n){let o=n.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(n,e,t,i);const o=t.getSelection();o&&n.reveal(o.getStartPosition())}})):void 0}}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function q(e){if(!o.l(e)){if(!o.j(e))return!1;const t=e;if(!o.l(t.levels)&&!o.i(t.levels))return!1;if(!o.l(t.direction)&&!o.k(t.direction))return!1;if(!(o.l(t.selectionLines)||o.f(t.selectionLines)&&t.selectionLines.every(o.i)))return!1}return!0}class $ extends K{constructor(){super({id:"editor.unfold",label:n.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:q,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){var o=n&&n.levels||1;i=this.getLineNumbers(n,i);(n&&"up"===n.direction?f:m)(t,!1,o,i)}}class G extends K{constructor(){super({id:"editor.unfoldRecursively",label:n.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:Object(a.a)(2089,2137),weight:100}})}invoke(e,t,i,n){m(t,!1,Number.MAX_VALUE,this.getSelectedLines(i))}}class Z extends K{constructor(){super({id:"editor.fold",label:n.a("foldAction.label","Fold"),alias:"Fold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:q,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){i=this.getLineNumbers(n,i);var o=n&&n.levels;n=n&&n.direction;if("number"!=typeof o&&"string"!=typeof n){var s=t,r=!0,a=i;let e=[];for(var l of a)l=s.getAllRegionsAtLine(l,e=>e.isCollapsed!==r),0e.isCollapsed!==t&&it===n&&e.isCollapsed!==o&&!s.some(t=>e.containsLine(t))),t.toggleCollapseState(i)}}se.ID_PREFIX="editor.foldLevel",se.ID=e=>se.ID_PREFIX+e;class re extends K{constructor(){super({id:"editor.gotoParentFold",label:n.a("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,weight:100}})}invoke(e,t,i){var n=this.getSelectedLines(i);0=e)return null;if(i.parentIndex===n)return i.startLineNumber}}else if(0e)return i.startLineNumber;i=i.regionIndex{var i=e.getColor(de);i&&t.addRule(`.monaco-editor .folded-background { background-color: ${i}; }`),i=e.getColor(he);i&&t.addRule(`\n\t\t.monaco-editor .cldr${y.d.asCSSSelector(S)},\n\t\t.monaco-editor .cldr${y.d.asCSSSelector(L)} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)})},"77a4":function(e,t,i){"use strict";i.r(t),i.d(t,"CodeLensContribution",(function(){return H}));var n=i("5fe7"),o=i("fdcc"),s=i("a666"),r=i("bc04"),a=(t=i("b2cc"),i("b707")),l=i("2504"),d=i("6d8e"),h=i("1b69"),c=i("9e74"),u=i("ef8e9"),g=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class p{constructor(){this.lenses=[],this._disposables=new s.b}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(const i of e.lenses)this.lenses.push({symbol:i,provider:t})}}function m(e,t){return g(this,void 0,void 0,(function*(){const i=a.b.ordered(e),n=new Map,s=new p;var r=i.map((i,r)=>g(this,void 0,void 0,(function*(){n.set(i,r);try{var a=yield Promise.resolve(i.provideCodeLenses(e,t));a&&s.add(a,i)}catch(a){Object(o.g)(a)}})));return yield Promise.all(r),s.lenses=s.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:n.get(e.provider)n.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),s}))}c.a.registerCommand("_executeCodeLensProvider",(function(e,...t){let[i,n]=t;Object(u.c)(d.a.isUri(i)),Object(u.c)("number"==typeof n||!n);const r=e.get(h.a).getModel(i);if(!r)throw Object(o.c)();const a=[],c=new s.b;return m(r,l.a.None).then(e=>{c.add(e);let t=[];for(const i of e.lenses)void 0===n||null===n||Boolean(i.symbol.command)?a.push(i.symbol):0a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>c.dispose(),100)})})),i("44c7");var f=i("11f7"),_=i("6a89"),b=i("b57f"),v=i("918c"),C=i("303e"),w=i("b7d0"),y=i("7ddc");class S{constructor(e,t,i){this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class L{constructor(e,t,i){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+L._idPool++,this.updatePosition(i),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+t}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let s=0;s{e.symbol.command&&l.push(e.symbol),n.addDecoration({range:e.symbol.range,options:b.a.EMPTY},e=>this._decorationIds[t]=e),a=a?_.a.plusRange(a,e.symbol.range):_.a.lift(e.symbol.range)}),this._viewZone=new S(a.startLineNumber-1,s,r),this._viewZoneId=o.addZone(this._viewZone),0{const i=this._editor.getModel().getDecorationRange(e);return e=this._data[t].symbol,!(!i||_.a.isEmpty(e.range)!==i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:b.a.EMPTY},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let i=0;i{var i=e.getColor(v.l);i&&(t.addRule(`.monaco-editor .codelens-decoration { color: ${i}; }`),t.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${i}; }`)),i=e.getColor(C.q);i&&(t.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i} !important; }`),t.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i} !important; }`))});var D=i("b0cd"),N=(w=i("0a0f"),i("f5f3")),O=i("40355"),E=i("03e8"),I=i("0bfb"),M=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.remove("codelens/cache",1));const t="codelens/cache2";var i=e.get(t,1,"{}");this._deserialize(i),Object(I.a)(e.onWillSaveState)(i=>{i.reason===E.c.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){t=t.lenses.map(e=>({range:e.symbol.range,command:e.symbol.command&&{id:"",title:null==(e=e.symbol.command)?void 0:e.title}}));const i=new p;i.add({lenses:t,dispose:()=>{}},this._fakeProvider),t=new A(e.getLineCount(),i),this._cache.set(e.uri.toString(),t)}get(e){var t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(var[t,i]of this._cache){const n=new Set;for(const e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{var t=JSON.parse(e);for(const e in t){var i=t[e];const n=[];for(const e of i.lines)n.push({range:new _.a(e,1,e,11)});const o=new p;o.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new A(i.lineCount,o))}}catch(e){}}},P=(R=M([T(0,E.a)],R),Object(N.b)(w,R),i("eda7")),F=i("66bd"),B=i("dff7"),j=i("c101"),W=i("6a5d"),V=(M=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._resolveCodeLensesInViewport(),this._resolveCodeLensesDelays.min),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(42)||e.hasChanged(15)||e.hasChanged(14))&&this._updateLensStyle(),e.hasChanged(13)&&this._onModelChange()})),this._disposables.add(a.b.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName="_"+Object(P.c)(this._editor.getId()).toString(16),this._styleElement=f.w(f.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null!=(e=this._currentCodeLensModel)&&e.dispose(),this._styleElement.remove()}_getLayoutInfo(){let e,t=this._editor.getOption(15);return{codeLensHeight:e=!t||t<5?(t=.9*this._editor.getOption(44)|0,this._editor.getOption(58)):t*Math.max(1.3,this._editor.getOption(58)/this._editor.getOption(44))|0,fontSize:t}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo();var i=this._editor.getOption(14),n=this._editor.getOption(42),o="--codelens-font-family"+this._styleClassName,s="--codelens-font-features"+this._styleClassName;let r=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${e}px; font-size: ${t}px; padding-right: ${Math.round(.5*t)}px; font-feature-settings: var(${s}) }\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${e}px; font-size: ${t}px; }\n\t\t`;i&&(r+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${o})}`),this._styleElement.textContent=r,this._editor.getContainerDomNode().style.setProperty(o,null!=i?i:"inherit"),this._editor.getContainerDomNode().style.setProperty(s,n.fontFeatureSettings),this._editor.changeViewZones(t=>{for(var i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e;null!=(e=this._getCodeLensModelPromise)&&e.cancel(),this._getCodeLensModelPromise=void 0,null!=(e=this._resolveCodeLensesPromise)&&e.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null!=(e=this._currentCodeLensModel)&&e.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._editor.getOption(13))return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!a.b.has(e))return void(t&&this._localToDispose.add(Object(n.i)(()=>{var i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4)));for(const n of a.b.all(e)){var i;"function"==typeof n.onDidChange&&(i=n.onDidChange(()=>l.schedule()),this._localToDispose.add(i))}const l=new n.e(()=>{var t;const i=Date.now();null!=(t=this._getCodeLensModelPromise)&&t.cancel(),this._getCodeLensModelPromise=Object(n.h)(t=>m(e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);var n=this._getCodeLensModelDelays.update(e,Date.now()-i);l.delay=n,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},o.f)},this._getCodeLensModelDelays.get(e));this._localToDispose.add(l),this._localToDispose.add(Object(s.i)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1,o=(this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)}),new x);i.forEach(e=>{e.dispose(o,t),this._lenses.splice(this._lenses.indexOf(e),1)}),o.commit(e)})}),l.schedule()})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{l.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&0{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(Object(s.i)(()=>{if(this._editor.getModel()){const e=r.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9===e.target.type){let i=e.target.element;if("A"===(null===(i="SPAN"===(null===i||void 0===i?void 0:i.tagName)?i.parentElement:i)||void 0===i?void 0:i.tagName))for(const e of this._lenses){var t=e.getCommand(i);if(t){this._commandService.executeCommand(t.id,...t.arguments||[]).catch(e=>this._notificationService.error(e));break}}}})),l.schedule()}_disposeAllLenses(e,t){const i=new x;for(const n of this._lenses)n.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(this._editor.hasModel()){var t,i=this._editor.getModel().getLineCount();let o,s=[];for(t of e.lenses){var n=t.symbol.range.startLineNumber;n<1||i{this._editor.changeViewZones(t=>{const i=new x;let n=0,o=0;for(;othis._resolveCodeLensesInViewportSoon())),n++,o++)}for(;nthis._resolveCodeLensesInViewportSoon())),o++;i.commit(e)})}),a.restore(this._editor)}}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null!=(e=this._resolveCodeLensesPromise)&&e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(t){const e=[],i=[];if(this._lenses.forEach(n=>{var o=n.computeIfNecessary(t);o&&(e.push(o),i.push(n))}),0!==e.length){const s=Date.now(),r=Object(n.h)(n=>{var s=e.map((e,s)=>{const r=new Array(e.length);return e=e.map((e,i)=>e.symbol.command||"function"!=typeof e.provider.resolveCodeLens?(r[i]=e.symbol,Promise.resolve(void 0)):Promise.resolve(e.provider.resolveCodeLens(t,e.symbol,n)).then(e=>{r[i]=e},o.g)),Promise.all(e).then(()=>{n.isCancellationRequested||i[s].isDisposed()||i[s].updateCommands(r)})});return Promise.all(s)});this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then(()=>{var e=this._resolveCodeLensesDelays.update(t,Date.now()-s);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{Object(o.f)(e),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}}}getLenses(){return this._lenses}};H.ID="css.editor.codeLens",H=M([T(1,c.b),T(2,D.a),T(3,w)],H),Object(t.l)(H.ID,H),Object(t.j)(class extends t.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:j.a.hasCodeLensProvider,label:Object(B.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return V(this,void 0,void 0,(function*(){if(t.hasModel()){const r=e.get(F.a),a=e.get(c.b),l=e.get(D.a);var i,n=t.getSelection().positionLineNumber;const d=t.getContribution(H.ID),h=[];for(i of d.getLenses())if(i.getLineNumber()===n)for(var o of i.getItems())o=o.symbol["command"],o&&h.push({label:o.title,command:o});if(0!==h.length){var s=yield r.pick(h,{canPickMany:!1});if(s)try{yield a.executeCommand(s.command.id,...s.command.arguments||[])}catch(i){l.error(i)}}}}))}})},"77db":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return i.e("chunk-2d0a3196").then(i.bind(null,"0176"))}})},"780f":function(e,t,i){"use strict";i("d585"),i("9c1d"),i("4a64"),i("d0b6"),i("3765"),i("6e4e"),i("2935"),i("6daf"),i("c36f"),i("0b112"),i("77a4"),i("db2d"),i("9f4d"),i("7c3e"),i("e516"),i("fd11"),i("a106"),i("7605"),i("6df4"),i("7082"),i("891c"),i("2e66"),i("f187"),i("1f84"),i("958f"),i("aee8"),i("bc61"),i("6e62"),i("1af3"),i("747f"),i("7eb7"),i("d844"),i("f17c"),i("5b02"),i("43ad"),i("d741"),i("b574"),i("7a9e");var n=i("dff7"),o=i("b2cc"),s=i("e58e");class r extends o.b{constructor(){super({id:"editor.action.forceRetokenize",label:n.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(t.hasModel()){const e=t.getModel(),i=(e.resetTokenization(),new s.a(!0));e.forceTokenization(e.getLineCount()),i.stop()}}}Object(o.j)(r),i("93ba"),i("87a3"),i("23ec"),i("5ed2"),i("b3b2"),i("2d47"),i("03d9"),i("b9db")},"782d":function(e,t,i){},"78bc":function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"c",(function(){return l}));var n=i("fdcc"),o=i("1097");class s{constructor(e="",t=!1){if(this.value=e,"string"!=typeof this.value)throw Object(n.c)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1):(this.isTrusted=null!=(e=t.isTrusted)?e:void 0,this.supportThemeIcons=null!=(e=t.supportThemeIcons)&&e)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?Object(o.a)(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/^>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}}function r(e){return function(e){return e instanceof s?1:e&&"object"==typeof e?!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons):void 0}(e)?!e.value:!Array.isArray(e)||e.every(r)}function a(e){return e&&e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}function l(e){const t=[];var i,n,o,s=e.split("|").map(e=>e.trim());e=s[0],s=s[1];return s&&(i=/height=(\d+)/.exec(s),s=/width=(\d+)/.exec(s),i=i?i[1]:"",s=s?s[1]:"",n=isFinite(parseInt(s)),o=isFinite(parseInt(i)),n&&t.push(`width="${s}"`),o&&t.push(`height="${i}"`)),{href:e,dimensions:t}}},7944:function(e,t,i){"use strict";i.d(t,"c",(function(){return x})),i.d(t,"a",(function(){return k})),i.d(t,"b",(function(){return O}));var n=i("11f7"),o=i("b835"),s=(t=i("eff2"),i("a60f")),r=i("f070"),a=i("308f");i("40c2");class l extends r.b{constructor(e,t){super(),this._onDidChangeVisibility=new a.b,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(n.q)(e,Object(n.a)(".monaco-dropdown")),this._label=Object(n.q)(this._element,Object(n.a)(".dropdown-label"));let i=t.labelRenderer;i=i||(e=>(e.textContent=t.label||"",null));for(const o of[n.d.CLICK,n.d.MOUSE_DOWN,s.a.Tap])this._register(Object(n.i)(this.element,o,e=>n.c.stop(e,!0)));for(const o of[n.d.MOUSE_DOWN,s.a.Tap])this._register(Object(n.i)(this._label,o,e=>{e instanceof MouseEvent&&1{const t=new o.a(e);(t.equals(3)||t.equals(10))&&(n.c.stop(e,!0),this.visible?this.hide():this.show())})),e=i(this._label),e&&this._register(e),this._register(s.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class d extends l{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class h extends t.b{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new a.b),this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;var t=Array.isArray(this.menuActionsOrProvider);t={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=Object(n.q)(e,Object(n.a)("a.action-label"));let t=[];return"string"==typeof this.options.classNames?t=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(t=this.options.classNames),t.find(e=>"icon"===e)||t.push("codicon"),this.element.classList.add(...t),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new d(e,t)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null!=(t=this.element)&&t.setAttribute("aria-expanded",""+e),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t=!this.getAction().enabled;null!=(e=this.actionItem)&&e.classList.toggle("disabled",t),null!=(e=this.element)&&e.classList.toggle("disabled",t)}}var c=i("8b4e"),u=i("a666"),g=i("30db"),p=(i("afa2"),i("dff7")),m=i("7e32"),f=i("4fc3"),_=i("533b"),b=i("0a0f"),v=i("6dec"),C=i("b0cd"),w=i("03e8"),y=i("b7d0"),S=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e===n:n;{var l,d,h,c,g,[i,p,f,_=(e=>"navigation"===e),b=Number.MAX_SAFE_INTEGER,v=(()=>!1),C=!1]=[e,i,!1,t,o,s,a];let n,u;u=Array.isArray(p)?n=p:(n=p.primary,p.secondary);const L=new Set;for([l,d]of i){let e;for(var w of(_(l)?0<(e=n).length&&C&&e.push(new r.d):0<(e=u).length&&e.push(new r.d),d)){f&&(w=w instanceof m.c&&w.alt?w.alt:w);var y=e.push(w);w instanceof r.e&&L.add({group:l,action:w,index:y-1})}}for({group:h,action:c,index:g}of L){const e=_(h)?n:u;var S=c.actions;(S.length<=1||e.length+S.length-2<=b)&&v(c,h,e.length)&&e.splice(g,1,...S)}n!==u&&n.length>b&&(p=n.splice(b,n.length-b),u.unshift(...p,new r.d))}{t=e;const i=new u.b;for(var[,L]of t)for(const e of L)i.add(e);return i}}let k=class extends t.a{constructor(e,t,i,o,s){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable}),this._keybindingService=i,this._notificationService=o,this._contextKeyService=s,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new u.d),this._altKey=n.e.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return L(this,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}}))}render(e){super.render(e),e.classList.add("menu-entry"),this._updateItemClass(this._menuItemAction.item);let t=!1,i=this._altKey.keyStatus.altKey||(g.i||g.d)&&this._altKey.keyStatus.shiftKey;const o=()=>{var e=t&&i;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event(e=>{i=e.altKey||(g.i||g.d)&&e.shiftKey,o()})),this._register(Object(n.i)(e,"mouseleave",e=>{t=!1,o()})),this._register(Object(n.i)(e,"mouseenter",e=>{t=!0,o()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const i=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService);var e=i&&i.getLabel(),t=this._commandAction.tooltip||this._commandAction.label;let n=e?Object(p.a)("titleAndKb","{0} ({1})",t,e):t;if(!this._wantsAltCommand&&this._menuItemAction.alt){e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label;const i=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService);t=i&&i.getLabel(),t=t?Object(p.a)("titleAndKb","{0} ({1})",e,t):e,n+=`\n[${c.b.modifierLabels[g.a].altKey}] `+t}this.label.title=n}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;const{element:t,label:i}=this;if(t&&i){var o=(this._commandAction.checked&&null!=(o=e.toggled)&&o.icon?e.toggled:e).icon;if(o)if(y.d.isThemeIcon(o)){const e=y.d.asClassNameArray(o);i.classList.add(...e),this._itemClassDispose.value=Object(u.i)(()=>{i.classList.remove(...e)})}else o.light&&i.style.setProperty("--menu-entry-icon-light",Object(n.s)(o.light)),o.dark&&i.style.setProperty("--menu-entry-icon-dark",Object(n.s)(o.dark)),i.classList.add("icon"),this._itemClassDispose.value=Object(u.i)(()=>{i.classList.remove("icon"),i.style.removeProperty("--menu-entry-icon-light"),i.style.removeProperty("--menu-entry-icon-dark")})}}},D=(k=i([S(2,v.a),S(3,C.a),S(4,f.b)],k),class extends h{constructor(e,t,i){var n;t=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null==(n=null==t?void 0:t.menuAsChild)||n,classNames:null!=(n=null==t?void 0:t.classNames)?n:y.d.isThemeIcon(e.item.icon)?y.d.asClassName(e.item.icon):void 0});super(e,{getActions:()=>e.actions},i,t)}render(e){super.render(e),this.element&&(e.classList.add("menu-entry"),e=this._action.item["icon"],e&&!y.d.isThemeIcon(e)&&(this.element.classList.add("icon"),e.light&&this.element.style.setProperty("--menu-entry-icon-light",Object(n.s)(e.light)),e.dark&&this.element.style.setProperty("--menu-entry-icon-dark",Object(n.s)(e.dark))))}}),N=(D=i([S(2,_.a)],D),class extends t.b{constructor(e,t,i,n,o,s,a,l){super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=o,this._menuService=s,this._instaService=a,this._storageService=l,this._container=null,this._storageKey=e.item.submenu._debugName+"_lastActionId";let d,c=l.get(this._storageKey,1);d=(d=c?e.actions.find(e=>c===e.id):d)||e.actions[0],this._defaultAction=this._instaService.createInstance(k,d,void 0),s=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null==(i=null==t?void 0:t.menuAsChild)||i,classNames:null!=(n=null==t?void 0:t.classNames)?n:["codicon","codicon-chevron-down"],actionRunner:null!=(o=null==t?void 0:t.actionRunner)?o:new r.b}),this._dropdown=new h(e,e.actions,this._contextMenuService,s),this._dropdown.actionRunner.onDidRun(e=>{e.action instanceof m.c&&this.update(e.action)})}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(k,e,void 0),this._defaultAction.actionRunner=new class extends r.b{runAction(e,t){return L(this,void 0,void 0,(function*(){yield e.run(void 0)}))}},this._container&&this._defaultAction.render(Object(n.P)(this._container,Object(n.a)(".action-container")))}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default"),e=Object(n.a)(".action-container"),this._defaultAction.render(Object(n.q)(this._container,e)),this._register(Object(n.i)(e,n.d.KEY_DOWN,e=>{const t=new o.a(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())})),e=Object(n.a)(".dropdown-action-container"),this._dropdown.render(Object(n.q)(this._container,e)),this._register(Object(n.i)(e,n.d.KEY_DOWN,e=>{const t=new o.a(e);t.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null!=(e=this._defaultAction.element)&&e.focus(),t.stopPropagation())}))}focus(e){(e?this._dropdown:(this._defaultAction.element.tabIndex=0,this._defaultAction.element)).focus()}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}});function O(e,t,i){return t instanceof m.c?e.createInstance(k,t,void 0):t instanceof m.e?t.item.rememberDefaultAction?e.createInstance(N,t,i):e.createInstance(D,t,i):void 0}N=i([S(2,v.a),S(3,C.a),S(4,_.a),S(5,m.a),S(6,b.a),S(7,w.a)],N)},"7a2c":function(e,t,i){},"7a9e":function(e,t,i){"use strict";i.r(t),i.d(t,"SuggestController",(function(){return $e})),i.d(t,"TriggerSuggestAction",(function(){return Ge}));var n=i("3813"),o=i("e8e3"),s=i("fdcc"),r=i("fe45"),a=i("a666"),l=i("bc04"),d=(t=i("b2cc"),i("d3f4")),h=i("6a89"),c=i("c101"),u=i("b574"),g=i("b800"),p=i("40355"),m=i("03e8"),f=i("b707"),_=i("5fe7"),b=i("0a0f"),v=i("fbba"),C=i("f5f3"),w=i("5818"),y=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===m.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(t,i){if(i=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null==(i=this._modeService.getLanguageIdentifier(t.getLanguageIdAtPosition(i.lineNumber,i.column)))?void 0:i.language,resource:t.uri}),(null==(t=this._strategy)?void 0:t.name)!==i){this._saveState();const s=e._strategyCtors.get(i)||x;this._strategy=new s;try{var n=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=this._storageService.get(e._storagePrefix+"/"+i,n);o&&this._strategy.fromJSON(JSON.parse(o))}catch(t){}}return this._strategy}_saveState(){var t,i;this._strategy&&(t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,i=JSON.stringify(this._strategy),this._storageService.store(e._storagePrefix+"/"+this._strategy.name,i,t,1))}},D=(y=(k._strategyCtors=new Map([["recentlyUsedByPrefix",class extends L{constructor(){super("recentlyUsedByPrefix"),this._trie=p.c.forStrings(),this._seq=0}memorize(e,t,i){t=e.getWordUntilPosition(t).word,e=e.getLanguageIdentifier().language+"/"+t,this._trie.set(e,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){var n=e.getWordUntilPosition(t)["word"];if(n){n=e.getLanguageIdentifier().language+"/"+n;let t=this._trie.get(n);if(t=t||this._trie.findSubstr(n))for(let e=0;ee.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),0a&&l.type===i[d].completion.kind&&l.insertText===i[d].completion.insertText&&(a=l.touch,r=d),i[d].completion.preselect&&-1===s)return d}return-1!==r?r:-1!==s?s:0}toJSON(){return this._cache.toJSON()}fromJSON(e){var t,i;for([t,i]of(this._cache.clear(),e))i.touch=0,i.type="number"==typeof i.type?i.type:Object(f.H)(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",x]]),k._storagePrefix="suggest/memories",k=y([S(0,m.a),S(1,w.a),S(2,v.a)],k),Object(b.c)("ISuggestMemories")),Object(C.b)(y,k,!0),i("dff7")),N=(S=i("9e74"),i("4fc3")),O=(C=i("9eb8"),i("4153")),E=(k=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0))}static _moveIndex(e,t,i){let n=i;for(;;){if((n=(n+t.items.length+(e?1:-1))%t.items.length)===i)break;if(!t.items[n].completion.additionalTextEdits)break}return n}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};I.OtherSuggestions=new N.c("hasOtherSuggestions",!1),I=k([E(1,N.b)],I);var M=i("308f"),T=i("8025"),A=i("7e93"),R=i("3742");class P{constructor(e,t,i,n,o,s,r){this.clipboardText=r,this._snippetCompareFn=P._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=o,this._refilterKind=1,this._lineContext=i,"top"===s?this._snippetCompareFn=P._compareCompletionItemsSnippetsUp:"bottom"===s&&(this._snippetCompareFn=P._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta=h)u.score=A.a.Default;else if("string"==typeof u.completion.filterText){if(h=l(n,s,e,u.completion.filterText,u.filterTextLow,0,!1),!h)continue;0===Object(R.g)(u.completion.filterText,u.textLabel)?u.score=h:(u.score=Object(A.b)(n,s,e,u.textLabel,u.labelLow,0),u.score[0]=h[0])}else{if(h=l(n,s,e,u.textLabel,u.labelLow,0,!1),!h)continue;u.score=h}}u.idx=o,u.distance=this._wordDistance.distance(u.position,u.completion),a.push(u),e.push(u.textLabel.length)}}this._filteredItems=a.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?Object(o.q)(e.length-.85,e,(e,t)=>e-t):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return P._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return P._compareCompletionItems(e,t)}}var F=i("2504"),B=(k=i("a40b"),i("67b4")),j=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class W{static create(e,t){return j(this,void 0,void 0,(function*(){if(!t.getOption(106).localityBonus)return W.None;if(!t.hasModel())return W.None;const i=t.getModel(),n=t.getPosition();if(!e.canComputeWordRanges(i.uri))return W.None;const[s]=yield(new B.a).provideSelectionRanges(i,[n]);if(0===s.length)return W.None;const r=yield e.computeWordRanges(i.uri,s[0].range);var a;return r?(a=i.getWordUntilPosition(n),delete r[a.word],new class extends W{distance(e,i){if(!n.equals(t.getPosition()))return 0;if(17===i.kind)return 2<<20;if(i=("string"==typeof i.label?i:i.label).label,i=r[i],Object(o.m)(i))return 2<<20;e=Object(o.d)(i,h.a.fromPositions(e),h.a.compareRangesUsingStarts);var a=0<=e?i[e]:i[Math.max(0,~e-1)];let l=s.length;for(const t of s){if(!h.a.containsRange(t.range,a))break;--l}return l}}):W.None}))}}W.None=new class extends W{distance(){return 0}};E=i("f577");var V=i("5d75"),H=i("d3d7"),z=function(e,t){return function(i,n){t(i,n,e)}},U=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class K{constructor(e,t,i,n){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=i,this.shy=n}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel();e=e.getPosition();var i=(t.tokenizeIfCheap(e.lineNumber),t.getWordAtPosition(e));return!!i&&i.endColumn===e.column&&!!isNaN(Number(i.word))}}let q=class e{constructor(e,t,i,n,o,s,r){this._editor=e,this._editorWorkerService=t,this._clipboardService=i,this._telemetryService=n,this._logService=o,this._contextKeyService=s,this._configurationService=r,this._toDispose=new a.b,this._quickSuggestDelay=10,this._triggerCharacterListener=new a.b,this._triggerQuickSuggest=new _.g,this._state=0,this._completionDisposables=new a.b,this._onDidCancel=new M.b,this._onDidTrigger=new M.b,this._onDidSuggest=new M.b,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new T.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(f.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._onCursorChange(e)}));let l=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{l=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{l=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{l||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(a.f)(this._triggerCharacterListener),Object(a.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(79),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),!this._editor.getOption(80)&&this._editor.hasModel()&&this._editor.getOption(109)){const t=new Map;for(const e of f.d.all(this._editor.getModel()))for(const i of e.triggerCharacters||[]){let n=t.get(i);n||((n=new Set).add(Object(O.c)()),t.set(i,n)),n.add(e)}var e=e=>{if(i=this._contextKeyService,n=this._configurationService,(!Boolean(i.getContextKeyValue("inlineSuggestionVisible"))||Boolean(n.getValue("editor.inlineSuggest.allowSuggestOnTriggerCharacters")))&&!K.shouldAutoTrigger(this._editor)){if(!e){var i=this._editor.getPosition();const t=this._editor.getModel();e=t.getLineContent(i.lineNumber).substr(0,i.column-1)}let o="";Object(R.F)(e.charCodeAt(e.length-1))?Object(R.E)(e.charCodeAt(e.length-2))&&(o=e.substr(e.length-2)):o=e.charAt(e.length-1);var n=t.get(o);n&&(i=this._completionModel?{items:this._completionModel.adopt(n),clipboardText:this._completionModel.clipboardText}:void 0,this.trigger({auto:!0,shy:!1,triggerCharacter:o},Boolean(this._completionModel),n,i))}};this._triggerCharacterListener.add(this._editor.onDidType(e)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(e))}}get state(){return this._state}cancel(e=!1){var t;0!==this._state&&(this._triggerQuickSuggest.cancel(),null!=(t=this._requestToken)&&t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&f.d.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(this._editor.hasModel()){var t=this._editor.getModel();const i=this._currentSelection;this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source?this.cancel():f.d.has(t)&&(0===this._state&&0===e.reason?!1===this._editor.getOption(78)||!i.containsRange(this._currentSelection)&&!i.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition())||this._editor.getOption(106).snippetsPreventQuickSuggestions&&u.SnippetController2.get(this._editor).isInSnippet()||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0===this._state&&K.shouldAutoTrigger(this._editor)&&this._editor.hasModel()){const i=this._editor.getModel();var e=this._editor.getPosition(),t=this._editor.getOption(78);if(!1!==t){if(!0!==t){i.tokenizeIfCheap(e.lineNumber);const n=i.getLineTokens(e.lineNumber);e=n.getStandardTokenType(n.findTokenIndexAtOffset(Math.max(e.column-1-1,0)));if(!(t.other&&0===e||t.comments&&1===e||t.strings&&2===e))return}t=this._contextKeyService,e=this._configurationService,Boolean(t.getContextKeyValue("inlineSuggestionVisible"))&&!Boolean(e.getValue("editor.inlineSuggest.allowQuickSuggestions"))||this.trigger({auto:!0,shy:!1})}}},this._quickSuggestDelay)):0!==this._state&&3===e.reason&&this._refilterCompletionItems())}}_refilterCompletionItems(){Promise.resolve().then(()=>{var e,t;0!==this._state&&this._editor.hasModel()&&(t=this._editor.getModel(),e=this._editor.getPosition(),t=new K(t,e,2===this._state,!1),this._onNewContext(t))})}trigger(t,i=!1,n,o){if(this._editor.hasModel()){var r=this._editor.getModel();const d=t.auto;var a=new K(r,this._editor.getPosition(),d,t.shy);this.cancel(i),this._state=d?2:1,this._onDidTrigger.fire({auto:d,shy:t.shy,position:this._editor.getPosition()}),this._context=a;let h={triggerKind:null!=(i=t.triggerKind)?i:0};t.triggerCharacter&&(h={triggerKind:1,triggerCharacter:t.triggerCharacter}),this._requestToken=new F.b,a=this._editor.getOption(101);let c=1;switch(a){case"top":c=0;break;case"bottom":c=2}var{itemKind:i,showDeprecated:a}=e._createSuggestFilter(this._editor),l=W.create(this._editorWorkerService,this._editor);r=Object(O.e)(r,this._editor.getPosition(),new O.a(c,i,n,a),h,this._requestToken.token);Promise.all([r,l]).then(([e,i])=>U(this,void 0,void 0,(function*(){if(null!=(n=this._requestToken)&&n.dispose(),this._editor.hasModel()){let r=null==o?void 0:o.clipboardText;if(!r&&e.needsClipboard&&(r=yield this._clipboardService.readText()),0!==this._state){var n=this._editor.getModel();let a=e.items;o&&(s=Object(O.d)(c),a=a.concat(o.items).sort(s));var s=new K(n,this._editor.getPosition(),d,t.shy);this._completionModel=new P(a,this._context.column,{leadingLineContent:s.leadingLineContent,characterCountDelta:s.column-this._context.column},i,this._editor.getOption(106),this._editor.getOption(101),r),this._completionDisposables.add(e.disposable),this._onNewContext(s),this._reportDurationsTelemetry(e.durations)}}}))).catch(s.f)}}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)})}static _createSuggestFilter(e){const t=new Set;return"none"===e.getOption(101)&&t.add(27),e=e.getOption(106),e.showMethods||t.add(0),e.showFunctions||t.add(1),e.showConstructors||t.add(2),e.showFields||t.add(3),e.showVariables||t.add(4),e.showClasses||t.add(5),e.showStructs||t.add(6),e.showInterfaces||t.add(7),e.showModules||t.add(8),e.showProperties||t.add(9),e.showEvents||t.add(10),e.showOperators||t.add(11),e.showUnits||t.add(12),e.showValues||t.add(13),e.showConstants||t.add(14),e.showEnums||t.add(15),e.showEnumMembers||t.add(16),e.showKeywords||t.add(17),e.showWords||t.add(18),e.showColors||t.add(19),e.showFiles||t.add(20),e.showReferences||t.add(21),e.showColors||t.add(22),e.showFolders||t.add(23),e.showTypeParameters||t.add(24),e.showSnippets||t.add(27),e.showUsers||t.add(25),e.showIssues||t.add(26),{itemKind:t,showDeprecated:e.showDeprecated}}_onNewContext(e){if(this._context)if(e.lineNumber!==this._context.lineNumber)this.cancel();else if(Object(R.x)(e.leadingLineContent)!==Object(R.x)(this._context.leadingLineContent))this.cancel();else if(e.columnthis._context.leadingWord.startColumn){const e=new Set(f.d.all(this._editor.getModel()));for(var t of this._completionModel.allProvider)e.delete(t);var i=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,{items:i,clipboardText:this._completionModel.clipboardText})}else if(e.column>this._context.column&&0this._size.width},{orientation:0}),this._westSash=new ie.b(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new ie.b(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:ie.a.North}),this._southSash=new ie.b(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:ie.a.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let e,t=0,i=0;this._sashListener.add(M.c.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(M.c.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(M.c.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(M.c.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){var{height:i,width:n}=this._minSize,{height:o,width:s}=this._maxSize,i=(e=Math.max(i,Math.min(o,e)),t=Math.max(n,Math.min(s,t)),new $.b(t,e));$.b.equals(i,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=i,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}function oe(e){return e&&Boolean(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let se=class{constructor(e,t){this._editor=e,this._onDidClose=new M.b,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new M.b,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new a.b,this._renderDisposeable=new a.b,this._borderWidth=1,this._size=new $.b(330,0),this.domNode=$.a(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(J.a,{editor:e}),this._body=$.a(".body"),this._scrollbar=new Q.a(this._body,{}),$.q(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=$.q(this._body,$.a(".header")),this._close=$.q(this._header,$.a("span"+te.b.close.cssSelector)),this._close.title=D.a("details.close","Close"),this._type=$.q(this._header,$.a("p.type")),this._docs=$.q(this._body,$.a("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(42)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions();var t=e.get(42),i=t.fontFamily,n=e.get(107)||t.fontSize,o=e.get(108)||t.lineHeight,s=t.fontWeight;o+="px";this.domNode.style.fontSize=n+"px",this.domNode.style.lineHeight=o,this.domNode.style.fontWeight=s,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=i,this._close.style.height=o,this._close.style.width=o}getLayoutInfo(){var e=this._editor.getOption(108)||this._editor.getOption(42).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=D.a("loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){var i,n;this._renderDisposeable.clear();let{detail:o,documentation:s}=e.completion;t&&(n="",n=(n=(n=(n=(n=(n+=`score: ${e.score[0]}\n`)+`prefix: ${null!=(i=e.word)?i:"(no prefix)"}\n`)+`word: ${e.completion.filterText?e.completion.filterText+" (filterText)":e.textLabel}\n`)+`distance: ${e.distance} (localityBonus-setting)\n`)+`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`)+`commit_chars: ${null==(i=e.completion.commitCharacters)?void 0:i.join("")}\n`,s=(new ee.a).appendCodeblock("empty",n),o="Provider: "+e.provider._debugDisplayName),t||oe(e)?(this.domNode.classList.remove("no-docs","no-type"),o?(i=1e5{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))),this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)):this.clearContents()}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(e,t){var i=new $.b(e,t);$.b.equals(i,this._size)||(this._size=i,$.X(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};se=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{i=this._topLeft,n=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(e=>{if(i&&n){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(s=n.width-e.dimension.width,t=!0),e.north&&(o=n.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:i.top+o,left:i.left+s})}e.done&&(i=void 0,n=void 0,o=0,s=0,this._userSize=e.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!=(e=this._userSize)?e:this.widget.size)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e){e=$.D(e);this._anchorBox=e,this._placeAtAnchor(this._anchorBox,null!=(e=this._userSize)?e:this.widget.size)}_placeAtAnchor(e,t){var i=$.z(document.body),n=this.widget.getLayoutInfo();let o,s,r=new $.b(220,2*n.lineHeight),a=0,l=e.top;var d=e.top+e.height-n.borderHeight;let h,c,u,g=i.width-(e.left+e.width+n.borderWidth+n.horizontalPadding),p=(a=-n.borderWidth+e.left+e.width,c=!0,o=new $.b(g,i.height-e.top-n.borderHeight-n.verticalPadding),s=o.with(void 0,e.top+e.height-n.borderHeight-n.verticalPadding),t.width>g&&(e.left>g&&(g=e.left-n.borderWidth-n.horizontalPadding,c=!1,a=Math.max(n.horizontalPadding,e.left-t.width-n.borderWidth),o=o.with(g),s=o.with(void 0,s.height)),e.width>1.3*g&&i.height-(e.top+e.height)>e.height&&(g=e.width,a=e.left,l=-n.borderWidth+e.top+e.height,o=new $.b(e.width-n.borderHeight,i.height-e.top-e.height-n.verticalPadding),s=o.with(void 0,e.top-n.verticalPadding),r=r.with(o.width))),t.height);i=Math.max(o.height,s.height),p>i&&(p=i),u=p<=o.height?(h=!0,o):(h=!1,s),this._applyTopLeft({left:a,top:h?l:d-p}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!h,c,h,!c),this._resizable.minSize=r,this._resizable.maxSize=u,this._resizable.layout(p,Math.min(u.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=this._topLeft.left+"px",this.getDomNode().style.top=this._topLeft.top+"px"}}var ae=i("5aa5"),le=(k=i("7944"),i("7e32"));E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e instanceof le.c?t.createInstance(de,e,void 0):void 0,this._leftActions=new ae.a(this.element,{actionViewItemProvider:i}),this._rightActions=new ae.a(this.element,{actionViewItemProvider:i}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(O.g,this._contextKeyService),t=()=>{const t=[],i=[];for(var[n,o]of e.getActions())("left"===n?t:i).push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};he=E([V(1,b.a),V(2,le.a),V(3,N.b)],he);var ce,ue=i("c4e3"),ge=i("b589"),pe=i("82c9"),me=i("32a4");function fe(e,t,i,n){const o=n===ce.ROOT_FOLDER?["rootfolder-icon"]:n===ce.FOLDER?["folder-icon"]:["file-icon"];if(i){let s;if(i.scheme===ge.c.data){const e=pe.a.parseMetaData(i);s=e.get(pe.a.META_DATA_LABEL)}else s=_e(Object(pe.c)(i).toLowerCase());if(n===ce.FOLDER)o.push(s+"-name-folder-icon");else{if(s){if(o.push(s+"-name-file-icon"),s.length<=255){const e=s.split(".");for(let t=1;t{const e=this._editor.getOptions();var n=e.get(42),o=n.fontFamily,s=n.fontFeatureSettings,r=e.get(107)||n.fontSize,a=e.get(108)||n.lineHeight;n=n.fontWeight,r+="px",a+="px";t.root.style.fontSize=r,t.root.style.fontWeight=n,i.style.fontFamily=o,i.style.fontFeatureSettings=s,i.style.lineHeight=a,t.icon.style.height=a,t.icon.style.width=a,t.readMore.style.height=a,t.readMore.style.width=a});return n(),t.disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(42)||e.hasChanged(107)||e.hasChanged(108))&&n()})),t}renderElement(e,t,i){const n=e["completion"],s=(i.root.id=ve(t),{labelEscapeNewLines:!(i.colorspan.style.backgroundColor=""),matches:Object(A.c)(e.score)});var r;t=[];19===n.kind&&we.extract(e,t)?(i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=t[0]):20===n.kind&&this._themeService.getFileIconTheme().hasFileIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",t=fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:e.textLabel}),ce.FILE),r=fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:n.detail}),ce.FILE),s.extraClasses=t.length>r.length?t:r):23===n.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=Object(o.k)([fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:e.textLabel}),ce.FOLDER),fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:n.detail}),ce.FOLDER)])):(i.icon.className="icon hide",i.iconContainer.className="",i.iconContainer.classList.add("suggest-icon",...Object(f.I)(n.kind).split(" "))),n.tags&&0<=n.tags.indexOf(1)&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,s),"string"==typeof n.label?(i.parametersLabel.textContent="",i.detailsLabel.textContent=Se(n.detail||""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=Se(n.label.detail||""),i.detailsLabel.textContent=Se(n.label.description||""),i.root.classList.remove("string-label")),(this._editor.getOption(106).showInlineDetails?Object($.W):Object($.K))(i.detailsLabel),oe(e)?(i.right.classList.add("can-expand-details"),Object($.W)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove("can-expand-details"),Object($.K)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function Se(e){return e.replace(/\r\n|\r|\n/g,"")}ye=E([V(1,v.a),V(2,w.a),V(3,Y.b)],ye);var Le=i("d379"),xe=i("49d9"),ke=(k=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._contentWidget.lockPreference(),r=new s(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t;if(this._resize(e.dimension.width,e.dimension.height),r&&(r.persistHeight=r.persistHeight||!!e.north||!!e.south,r.persistWidth=r.persistWidth||!!e.east||!!e.west),e.done){if(r){var{itemHeight:e,defaultSize:i}=this.getLayoutInfo();e=Math.round(e/2);let{width:n,height:o}=this.element.size;(!r.persistHeight||Math.abs(r.currentSize.height-o)<=e)&&(o=null!=(t=null==(t=r.persistedSize)?void 0:t.height)?t:i.height),(!r.persistWidth||Math.abs(r.currentSize.width-n)<=e)&&(n=null!=(e=null==(t=r.persistedSize)?void 0:t.width)?e:i.width),this._persistedSize.store(new $.b(n,o))}this._contentWidget.unlockPreference(),r=void 0}})),this._messageElement=$.q(this.element.domNode,$.a(".message")),this._listElement=$.q(this.element.domNode,$.a(".tree"));const l=o.createInstance(se,this.editor),d=(l.onDidClose(this.toggleDetails,this,this._disposables),this._details=new re(l,this.editor),()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(106).showIcons)),h=(d(),o.createInstance(ye,this.editor)),c=(this._disposables.add(h),this._disposables.add(h.onDidToggleDetails(()=>this.toggleDetails())),this._list=new G.c("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[h],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:e=>{var t,i;return e.isResolved&&this._isDetailsVisible()?(({documentation:t,detail:i}=e.completion),i=R.v("{0}{1}",i||"",t?"string"==typeof t?t:t.value:""),D.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",e.textLabel,i)):e.textLabel},getWidgetAriaLabel:()=>D.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this._status=o.createInstance(he,this.element.domNode),()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(106).showStatusBar));c(),this._disposables.add(Object(Z.b)(this._list,n,{listInactiveFocusBackground:Me,listInactiveFocusOutline:X.b})),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(106)&&(c(),d())})),this._ctxSuggestWidgetVisible=O.b.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=O.b.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=O.b.MultipleSuggestions.bindTo(i),this._disposables.add($.o(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null!=(e=this._loadingTimeout)&&e.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){var i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){const t=e.getColor(De),i=(t&&(this.element.domNode.style.backgroundColor=t.toString(),this._messageElement.style.backgroundColor=t.toString(),this._details.widget.domNode.style.backgroundColor=t.toString()),e.getColor(Ne)),n=(i&&(this.element.domNode.style.borderColor=i.toString(),this._messageElement.style.borderColor=i.toString(),this._status.element.style.borderTopColor=i.toString(),this._details.widget.domNode.style.borderColor=i.toString(),this._detailsBorderColor=i.toString()),e.getColor(X.db));n&&(this._detailsFocusBorderColor=n.toString()),this._details.widget.borderWidth="hc"===e.type?2:1}_onListFocus(e){if(!this._ignoreFocusEvents)if(e.elements.length){if(this._completionModel){const t=e.elements[0],i=e.indexes[0];t!==this._focusedItem&&(null!=(e=this._currentSuggestionDetails)&&e.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=t,this._list.reveal(i),this._currentSuggestionDetails=Object(_.h)(e=>ke(this,void 0,void 0,(function*(){const i=Object(_.i)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250);e.onCancellationRequested(()=>i.dispose());var n=yield t.resolve(e);return i.dispose(),n}))),this._currentSuggestionDetails.then(()=>{i>=this._list.length||t!==this._list.element(i)||(this._ignoreFocusEvents=!0,this._list.splice(i,1,[t]),this._list.setFocus([i]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:ve(i)}))}).catch(s.f)),this._onDidFocus.fire({item:t,index:i,model:this._completionModel})}}else this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0})}_setState(t){if(this._state!==t)switch(this._state=t,this.element.domNode.classList.toggle("frozen",4===t),this.element.domNode.classList.remove("message"),t){case 0:$.K(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.LOADING_MESSAGE,$.K(this._listElement,this._status.element),$.W(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,$.K(this._listElement,this._status.element),$.W(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:case 4:$.K(this._messageElement),$.W(this._listElement,this._status.element),this._show();break;case 5:$.K(this._messageElement),$.W(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=Object(_.i)(()=>this._setState(1),t)))}showSuggestions(e,t,i,n){var o;this._contentWidget.setPosition(this.editor.getPosition()),null!=(o=this._loadingTimeout)&&o.dispose(),null!=(o=this._currentSuggestionDetails)&&o.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state?this._setState(4):(e=0===(o=this._completionModel.items.length),this._ctxSuggestWidgetMultipleSuggestions.set(1n&&(c=n),this._completionModel?this._completionModel.stats.pLabelLen*i.typicalHalfwidthCharacterWidth:c),s=i.statusBarHeight+this._list.contentHeight+i.borderHeight,r=i.itemHeight+i.statusBarHeight,a=$.D(this.editor.getDomNode()),l=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),d=a.top+l.top+l.height;t=Math.min(t.height-d-i.verticalPadding,s),d=a.top+l.top-i.verticalPadding,a=Math.min(d,s);let u=Math.min(Math.max(a,t)+i.borderHeight,s);(h=(h=h===(null==(l=this._cappedHeight)?void 0:l.capped)?this._cappedHeight.wanted:h)u&&(h=u),u=h>t||this._forceRenderingAbove&&150{var i=e.getColor(Te),n=(i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${i}; }`),e.getColor(Ae));i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight { color: ${n}; }`),i=e.getColor(Oe),i&&t.addRule(`.monaco-editor .suggest-widget, .monaco-editor .suggest-details { color: ${i}; }`),n=e.getColor(Ee),n&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused { color: ${n}; }`),i=e.getColor(Ie),i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon { color: ${i}; }`),n=e.getColor(X.Jc),n&&t.addRule(`.monaco-editor .suggest-details a { color: ${n}; }`),i=e.getColor(X.Ic),i&&t.addRule(`.monaco-editor .suggest-details a:hover { color: ${i}; }`),n=e.getColor(X.Hc);n&&t.addRule(`.monaco-editor .suggest-details code { background-color: ${n}; }`)}),E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.hasChanged(111)&&this._update()),this._update()}dispose(){var e;this._configListener.dispose(),null!=(e=this._selectionListener)&&e.dispose(),this._ckAtEnd.reset()}_update(){var e="on"===this._editor.getOption(111);this._enabled!==e&&(this._enabled=e,this._enabled?(this._selectionListener=this._editor.onDidChangeCursorSelection(e=()=>{if(this._editor.hasModel()){const t=this._editor.getModel(),i=this._editor.getSelection();var e=t.getWordAtPosition(i.getStartPosition());e?this._ckAtEnd.set(e.endColumn===i.getStartPosition().column):this._ckAtEnd.set(!1)}else this._ckAtEnd.set(!1)}),e()):this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0))}};Be.AtEnd=new N.c("atEndOfWord",!1),Be=E([v(1,N.b)],Be);var je=i("ef8e9"),We=i("3170");class Ve{constructor(e,t,i){this._disposables=new a.b,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(n=>{this._active&&!t.isFrozen()&&(n=n.charCodeAt(n.length-1),this._active.acceptCharacters.has(n)&&e.getOption(0)&&i(this._active.item))}))}_onItem(e){if(e&&Object(o.n)(e.item.completion.commitCharacters)){if(!this._active||this._active.item.item!==e.item){const t=new We.b;for(const i of e.item.completion.commitCharacters)0{if(this._empty&&e.hasModel()){const n=e.getSelections();var t=n.length;let o=!1;for(let e=0;eHe._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}this._empty=!1}}})),this._disposables.add(t.onDidCancel(e=>{this._empty||e.retrigger||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&0<=e&&el.set(e.getOption(106).insertMode)),this.widget=this._toDispose.add(new _.b(()=>{const e=this._instantiationService.createInstance(Pe,this.editor),t=(this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this)),new Ve(this.editor,e,e=>this._insertSuggestion(e,2))),i=(this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest(e=>{0===e.completionModel.items.length&&t.reset()})),O.b.MakesTextEdit.bindTo(this._contextKeyService)),n=O.b.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=O.b.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(a.i)(()=>{i.reset(),n.reset(),o.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{var t=this.editor.getPosition(),s=e.editStart.column,r=t.column;let a=!0;"smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.command||e.completion.additionalTextEdits||4&e.completion.insertTextRules||r-s!==e.completion.insertText.length||(s=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:s,endLineNumber:t.lineNumber,endColumn:r}),a=s!==e.completion.insertText),i.set(a),n.set(!ze.a.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{e.toKeybinding().equals(new r.e(!0,!1,!1,!1,33))||Ue.f&&e.toKeybinding().equals(new r.e(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new _.b(()=>this._toDispose.add(new He(this.editor,this.model)))),this._alternatives=this._toDispose.add(new _.b(()=>this._toDispose.add(new I(this.editor,this._contextKeyService)))),this._toDispose.add(o.createInstance(Be,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new qe(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{var t;e.shy||(t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items),this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto))})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let d=O.b.AcceptSuggestionsOnEnter.bindTo(n),h=()=>{var e=this.editor.getOption(1);d.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>h())),h()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(e&&e.item){if(this.editor.hasModel()){const n=this.editor.getModel(),o=n.getAlternativeVersionId(),r=e["item"],a=[],c=new F.b;1&t||this.editor.pushUndoStop();var i=this.getOverwriteInfo(r,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),r),Array.isArray(r.completion.additionalTextEdits)){const e=l.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",r.completion.additionalTextEdits.map(e=>d.a.replace(h.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!r.isResolved){const e=new Ke.a(!0);let i;const o=n.onDidChangeContent(e=>{if(e.isFlush)c.cancel(),o.dispose();else for(var t of e.changes)t=h.a.getEndPosition(t.range),i&&!ze.a.isBefore(t,i)||(i=t)});let s=t,u=(t|=2,!1),g=this.editor.onWillType(()=>{g.dispose(),u=!0,2&s||this.editor.pushUndoStop()});a.push(r.resolve(c.token).then(()=>{if(!r.completion.additionalTextEdits||c.token.isCancellationRequested)return!1;if(i&&r.completion.additionalTextEdits.some(e=>ze.a.isBefore(i,h.a.getStartPosition(e.range))))return!1;u&&this.editor.pushUndoStop();const e=l.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",r.completion.additionalTextEdits.map(e=>d.a.replace(h.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!u&&2&s||this.editor.pushUndoStop(),!0}).then(t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),o.dispose(),g.dispose()}))}let p=r.completion["insertText"];4&r.completion.insertTextRules||(p=g.c.escape(p)),u.SnippetController2.get(this.editor).insert(p,{overwriteBefore:i.overwriteBefore,overwriteAfter:i.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&r.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),r.completion.command?r.completion.command.id===Ge.id?this.model.trigger({auto:!0,shy:!1},!0):(a.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(s.f)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,e=>{for(c.cancel();n.canUndo();){o!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(r),Promise.all(a).finally(()=>{this.model.clear(),c.dispose()})}}else this._alternatives.value.reset(),this.model.cancel(),this.model.clear()}getOverwriteInfo(e,t){Object(je.c)(this.editor.hasModel());let i="replace"===this.editor.getOption(106).insertMode;t&&(i=!i);t=e.position.column-e.editStart.column;var n=(i?e.editReplaceEnd:e.editInsertEnd).column-e.position.column;return{overwriteBefore:t+(this.editor.getPosition().column-e.position.column),overwriteAfter:n+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem(e){Object(o.n)(e.completion.additionalTextEdits)&&(e=D.a("aria.alert.snippet","Accepting '{0}' made {1} additional edits",e.textLabel,e.completion.additionalTextEdits.length),Object(n.a)(e))}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(this.editor.hasModel()){const t=this.editor.getPosition(),i=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},n=e=>{var t,i,n;return!!(4&e.completion.insertTextRules||e.completion.additionalTextEdits)||(t=this.editor.getPosition(),i=e.editStart.column,(n=t.column)-i!==e.completion.insertText.length||this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:i,endLineNumber:t.lineNumber,endColumn:n})!==e.completion.insertText)};M.c.once(this.model.onDidTrigger)(e=>{let t=[];M.c.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(a.f)(t),i()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{var o,s;Object(a.f)(t),0!==e.items.length&&(o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),s=e.items[o],n(s))?(this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:s,model:e},7)):i()},void 0,t)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}}acceptSelectedSuggestion(e,t){var i=this.widget.value.getFocusedItem();let n=0;e&&(n|=4),t&&(n|=8),this._insertSuggestion(i,n)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}};$e.ID="editor.contrib.suggestController",$e=w([V(1,y),V(2,S.b),V(3,N.b),V(4,b.a),V(5,H.b)],$e);class Ge extends t.b{constructor(){super({id:Ge.id,label:D.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:N.a.and(c.a.writable,c.a.hasCompletionItemProvider),kbOpts:{kbExpr:c.a.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t){const i=$e.get(t);i&&i.triggerSuggest()}}Ge.id="editor.action.triggerSuggest",Object(t.l)($e.ID,$e),Object(t.j)(Ge);const Ze=t.c.bindToContribution($e.get);Object(t.k)(new Ze({id:"acceptSelectedSuggestion",precondition:O.b.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),C.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:N.a.and(O.b.Visible,c.a.textInputFocus),primary:2,weight:190}),C.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:N.a.and(O.b.Visible,c.a.textInputFocus,O.b.AcceptSuggestionsOnEnter,O.b.MakesTextEdit),primary:3,weight:190}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.insert","Insert")},group:"left",order:1,when:O.b.HasInsertAndReplaceRange.toNegated()}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.insert","Insert")},group:"left",order:1,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("insert"))}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.replace","Replace")},group:"left",order:1,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("replace"))}),Object(t.k)(new Ze({id:"acceptAlternativeSelectedSuggestion",precondition:N.a.and(O.b.Visible,c.a.textInputFocus),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:O.g,group:"left",order:2,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("insert")),title:D.a("accept.replace","Replace")},{menuId:O.g,group:"left",order:2,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("replace")),title:D.a("accept.insert","Insert")}]})),S.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(t.k)(new Ze({id:"hideSuggestWidget",precondition:O.b.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:9,secondary:[1033]}})),Object(t.k)(new Ze({id:"selectNextSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(t.k)(new Ze({id:"selectNextPageSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:12,secondary:[2060]}})),Object(t.k)(new Ze({id:"selectLastSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),Object(t.k)(new Ze({id:"selectPrevSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(t.k)(new Ze({id:"selectPrevPageSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:11,secondary:[2059]}})),Object(t.k)(new Ze({id:"selectFirstSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),Object(t.k)(new Ze({id:"toggleSuggestionDetails",precondition:O.b.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:O.g,group:"right",order:1,when:N.a.and(O.b.DetailsVisible,O.b.CanResolve),title:D.a("detail.more","show less")},{menuId:O.g,group:"right",order:1,when:N.a.and(O.b.DetailsVisible.toNegated(),O.b.CanResolve),title:D.a("detail.less","show more")}]})),Object(t.k)(new Ze({id:"toggleExplainMode",precondition:O.b.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object(t.k)(new Ze({id:"toggleSuggestionFocus",precondition:O.b.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(t.k)(new Ze({id:"insertBestCompletion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),Be.AtEnd,O.b.Visible.toNegated(),I.OtherSuggestions.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest(Object(je.j)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(t.k)(new Ze({id:"insertNextSuggestion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),I.OtherSuggestions,O.b.Visible.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2}})),Object(t.k)(new Ze({id:"insertPrevSuggestion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),I.OtherSuggestions,O.b.Visible.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:1026}})),Object(t.j)(class extends t.b{constructor(){super({id:"editor.action.resetSuggestSize",label:D.a("suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){$e.get(t).resetWidgetSize()}})},"7aad":function(e,t,i){},"7ab3":function(e,t,i){"use strict";i.d(t,"c",(function(){return h})),i.d(t,"d",(function(){return c})),i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return g}));var n=i("3742"),o=i("30db"),s=i("1e93");let r,a,l;function d(){return r=r||new TextDecoder("UTF-16LE")}function h(){return l=l||(o.e()?d():a=a||new TextDecoder("UTF-16BE"))}const c="undefined"!=typeof TextDecoder;let u,g;function p(e,t,i){let n=[],o=0;for(let a=0;anew m(e),function(e,t,i){var n=new Uint16Array(e.buffer,t,i);return 0new f,p);class m{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){var e;return 0===this._bufferLength?"":(e=new Uint16Array(this._buffer.buffer,0,this._bufferLength),h().decode(e))}_flushBuffer(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){var t=this._capacity-this._bufferLength;t<=1&&(0!=t&&!n.E(e)||this._flushBuffer()),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){var t=e.length;if(this._bufferLength+t>=this._capacity)this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;else for(let i=0;ithis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{var t;0{58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(this._editor.hasModel())if(this._editor.getOption(19)){if(12!==e.target.type&&(e.event.preventDefault(),e.event.stopPropagation(),6===e.target.type||7===e.target.type||1===e.target.type)){if(this._editor.focus(),e.target.position){let t=!1;for(const i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}}else this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position)}showContextMenu(e){var t;this._editor.getOption(19)&&this._editor.hasModel()&&(this._contextMenuService?0<(t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?l.b.SimpleEditorContext:l.b.EditorContext)).length&&this._doShowContextMenu(t,e):this._editor.focus())}_getMenuActions(e,t){const i=[],n=this._menuService.createMenu(t,this._contextKeyService);var o;t=n.getActions({arg:e.uri});for(o of(n.dispose(),t)){var r,[,a]=o;let t=0;for(const n of a)n instanceof l.e?0<(r=this._getMenuActions(e,n.item.submenu)).length&&(i.push(new s.e(n.id,n.label,r)),t++):(i.push(n),t++);t&&i.push(new s.d)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(this._editor.hasModel()){const r=this._editor.getOption(52);this._editor.updateOptions({hover:{enabled:!1}}),t||(this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render(),s=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),i=(n=o.D(this._editor.getDomNode())).left+s.left,n=n.top+s.top+s.height,t={x:i,y:n});var i,n,s=this._editor.getOption(114)&&!g.c;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:s?this._editor.getDomNode():void 0,getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new u.a(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const i=e;return"function"==typeof i.getActionViewItem?i.getActionViewItem():new u.a(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:r})}})}}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){0=n.range.end)){if(e.end({range:_(e.range,n),size:e.size})),i=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(e){{e=e.reduce((e,t)=>e.concat(t),[]);const o=[];let s=null;for(var t of e){var i=t.range.start,n=t.range.end;t=t.size;s&&t===s.size?s.range.end=n:(s={range:{start:i,end:n},size:t},o.push(s))}return o}}([o,i,t]),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){var e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,i=0;for(var n of this.groups){var o=n.range.end-n.range.start,s=i+o*n.size;if(e{for(const i of e){const e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear()}getRenderer(e){var t=this.renderers.get(e);if(t)return t;throw new Error("No renderer found for "+e)}}i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3i,null!=e&&e.getPosInSet?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,null!=e&&e.getRole?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",null!=e&&e.isChecked?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class x{constructor(e,t,i,n=C){if(this.virtualDelegate=t,this.domId="list_id_"+ ++x.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new h.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=u.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=u.a.None,this.onDragLeaveTimeout=u.a.None,this.disposables=new u.b,this._onDidChangeContentHeight=new c.b,this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new b;for(const o of i)this.renderers.set(o.templateId,o);this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=Object(g.e)(n,e=>e.horizontalScrolling,C.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===n.additionalScrollHeight?0:n.additionalScrollHeight,this.accessibilityProvider=new L(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",Object(g.e)(n,e=>e.transformOptimization,C.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(a.b.addTarget(this.rowsContainer)),this.scrollable=new m.a(Object(g.e)(n,e=>e.smoothScrolling,!1)?125:0,e=>Object(s.V)(e)),this.scrollableElement=this.disposables.add(new l.c(this.rowsContainer,{alwaysConsumeMouseWheel:Object(g.e)(n,e=>e.alwaysConsumeMouseWheel,C.alwaysConsumeMouseWheel),horizontal:1,vertical:Object(g.e)(n,e=>e.verticalScrollMode,C.verticalScrollMode),useShadows:Object(g.e)(n,e=>e.useShadows,C.useShadows),mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add(Object(s.i)(this.rowsContainer,a.a.Change,e=>this.onTouchChange(e))),this.disposables.add(Object(s.i)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add(Object(s.i)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=Object(g.e)(n,e=>e.setRowLineHeight,C.setRowLineHeight),this.setRowHeight=Object(g.e)(n,e=>e.setRowHeight,C.setRowHeight),this.supportDynamicHeights=Object(g.e)(n,e=>e.supportDynamicHeights,C.supportDynamicHeights),this.dnd=Object(g.e)(n,e=>e.dnd,C.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:Object(s.C)(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.mouseWheelScrollSensitivity&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,i=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){var n=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=p.a.intersect(n,{start:e,end:e+t});const s=new Map;for(let u=o.start;u({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:u.a.None})),0===e&&t>=this.items.length?(this.rangeMap=new b,this.rangeMap.splice(0,0,r),d=this.items,this.items=r):(this.rangeMap.splice(e,t,r),d=this.items.splice(e,t,...r));const h=i.length-t,c=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);n=_(a,h);var g=p.a.intersect(c,n);for(let u=g.start;u_(e,h));const m={start:e,end:e+i.length};t=[m,...r].map(e=>p.a.intersect(c,e));var f=this.getNextToLastElement(t);for(const u of t)for(let e=u.start;ee.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Object(s.V)(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(this.horizontalScrolling){let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){return e=this.items[e].row,e&&e.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:Object(s.B)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:Object(s.C)(this.domNode)})}render(e,t,i,n,o,s=!1){var r=this.getRenderRange(t,i),a=p.a.relativeComplement(r,e),l=p.a.relativeComplement(e,r),d=this.getNextToLastElement(a);if(s){var h=p.a.intersect(e,r);for(let e=h.start;ethis.onDragStart(n.element,r,e))),this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){var t;e.row&&e.row.domNode&&(e.row.domNode.style.width=n.g?"-moz-fit-content":"fit-content",e.width=Object(s.C)(e.row.domNode),(t=window.getComputedStyle(e.row.domNode)).paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width="")}updateItemInDOM(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",this.setRowHeight&&(e.row.domNode.style.height=e.size+"px"),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.row){const i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return c.c.map(this.disposables.add(new r.a(this.domNode,"click")).event,e=>this.toMouseEvent(e))}get onMouseDblClick(){return c.c.map(this.disposables.add(new r.a(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return c.c.filter(c.c.map(this.disposables.add(new r.a(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e)),e=>1===e.browserEvent.button)}get onMouseDown(){return c.c.map(this.disposables.add(new r.a(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e))}get onContextMenu(){return c.c.any(c.c.map(this.disposables.add(new r.a(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e)),c.c.map(this.disposables.add(new r.a(this.domNode,a.a.Contextmenu)).event,e=>this.toGestureEvent(e)))}get onTouchStart(){return c.c.map(this.disposables.add(new r.a(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e))}get onTap(){return c.c.map(this.disposables.add(new r.a(this.rowsContainer,a.a.Tap)).event,e=>this.toGestureEvent(e))}toMouseEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toTouchEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toGestureEvent(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toDragEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}onScroll(e){try{var t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(e){throw e}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){if(i.dataTransfer){if(e=this.dnd.getDragElements(e),i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(o.a.TEXT,t),i.dataTransfer.setDragImage){let t;void 0===(t=this.dnd.getDragLabel?this.dnd.getDragLabel(e,i):t)&&(t=String(e.length));const n=Object(s.a)(".monaco-drag-image");n.textContent=t,document.body.appendChild(n),i.dataTransfer.setDragImage(n,-10,-10),setTimeout(()=>document.body.removeChild(n),0)}this.currentDragData=new w(e),o.c.CurrentDragAndDropData=new y(e),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,i)}}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),o.c.CurrentDragAndDropData&&"vscode-ui"===o.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(o.c.CurrentDragAndDropData)this.currentDragData=o.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new S}var t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let i;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",i="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],i=-1===(i=Object(d.f)(i).filter(e=>-1<=e&&ee-t))[0]?[-1]:i,t=this.currentDragFeedback,e=i,Array.isArray(t)&&Array.isArray(e)?!Object(d.h)(t,e):t!==e)if(this.currentDragFeedback=i,this.currentDragFeedbackDisposable.dispose(),-1===i[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=Object(u.i)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const e of i){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=Object(u.i)(()=>{for(const e of i){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(h.i)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&null!=(i=(t=this.dnd).onDragLeave)&&i.call(t,this.currentDragData,e.element,e.index,e.browserEvent)}onDrop(e){if(this.canDrop){const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=u.a.None}setupDragAndDropScrollTopAnimation(e){var t;this.dragOverAnimationDisposable||(t=Object(s.G)(this.domNode).top,this.dragOverAnimationDisposable=Object(s.p)(this.animateDragAndDropScrollTop.bind(this,t))),this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(h.i)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){var t;void 0!==this.dragOverMouseY&&(e=this.dragOverMouseY-e,t=this.renderHeight-35,e<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(e-35))):te===p.CommandPalette}}addCommand(e){return this.addCommands(r.a.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(a.i)(()=>{let t=!1;for(const i of e)t=this._commands.delete(i.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){return this.appendMenuItems(r.a.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,i=new l.a;for(var{id:n,item:o}of e){let e=this._menuItems.get(n);e||(e=new l.a,this._menuItems.set(n,e)),i.push(e.push(o)),t.add(n)}return this._onDidChangeMenu.fire(t),Object(a.i)(()=>{if(0{t.has(n)||e.push({command:i})})}};class _ extends n.e{constructor(e,t,i,n){super("submenuitem."+e.submenu.id,"string"==typeof e.title?e.title:e.title.value,[],"submenu"),this.item=e,this._menuService=t,this._contextKeyService=i,this._options=n}get actions(){const e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService);var i,o=t.getActions(this._options);for([,i]of(t.dispose(),o))0/?".split("").forEach(e=>u.add(e.charCodeAt(0)));const w=s(r,b,a),y=s(r,b,(function(e,t){return function e(t,i,n,o){if(n===t.length)return[];if(o===i.length)return null;if(t[n]!==i[o])return e(t,i,n,o+1);{let s=null;return(s=e(t,i,n+1,o+1))?f({start:o,end:o+1},s):null}}(e.toLowerCase(),t.toLowerCase(),0,0)})),S=new t.a(1e4);function L(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=S.get(e);n||(n=new RegExp(o.p(e),"i"),S.set(e,n));var s=n.exec(t);return s?[{start:s.index,end:s.index+s[0].length}]:(i?y:w)(e,t)}function x(e,t,i,n,o,s){for(var r=Math.min(13,e.length);i=e.length)return!1;var i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!o.B(i)}}function F(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function B(e,t,i){return t[e]!==i[e]}function j(e,t,i,n,o,s,r){var a=e.length>D?D:e.length,l=n.length>D?D:n.length;if(!(a<=i||l<=s||l-s=c&&n>=u;)g[e]===p[n]&&(I[e]=n,e--),n--}let L=1,x=1,k=i,D=s;var m=[!1];for(L=1,k=i;kf,C=v?T[L][x-1]+(0f+1&&0=d))T[L][x]=y,A[L][x]=3,M[L][x]=0;else if(v&&(!a||C>=d))T[L][x]=C,A[L][x]=2,M[L][x]=0;else{if(!a)throw new Error("not possible");T[L][x]=d,A[L][x]=1,M[L][x]=M[L-1][x-1]+1}}}if(R&&(d=n,h=s,e.substr(i),d=d.substr(h)),m[0]||r){L--,x--;const e=[T[L][x],s];let r=0,d=0;for(;1<=L;){let a=x;do{var S=A[L][a];if(3===S)a-=2;else{if(2!==S)break;a-=1}}while(1<=a);(a=1M[L][a]?x:a)===x?r++:r=1,d=d||a,L--,x=a-1,e.push(x)}return l===a&&(e[0]+=2),h=d-a,e[0]-=h,e}}}function W(e,t,i,n,o,s,r){{var a=e,l=(e=t,i),d=n,h=o,c=s,u=(t=!0,r);let p=j(a,e,l,d,h,c,u);if((!p||t)&&3<=a.length){var g=Math.min(7,a.length-1);for(let e=l+1;e=e.length)){var i=e[t],n=e[t+1];return i!==n?e.slice(0,t)+n+i+e.slice(t+2):void 0}}(a,e);if(t){const e=j(t,t.toLowerCase(),l,d,h,c,u);e&&(e[0]-=3,(!p||e[0]>p[0])&&(p=e))}}}return p}}(i=n=n||{}).Default=[-100,0],i.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]}},"7eb7":function(e,t,i){"use strict";i.r(t),i.d(t,"CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE",(function(){return L})),i.d(t,"LinkedEditingContribution",(function(){return k})),i.d(t,"LinkedEditingAction",(function(){return D})),i.d(t,"editorLinkedEditingBackground",(function(){return E}));var n=i("dff7"),o=(t=i("b2cc"),i("e8e3")),s=i("a666"),r=i("7061"),a=i("2504"),l=i("6a89"),d=i("b707"),h=i("5fe7"),c=i("b57f"),u=i("4fc3"),g=i("c101"),p=i("6d8e"),m=i("5717"),f=i("fdcc"),_=i("3742"),b=i("303e"),v=i("b7d0"),C=i("ceb8"),w=i("70cb"),y=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(61)||e.hasChanged(81))&&this.reinitialize(!1)})),this._register(d.w.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}static get(t){return t.getContribution(e.ID)}reinitialize(e){const t=this._editor.getModel();var i=null!==t&&(this._editor.getOption(61)||this._editor.getOption(81))&&d.w.has(t);if((i!==this._enabled||e)&&(this._enabled=i,this.clearRanges(),this._localToDispose.clear(),i&&null!==t)){this._languageWordPattern=w.a.getWordDefinition(t.getLanguageIdentifier().id),this._localToDispose.add(t.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=w.a.getWordDefinition(t.getLanguageIdentifier().id)}));const e=new h.a(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=e.trigger(()=>this.updateRanges(),this._debounceDuration)},n=new h.a(0),o=e=>{this._rangeSyncTriggerPromise=n.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{i()})),this._localToDispose.add(this._editor.onDidChangeModelContent(e=>{if(!this._ignoreChangeEvent&&0i.intersectRanges(e.range)))return void o(this._currentDecorations)}i()})),this._localToDispose.add({dispose:()=>{e.cancel(),n.cancel()}}),this.updateRanges()}}_syncRanges(e){if(this._editor.hasModel()&&e===this._currentDecorations&&0!==e.length){const a=this._editor.getModel();var t=a.getDecorationRange(e[0]);if(!t||t.startLineNumber!==t.endLineNumber)return this.clearRanges();const d=a.getValueInRange(t);if(this._currentWordPattern&&(t=d.match(this._currentWordPattern),(t?t[0].length:0)!==d.length))return this.clearRanges();let h=[];for(let t=1,r=e.length;tS(this,void 0,void 0,(function*(){try{var r,a,d=yield O(t,i,s);if(o===this._currentRequest&&(this._currentRequest=null,n===t.getVersionId())){let t=[],n=(null!=d&&d.ranges&&(t=d.ranges),this._currentWordPattern=(null==d?void 0:d.wordPattern)||this._languageWordPattern,!1);for(let e=0,o=t.length;e({range:t,options:e.DECORATION})),this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,a)):this.clearRanges()}}catch(a){Object(f.e)(a)||Object(f.f)(a),this._currentRequest!==o&&this._currentRequest||this.clearRanges()}})));return this._currentRequest=o}}this.clearRanges()}))}};k.ID="editor.contrib.linkedEditing",k.DECORATION=c.a.register({description:"linked-editing",stickiness:0,className:x}),k=i([y(1,u.b)],k);class D extends t.b{constructor(){super({id:"editor.action.linkedEditing",label:n.a("linkedEditing.label","Start Linked Editing"),alias:"Start Linked Editing",precondition:u.a.and(g.a.writable,g.a.hasRenameProvider),kbOpts:{kbExpr:g.a.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const i=e.get(m.a),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return p.a.isUri(n)&&r.a.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},f.f):super.runCommand(e,t)}run(e,t){const i=k.get(t);return i?Promise.resolve(i.updateRanges(!0)):Promise.resolve()}}const N=t.c.bindToContribution(k.get);function O(e,t,i){const n=d.w.ordered(e);return Object(h.j)(n.map(n=>()=>S(this,void 0,void 0,(function*(){try{return yield n.provideLinkedEditingRanges(e,t,i)}catch(n){Object(f.g)(n)}}))),e=>!!e&&o.n(null==e?void 0:e.ranges))}Object(t.k)(new N({id:"cancelLinkedEditingInput",precondition:L,handler:e=>e.clearRanges(),kbOpts:{kbExpr:g.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const E=Object(b.wc)("editor.linkedEditingBackground",{dark:C.a.fromHex("#f00").transparent(.3),light:C.a.fromHex("#f00").transparent(.3),hc:C.a.fromHex("#f00").transparent(.3)},n.a("editorLinkedEditingBackground","Background color when the editor auto renames on type."));Object(v.f)((e,t)=>{e=e.getColor(E),e&&t.addRule(`.monaco-editor .${x} { background: ${e}; border-left-color: ${e}; }`)}),Object(t.n)("_executeLinkedEditingProvider",(e,t)=>O(e,t,a.a.None)),Object(t.l)(k.ID,k),Object(t.j)(D)},8025:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7061");class o extends i("6a89").a{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(e||t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;ithis.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(r.F.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new _(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};m.ID="editor.contrib.inspectTokens",m=i([p(1,d.a),p(2,l.a)],m);class f extends s.b{constructor(){super({id:"editor.action.inspectTokens",label:u.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=m.get(t);i&&i.launch()}}class _ extends t.a{constructor(e,t){var i;super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=(i=this._model.getLanguageIdentifier(),r.F.get(i.language)||{getInitialState:()=>a.c,tokenize:(e,t,n,o)=>Object(a.d)(i.language,e,n,o),tokenize2:(e,t,n,o)=>Object(a.e)(i.id,e,n,o)}),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return _._ID}_compute(e){var t,i=this._getTokensAtLine(e.lineNumber);let s=0;for(let n=i.tokens1.length-1;0<=n;n--){var r=i.tokens1[n];if(e.column-1>=r.offset){s=n;break}}let a=0;for(let n=i.tokens2.length>>>1;0<=n;n--)if(e.column-1>=i.tokens2[n<<1]){a=n;break}let l=this._model.getLineContent(e.lineNumber),d="";s{var i=e.getColor(h.F),n=(i&&(n=e.type===g.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${i}; }`)),e.getColor(h.E));n&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${n}; }`),i=e.getColor(h.G);i&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${i}; }`)})},"82a1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return i.e("chunk-2d0e22d6").then(i.bind(null,"7e1c"))}}),Object(t.a)({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return i.e("chunk-2d0e22d6").then(i.bind(null,"7e1c"))}})},"82c9":function(e,t,i){"use strict";i.d(t,"i",(function(){return h})),i.d(t,"e",(function(){return c})),i.d(t,"f",(function(){return u})),i.d(t,"c",(function(){return g})),i.d(t,"b",(function(){return p})),i.d(t,"d",(function(){return m})),i.d(t,"g",(function(){return f})),i.d(t,"h",(function(){return _})),i.d(t,"j",(function(){return b})),i.d(t,"a",(function(){return n}));var n,o,s=i("3d378"),r=i("b589"),a=i("32b8"),l=i("3742"),d=i("6d8e");function h(e){return Object(d.b)(e,!0)}const c=new class{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:Object(l.f)(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return d.a.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return a.e.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===r.c.file?t=d.a.file(a.b(h(e))).path:(t=a.e.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===r.c.file?d.a.file(a.d(h(e))).path:a.e.normalize(e.path),e.with({path:t})}resolvePath(e,t){var i;return e.scheme===r.c.file?(i=d.a.file(a.g(h(e),t)),e.with({authority:i.authority,path:i.path})):(t=s.d(t),e.with({path:a.e.resolve(e.path,t)}))}}(()=>!1),u=c.isEqual.bind(c),g=c.basenameOrAuthority.bind(c),p=c.basename.bind(c),m=c.dirname.bind(c),f=c.joinPath.bind(c),_=c.normalizePath.bind(c),b=c.resolvePath.bind(c);(o=n=n||{}).META_DATA_LABEL="label",o.META_DATA_DESCRIPTION="description",o.META_DATA_SIZE="size",o.META_DATA_MIME="mime",o.parseMetaData=function(e){const t=new Map,i=e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";"));return i.split(";").forEach(e=>{var[e,i]=e.split(":");e&&i&&t.set(e,i)}),(e=e.path.substring(0,e.path.indexOf(";")))&&t.set(o.META_DATA_MIME,e),t}},8452:function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneGotoSymbolQuickAccessProvider",(function(){return A})),i.d(t,"GotoLineAction",(function(){return R})),i("b9db"),i("dbc9");var n=i("dff7"),o=i("2504"),s=i("a666"),r=i("6a89"),a=(t=i("1fe0"),i("b707")),l=i("70f5"),d=i("3742"),h=i("7e93"),c=i("32b8"),u=i("30db");const g=[void 0,[]];function p(e,t,i=0,n=0){var o=t;if(o.values&&1e.start-t.start),i=[];let n=void 0;for(const o of t)n&&function(e,t){if(!(e.ende.original).join(_)):b(e.original)}var w=i("561a"),y=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class S extends t.a{constructor(e=Object.create(null)){super(e),this.options=e,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,Object(n.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),s.a.None}provideWithTextEditor(e,t,i){var n=e.editor;n=this.getModel(n);return n?a.m.has(n)?this.doProvideWithEditorSymbols(e,n,t,i):this.doProvideWithoutEditorSymbols(e,n,t,i):s.a.None}doProvideWithoutEditorSymbols(e,t,i,o){const r=new s.b;return this.provideLabelPick(i,Object(n.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),y(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,r))&&!o.isCancellationRequested&&r.add(this.doProvideWithEditorSymbols(e,t,i,o))})),r}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return y(this,void 0,void 0,(function*(){if(a.m.has(e))return!0;let i;var n=new Promise(e=>i=e);const o=t.add(a.m.onDidChange(()=>{a.m.has(e)&&(o.dispose(),i(!0))}));return t.add(Object(s.i)(()=>i(!1))),n}))}doProvideWithEditorSymbols(e,t,i,r){const a=e.editor,l=new s.b,d=(l.add(i.onDidAccept(t=>{var[n]=i.selectedItems;n&&n.range&&(this.gotoLocation(e,{range:n.range.selection,keyMods:i.keyMods,preserveFocus:t.inBackground}),t.inBackground||i.hide())})),l.add(i.onDidTriggerItemButton(({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:i.keyMods,forceSideBySide:!0}),i.hide())})),this.getDocumentSymbols(t,r));let h=void 0;const c=()=>y(this,void 0,void 0,(function*(){null!==h&&void 0!==h&&h.dispose(!0),i.busy=!1,h=new o.b(r),i.busy=!0;try{var e=b(i.value.substr(S.PREFIX.length).trim()),t=yield this.doGetSymbolPicks(d,e,void 0,h.token);r.isCancellationRequested||(0c())),c();let u=!0;return l.add(i.onDidChangeActive(()=>{var[e]=i.activeItems;e&&e.range&&(u?u=!1:(a.revealRangeInCenter(e.range.selection,0),this.addDecorations(a,e.range.decoration)))})),l}doGetSymbolPicks(e,t,i,o){return y(this,void 0,void 0,(function*(){var s=yield e;if(o.isCancellationRequested)return[];const l=0===t.original.indexOf(S.SCOPE_PREFIX);var h=l?1:0;let c,u;t.values&&1h){let e=!1;if(c!==t&&([b,v]=p(f,Object.assign(Object.assign({},t),{values:void 0}),h,_),"number"==typeof b&&(e=!0)),"number"!=typeof b&&([b,v]=p(f,c,h,_),"number"!=typeof b))continue;if(!e&&u){if(l&&0{var e=null!=(e=this.options)&&e.openSideBySideDirection&&null!=(e=this.options)?e.openSideBySideDirection():void 0;if(e)return[{iconClass:("right"===e?w.b.splitHorizontal:w.b.splitVertical).classNames,tooltip:"right"===e?Object(n.a)("openToSide","Open to the Side"):Object(n.a)("openToBottom","Open to the Bottom")}]})()})}var b=g.sort((e,t)=>l?this.compareByKindAndScore(e,t):this.compareByScore(e,t));let v=[];if(l){let e=void 0,t=void 0,i=0;function y(){t&&"number"==typeof e&&0t.score)return-1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){const i=x[e.kind]||L;var n=x[t.kind]||L;n=i.localeCompare(n);return 0===n?this.compareByScore(e,t):n}getDocumentSymbols(e,t){return y(this,void 0,void 0,(function*(){const i=yield l.a.create(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()}))}}S.PREFIX="@",S.SCOPE_PREFIX=":",S.PREFIX_BY_CATEGORY=""+S.PREFIX+S.SCOPE_PREFIX;const L=Object(n.a)("property","properties ({0})"),x={[5]:Object(n.a)("method","methods ({0})"),11:Object(n.a)("function","functions ({0})"),8:Object(n.a)("_constructor","constructors ({0})"),12:Object(n.a)("variable","variables ({0})"),4:Object(n.a)("class","classes ({0})"),22:Object(n.a)("struct","structs ({0})"),23:Object(n.a)("event","events ({0})"),24:Object(n.a)("operator","operators ({0})"),10:Object(n.a)("interface","interfaces ({0})"),2:Object(n.a)("namespace","namespaces ({0})"),3:Object(n.a)("package","packages ({0})"),25:Object(n.a)("typeParameter","type parameters ({0})"),1:Object(n.a)("modules","modules ({0})"),6:Object(n.a)("property","properties ({0})"),9:Object(n.a)("enum","enumerations ({0})"),21:Object(n.a)("enumMember","enumeration members ({0})"),14:Object(n.a)("string","strings ({0})"),0:Object(n.a)("file","files ({0})"),17:Object(n.a)("array","arrays ({0})"),15:Object(n.a)("number","numbers ({0})"),16:Object(n.a)("boolean","booleans ({0})"),18:Object(n.a)("object","objects ({0})"),19:Object(n.a)("key","keys ({0})"),7:Object(n.a)("field","fields ({0})"),13:Object(n.a)("constant","constants ({0})")};t=i("89cd");var k=i("2f1e"),D=i("5717"),N=i("ef8e9"),O=i("03d9"),E=i("308f"),I=i("b2cc"),M=i("c101"),T=i("66bd");let A=class extends S{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=E.c.None}get activeTextEditorControl(){return Object(N.o)(this.editorService.getFocusedCodeEditor())}};A=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!e.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Object(n.n)(e.diagnostics)?Object(n.n)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(n.n)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&g.b.QuickFix.contains(new g.b(e.kind))&&!!e.isPreferred)}}const S={actions:[],documentation:void 0};function L(e,t,i,o,a){var d;const h=i.filter||{},u={only:null==(b=h.include)?void 0:b.value,trigger:i.type},p=new l.d(e,a),f=(d=h,c.a.all(e).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>Object(g.d)(d,new g.b(e))))),_=new r.b;var b=f.map(i=>m(this,void 0,void 0,(function*(){try{o.report(i);const s=yield i.provideCodeActions(e,t,u,p.token);if(s&&_.add(s),p.token.isCancellationRequested)return S;const r=((null===s||void 0===s?void 0:s.actions)||[]).filter(e=>e&&Object(g.c)(h,e));var n=function(e,t,i){if(e.documentation){var n=e.documentation.map(e=>({kind:new g.b(e.kind),command:e.command}));if(i){let e;for(const t of n)!t.kind.contains(i)||e&&!e.kind.contains(t.kind)||(e=t);if(e)return null===e||void 0===e?void 0:e.command}for(const e of t)if(e.kind)for(const t of n)if(t.kind.contains(new g.b(e.kind)))return t.command}}(i,r,h.include);return{actions:r.map(e=>new w(e,i)),documentation:n}}catch(n){if(Object(s.e)(n))throw n;return Object(s.g)(n),S}})));const v=c.a.onDidChange(()=>{var t=c.a.all(e);Object(n.h)(t,f)||p.cancel()});return Promise.all(b).then(e=>{var t=Object(n.k)(e.map(e=>e.actions));e=Object(n.e)(e.map(e=>e.documentation));return new y(t,e,_)}).finally(()=>{v.dispose(),p.dispose()})}t.a.registerCommand("_executeCodeActionProvider",(function(e,t,i,n,r){return m(this,void 0,void 0,(function*(){if(!(t instanceof a.a))throw Object(s.c)();const l=e.get(u.a).getModel(t);if(!l)throw Object(s.c)();var c=h.a.isISelection(i)?h.a.liftSelection(i):d.a.isIRange(i)?l.validateRange(i):void 0;if(!c)throw Object(s.c)();var m="string"==typeof n?new g.b(n):void 0;const f=yield L(l,c,{type:1,filter:{includeSourceActions:!0,include:m}},p.b.None,o.a.None),_=[];var b=Math.min(f.validActions.length,"number"==typeof r?r:0);for(let e=0;ee.action)}finally{setTimeout(()=>f.dispose(),100)}}))}))},"84df":function(e,t,i){"use strict";i.d(t,"b",(function(){return L})),i.d(t,"a",(function(){return k})),i.d(t,"c",(function(){return D})),i.d(t,"d",(function(){return O})),i.d(t,"e",(function(){return I}));var n=i("3813"),o=i("e8e3"),s=i("2504"),r=i("fdcc"),a=i("6d8e"),l=i("bc04"),d=i("b055"),h=i("7061"),c=i("6a89"),u=i("8025"),g=i("b707"),p=i("a40b"),m=i("1b69"),f=i("09db"),_=i("dff7");class b{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var v=i("0a0f"),C=(t=i("db88"),i("9e74")),w=i("ef8e9"),y=i("258a"),S=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function L(e){if((e=e.filter(e=>e.range)).length){let o=e[0]["range"];for(let t=1;tS(this,void 0,void 0,(function*(){return(yield t.provideDocumentRangeFormattingEdits(a,e,a.getFormattingOptions(),h.token))||[]}));const w=[],y=[];try{for(var x of g){if(h.token.isCancellationRequested)return!0;y.push(yield C(x))}for(let e=0;e{if(e.length&&t.length){const o=e.reduce((e,t)=>c.a.plusRange(e,t.range),e[0].range);if(t.some(e=>c.a.intersectRanges(o,e.range)))for(var i of e)for(var n of t)if(c.a.intersectRanges(i.range,n.range))return!0}return!1})(y[e],y[t])&&(v=yield C(b=c.a.plusRange(g[e],g[t])),g.splice(t,1),g.splice(e,1),g.push(b),y.splice(t,1),y.splice(e,1),y.push(v),e=0,t=0)}for(var k of y){if(h.token.isCancellationRequested)return!0;var D=yield r.computeMoreMinimalEdits(a.uri,k);D&&w.push(...D)}}finally{h.dispose()}if(0===w.length)return!1;if(Object(d.b)(i))f.a.execute(i,w,!0),L(w),i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1);else{var[{range:N}]=w;const e=new u.a(N.startLineNumber,N.startColumn,N.endLineNumber,N.endColumn);a.pushEditOperations([e],w.map(e=>({text:e.text,range:c.a.lift(e.range),forceMoveMarkers:!0})),t=>{for(var{range:i}of t)if(c.a.areIntersectingOrTouching(i,e))return[new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0}))}function O(e,t,i,n,o){return S(this,void 0,void 0,(function*(){const s=e.get(v.a);var r=Object(d.b)(t)?t.getModel():t,a=x(r);a=yield k.select(a,r,i);a&&(n.report(a),yield s.invokeFunction(E,a,t,i,o))}))}function E(e,t,i,n,o){return S(this,void 0,void 0,(function*(){const s=e.get(p.a);let r,a,h;a=Object(d.b)(i)?(r=i.getModel(),new l.b(i,5,void 0,o)):(r=i,new l.d(i,o));try{var g=yield t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),a.token);if(h=yield s.computeMoreMinimalEdits(r.uri,g),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!h||0===h.length)return!1;if(Object(d.b)(i))f.a.execute(i,h,2!==n),2!==n&&(L(h),i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1));else{var[{range:g}]=h;const e=new u.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn);r.pushEditOperations([e],h.map(e=>({text:e.text,range:c.a.lift(e.range),forceMoveMarkers:!0})),t=>{for(var{range:i}of t)if(c.a.areIntersectingOrTouching(i,e))return[new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0}))}function I(e,t,i,n,o){const a=g.x.ordered(t);return 0===a.length||a[0].autoFormatTriggerCharacters.indexOf(n)<0?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(t,i,n,o,s.a.None)).catch(r.g).then(i=>e.computeMoreMinimalEdits(t.uri,i))}k._selectors=new t.a,C.a.registerCommand("_executeFormatRangeProvider",(function(e,...t){var[t,i,n]=t;Object(w.c)(a.a.isUri(t)),Object(w.c)(c.a.isIRange(i)),t=e.get(m.a).getModel(t);if(t)return function(e,t,i,n,s){return S(this,void 0,void 0,(function*(){for(const l of g.j.ordered(t)){var a=yield Promise.resolve(l.provideDocumentRangeFormattingEdits(t,i,n,s)).catch(r.g);if(Object(o.n)(a))return yield e.computeMoreMinimalEdits(t.uri,a)}}))}(e.get(p.a),t,c.a.lift(i),n,s.a.None);throw Object(r.c)("resource")})),C.a.registerCommand("_executeFormatDocumentProvider",(function(e,...t){var[t,i]=t;Object(w.c)(a.a.isUri(t)),t=e.get(m.a).getModel(t);if(t)return function(e,t,i,n){return S(this,void 0,void 0,(function*(){for(const a of x(t)){var s=yield Promise.resolve(a.provideDocumentFormattingEdits(t,i,n)).catch(r.g);if(Object(o.n)(s))return yield e.computeMoreMinimalEdits(t.uri,s)}}))}(e.get(p.a),t,i,s.a.None);throw Object(r.c)("resource")})),C.a.registerCommand("_executeFormatOnTypeProvider",(function(e,...t){var[t,i,n,o]=t;Object(w.c)(a.a.isUri(t)),Object(w.c)(h.a.isIPosition(i)),Object(w.c)("string"==typeof n),t=e.get(m.a).getModel(t);if(t)return I(e.get(p.a),t,h.a.lift(i),n,o);throw Object(r.c)("resource")}))},"87a3":function(e,t,i){"use strict";i.r(t),i.d(t,"UnusualLineTerminatorsDetector",(function(){return c}));var n=i("dff7"),o=(t=i("a666"),i("b2cc")),s=i("5717"),r=i("eafb"),a=i("82c9"),l=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e.hasChanged(113)&&(this._config=this._editor.getOption(113),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return d(this,void 0,void 0,(function*(){if("off"!==this._config&&this._editor.hasModel()){const o=this._editor.getModel();var e,t,i;o.mightContainUnusualLineTerminators()&&(e=this._codeEditorService,t=o,!0===e.getModelProperty(t.uri,h)||this._editor.getOption(80)||("auto"===this._config||(yield this._dialogService.confirm({title:n.a("unusualLineTerminators.title","Unusual Line Terminators"),message:n.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:n.a("unusualLineTerminators.detail","The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",Object(a.b)(o.uri)),primaryButton:n.a("unusualLineTerminators.fix","Remove Unusual Line Terminators"),secondaryButton:n.a("unusualLineTerminators.ignore","Ignore")})).confirmed?o.removeUnusualLineTerminators(this._editor.getSelections()):(e=this._codeEditorService,t=o,i=!0,e.setModelProperty(t.uri,h,i))))}}))}};c.ID="editor.contrib.unusualLineTerminatorsDetector",c=i([l(1,r.a),l(2,s.a)],c),Object(o.l)(c.ID,c)},8830:function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return v})),i.d(t,"d",(function(){return D})),i.d(t,"c",(function(){return N}));t=i("dff7");var n=i("308f"),o=i("a666"),s=i("aa3d"),r=i("e8e3"),a=i("fd49"),l=i("62bd"),d=i("fb71"),h=i("0910"),c=i("89cd"),u=i("be5f");const g=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.b,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}},p=Object.hasOwnProperty;class m{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class f{constructor(){this._values=[]}_read(e){return this._values[e]}_write(e,t){this._values[e]=t}}class _{static readOptions(e){var t=e;const i=new f;for(const o of a.l){var n="_never_"===o.name?void 0:t[o.name];i._write(o.id,n)}return i}static validateOptions(e){const t=new a.j;for(const i of a.l)t._write(i.id,i.validate(e._read(i.id)));return t}static computeOptions(e,t){const i=new m;for(const n of a.l)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&r.h(e,t);for(var i in e)if(!_._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){const i=[];let n=!1;for(const s of a.l){var o=!_._deepEquals(e._read(s.id),t._read(s.id));(i[s.id]=o)&&(n=!0)}return n?new a.b(i):null}}function b(e){e=s.b(e);{var t=e,i=t.wordWrap;!0===i?t.wordWrap="on":!1===i&&(t.wordWrap="off"),!0===(i=t.lineNumbers)?t.lineNumbers="on":!1===i&&(t.lineNumbers="off"),!1===(i=t.autoClosingBrackets)&&(t.autoClosingBrackets="never",t.autoClosingQuotes="never",t.autoSurround="never"),"visible"===(i=t.cursorBlinking)&&(t.cursorBlinking="solid"),!0===(i=t.renderWhitespace)?t.renderWhitespace="boundary":!1===i&&(t.renderWhitespace="none"),!0===(i=t.renderLineHighlight)?t.renderLineHighlight="line":!1===i&&(t.renderLineHighlight="none"),!0===(i=t.acceptSuggestionOnEnter)?t.acceptSuggestionOnEnter="on":!1===i&&(t.acceptSuggestionOnEnter="off"),!1===(i=t.tabCompletion)?t.tabCompletion="off":!0===i&&(t.tabCompletion="onlySnippets");const n=t.suggest;if(n&&"object"==typeof n.filteredTypes&&n.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(u.b)(e,e=>{var t=n.filteredTypes[e.key];!1===t&&(n[e.value]=t)})}!0===(i=t.hover)?t.hover={enabled:!0}:!1===i&&(t.hover={enabled:!1}),!0===(i=t.parameterHints)?t.parameterHints={enabled:!0}:!1===i&&(t.parameterHints={enabled:!1}),!0===(i=t.autoIndent)?t.autoIndent="full":!1===i&&(t.autoIndent="advanced"),!0===(i=t.matchBrackets)?t.matchBrackets="always":!1===i&&(t.matchBrackets="never")}return e}class v extends o.a{constructor(e,t){super(),this._onDidChange=this._register(new n.b),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new n.b),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=e,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new a.a,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=b(t),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._register(l.a.onDidChangeZoomLevel(e=>this._recomputeOptions())),this._register(g.onDidChangeTabFocus(e=>this._recomputeOptions()))}observeReferenceElement(e){}updatePixelRatio(){}_recomputeOptions(){var e=this.options,t=this._computeInternalOptions();e?null!==(e=_.checkEquals(e,t))&&(this.options=t,this._onDidChangeFast.fire(e),this._onDidChange.fire(e)):this.options=t}getRawOptions(){return this._rawOptions}_computeInternalOptions(){var e=this._getEnvConfiguration(),t=d.a.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,e.pixelRatio,this.isSimpleWidget);t={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:g.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return _.computeOptions(this._validatedOptions,t)}static _subsetEquals(e,t){for(const o in t)if(p.call(t,o)){var i=t[o],n=e[o];if(n!==i){if(Array.isArray(n)&&Array.isArray(i)){if(r.h(n,i))continue}else if(n&&"object"==typeof n&&i&&"object"==typeof i&&this._subsetEquals(n,i))continue;return!1}}return!0}updateOptions(e){void 0!==e&&(e=b(e),v._subsetEquals(this._rawOptions,e)||(this._rawOptions=s.f(this._rawOptions,e||{}),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._recomputeOptions()))}setIsDominatedByLongLines(e){this._isDominatedByLongLines=e,this._recomputeOptions()}setMaxLineNumber(e){e=v._digitCount(e),this._lineNumbersDigitCount!==e&&(this._lineNumbersDigitCount=e,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}static _digitCount(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}}var C;i=Object.freeze({id:"editor",order:5,type:"object",title:t.a("editorConfigurationTitle","Editor"),scope:5});const w=c.a.as(h.a.Configuration),y=Object.assign(Object.assign({},i),{properties:{"editor.tabSize":{type:"number",default:a.d.tabSize,minimum:1,markdownDescription:t.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:a.d.insertSpaces,markdownDescription:t.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:a.d.detectIndentation,markdownDescription:t.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:a.d.trimAutoWhitespace,description:t.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:a.d.largeFileOptimizations,description:t.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:t.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[t.a("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),t.a("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),t.a("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:t.a("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[t.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),t.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),t.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:t.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:t.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:t.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:t.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:t.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:t.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:t.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:t.a("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[t.a("wordWrap.off","Lines will never wrap."),t.a("wordWrap.on","Lines will wrap at the viewport width."),t.a("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(const O of a.l){var S=O.schema;if(void 0!==S)if(void 0!==(C=S).type||void 0!==C.anyOf)y.properties["editor."+O.name]=S;else for(var L in S)p.call(S,L)&&(y.properties[L]=S[L])}let x=null;function k(){return null===x&&(x=Object.create(null),Object.keys(y.properties).forEach(e=>{x[e]=!0})),x}function D(e){return k()["editor."+e]||!1}function N(e){return k()["diffEditor."+e]||!1}w.registerConfiguration(y)},8899:function(e,t,i){},"88b6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return i.e("chunk-2d22c2b8").then(i.bind(null,"f1a8"))}})},"88d4":function(e,t,i){"use strict";i.d(t,"a",(function(){return N})),i.d(t,"b",(function(){return C})),i.d(t,"d",(function(){return O})),i.d(t,"c",(function(){return I})),i.d(t,"p",(function(){return M})),i.d(t,"q",(function(){return T})),i.d(t,"r",(function(){return A})),i.d(t,"e",(function(){return R})),i.d(t,"j",(function(){return P})),i.d(t,"l",(function(){return F})),i.d(t,"k",(function(){return B})),i.d(t,"n",(function(){return j})),i.d(t,"o",(function(){return W})),i.d(t,"f",(function(){return V})),i.d(t,"g",(function(){return H})),i.d(t,"m",(function(){return z})),i.d(t,"h",(function(){return U})),i.d(t,"i",(function(){return K})),i("7b59");var n=i("11f7"),o=i("5aa5"),s=i("f070"),r=(t=i("ceb8"),i("308f")),a=i("aa3d"),l=i("5717"),d=i("d379"),h=(i("b968"),i("70c3")),c=i("9c3e"),u=i("a666"),g=i("6a89"),p=i("b57f"),m=new t.a(new t.c(0,122,204));const f={showArrow:!0,showFrame:!0,className:"",frameColor:m,arrowColor:m,keepEditorSelection:!1};class _{constructor(e,t,i,n,o,s){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this._onDomNodeTop=o,this._onComputedHeight=s}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class b{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class v{constructor(e){this._editor=e,this._ruleName=v._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),n.Q(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){n.Q(this._ruleName),n.v(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:g.a.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}v._IdGenerator=new c.a(".arrow-decoration-");var C,w=i("dff7"),y=(m=i("4fc3"),c=i("0a0f"),i("f5f3")),S=i("b2cc"),L=i("303e"),x=i("561a"),k=i("7944"),D=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{const i=this._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),this._widgets.delete(e))})})}}),(y=C=C||{}).inPeekEditor=new m.c("inReferenceSearchEditor",!0,w.a("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),y.notInPeekEditor=y.inPeekEditor.toNegated(),y=class{constructor(e,t){e instanceof d.a&&C.inPeekEditor.bindTo(t)}dispose(){}},y.ID="editor.contrib.referenceController",y=i([D(1,m.b)],y),Object(S.l)(y.ID,y);const E={headerBackgroundColor:t.a.white,primaryHeadingColor:t.a.fromHex("#333333"),secondaryHeadingColor:t.a.fromHex("#6c6c6cb3")};let I=class extends class{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new u.b,this.container=null,this._isShowing=!1,this.editor=e,this.options=a.b(t),a.f(this.options,f,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{var t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new v(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){var e;this.container&&this.options.frameColor&&(e=this.options.frameColor.toString(),this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e),this._arrow&&this.options.arrowColor&&(e=this.options.arrowColor.toString(),this._arrow.color=e)}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return 0{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){var e,t=this.editor.getOption(58);let i=0;return this.options.showArrow&&(e=Math.round(t/3),i+=2*e),this.options.showFrame&&(e=Math.round(t/9),i+=2*e),i}_showImpl(e,t){const i=e.getStartPosition();var n=this.editor.getLayoutInfo();const o=this._getWidth(n),s=(this.domNode.style.width=o+"px",this.domNode.style.left=this._getLeft(n)+"px",document.createElement("div"));s.style.overflow="hidden";n=this.editor.getOption(58);var r=Math.max(12,this.editor.getLayoutInfo().height/n*.8);t=Math.min(t,r);let a=0,l=0;if(this._arrow&&this.options.showArrow&&(a=Math.round(n/3),this._arrow.height=a,this._arrow.show(i)),this.options.showFrame&&(l=Math.round(n/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new _(s,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e)),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new b("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const e=this.options.frameWidth||l;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}r=t*n-this._decoratingElementsHeight(),this.container&&(this.container.style.top=a+"px",this.container.style.height=r+"px",this.container.style.overflow="hidden"),this._doLayout(r,o),this.options.keepEditorSelection||this.editor.setSelection(e);const d=this.editor.getModel();d&&((n=e.endLineNumber+1)<=d.getLineCount()?this.revealLine(n,!1):this.revealLine(d.getLineCount(),!0))}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(!this._resizeSash){let e;this._resizeSash=this._disposables.add(new h.b(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{e&&(t=(t=(t.currentY-e.startY)/this.editor.getOption(58))<0?Math.ceil(t):Math.floor(t),5<(t=e.heightInLines+t)&&t<35&&this._relayout(t))}))}}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){var e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new r.b,this.onDidClose=this._onDidClose.event,a.f(this.options,E,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=n.a(".head"),this._bodyElement=n.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const i=n.a(".peekview-title");this.options.supportOnTitleClick&&(i.classList.add("clickable"),n.o(i,"click",e=>this._onTitleClick(e))),n.q(this._headElement,i),this._fillTitleIcon(i),this._primaryHeading=n.a("span.filename"),this._secondaryHeading=n.a("span.dirname"),this._metaHeading=n.a("span.meta"),n.q(i,this._primaryHeading,this._secondaryHeading,this._metaHeading);var r=n.a(".peekview-actions"),a=(n.q(this._headElement,r),this._getActionBarOptions());this._actionbarWidget=new o.a(r,a),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new s.a("peekview.close",w.a("label.close","Close"),x.b.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:k.b.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:n.t(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,n.W(this._metaHeading)):n.K(this._metaHeading))}_doLayout(e,t){var i;!this._isShowing&&e<0?this.dispose():(i=Math.ceil(1.2*this.editor.getOption(58)),e=Math.round(e-(i+2)),this._doLayoutHead(i,t),this._doLayoutBody(e,t))}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")}};I=i([D(2,c.a)],I);const M=Object(L.wc)("peekViewTitle.background",{dark:Object(L.Lc)(L.M,.1),light:Object(L.Lc)(L.M,.1),hc:null},w.a("peekViewTitleBackground","Background color of the peek view title area.")),T=Object(L.wc)("peekViewTitleLabel.foreground",{dark:t.a.white,light:t.a.black,hc:t.a.white},w.a("peekViewTitleForeground","Color of the peek view title.")),A=Object(L.wc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},w.a("peekViewTitleInfoForeground","Color of the peek view title info.")),R=Object(L.wc)("peekView.border",{dark:L.M,light:L.M,hc:L.h},w.a("peekViewBorder","Color of the peek view borders and arrow.")),P=Object(L.wc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:t.a.black},w.a("peekViewResultsBackground","Background color of the peek view result list.")),F=Object(L.wc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:t.a.white},w.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),B=Object(L.wc)("peekViewResult.fileForeground",{dark:t.a.white,light:"#1E1E1E",hc:t.a.white},w.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),j=Object(L.wc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},w.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),W=Object(L.wc)("peekViewResult.selectionForeground",{dark:t.a.white,light:"#6C6C6C",hc:t.a.white},w.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),V=Object(L.wc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:t.a.black},w.a("peekViewEditorBackground","Background color of the peek view editor.")),H=Object(L.wc)("peekViewEditorGutter.background",{dark:V,light:V,hc:V},w.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),z=Object(L.wc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},w.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),U=Object(L.wc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},w.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),K=Object(L.wc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:L.b},w.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},"891c":function(e,t,i){"use strict";i.r(t),i.d(t,"getDocumentSymbols",(function(){return h}));var n=i("6d8e"),o=i("1b69"),s=i("2504"),r=i("b78f"),a=i("70f5"),l=(t=i("9e74"),i("ef8e9")),d=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function h(e,t,i){return d(this,void 0,void 0,(function*(){const n=yield a.a.create(e,i);return t?n.asListOfDocumentSymbols():n.getTopLevelSymbols()}))}t.a.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return d(this,void 0,void 0,(function*(){var[i]=t,a=(Object(l.c)(n.a.isUri(i)),e.get(o.a).getModel(i));if(a)return h(a,!1,s.a.None);const d=yield e.get(r.a).createModelReference(i);try{return yield h(d.object.textEditorModel,!1,s.a.None)}finally{d.dispose()}}))}))},"89cd":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("1569"),o=i("ef8e9");const s=new class{constructor(){this.data=new Map}add(e,t){n.a(o.k(e)),n.a(o.j(t)),n.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},"8a3f":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return i.e("chunk-2d2295e9").then(i.bind(null,"dcc7"))}})},"8ae8":function(e,t,i){"use strict";function n(e){return e&&"string"==typeof e.id}i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}));const o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},"8b4e":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s})),t=i("dff7");class n{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;const n=[];for(let r=0,a=t.length;r>>0,new n.c(r,null===i?o:i)}},"8bf4":function(e,t,i){},"8c02":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"d",(function(){return h})),i.d(t,"c",(function(){return u})),i.d(t,"e",(function(){return g})),i.d(t,"b",(function(){return p}));var n=i("3742"),o=i("e6ff"),s=i("7061"),r=i("6a89"),a=i("3352");class l{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){if(""===this.searchString)return null;let e,t=(e=this.isRegex?function(e){if(e&&0!==e.length)for(let i=0,n=e.length;i=n)break;var t=e.charCodeAt(i);if(110===t||114===t||87===t||119===t)return!0}return!1}(this.searchString):0<=this.searchString.indexOf("\n"),null);try{t=n.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new d(t,this.wordSeparators?Object(o.a)(this.wordSeparators):null,i?this.searchString:null)}}class d{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}function h(e,t,i){if(!i)return new a.b(e,null);let n=[];for(let o=0,s=t.length;o>0);t[o]>=e?n=o-1:t[o+1]>=e?(i=o,n=o):i=o+1}return i+1}}class u{static findMatches(e,t,i,n,o){return t=t.parseSearchRequest(),t?t.regex.multiline?this._doFindMatchesMultiline(e,i,new p(t.wordSeparators,t.regex),n,o):this._doFindMatchesLineByLine(e,i,t,n,o):[]}static _getMultilineMatchRange(e,t,i,n,o,s){let a,l,d=0;return a=n?t+o+(d=n.findLineFeedCountBeforeOffset(o)):t+o,l=n?(t=n.findLineFeedCountBeforeOffset(o+s.length)-d,a+s.length+t):a+s.length,n=e.getPositionAt(a),o=e.getPositionAt(l),new r.a(n.lineNumber,n.column,o.lineNumber,o.column)}static _doFindMatchesMultiline(e,t,i,n,o){var s,r=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new c(a):null;const d=[];let u=0;for(i.reset(0);s=i.next(a);)if(d[u++]=h(this._getMultilineMatchRange(e,r,a,l,s.index,s[0]),s,n),u>=o)return d;return d}static _doFindMatchesLineByLine(e,t,i,n,o){var s=[];let r=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);r=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,r,s,n,o)}else{const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);r=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,r,s,n,o);for(let l=t.startLineNumber+1;l{var i=e.getColor(o.r);i&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${i}; }`),i=e.getColor(o.B),i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`),i=e.getColor(x),i&&t.addRule(`.monaco-editor .margin { background-color: ${i}; }`),i=e.getColor(a),i&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${i}; }`),i=e.getColor(l),i&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${i}; }`),i=e.getColor(d),i&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${i}; }`),i=e.getColor(h),i&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${i}; }`),i=e.getColor(g);i&&(t.addRule(`.monaco-editor .mtkw { color: ${i} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${i} !important; }`))})},"91d3":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return i.e("chunk-2d229411").then(i.bind(null,"dd50"))}})},9240:function(e,t,i){"use strict";var n=i("c786");i.n(n).a},"92a6d":function(e,t,i){"use strict";i.d(t,"a",(function(){return m}));var n=i("5fe7"),o=i("ceb8"),s=i("fdcc"),r=i("eda7"),a=i("a666"),l=(t=i("b2cc"),i("5717")),d=i("6a89"),h=i("b57f"),c=i("b707"),u=i("6483"),g=(i=i("fbba"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(()=>this.onModelChanged())),this._register(c.c.onDidChange(()=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(()=>{var e=this._isEnabled;this._isEnabled=this.isEnabled(),e!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;var t=e.getLanguageIdentifier();t=this._configurationService.getValue(t.language);return t&&"object"==typeof t&&(t=t.colorDecorators,t&&void 0!==t.enable&&!t.enable)?t.enable:this._editor.getOption(16)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){var t;this.stop(),!this._isEnabled||(t=this._editor.getModel())&&c.c.has(t)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new n.g,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},e.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(n.h)(e=>{var t=this._editor.getModel();return t?Object(u.b)(t,e):Promise.resolve([])}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},s.f)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){var t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:h.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))}updateColorDecorators(e){let t=[],i={};for(let d=0;d{i[e]||this._codeEditorService.removeDecorationType(e)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(e=>{this._codeEditorService.removeDecorationType(e)})}getColorData(e){const t=this._editor.getModel();return t&&0!==(e=t.getDecorationsInRange(d.a.fromPositions(e,e)).filter(e=>this._colorDatas.has(e.id))).length?this._colorDatas.get(e[0].id):null}};m.ID="editor.contrib.colorDetector",m.RECOMPUTE_TIME=1e3,m=g([p(1,l.a),p(2,i.a)],m),Object(t.l)(m.ID,m)},"930f":function(e,t,i){},"93b9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return i.e("chunk-2d0a43df").then(i.bind(null,"0636"))}})},"93ba":function(e,t,i){"use strict";i.r(t),i.d(t,"ToggleTabFocusModeAction",(function(){return r}));var n=i("dff7"),o=i("3813"),s=(t=i("b2cc"),i("8830"));class r extends t.b{constructor(){super({id:r.ID,label:n.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){var i=!s.b.getTabFocusMode();s.b.setTabFocusMode(i),i?Object(o.a)(n.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(o.a)(n.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}r.ID="editor.action.toggleTabFocusMode",Object(t.j)(r)},"93d9":function(e,t,i){"use strict";i.d(t,"a",(function(){return We})),i.d(t,"b",(function(){return Ve})),i.d(t,"e",(function(){return Ue})),i.d(t,"d",(function(){return ct})),i.d(t,"c",(function(){return ft}));var n=i("11f7"),o=i("e8e3"),s=i("2504"),r=i("308f"),a=i("a666"),l=(i("e2b8"),i("72a7"));class d{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:a.a.None}}renderElement(e,t,i,n){if(i.disposable&&i.disposable.dispose(),i.data){const t=this.modelProvider();if(t.isResolved(e))return this.renderer.renderElement(t.get(e),e,i.data,n);const o=new s.b,r=t.resolve(e,o.token);i.disposable={dispose:()=>o.cancel()},this.renderer.renderPlaceholder(e,i.data),r.then(t=>this.renderer.renderElement(t,e,i.data,n))}}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class c{constructor(e,t,i,n,o={}){const s=()=>this.model;n=n.map(e=>new d(e,s)),this.list=new l.c(e,t,i,n,(e=s,t=o,Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new h(e,t.accessibilityProvider)})))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return r.c.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return r.c.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return r.c.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,Object(o.r)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var u=i("e385d");i("ec60");class g{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=g.TemplateId,this.renderedTemplates=new Set;const n=new Map(t.map(e=>[e.templateId,e]));this.renderers=[];for(const s of e){var o=n.get(s.templateId);if(!o)throw new Error(`Table cell renderer for template id ${s.templateId} not found.`);this.renderers.push(o)}}renderTemplate(e){var t=Object(n.q)(e,Object(n.a)(".monaco-table-tr"));const i=[],o=[];for(let s=0;snew p(e,t));var h;t={size:d.reduce((e,t)=>e+t.column.weight,0),views:d.map(e=>({size:e.column.weight,view:e}))};this.splitview=new u.b(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:t}),this.splitview.el.style.height=i.headerRowHeight+"px",this.splitview.el.style.lineHeight=i.headerRowHeight+"px";const c=new g(o,s,e=>this.splitview.getViewSize(e));this.list=new l.c(e,this.domNode,(h=i,{getHeight(e){return h.getHeight(e)},getTemplateId(){return g.TemplateId}}),[c],a),this.columnLayoutDisposable=r.c.any(...d.map(e=>e.onDidLayout))(([e,t])=>c.layoutColumn(e,t)),this.styleElement=Object(n.w)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){const t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\ttop: ${this.virtualDelegate.headerRowHeight+1}px;\n\t\t\theight: calc(100% - ${this.virtualDelegate.headerRowHeight}px);\n\t\t}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.splitview.dispose(),this.list.dispose(),this.columnLayoutDisposable.dispose()}}m.InstanceCount=0;var f,_=i("7de1"),b=i("650e"),v=i("e32d"),C=i("b835");(t=f=f||{})[t.Unknown=0]="Unknown",t[t.Twistie=1]="Twistie",t[t.Element=2]="Element";class w extends Error{constructor(e,t){super(`TreeError [${e}] `+t)}}class y{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var S=i("1b0e"),L=i("258a");function x(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function k(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function D(e){return"boolean"==typeof e.collapsible}class N{constructor(e,t,i,n={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new r.d,this._onDidChangeCollapseState=new r.b,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new r.b,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new r.b,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=L.a.empty(),n={}){if(0===e.length)throw new w(this.user,"Invalid tree location");n.diffIdentityProvider?this.spliceSmart(n.diffIdentityProvider,e,t,i,n):this.spliceSimple(e,t,i,n)}spliceSmart(e,t,i,n,o,s){var r;void 0===n&&(n=L.a.empty()),void 0===s&&(s=null!=(r=o.diffDepth)?r:0);const a=this.getParentNodeWithListIndex(t)["parentNode"],l=[...n],d=t[t.length-1],h=new S.a({getElements:()=>a.children.map(t=>e.getId(t.element).toString())},{getElements:()=>[...a.children.slice(0,d),...l,...a.children.slice(d+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(h.quitEarly)return this.spliceSimple(t,i,l,o);const c=t.slice(0,-1);var u=(t,i,n)=>{if(0t.originalStart-e.originalStart))u(g,p,g-(m.originalStart+m.originalLength)),g=m.originalStart,p=m.modifiedStart-d,this.spliceSimple([...c,g],m.originalLength,L.a.slice(l,p,p+m.modifiedLength),o);u(g,p,g)}spliceSimple(e,t,i=L.a.empty(),{onDidCreateNode:n,onDidDeleteNode:s}){const{parentNode:r,listIndex:a,revealed:l,visible:d}=this.getParentNodeWithListIndex(e),h=[];i=L.a.map(i,e=>this.createTreeNode(e,r,r.visible?1:0,l,h,n));var c=e[e.length-1],u=0e+(t.visible?t.renderNodeCount:0),0),this._updateAncestorsRenderNodeCount(r,_-i),this.list.splice(a,i,h)),0{s(t),t.children.forEach(e)};b.forEach(e)}t=0this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){var n=this.getTreeNode(e);const o={collapsed:t=void 0===t?!n.collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){var{node:i,listIndex:n,revealed:o}=this.getTreeNodeWithListIndex(e),n=this._setListNodeCollapseState(i,n,o,t);if(i!==this.root&&this.autoExpandSingleChildren&&n&&!D(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,i,n,o,s){const r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(r,i);r.visibility=a,n&&o.push(r),t=e.children||L.a.empty();const l=n&&0!==a&&!r.collapsed;let d=0,h=1;for(const c of L.a.map(t,e=>this.createTreeNode(e,r,a,l,o,s)))r.children.push(c),h+=c.renderNodeCount,c.visible&&(c.visibleChildIndex=d++);return r.collapsible=r.collapsible||0t.children.length)&&this.hasTreeNode(i,t.children[e]))}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;var[e,...i]=e;if(e<0||e>t.children.length)throw new w(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[e])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var{parentNode:t,listIndex:i,revealed:n,visible:o}=this.getParentNodeWithListIndex(e);e=e[e.length-1];if(e<0||e>t.children.length)throw new w(this.user,"Invalid tree location");return t=t.children[e],{node:t,listIndex:i,revealed:n,visible:o&&t.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,n=!0,o=!0){var[s,...e]=e;if(s<0||s>t.children.length)throw new w(this.user,"Invalid tree location");for(let r=0;re.element)),this.data=e}}function H(e){return e instanceof _.a?new V(e):e}class z{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=a.a.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(H(e),t)}onDragOver(e,t,i,n,s=!0){var r=this.dnd.onDragOver(H(e),t&&t.element,i,n),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(a&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=Object(R.i)(()=>{const e=this.modelProvider();var i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback)return s?r:{accept:"boolean"==typeof r?r:r.accept,effect:"boolean"==typeof r?void 0:r.effect,feedback:[i]};if(1===r.bubble){const o=this.modelProvider(),r=o.getNodeLocation(t);return a=o.getParentNodeLocation(r),s=o.getNode(a),i=a&&o.getListIndex(a),this.onDragOver(e,s,i,n,!1)}const l=this.modelProvider(),d=l.getNodeLocation(t);return a=l.getListIndex(d),e=l.getListRenderCount(d),Object.assign(Object.assign({},r),{feedback:Object(o.r)(a,a+e)})}drop(e,t,i,n){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(H(e),t&&t.element,i,n)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class U{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}(t=A=A||{}).None="none",t.OnHover="onHover",t.Always="always";class K{constructor(e,t=[]){this._elements=t,this.onDidChange=r.c.forEach(e,e=>this._elements=e)}get elements(){return this._elements}}class q{constructor(e,t,i,n,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=q.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new P.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=a.a.None,this.disposables=new a.b,this.templateId=e.templateId,this.updateOptions(o),r.c.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){var t;void 0!==e.indent&&(this.indent=Object(B.b)(e.indent,0,40)),void 0!==e.renderIndentGuides&&(t=e.renderIndentGuides!==A.None)!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t&&(t=new a.b,this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,t),this.indentGuidesDisposable=t,this._onDidChangeActiveNodes(this.activeNodes.elements))),void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){var t=Object(n.q)(e,Object(n.a)(".monaco-tl-row")),i=Object(n.q)(t,Object(n.a)(".monaco-tl-indent")),o=Object(n.q)(t,Object(n.a)(".monaco-tl-twistie"));t=Object(n.q)(t,Object(n.a)(".monaco-tl-contents")),t=this.renderer.renderTemplate(t);return{container:e,indent:i,twistie:o,indentGuidesDisposable:a.a.None,templateData:t}}renderElement(e,t,i,n){"number"==typeof n&&(this.renderedNodes.set(e,{templateData:i,height:n}),this.renderedElements.set(e.element,e));var o=q.DefaultIndent+(e.depth-1)*this.indent;i.twistie.style.paddingLeft=o+"px",i.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,i),"number"==typeof n&&this.renderIndentGuides(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){i.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){e=this.renderedElements.get(e),e&&this.onDidChangeNodeTwistieState(e)}onDidChangeNodeTwistieState(e){var t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...O.classNamesArray);let i=!1;this.renderer.renderTwistie&&(i=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||0this.renderedIndentGuides.delete(e,l))),r=e}t.indentGuidesDisposable=o}}_onDidChangeActiveNodes(e){if(this.shouldRenderIndentGuides){const t=new Set,i=this.modelProvider();e.forEach(e=>{var n=i.getNodeLocation(e);try{var o=i.getParentNodeLocation(n);e.collapsible&&0{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(a.f)(this.disposables)}}q.DefaultIndent=8;class ${constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new a.b,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){if(t=this._filter.filter(e,t),this.tree.options.simpleKeyboardNavigation)return t;let i;if(0===(i="boolean"==typeof t?t?1:0:x(t)?k(t.visibility):t))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:F.a.Default,visibility:!0};t=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e);var i=Array.isArray(t)?t:[t];for(const o of i){const e=o&&o.toString();if(void 0===e)return{data:F.a.Default,visibility:!0};var n=Object(F.d)(this._pattern,this._lowercasePattern,0,e,e.toLowerCase(),0,!0);if(n)return this._matchCount++,1===i.length?{data:n,visibility:!0}:{data:{label:e,score:n},visibility:!0}}return this.tree.options.filterOnType?2:{data:F.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(a.f)(this.disposables)}}class G{constructor(e,t,i,o,s){this.tree=e,this.view=i,this.filter=o,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new r.b,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new r.b,this.enabledDisposables=new a.b,this.disposables=new a.b,this.domNode=Object(n.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,this.disposables.add(Object(n.i)(this.domNode,"dragstart",()=>this.onDragStart())),this.messageDomNode=Object(n.q)(i.getHTMLElement(),Object(n.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(n.q)(this.domNode,Object(n.a)("span.label")),o=Object(n.q)(this.domNode,Object(n.a)(".controls")),this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(n.q)(o,Object(n.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),this.disposables.add(Object(n.i)(this.filterOnTypeDomNode,"input",()=>this.onDidChangeFilterOnType())),this.clearDomNode=Object(n.q)(o,Object(n.a)("button.clear"+M.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(W.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType,this.updateFilterOnTypeTitleAndIcon()),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){var e,t;this._enabled||(e=this.enabledDisposables.add(new v.a(this.view.getHTMLElement(),"keydown")),e=r.c.chain(e.event).filter(e=>!Object(l.e)(e.target)||e.target===this.filterOnTypeDomNode).filter(e=>"Dead"!==e.key&&!/^Media/.test(e.key)).map(e=>new C.a(e)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(0{e.stopPropagation(),e.preventDefault()}).event,t=this.enabledDisposables.add(new v.a(this.clearDomNode,"click")),r.c.chain(r.c.any(e,t.event)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1)}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(j.f?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,e=>!F.a.isDefault(e.filterData));var i=this.tree.getFocus();0{switch(l){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=i-s-6+"px"}},h=()=>{this.positionClassName=l,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(a.f)(r)};d(),this.domNode.classList.remove(l),this.domNode.classList.add("dragging"),r.add(Object(a.i)(()=>this.domNode.classList.remove("dragging"))),r.add(Object(n.i)(document,"dragover",e=>{e.preventDefault();var i=e.clientX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=ih())),b.c.CurrentDragAndDropData=new b.b("vscode-ui"),r.add(Object(a.i)(()=>b.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(this.filterOnTypeDomNode.classList.remove(...I.classNamesArray),this.filterOnTypeDomNode.classList.add(...E.classNamesArray),this.filterOnTypeDomNode.title=Object(W.a)("disable filter on type","Disable Filter on Type")):(this.filterOnTypeDomNode.classList.remove(...E.classNamesArray),this.filterOnTypeDomNode.classList.add(...I.classNamesArray),this.filterOnTypeDomNode.title=Object(W.a)("enable filter on type","Enable Filter on Type"))}render(){var e=0Y(e,t))}class X{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new r.b,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){var i;(null!=(i=t)&&i.__forceEvent||!Object(o.h)(this.nodes,e))&&this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(this.identityProvider){const n=new Set,o=e=>n.add(this.identityProvider.getId(e.element).toString()),s=(t.forEach(e=>Y(e,o)),new Map),r=e=>s.set(this.identityProvider.getId(e.element).toString(),e),a=(e.forEach(e=>Y(e,r)),[]);for(const e of this.nodes){var i=this.identityProvider.getId(e.element).toString();n.has(i)?(i=s.get(i))&&a.push(i):a.push(e)}0e.delete(t);t.forEach(e=>Y(e,i)),this.set([...e.values()])}}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class Q extends l.d{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(!Object(l.e)(e.browserEvent.target)&&!Object(l.f)(e.browserEvent.target)){var t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const o=e.browserEvent.target;var i=o.classList.contains("monaco-tl-twistie")||o.classList.contains("monaco-icon-label")&&o.classList.contains("folder-icon")&&e.browserEvent.offsetX<16;let s=!1;if((s="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick)&&!i&&2!==e.browserEvent.detail)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible){const o=this.tree.model;t=o.getNodeLocation(t);var n=e.browserEvent.altKey;if(this.tree.setFocus([t]),o.setCollapsed(t,void 0,n),s&&i)return}super.onViewPointer(e)}}onDoubleClick(e){!e.browserEvent.target.classList.contains("monaco-tl-twistie")&&this.tree.expandOnDoubleClick&&super.onDoubleClick(e)}}class J extends l.c{constructor(e,t,i,n,o,s,r,a){super(e,t,i,n,a),this.focusTrait=o,this.selectionTrait=s,this.anchorTrait=r}createMouseController(e){return new Q(this,e.tree)}splice(e,t,i=[]){if(super.splice(e,t,i),0!==i.length){const t=[],n=[];let s;i.forEach((i,o)=>{this.focusTrait.has(i)&&t.push(e+o),this.selectionTrait.has(i)&&n.push(e+o),this.anchorTrait.has(i)&&(s=e+o)}),0this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class ee{constructor(e,t,i,o,s={}){this._options=s,this.eventBufferer=new r.d,this.disposables=new a.b,this._onWillRefilter=new r.b,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new r.b;var d,h,c;i=new U(i);const u=new r.f,g=new r.f,p=new K(g.event);for(d of(this.renderers=o.map(e=>new q(e,()=>this.model,u.event,p,s)),this.renderers))this.disposables.add(d);let m;s.keyboardNavigationLabelProvider&&(m=new $(this,s.keyboardNavigationLabelProvider,s.filter),s=Object.assign(Object.assign({},s),{filter:m}),this.disposables.add(m)),this.focus=new X(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new X(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new X(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new J(e,t,i,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},(h=()=>this.model,(c=s)&&Object.assign(Object.assign({},c),{identityProvider:c.identityProvider&&{getId(e){return c.identityProvider.getId(e.element)}},dnd:c.dnd&&new z(h,c.dnd),multipleSelectionController:c.multipleSelectionController&&{isSelectionSingleChangeEvent(e){return c.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},isSelectionRangeChangeEvent(e){return c.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))}},accessibilityProvider:c.accessibilityProvider&&Object.assign(Object.assign({},c.accessibilityProvider),{getSetSize(e){const t=h();return e=t.getNodeLocation(e),e=t.getParentNodeLocation(e),t.getNode(e).visibleChildrenCount},getPosInSet(e){return e.visibleChildIndex+1},isChecked:c.accessibilityProvider&&c.accessibilityProvider.isChecked?e=>c.accessibilityProvider.isChecked(e.element):void 0,getRole:c.accessibilityProvider&&c.accessibilityProvider.getRole?e=>c.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel(e){return c.accessibilityProvider.getAriaLabel(e.element)},getWidgetAriaLabel(){return c.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:c.accessibilityProvider&&c.accessibilityProvider.getWidgetRole?()=>c.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:c.accessibilityProvider&&c.accessibilityProvider.getAriaLevel?e=>c.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:c.accessibilityProvider.getActiveDescendantId&&(e=>c.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:c.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},c.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(e){return c.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:c.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(e,this.view,s),u.input=this.model.onDidChangeCollapseState;const f=r.c.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})});if(f(()=>null,null,this.disposables),g.input=r.c.chain(r.c.any(f,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==s.keyboardSupport){const e=r.c.chain(this.view.onKeyDown).filter(e=>!Object(l.e)(e.target)).map(e=>new C.a(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}if(s.keyboardNavigationLabelProvider){const e=s.keyboardNavigationDelegate||l.a;this.typeFilterController=new G(this,this.model,this.view,m,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=Object(n.w)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===A.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return r.c.map(this.view.onMouseDblClick,Z)}get onPointer(){return r.c.map(this.view.onPointer,Z)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions(Object.assign(Object.assign({},this._options),{enableKeyboardNavigation:this._options.simpleKeyboardNavigation})),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===A.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){var t="."+this.view.domId;const i=[];e.treeIndentGuidesStroke&&(i.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),i.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=i.join("\n"),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){var i=e.map(e=>this.model.getNode(e));this.selection.set(i,t),i=e.map(e=>this.model.getListIndex(e)).filter(e=>-1this.model.getNode(e));this.focus.set(i,t),i=e.map(e=>this.model.getListIndex(e)).filter(e=>-1e.visible)&&([e]=this.view.getFocus(),this.view.reveal(e+=1),this.view.setFocus([e]))}}onSpace(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();0!==t.length&&(t=t[0],t=this.model.getNodeLocation(t),e=e.browserEvent.altKey,this.model.setCollapsed(t,void 0,e))}dispose(){Object(a.f)(this.disposables),this.view.dispose()}}class te{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new N(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare(e,t){return i.sorter.compare(e.element,t.element)}}),this.identityProvider=i.identityProvider}setChildren(e,t=L.a.empty(),i={}){e=this.getElementLocation(e),this._setChildren(e,this.preserveCollapseState(t),i)}_setChildren(e,t=L.a.empty(),i){const n=new Set,o=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{var t;null!==e.element&&(e=e,n.add(e.element),this.nodes.set(e.element,e),this.identityProvider&&(t=this.identityProvider.getId(e.element).toString(),o.add(t),this.nodesByIdentity.set(t,e)),null!=(t=i.onDidCreateNode)&&t.call(i,e))},onDidDeleteNode:e=>{var t;null!==e.element&&(e=e,n.has(e.element)||this.nodes.delete(e.element),this.identityProvider&&(t=this.identityProvider.getId(e.element).toString(),o.has(t)||this.nodesByIdentity.delete(t)),null!=(t=i.onDidDeleteNode)&&t.call(i,e))}}))}preserveCollapseState(e=L.a.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),L.a.map(e,e=>{let t=this.nodes.get(e.element);var i,n;return!t&&this.identityProvider&&(i=this.identityProvider.getId(e.element).toString(),t=this.nodesByIdentity.get(i)),t?(i=("boolean"==typeof e.collapsible?e:t).collapsible,n=(void 0!==e.collapsed?e:t).collapsed,Object.assign(Object.assign({},e),{collapsible:i,collapsed:n,children:this.preserveCollapseState(e.children)})):Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)})})}rerender(e){e=this.getElementLocation(e),this.model.rerender(e)}has(e){return this.nodes.has(e)}getListIndex(e){return e=this.getElementLocation(e),this.model.getListIndex(e)}getListRenderCount(e){return e=this.getElementLocation(e),this.model.getListRenderCount(e)}isCollapsible(e){return e=this.getElementLocation(e),this.model.isCollapsible(e)}setCollapsible(e,t){return e=this.getElementLocation(e),this.model.setCollapsible(e,t)}isCollapsed(e){return e=this.getElementLocation(e),this.model.isCollapsed(e)}setCollapsed(e,t,i){return e=this.getElementLocation(e),this.model.setCollapsed(e,t,i)}expandTo(e){e=this.getElementLocation(e),this.model.expandTo(e)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(t)return t;throw new w(this.user,"Tree element not found: "+e)}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new w(this.user,"Invalid getParentNodeLocation call");var t=this.nodes.get(e);if(t)return t=this.model.getNodeLocation(t),t=this.model.getParentNodeLocation(t),this.model.getNode(t).element;throw new w(this.user,"Tree element not found: "+e)}getElementLocation(e){if(null===e)return[];var t=this.nodes.get(e);if(t)return this.model.getNodeLocation(t);throw new w(this.user,"Tree element not found: "+e)}}function ie(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:L.a.map(L.a.from(e.children),ie),collapsible:e.collapsible,collapsed:e.collapsed}}function ne(e){const t=[e.element];var i=e.incompressible||!1;let n,o;for(;;){if([o,n]=L.a.consume(L.a.from(e.children),2),1!==o.length)break;if(o[0].incompressible)break;e=o[0],t.push(e.element)}return{element:{elements:t,incompressible:i},children:L.a.map(L.a.concat(o,n),ne),collapsible:e.collapsible,collapsed:e.collapsed}}function oe(e){return function e(t,i=0){let n;return n=ie(t,0)),0===i&&t.element.incompressible?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}class se{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new te(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=L.a.empty(),i){var n;i=i.diffIdentityProvider&&(n=i.diffIdentityProvider,{getId(e){return e.elements.map(e=>n.getId(e).toString()).join("\0")}});if(null===e)o=L.a.map(t,this.enabled?ne:ie),this._setChildren(null,o,{diffIdentityProvider:i,diffDepth:1/0});else{var o=this.nodes.get(e);if(!o)throw new Error("Unknown compressed tree node");const n=this.model.getNode(o);o=this.model.getParentNodeLocation(o);const s=this.model.getNode(o);o=function e(t,i,n){return t.element===i?Object.assign(Object.assign({},t),{children:n}):Object.assign(Object.assign({},t),{children:L.a.map(L.a.from(t.children),t=>e(t,i,n))})}(oe(n),e,t);const r=(this.enabled?ne:ie)(o);e=s.children.map(e=>e===n?r:e),this._setChildren(s.element,e,{diffIdentityProvider:i,diffDepth:n.depth-s.depth})}}setCompressionEnabled(e){var t;e!==this.enabled&&(this.enabled=e,t=this.model.getNode().children,t=L.a.map(t,oe),t=L.a.map(t,e?ne:ie),this._setChildren(null,t,{diffIdentityProvider:this.identityProvider,diffDepth:1/0}))}_setChildren(e,t,i){const n=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{for(const t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(const t of e.element.elements)n.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){return e=this.getCompressedNode(e),this.model.getListIndex(e)}getListRenderCount(e){return e=this.getCompressedNode(e),this.model.getListRenderCount(e)}getNode(e){return void 0===e?this.model.getNode():(e=this.getCompressedNode(e),this.model.getNode(e))}getNodeLocation(e){return e=this.model.getNodeLocation(e),null===e?null:e.elements[e.elements.length-1]}getParentNodeLocation(e){return e=this.getCompressedNode(e),e=this.model.getParentNodeLocation(e),null===e?null:e.elements[e.elements.length-1]}isCollapsible(e){return e=this.getCompressedNode(e),this.model.isCollapsible(e)}setCollapsible(e,t){return e=this.getCompressedNode(e),this.model.setCollapsible(e,t)}isCollapsed(e){return e=this.getCompressedNode(e),this.model.isCollapsed(e)}setCollapsed(e,t,i){return e=this.getCompressedNode(e),this.model.setCollapsed(e,t,i)}expandTo(e){e=this.getCompressedNode(e),this.model.expandTo(e)}rerender(e){e=this.getCompressedNode(e),this.model.rerender(e)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;var t=this.nodes.get(e);if(t)return t;throw new w(this.user,"Tree element not found: "+e)}}const re=e=>e[e.length-1];class ae{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new ae(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class le{constructor(e,t,i={}){this.rootRef=null,this.elementMapper=i.elementMapper||re;const n=e=>this.elementMapper(e.elements);var o,s,r,a;this.nodeMapper=new y(e=>new ae(n,e)),this.model=new se(e,(r=this.nodeMapper,a=t,{splice(e,t,i){a.splice(e,t,i.map(e=>r.map(e)))},updateElementHeight(e,t){a.updateElementHeight(e,t)}}),(o=n,s=i,Object.assign(Object.assign({},s),{identityProvider:s.identityProvider&&{getId(e){return s.identityProvider.getId(o(e))}},sorter:s.sorter&&{compare(e,t){return s.sorter.compare(e.elements[0],t.elements[0])}},filter:s.filter&&{filter(e,t){return s.filter.filter(o(e),t)}}})))}get onDidSplice(){return r.c.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return r.c.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return r.c.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=L.a.empty(),i={}){this.model.setChildren(e,t,i)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}t=i("6424");class de extends ee{constructor(e,t,i,n,o={}){super(e,t,i,n,o)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=L.a.empty(),i){this.model.setChildren(e,t,i)}rerender(e){void 0===e?this.view.rerender():this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new te(e,t,i)}}class he{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){var o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,i.data,n))}disposeElement(e,t,i,n){i.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(i.compressedTreeNode,t,i.data,n):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}(function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this;var r,a;super(e,t,i,n.map(e=>new he(s,e)),(r=s,(a=o)&&Object.assign(Object.assign({},a),{keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=r().getCompressedTreeNode(e)}catch(t){return a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):a.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})))}setChildren(e,t=L.a.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new le(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var ue=i("fdcc"),ge=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function pe(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function me(e,t){return!!t.parent&&(t.parent===e||me(e,t.parent))}class fe{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new fe(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class _e{constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...T.classNamesArray),!0):(t.classList.remove(...T.classNamesArray),!1)}disposeElement(e,t,i,n){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function be(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function ve(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class Ce extends _.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function we(e){return e instanceof _.a?new Ce(e):e}class ye{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(we(e),t)}onDragOver(e,t,i,n,o=0){return this.dnd.onDragOver(we(e),t&&t.element,i,n)}drop(e,t,i,n){this.dnd.drop(we(e),t&&t.element,i,n)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function Se(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new ye(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},isSelectionRangeChangeEvent(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!(null==(i=e.accessibilityProvider)||!i.isChecked(t.element))}:void 0,getAriaLabel(t){return e.accessibilityProvider.getAriaLabel(t.element)},getWidgetAriaLabel(){return e.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter(t,i){return e.filter.filter(t.element,i)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function Le(e,t){t(e),e.children.forEach(e=>Le(e,t))}class xe{constructor(e,t,i,n,o,s={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new r.b,this._onDidChangeNodeSlowState=new r.b,this.nodeMapper=new y(e=>new fe(e)),this.disposables=new a.b,this.identityProvider=s.identityProvider,this.autoExpandSingleChildren=void 0!==s.autoExpandSingleChildren&&s.autoExpandSingleChildren,this.sorter=s.sorter,this.collapseByDefault=s.collapseByDefault,this.tree=this.createTree(e,t,i,n,s),this.root=pe({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return r.c.map(this.tree.onDidChangeFocus,be)}get onDidChangeSelection(){return r.c.map(this.tree.onDidChangeSelection,be)}get onMouseDblClick(){return r.c.map(this.tree.onMouseDblClick,ve)}get onPointer(){return r.c.map(this.tree.onPointer,ve)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,i,n,o){return i=new U(i),n=n.map(e=>new _e(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),o=Se(o)||{},new de(e,t,i,n,o)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return ge(this,void 0,void 0,(function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;var i=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,i=!1,n,o){return ge(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new w(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event));var s=this.getDataNode(e);if(yield this.refreshAndRenderNode(s,t,n,o),i)try{this.tree.rerender(s)}catch(s){}}))}rerender(e){void 0===e||e===this.root.element?this.tree.rerender():(e=this.getDataNode(e),this.tree.rerender(e))}collapse(e,t=!1){return e=this.getDataNode(e),this.tree.collapse(e===this.root?null:e,t)}expand(e,t=!1){return ge(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new w(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event));var i,n=this.getDataNode(e);return!(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))&&(n.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event)),!(n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))&&(i=this.tree.expand(n===this.root?null:n,t),n.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event)),i))}))}setSelection(e,t){e=e.map(e=>this.getDataNode(e)),this.tree.setSelection(e,t)}getSelection(){const e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){e=e.map(e=>this.getDataNode(e)),this.tree.setFocus(e,t)}getFocus(){const e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){var t=this.nodes.get(e===this.root.element?null:e);if(t)return t;throw new w(this.user,"Data tree node not found: "+e)}refreshAndRenderNode(e,t,i,n){return ge(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,i),this.render(e,i,n)}))}refreshNode(e,t,i){return ge(this,void 0,void 0,(function*(){let n;return this.subTreeRefreshPromises.forEach((o,s)=>{var r;n||(s=s)!==(r=e)&&!me(s,r)&&!me(r,s)||(n=o.then(()=>this.refreshNode(e,t,i)))}),n||this.doRefreshSubTree(e,t,i)}))}doRefreshSubTree(e,t,i){return ge(this,void 0,void 0,(function*(){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const o=yield this.doRefreshNode(e,t,i);e.stale=!1,yield R.d.settled(o.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}}))}doRefreshNode(e,t,i){return ge(this,void 0,void 0,(function*(){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=Object(R.n)(800);t.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=this.doGetChildren(e).finally(()=>t.cancel())}else n=Promise.resolve(L.a.empty());try{var o=yield n;return this.setChildren(e,o,t,i)}catch(n){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),Object(ue.e)(n))return[];throw n}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=Object(R.h)(()=>ge(this,void 0,void 0,(function*(){var t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)}))),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(ue.f))}setChildren(e,t,i,n){const o=[...t];if(0===e.children.length&&0===o.length)return[];const s=new Map,r=new Map;for(const h of e.children){var a;s.set(h.element,h),this.identityProvider&&(a=this.tree.isCollapsed(h),r.set(h.id,{node:h,collapsed:a}))}const l=[],d=o.map(t=>{var o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const i=pe({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(i.collapsedByDefault=!1,l.push(i)),i}var a=this.identityProvider.getId(t).toString(),d=r.get(a);if(d){const e=d.node;return s.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,i?d.collapsed?(e.children.forEach(e=>Le(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,l.push(e)),e}const h=pe({element:t,parent:e,id:a,hasChildren:o});return n&&n.viewState.focus&&-1this.nodes.delete(e.element));for(const h of d)this.nodes.set(h.element,h);return e.children.splice(0,e.children.length,...d),e!==this.root&&this.autoExpandSingleChildren&&1===d.length&&0===l.length&&(d[0].collapsedByDefault=!1,l.push(d[0])),l}render(e,t,i){var n=e.children.map(e=>this.asTreeElement(e,t)),o=i&&Object.assign(Object.assign({},i),{diffIdentityProvider:i.diffIdentityProvider&&{getId(e){return i.diffIdentityProvider.getId(e.element)}}});this.tree.setChildren(e===this.root?null:e,n,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let i;return i=!(t&&t.viewState.expanded&&e.id&&-1this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i}}processChildren(e){return this.sorter?[...e].sort(this.sorter.compare.bind(this.sorter)):e}dispose(){this.disposables.dispose()}}class ke{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new ke(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class De{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...T.classNamesArray),!0):(t.classList.remove(...T.classNamesArray),!1)}disposeElement(e,t,i,n){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(a.f)(this.disposables)}}class Ne extends xe{constructor(e,t,i,n,o,s,r={}){super(e,t,i,o,s,r),this.compressionDelegate=n,this.compressibleNodeMapper=new y(e=>new ke(e)),this.filter=r.filter}createTree(e,t,i,n,o){var s;i=new U(i),n=n.map(e=>new De(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),o=(o=(s=o)&&Se(s))&&Object.assign(Object.assign({},o),{keyboardNavigationLabelProvider:o.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},o.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(e){return s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(e.map(e=>e.element))}})})||{};return new ce(e,t,i,n,o)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const i=e=>this.identityProvider.getId(e).toString();var n=e=>{const t=new Set;for(const o of e){var n=this.tree.getCompressedTreeNode(o===this.root?null:o);if(n.element)for(const e of n.element.elements)t.add(i(e.element))}return t};const o=n(this.tree.getSelection()),s=n(this.tree.getFocus()),r=(super.render(e,t),this.getSelection());let a=!1;const l=this.getFocus();let d=!1;const h=e=>{var t=e.element;if(t)for(let h=0;h{e=this.filter.filter(e,1),e="boolean"==typeof(e=e)?e?1:0:x(e)?k(e.visibility):k(e);if(2===e)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===e})),super.processChildren(e)}}class Oe extends ee{constructor(e,t,i,n,o,s={}){super(e,t,i,n,s),this.user=e,this.dataSource=o,this.identityProvider=s.identityProvider}createModel(e,t,i){return new te(e,t,i)}}t=i("4779");var Ee=i("fbba"),Ie=i("0910"),Me=i("4fc3"),Te=i("1665"),Ae=i("0a0f"),Re=i("6dec"),Pe=i("89cd"),Fe=i("a6d7"),Be=(i=i("b7d0"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.widget===e))throw new Error("Cannot register the same widget multiple times");const o={widget:e,extraContextKeys:t};return this.lists.push(o),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(a.e)(e.onDidFocus(()=>this._lastFocusedWidget=e),Object(a.i)(()=>this.lists.splice(this.lists.indexOf(o),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==o),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};Ve=Be([je(0,i.b)],Ve);const He=new Me.c("listFocus",!0),ze=new Me.c("listSupportsMultiselect",!0),Ue=Me.a.and(He,Me.a.not(Te.a)),Ke=new Me.c("listHasSelectionOrFocus",!1),qe=new Me.c("listDoubleSelection",!1),$e=new Me.c("listMultiSelection",!1),Ge=new Me.c("listSelectionNavigation",!1),Ze="listAutomaticKeyboardNavigation";function Ye(e,t){return e=e.createScoped(t.getHTMLElement()),He.bindTo(e),e}const Xe="workbench.list.multiSelectModifier",Qe="workbench.list.openMode",Je="workbench.list.horizontalScrolling",et="workbench.list.keyboardNavigation",tt="workbench.list.automaticKeyboardNavigation",it="workbench.tree.indent",nt="workbench.tree.renderIndentGuides",ot="workbench.list.smoothScrolling",st="workbench.list.mouseWheelScrollSensitivity",rt="workbench.list.fastScrollSensitivity",at="workbench.tree.expandMode";function lt(e){return"alt"===e.getValue(Xe)}class dt extends a.a{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=lt(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(Xe)&&(this.useAltAsMultipleSelectionModifier=lt(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(l.h)(e)}isSelectionRangeChangeEvent(e){return Object(l.g)(e)}}function ht(e,t,i){const n=new a.b;return[Object.assign(Object.assign({},e),{keyboardNavigationDelegate:{mightProducePrintableCharacter(e){return i.mightProducePrintableCharacter(e)}},smoothScrolling:Boolean(t.getValue(ot)),mouseWheelScrollSensitivity:t.getValue(st),fastScrollSensitivity:t.getValue(rt),multipleSelectionController:null!=(e=e.multipleSelectionController)?e:n.add(new dt(t))}),n]}let ct=class extends l.c{constructor(e,t,i,n,o,s,r,a,l,d){var h=void 0!==o.horizontalScrolling?o.horizontalScrolling:Boolean(l.getValue(Je)),[d,c]=ht(o,l,d);super(e,t,i,n,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(Fe.d)(a.getColorTheme(),Fe.e)),d),{horizontalScrolling:h})),this.disposables.add(c),this.contextKeyService=Ye(s,this),this.themeService=a,this.listSupportsMultiSelect=ze.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);const u=Ge.bindTo(this.contextKeyService);u.set(Boolean(o.selectionNavigation)),this.listHasSelectionOrFocus=Ke.bindTo(this.contextKeyService),this.listDoubleSelection=qe.bindTo(this.contextKeyService),this.listMultiSelection=$e.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=lt(l),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(0{var e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(l));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(l.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(l.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=l.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=l.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(d));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(d.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(d.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=d.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=d.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(0{var e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(h));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(h.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(h.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=h.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=h.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&null!=t&&t.configurationService?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(Qe)),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(Qe))}))):this.openOnSingleClick=null==(e=null==t?void 0:t.openOnSingleClick)||e}onSelectionFromKeyboard(e){var t,i;1===e.elements.length&&(t="boolean"!=typeof(i=e.browserEvent).preserveFocus||i.preserveFocus,i="boolean"==typeof i.pinned?i.pinned:!t,this._open(this.getSelectedElement(),t,i,!1,e.browserEvent))}onPointer(e,t){var i,n;this.openOnSingleClick&&2!==t.detail&&(i=1===t.button,n=t.ctrlKey||t.metaKey||t.altKey,this._open(e,!0,i,n,t))}onMouseDblClick(e,t){if(t){const n=t.target;var i;n.classList.contains("monaco-tl-twistie")||n.classList.contains("monaco-icon-label")&&n.classList.contains("folder-icon")&&t.offsetX<16||(i=t.ctrlKey||t.metaKey||t.altKey,this._open(e,!1,!0,i,t))}}_open(e,t,i,n,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:o})}}class gt extends ut{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class pt extends ut{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class mt extends ut{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!=(e=this.widget.getSelection()[0])?e:void 0}}Ae=class extends de{constructor(e,t,i,n,o,s,r,a,l,d,h){var{options:d,getAutomaticKeyboardNavigation:c,disposable:u}=_t(t,o,s,l,d,h);super(e,t,i,n,d),this.disposables.add(u),this.internals=new bt(this,o,c,o.overrideStyles,s,r,a,l,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}},Be([je(5,Me.b),je(6,We),je(7,i.b),je(8,Ee.a),je(9,Re.a),je(10,t.b)],Ae),Te=class extends ce{constructor(e,t,i,n,o,s,r,a,l,d,h){var{options:d,getAutomaticKeyboardNavigation:c,disposable:u}=_t(t,o,s,l,d,h);super(e,t,i,n,d),this.disposables.add(u),this.internals=new bt(this,o,c,o.overrideStyles,s,r,a,l,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}},Be([je(5,Me.b),je(6,We),je(7,i.b),je(8,Ee.a),je(9,Re.a),je(10,t.b)],Te),Ae=class extends Oe{constructor(e,t,i,n,o,s,r,a,l,d,h,c){var{options:h,getAutomaticKeyboardNavigation:u,disposable:g}=_t(t,s,r,d,h,c);super(e,t,i,n,o,h),this.disposables.add(g),this.internals=new bt(this,s,u,s.overrideStyles,r,a,l,d,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}},Be([je(6,Me.b),je(7,We),je(8,i.b),je(9,Ee.a),je(10,Re.a),je(11,t.b)],Ae);let ft=class extends xe{constructor(e,t,i,n,o,s,r,a,l,d,h,c){var{options:h,getAutomaticKeyboardNavigation:u,disposable:g}=_t(t,s,r,d,h,c);super(e,t,i,n,o,h),this.disposables.add(g),this.internals=new bt(this,s,u,s.overrideStyles,r,a,l,d,c),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};function _t(e,t,i,n,o,s){var r=()=>{let e=Boolean(i.getContextKeyValue(Ze));return e&&Boolean(n.getValue(tt))},a=(s=s.isScreenReaderOptimized(),s=t.simpleKeyboardNavigation||s?"simple":n.getValue(et),void 0!==t.horizontalScrolling?t.horizontalScrolling:Boolean(n.getValue(Je))),[l,d]=ht(t,n,o),h=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:r,disposable:d,options:Object.assign(Object.assign({keyboardSupport:!1},l),{indent:"number"==typeof n.getValue(it)?n.getValue(it):void 0,renderIndentGuides:n.getValue(nt),smoothScrolling:Boolean(n.getValue(ot)),automaticKeyboardNavigation:r(),simpleKeyboardNavigation:"simple"===s,filterOnType:"filter"===s,horizontalScrolling:a,keyboardNavigationEventFilter:function(e,t){let i=!1;return n=>i?i=!1:(n=t.softDispatch(n,e))&&n.enterChord?!(i=!0):!(i=!1)}(e,o),additionalScrollHeight:h,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!=(d=t.expandOnlyOnTwistieClick)?d:"doubleClick"===n.getValue(at)})}}ft=Be([je(6,Me.b),je(7,We),je(8,i.b),je(9,Ee.a),je(10,Re.a),je(11,t.b)],ft),Te=class extends Ne{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u){var{options:c,getAutomaticKeyboardNavigation:g,disposable:p}=_t(t,r,a,h,c,u);super(e,t,i,n,o,s,c),this.disposables.add(p),this.internals=new bt(this,r,g,r.overrideStyles,a,l,d,h,u),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}},Be([je(7,Me.b),je(8,We),je(9,i.b),je(10,Ee.a),je(11,Re.a),je(12,t.b)],Te);let bt=class{constructor(e,t,i,n,o,s,r,a,l){this.tree=e,this.themeService=r,this.disposables=[],this.contextKeyService=Ye(o,e),this.listSupportsMultiSelect=ze.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);const d=Ge.bindTo(this.contextKeyService),h=(d.set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=Ke.bindTo(this.contextKeyService),this.hasDoubleSelection=qe.bindTo(this.contextKeyService),this.hasMultiSelection=$e.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=lt(a),new Set),c=(h.add(Ze),()=>{var t=l.isScreenReaderOptimized()?"simple":a.getValue(et);e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})});this.updateStyleOverrides(n),this.disposables.push(this.contextKeyService,s.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(0{var t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(0{let o={};var s;n.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(a)),n.affectsConfiguration(it)&&(s=a.getValue(it),o=Object.assign(Object.assign({},o),{indent:s})),n.affectsConfiguration(nt)&&(s=a.getValue(nt),o=Object.assign(Object.assign({},o),{renderIndentGuides:s})),n.affectsConfiguration(ot)&&(s=Boolean(!!a.getValue(ot)),o=Object.assign(Object.assign({},o),{smoothScrolling:s})),n.affectsConfiguration(et)&&c(),n.affectsConfiguration(tt)&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:i()})),n.affectsConfiguration(Je)&&void 0===t.horizontalScrolling&&(s=Boolean(!!a.getValue(Je)),o=Object.assign(Object.assign({},o),{horizontalScrolling:s})),n.affectsConfiguration(at)&&void 0===t.expandOnlyOnTwistieClick&&(o=Object.assign(Object.assign({},o),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(at)})),n.affectsConfiguration(st)&&(s=a.getValue(st),o=Object.assign(Object.assign({},o),{mouseWheelScrollSensitivity:s})),n.affectsConfiguration(rt)&&(s=a.getValue(rt),o=Object.assign(Object.assign({},o),{fastScrollSensitivity:s})),0{t.affectsSome(h)&&e.updateOptions({automaticKeyboardNavigation:i()})}),l.onDidChangeScreenReaderOptimized(()=>c())),this.navigator=new mt(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){Object(a.f)(this.styler),this.styler=e?Object(Fe.b)(this.tree,this.themeService,e):a.a.None}dispose(){this.disposables=Object(a.f)(this.disposables),Object(a.f)(this.styler),this.styler=void 0}};bt=Be([je(4,Me.b),je(5,We),je(6,i.b),je(7,Ee.a),je(8,t.b)],bt);const vt=Pe.a.as(Ie.a.Configuration);vt.registerConfiguration({id:"workbench",order:7,title:Object(W.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(W.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(W.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(W.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(W.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},"workbench.list.horizontalScrolling":{type:"boolean",default:!1,description:Object(W.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},"workbench.tree.indent":{type:"number",default:8,minimum:0,maximum:40,description:Object(W.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(W.a)("render tree indent guides","Controls whether the tree should render indent guides.")},"workbench.list.smoothScrolling":{type:"boolean",default:!1,description:Object(W.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.mouseWheelScrollSensitivity":{type:"number",default:1,description:Object(W.a)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the deltaX and deltaY of mouse wheel scroll events.")},"workbench.list.fastScrollSensitivity":{type:"number",default:5,description:Object(W.a)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing Alt.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(W.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(W.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(W.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(W.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(W.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},"workbench.tree.expandMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(W.a)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}})},"94a7":function(e,t,i){},"958f":function(e,t,i){"use strict";i.r(t),i.d(t,"MarkerController",(function(){return $})),i.d(t,"NextMarkerAction",(function(){return Z}));var n,o=i("dff7"),s=i("a666"),r=(t=i("4fc3"),i("7061")),a=i("6a89"),l=i("b2cc"),d=i("c101"),h=(i("fe86"),i("11f7")),c=i("b400"),u=i("303e"),g=i("b7d0"),p=i("ceb8"),m=i("1898"),f=i("debc"),_=i("e8e3"),b=i("308f"),v=i("88d4"),C=i("82c9"),w=i("561a"),y=i("4b76"),S=((n||(n={})).className=function(e){switch(e){case y.a.Ignore:return"severity-ignore "+w.b.info.classNames;case y.a.Info:return w.b.info.classNames;case y.a.Warning:return w.b.warning.classNames;case y.a.Error:return w.b.error.classNames;default:return""}},Object(g.f)((e,t)=>{var i=e.getColor(u.mc),n=(i&&(n=w.b.error.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${n},\n\t\t\t.markers-panel .marker-icon${n},\n\t\t\t.text-search-provider-messages .providerMessage ${n},\n\t\t\t.extensions-viewlet > .extensions ${n} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)),e.getColor(u.oc));n&&(i=w.b.warning.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${i},\n\t\t\t.markers-panel .marker-icon${i},\n\t\t\t.extensions-viewlet > .extensions ${i},\n\t\t\t.extension-editor ${i},\n\t\t\t.text-search-provider-messages .providerMessage ${i},\n\t\t\t.preferences-editor ${i} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)),i=e.getColor(u.nc);i&&(n=w.b.info.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${n},\n\t\t\t.markers-panel .marker-icon${n},\n\t\t\t.extensions-viewlet > .extensions ${n},\n\t\t\t.text-search-provider-messages .providerMessage ${n},\n\t\t\t.extension-editor ${n} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`))}),i("5bd7")),L=i("7e32"),x=i("7944"),k=i("0a0f"),D=i("3742"),N=i("47cb"),O=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e.preventDefault(),e=this._relatedDiagnostics.get(e.target),e&&i(e)})),this._scrollable=new m.b(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{r.style.left=`-${e.scrollLeft}px`,r.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(s.f)(this._disposables)}update(e){const{source:t,message:i,relatedInformation:n,code:o}=e;let s=((null==t?void 0:t.length)||0)+"()".length;o&&(s+="string"==typeof o?o.length:o.value.length);var r=Object(D.Q)(i);this._lines=r.length,this._longestLineLength=0;for(const l of r)this._longestLineLength=Math.max(l.length+s,this._longestLineLength);h.t(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(const l of r)""===((a=document.createElement("div")).innerText=l)&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||o){const e=document.createElement("span");if(e.classList.add("details"),a.appendChild(e),t){const i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(o)if("string"==typeof o){const t=document.createElement("span");t.innerText=`(${o})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=h.a("a.code-link"),this._codeLink.setAttribute("href",""+o.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(o.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};const t=h.q(this._codeLink,h.a("span"));t.innerText=o.value,e.appendChild(this._codeLink)}}if(h.t(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(_.n)(n)){const e=this._relatedBlock.appendChild(document.createElement("div"));e.style.paddingTop=Math.floor(.66*this._editor.getOption(58))+"px",this._lines+=1;for(const t of n){let i=document.createElement("div"),n=document.createElement("a"),o=(n.classList.add("filename"),n.innerText=`${Object(f.a)(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t),document.createElement("span"));o.innerText=t.message,i.appendChild(n),i.appendChild(o),this._lines+=1,e.appendChild(i)}}e=this._editor.getOption(42),r=Math.ceil(e.typicalFullwidthCharacterWidth*this._longestLineLength*.75),e=e.lineHeight*this._lines,this._scrollable.setScrollDimensions({scrollWidth:r,scrollHeight:e})}layout(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case c.c.Error:t=o.a("Error","Error");break;case c.c.Warning:t=o.a("Warning","Warning");break;case c.c.Info:t=o.a("Info","Info");break;case c.c.Hint:t=o.a("Hint","Hint")}let i=o.a("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const n=this._editor.getModel();return n&&e.startLineNumber<=n.getLineCount()&&1<=e.startLineNumber&&(e=n.getLineContent(e.startLineNumber),i=e+", "+i),i}}let M=class e extends v.c{constructor(e,t,i,n,o,r,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},o),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=r,this._labelService=a,this._callOnDispose=new s.b,this._onDidSelectRelatedInformation=new b.b,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=c.c.Warning,this._backgroundColor=p.a.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(j);let t=T,i=A;this._severity===c.c.Warning?(t=R,i=P):this._severity===c.c.Info&&(t=F,i=B);var n=e.getColor(t),o=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:o,primaryHeadingColor:e.getColor(v.q),secondaryHeadingColor:e.getColor(v.r)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun(e=>this.editor.focus())),t=[];const i=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);Object(x.c)(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=h.q(e,h.a(""))}_fillBody(e){(this._parentContainer=e).classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new I(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let s=a.a.lift(e);e=this.editor.getPosition(),e=e&&s.containsPosition(e)?e:s.getStartPosition();var r=(super.show(e,this.computeRequiredHeight()),this.editor.getModel());r&&(t=1{var i=e.getColor(u.Jc);i&&t.addRule(`.monaco-editor .marker-widget a.code-link span { color: ${i}; }`),i=e.getColor(u.Ic);i&&t.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${i}; }`)});N=i("5717");var W=i("6d8e"),V=(O=i("f5f3"),i("db88"));S=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.toString()===t.toString():t&&(this._resourceFilter=t);const n=()=>{this._markers=this._markerService.read({resource:W.a.isUri(t)?t:void 0,severities:c.c.Error|c.c.Warning|c.c.Info}),"function"==typeof t&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(e._compareMarker)};n(),this._dispoables.add(i.onMarkerChanged(e=>{this._resourceFilter&&!e.some(e=>this._resourceFilter(e))||(n(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){var e=this._markers[this._nextIdx];return e&&new H(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,o=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());for(let r=o=o<0&&(o=Object(_.d)(this._markers,{resource:e.uri},(e,t)=>Object(D.f)(e.resource.toString(),t.resource.toString())))<0?~o:o;rt.resource.toString()===e.toString());if(!(i<0))for(;ithis.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t;null!=(t=this._model)&&t.selected&&a.a.containsPosition(null==(t=this._model)?void 0:t.selected.marker,e.position)||null!=(t=this._model)&&t.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{var e;this._widget&&this._widget.position&&this._model&&((e=this._model.find(this._editor.getModel().uri,this._widget.position))?this._widget.updateMarker(e.marker):this._widget.showStale())})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:a.a.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp()))}return this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new r.a(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,i){return q(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const o=this._getOrCreateModel(i?void 0:this._editor.getModel().uri);var n;o.move(t,this._editor.getModel(),this._editor.getPosition()),o.selected&&(o.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()?(this._cleanUp(),(n=yield this._editorService.openCodeEditor({resource:o.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:o.selected.marker}},this._editor))&&(e.get(n).close(),e.get(n).nagivate(t,i))):this._widget.showAtMarker(o.selected.marker,o.selected.index,o.selected.total))}}))}};$.ID="editor.contrib.markerController",$=S([E(1,g),E(2,t.b),E(3,N.a),E(4,k.a)],$);class G extends l.b{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}run(e,t){return q(this,void 0,void 0,(function*(){t.hasModel()&&$.get(t).nagivate(this._next,this._multiFile)}))}}class Z extends G{constructor(){super(!0,!1,{id:Z.ID,label:Z.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:578,weight:100},menuOpts:{menuId:M.TitleMenu,title:Z.LABEL,icon:Object(K.b)("marker-navigation-next",w.b.arrowDown,o.a("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Z.ID="editor.action.marker.next",Z.LABEL=o.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Y extends G{constructor(){super(!1,!1,{id:Y.ID,label:Y.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:1602,weight:100},menuOpts:{menuId:M.TitleMenu,title:Z.LABEL,icon:Object(K.b)("marker-navigation-previous",w.b.arrowUp,o.a("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Y.ID="editor.action.marker.prev",Y.LABEL=o.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class X extends G{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:o.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:66,weight:100},menuOpts:{menuId:L.b.MenubarGoMenu,title:o.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class Q extends G{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:o.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:1090,weight:100},menuOpts:{menuId:L.b.MenubarGoMenu,title:o.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}Object(l.l)($.ID,$),Object(l.j)(Z),Object(l.j)(Y),Object(l.j)(X),Object(l.j)(Q);const J=new t.c("markersNavigationVisible",!1),ee=l.c.bindToContribution($.get);Object(l.k)(new ee({id:"closeMarkersNavigation",precondition:J,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:d.a.focus,primary:9,secondary:[1033]}}))},"962f":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return i.e("chunk-2d2311f7").then(i.bind(null,"eecd"))}})},"96b9":function(e,t,i){},9768:function(e,t,i){"use strict";i.d(t,"a",(function(){return D})),i.d(t,"b",(function(){return N}));var n=i("5fe7"),o=i("3d378"),s=(t=i("40355"),i("32b8")),r=i("3742");const a="**",l="/",d="[/\\\\]",h="[^/\\\\]",c=/\//g;function u(e){switch(e){case 0:return"";case 1:return h+"*?";default:return`(?:${d}|${h}+${d}|${d}${h}+)*?`}}function g(e,t){if(!e)return[];const i=[];let n=!1,o=!1,s="";for(const r of e){switch(r){case t:if(n||o)break;i.push(s),s="";continue;case"{":n=!0;break;case"}":n=!1;break;case"[":o=!0;break;case"]":o=!1}s+=r}return s&&i.push(s),i}const p=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,f=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,_=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,b=/^\*\*((\/[\w\.-]+)+)\/?$/,v=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new t.a(1e4),w=function(){return!1},y=function(){return null};function S(e,t){if(!e)return y;let i;var n=(i=(i="string"!=typeof e?e.pattern:e).trim())+"_"+!!t.trimForExclusions;let o=C.get(n);if(!o){let e;if(p.test(i)){const e=i.substr(4);o=function(t,n){return"string"==typeof t&&t.endsWith(e)?i:null}}else o=(e=m.exec(x(i,t)))?function(e,t){function i(i,s){return"string"!=typeof i?null:s?s===e?t:null:i===e||i.endsWith(n)||i.endsWith(o)?t:null}const n="/"+e,o="\\"+e,s=[e];return i.basenames=s,i.patterns=[t],i.allBasenames=s,i}(e[1],i):(t.trimForExclusions?_:f).test(i)?function(e,t){const i=O(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==y),e),n=i.length;if(!n)return y;if(1===n)return i[0];function o(t,n){for(let o=0,s=i.length;o!!e.allBasenames);return s&&(o.allBasenames=s.allBasenames),s=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]),s.length&&(o.allPaths=s),o}(i,t):(e=b.exec(x(i,t)))?k(e[1].substr(1),i,!0):(e=v.exec(x(i,t)))?k(e[1],i,!1):function(t){try{const e=new RegExp(`^${function e(t){if(!t)return"";let i="";const n=g(t,l);if(n.every(e=>e===a))i=".*";else{let t=!1;n.forEach((o,s)=>{if(o===a)t||(i+=u(2),t=!0);else{let p=!1,m="",f=!1,_="";for(const t of o)if("}"!==t&&p)m+=t;else if(!f||"]"===t&&_)switch(t){case"{":p=!0;continue;case"[":f=!0;continue;case"}":const n=g(m,",");var c=`(?:${n.map(t=>e(t)).join("|")})`;i+=c,p=!1,m="";break;case"]":i+="["+_+"]",f=!1,_="";break;case"?":i+=h;continue;case"*":i+=u(1);continue;default:i+=r.t(t)}else{let e;e="-"===t?t:"^"!==t&&"!"!==t||_?t===l?"":r.t(t):"^",_+=e}s{{var t=e,i=(e=o[e],r);if(!1===e)return y;const s=S(t,i);if(s===y)return y;if("boolean"!=typeof e&&e){const o=e.when;if("string"==typeof o)return(i=(e,i,r,a)=>{if(!a||!s(e,i))return null;const l=a(o.replace("$(basename)",r));return Object(n.k)(l)?l.then(e=>e?t:null):l?t:null}).requiresSiblings=!0,i}return s}}).filter(e=>e!==y)),a=i.length;if(!a)return y;if(!i.some(e=>!!e.requiresSiblings)){if(1===a)return i[0];const e=function(e,t){for(let o=0,s=i.length;o!!e.allBasenames),n=(t&&(e.allBasenames=t.allBasenames),i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]));return n.length&&(e.allPaths=n),e}const l=function(e,t,n){let o=void 0;for(let a=0,l=i.length;a!!e.allBasenames),h=(d&&(l.allBasenames=d.allBasenames),i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]));return h.length&&(l.allPaths=h),l}}function O(e,t){const i=e.filter(e=>!!e.basenames);if(i.length<2)return e;const n=i.reduce((e,t)=>(t=t.basenames,t?e.concat(t):e),[]);let o;if(t){o=[];for(let e=0,i=n.length;e(t=t.patterns,t?e.concat(t):e),[]);function s(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;0!e.basenames);return r.push(s),r}},"9c1d":function(e,t,i){"use strict";i.d(t,"a",(function(){return Wn}));t=i("efdb");var n=i("b2cc"),o=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{t(this._create(e))})}onMouseUp(e,t){return l.i(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return l.i(e,"mousedown",e=>{t(this._create(e))})}onMouseLeave(e,t){return l.j(e,e=>{t(this._create(e))})}onMouseMoveThrottled(e,t,i,n){return l.l(e,"mousemove",t,(e,t)=>i(e,this._create(t)),n)}}class N{constructor(e){this._editorViewDomNode=e}_create(e){return new k(e,this._editorViewDomNode)}onPointerUp(e,t){return l.i(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return l.i(e,"pointerdown",e=>{t(this._create(e))})}onPointerLeave(e,t){return l.k(e,e=>{t(this._create(e))})}onPointerMoveThrottled(e,t,i,n){return l.l(e,"pointermove",t,(e,t)=>i(e,this._create(t)),n)}}class O extends c.a{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new w.a),this._keydownListener=null}startMonitoring(e,t,i,n,o){this._keydownListener=l.o(document,"keydown",e=>{const t=e.toKeybinding();t.isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalMouseMoveMonitor.startMonitoring(e,t,(e,t)=>i(e,new k(t,this._editorViewDomNode)),n,e=>{this._keydownListener.dispose(),o(e)})}stopMonitoring(){this._globalMouseMoveMonitor.stopMonitoring(!0)}}class E extends c.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,o=e.length;n=o.left?n.width=Math.max(n.width,o.left+o.width-n.left):(t[i++]=n,n=o)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t){if(!e||0===e.length)return null;const i=[];for(let o=0,s=e.length;oe||(o=u.startLineNumber===e?u.startColumn:r.minColumn)<(s=u.endLineNumber===e?u.endColumn:r.maxColumn)&&(a.themeType===H.a.HIGH_CONTRAST||"selection"!==this._options.renderWhitespace?l.push(new W.a(o,s,"inline-selected-text",0)):(d=d||[]).push(new V.b(o-1,s-1)));const h=new V.c(a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,l,r.tabSize,r.startVisibleColumn,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures!==z.e.OFF,d);if(this._renderedViewLine&&this._renderedViewLine.input.equals(h))return!1;n.appendASCIIString('
    '),i=Object(V.d)(h,n),n.appendASCIIString("
    ");let c=null;return c=(c=K&&U&&r.isBasicASCII&&a.useMonospaceOptimizations&&0===i.containsForeignElements&&r.content.length<300&&h.lineTokens.getCount()<100?new Z(this._renderedViewLine?this._renderedViewLine.domNode:null,h,i.characterMapping):c)||Q(this._renderedViewLine?this._renderedViewLine.domNode:null,h,i.characterMapping,i.containsRTL,i.containsForeignElements),this._renderedViewLine=c,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof Z}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof Z?this._renderedViewLine.monospaceAssumptionsAreValid():K}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof Z&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t|=0,i|=0,t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));var o=0|this._renderedViewLine.input.stopRenderingLineAfter;let s=-1!=o&&1+o=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,me._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}{constructor(e,t,i,n){super(e,t,i),this._ctx=e,n?(this.target=n,this.targetPath=M.collect(n,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: `+(this.target?this.target.outerHTML:null)}fulfill(e,t=null,i=null,n=null){let o=this.mouseColumn;return t&&t.columnr.contentLeft+r.width)){var s=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(s<=o&&o<=s+r.height)return t.fulfill(6,r.position,null,{mightBeForeignElement:!1})}}return null}static _hitTestViewZone(e,t){var i;e=e.getZoneAtCoord(t.mouseVerticalOffset);return e?(i=t.isInContentArea?8:5,t.fulfill(i,e.position,null,e)):null}static _hitTestTextArea(e,t){return he.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1}):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(e,t){if(t.isInMarginArea){const s=e.getFullLineRangeAtCoord(t.mouseVerticalOffset);var i=s.range.getStartPosition(),n=Math.abs(t.pos.x-t.editorPos.x),o={isAfterLines:s.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:n};return(n-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,s.range,o):(n-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,s.range,o):(e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,s.range,o))}return null}static _hitTestViewLines(e,t,i){if(!he.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfill(7,new ie.a(1,1),null,ge);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset))return n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n),t.fulfill(7,new ie.a(n,o),null,ge);if(i){if(he.isStrictChildOfViewLines(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(n))return o=e.getLineWidth(n),i=pe(t.mouseContentHorizontalOffset-o),t.fulfill(7,new ie.a(n,1),null,i);var o=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=o)return i=pe(t.mouseContentHorizontalOffset-o),o=new ie.a(n,e.model.getLineMaxColumn(n)),t.fulfill(7,o,null,i)}return t.fulfill(0)}return n=me._doHitTest(e,t),1===n.type?me.createMouseTargetFromHitTestPosition(e,t,n.spanNode,n.position,n.injectedText):this._createMouseTarget(e,t.withTarget(n.hitTarget),!0)}static _hitTestMinimap(e,t){var i;return he.isChildOfMinimap(t.targetPath)?(i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))):null}static _hitTestScrollbarSlider(e,t){if(he.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i))return i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))}return null}static _hitTestScrollbar(e,t){var i;return he.isChildOfScrollableElement(t.targetPath)?(i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))):null}getMouseColumn(e,t){const i=this._context.configuration.options;var n=i.get(130);t=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-n.contentLeft;return me._getMouseColumn(t,i.get(42).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,o){var s=n.lineNumber,r=n.column,a=e.getLineWidth(s);if(t.mouseContentHorizontalOffset>a)return a=pe(t.mouseContentHorizontalOffset-a),t.fulfill(7,n,null,a);const l=e.visibleRangeForPosition(s,r);if(!l)return t.fulfill(0,n);if(a=l.left,t.mouseContentHorizontalOffset===a)return t.fulfill(6,n,null,{mightBeForeignElement:!!o});const d=[];if(d.push({offset:l.left,column:r}),1e.offset-t.offset);a=t.pos.toClientCoordinates(),e=i.getBoundingClientRect();var h=e.left<=a.clientX&&a.clientX<=e.right;for(let g=1;g=t.editorPos.y+e.layoutInfo.height&&(n=t.editorPos.y+e.layoutInfo.height-1);const o=new y(t.pos.x,n);return i=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates()),1===i.type?i:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const i=l.F(e.viewDomNode);let n;var o,s;return(n=i?void 0===i.caretRangeFromPoint?function(e,t,i){const n=document.createRange();let o=e.elementFromPoint(t,i);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE&&o.lastChild&&o.lastChild.firstChild;)o=o.lastChild;e=o.getBoundingClientRect();var s,r=window.getComputedStyle(o,null).getPropertyValue("font");const i=o.innerText;let a=e.left,l=0;if(t>e.left+e.width)l=i.length;else{const e=fe.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(130).height;const n=new D(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),be(this.mouseTargetFactory),ve.MOUSE_MOVE_MINIMUM_TIME)),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e))),this._register(l.i(this.viewHelper.viewDomNode,l.d.MOUSE_WHEEL,e=>{if(this.viewController.emitMouseWheel(e),this._context.configuration.options.get(67)){const i=new v.b(e);var t;(_.f?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey)&&(e=_e.a.getZoomLevel(),t=0t.y+t.height||e.xt.x+t.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),t,e,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){const t=l.F(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){this._mouseDownOperation.isActive()||e.timestamp{e.preventDefault(),this.viewHelper.focusTextArea()};(l=!(_.f&&e.leftButton&&e.ctrlKey)&&l)&&(i||o&&s)?(d(),this._mouseDownOperation.start(t.type,e)):n?e.preventDefault():r?(i=t.detail,this.viewHelper.shouldSuppressMouseDownOnViewZone(i.viewZoneId)&&(d(),this._mouseDownOperation.start(t.type,e),e.preventDefault())):a&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(d(),e.preventDefault()),this.viewController.emitMouseDown({event:e,target:t})}}ve.MOUSE_MOVE_MINIMUM_TIME=100;class Ce extends c.a{constructor(e,t,i,n,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._createMouseTarget=n,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new O(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new C.g),this._mouseState=new we,this._currentSelection=new m.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){if(this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t),e=this._findMousePosition(t,!0),e&&e.position){this._mouseState.trySetCount(t.detail,e.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;!i.get(80)&&i.get(30)&&!i.get(17)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===e.type&&e.position&&this._currentSelection.containsPosition(e.position)?(this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,be(null),e=>this._onMouseDownThenMove(e),e=>{var t=this._findMousePosition(this._lastMouseEvent,!0);e&&e instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()})):(this._mouseState.isDragAndDrop=!1,this._dispatchMouse(e,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,be(null),e=>this._onMouseDownThenMove(e),()=>this._stop())))}}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{var e;this._lastMouseEvent&&(e=this._findMousePosition(this._lastMouseEvent,!1))&&!this._mouseState.isDragAndDrop&&this._dispatchMouse(e,!0)},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){var t=e.editorPos;const i=this._context.model,n=this._context.viewLayout;var o=this._getMouseColumn(e);if(e.posyt.y+t.height?(s=n.getCurrentScrollTop()+(e.posy-t.y),r=ce.getZoneAtCoord(this._context,s),r&&(r=this._helpPositionJumpOverViewZone(r),r)?new de(null,13,o,r):(r=n.getLineNumberAtVerticalOffset(s),new de(null,13,o,new ie.a(r,i.getLineMaxColumn(r))))):(s=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+(e.posy-t.y)),e.posxt.x+t.width?new de(null,13,o,new ie.a(s,i.getLineMaxColumn(s))):null)}_findMousePosition(e,t){var i=this._getPositionOutsideEditor(e);return i||(i=this._createMouseTarget(e,t),i.position?8!==i.type&&5!==i.type||(e=this._helpPositionJumpOverViewZone(i.detail),!e)?i:new de(i.element,i.type,i.mouseColumn,e,null,i.detail):null)}_helpPositionJumpOverViewZone(e){var t=new ie.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn);const i=e.positionBefore;return e=e.positionAfter,i&&e?i.isBefore(t)?i:e:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class we{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>we.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}we.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var ye=i("0a31"),Se=i("e53c");class Le extends ve{constructor(e,t,i){super(e,t,i),this._register(b.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Tap,e=>this.onTap(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Change,e=>this.onChange(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Contextmenu,e=>this._onContextMenu(new k(e,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(l.i(this.viewHelper.linesContentDomNode,"pointerdown",e=>{e=e.pointerType,this._lastPointerType="mouse"===e?"mouse":"touch"===e?"touch":"pen"}));const n=new N(this.viewHelper.viewDomNode);this._register(n.onPointerMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),be(this.mouseTargetFactory),ve.MOUSE_MOVE_MINIMUM_TIME)),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)))}onTap(e){var t;e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),(t=this._createMouseTarget(new k(e,this.viewHelper.viewDomNode),!1)).position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1}))}onChange(e){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e)}}class xe extends ve{constructor(e,t,i){super(e,t,i),this._register(b.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Tap,e=>this.onTap(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Change,e=>this.onChange(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Contextmenu,e=>this._onContextMenu(new k(e,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new k(e,this.viewHelper.viewDomNode),!1);if(t.position){const e=document.createEvent("CustomEvent");e.initEvent(Se.d.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position)}}onChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}}class ke extends c.a{constructor(e,t,i){super(),_.c&&ye.a.pointerEvents?this.handler=this._register(new Le(e,t,i)):window.TouchEvent?this.handler=this._register(new xe(e,t,i)):this.handler=this._register(new ve(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i("56f3");var De=i("3742"),Ne=i("0a89");i("2ab7");class Oe extends E{}var Ee=i("918c"),Ie=i("b7d0");class Me extends Oe{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new ie.a(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(58);var t=e.get(59);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(84),t=e.get(130);this._lineNumbersLeft=t.lineNumbersLeft,this._lineNumbersWidth=t.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){e=e.selections[0].getPosition(),this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(e);let t=!1;return this._activeLineNumber!==e.lineNumber&&(this._activeLineNumber=e.lineNumber,t=!0),2===this._renderLineNumbers||3===this._renderLineNumbers||t}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){var t;e=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e,1));return 1!==e.column?"":(e=e.lineNumber,this._renderCustomLineNumbers?this._renderCustomLineNumbers(e):2===this._renderLineNumbers?0===(t=Math.abs(this._lastCursorModelPosition.lineNumber-e))?''+e+"":String(t):3!==this._renderLineNumbers||this._lastCursorModelPosition.lineNumber===e||e%10==0?String(e):"")}prepareRender(e){if(0===this._renderLineNumbers)this._renderResult=null;else{var t=_.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o='
    ',s=this._context.model.getLineCount();const l=[];for(let e=i;e<=n;e++){var r,a=e-i;(this._renderFinalNewline||e!==s||0!==this._context.model.getLineLength(e))&&(r=this._getLineRenderLineNumber(e))?e===this._activeLineNumber?l[a]='
    '+r+"
    ":l[a]=o+r+"
    ":l[a]=""}this._renderResult=l}}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}Me.CLASS_NAME="line-numbers",Object(Ie.f)((e,t)=>{var i=e.getColor(Ee.r);i&&t.addRule(`.monaco-editor .line-numbers { color: ${i}; }`),i=e.getColor(Ee.b);i&&t.addRule(`.monaco-editor .line-numbers.active-line-number { color: ${i}; }`)});class Te extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._canUseLayerHinting=!t.get(27),this._contentLeft=e.contentLeft,this._glyphMarginLeft=e.glyphMarginLeft,this._glyphMarginWidth=e.glyphMarginWidth,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setClassName(Te.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(f.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(Te.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._canUseLayerHinting=!t.get(27),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t),t=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(t),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(t)}}Te.CLASS_NAME="glyph-margin",Te.OUTER_CLASS_NAME="margin";var Ae=i("e6ff"),Re=i("e75b");class Pe{constructor(e,t,i){this._visibleTextAreaBrand=void 0,this.top=e,this.left=t,this.width=i}setWidth(e){return new Pe(this.top,this.left,e)}}const Fe=p.g;class Be extends I{constructor(e,t,i){super(e),this._primaryCursorPosition=new ie.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._viewHelper=i,this._scrollLeft=0,this._scrollTop=0;const n=this._context.configuration.options;e=n.get(130),this._setAccessibilityOptions(n),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._contentHeight=e.height,this._fontInfo=n.get(42),this._lineHeight=n.get(58),this._emptySelectionClipboard=n.get(31),this._copyWithSyntaxHighlighting=n.get(20),this._visibleTextArea=null,this._selections=[new m.a(1,1,1,1)],this._modelSelections=[new m.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(f.b)(document.createElement("textarea")),M.write(this.textArea,6),this.textArea.setClassName("inputarea "+Re.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(n)),this.textArea.setAttribute("tabindex",String(n.get(112))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",a.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),n.get(29)&&n.get(80)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(f.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const o={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:e=>this._context.model.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.model.getValueInRange(e,t)};this._textAreaInput=this._register(new Se.c({getDataToCopy:e=>{const t=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,_.i);var i=this._context.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null;i=Array.isArray(t)?t.join(i):t;let s=void 0,r=null;return e&&(Se.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&i.length<65536)&&(e=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard))&&(s=e.html,r=e.mode),{isFromEmptySelection:n,multicursorText:o,text:i,html:s,mode:r}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(_.f){const e=this._selections[0];if(e.isEmpty()){var t=e.getStartPosition();let i=this._getWordBeforePosition(t);if(0<(i=0===i.length?this._getCharacterBeforePosition(t):i).length)return new Ne.b(i,i.length,i.length,t,t)}}return Ne.b.EMPTY}if(p.e){const e=this._selections[0];if(e.isEmpty()){t=e.getStartPosition();var[i,n]=this._getAndroidWordAtPosition(t);if(0this._context.model.deduceModelPositionRelativeToViewPosition(e,t,i)},this.textArea)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(Ne.c,this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(Ne.c,this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{var t=this._selections[0].startLineNumber;e=this._selections[0].startColumn+e.revealDeltaColumns,this._context.model.revealRange("keyboard",!0,new ne.a(t,e,t,e),0,1),e=this._viewHelper.visibleRangeForPositionRelativeToEditor(t,e);e&&(this._visibleTextArea=new Pe(this._context.viewLayout.getVerticalOffsetForLineNumber(t),e.left,Fe?0:1),this._render()),this.textArea.setClassName(`inputarea ${Re.a} ime-input`),this._viewController.compositionStart(),this._context.model.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea=this._visibleTextArea.setWidth(function(e,t){const i=document.createElement("canvas"),n=i.getContext("2d"),o=(n.font=function(e){return`normal normal ${e.fontWeight} ${e.fontSize}px / ${e.lineHeight}px `+e.fontFamily}(t),n.measureText(e));return p.g?o.width+2:o.width}(e.data,this._fontInfo)),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+Re.a),this._viewController.compositionEnd(),this._context.model.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getAndroidWordAtPosition(e){var t;const i=this._context.model.getLineContent(e.lineNumber),n=Object(Ae.a)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?');let o=!0,s=e.column,r=!0,a=e.column,l=0;for(;l<50&&(o||r);)(o=!(o&&s<=1)&&o)&&(t=i.charCodeAt(s-2),0!==n.get(t)?o=!1:s--),(r=!(r&&a>i.length)&&r)&&(t=i.charCodeAt(a-1),0!==n.get(t)?r=!1:a++),l++;return[i.substring(s-1,a-1),e.column-s]}_getWordBeforePosition(e){const t=this._context.model.getLineContent(e.lineNumber),i=Object(Ae.a)(this._context.configuration.options.get(116));let n=e.column,o=0;for(;1this._contentLeft+this._contentWidth||(t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop)<0||t>this._contentHeight?this._renderAtTopLeft():_.f?this._renderInsideEditor(this._primaryCursorPosition,t,e,Fe?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,Fe?0:1,Fe?0:1)}_renderInsideEditor(e,t,i,n,o){this._lastRenderPosition=e;const s=this.textArea,r=this.textAreaCover;g.a.applyFontInfo(s,this._fontInfo),s.setTop(t),s.setLeft(i),s.setWidth(n),s.setHeight(o),r.setTop(0),r.setLeft(0),r.setWidth(0),r.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const e=this.textArea,t=this.textAreaCover;if(g.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),Fe)e.setWidth(0),e.setHeight(0),t.setWidth(0),t.setHeight(0);else{e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);const i=this._context.configuration.options;i.get(48)?t.setClassName("monaco-editor-background textAreaCover "+Te.OUTER_CLASS_NAME):0!==i.get(59).renderType?t.setClassName("monaco-editor-background textAreaCover "+Me.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")}}}var je=i("d585");class We{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){je.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[e]}onLinesDeleted(e,t){if(0===this.getCount())return null;var i=this.getStartLineNumber(),n=this.getEndLineNumber();if(t=i&&s<=n&&(this._lines[s-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;var i=t-e+1,n=(t=this.getStartLineNumber(),this.getEndLineNumber());if(e<=t)return this._rendLineNumberStart+=i,null;if(ni)){var s=Math.max(t,o.fromLineNumber),r=Math.min(i,o.toLineNumber);for(let e=s;e<=r;e++){var a=e-this._rendLineNumberStart;this._lines[a].onTokensChanged(),n=!0}}}return n}}class Ke{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Ue(()=>this._host.createVisibleLine())}_createDomNode(){const e=Object(f.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(130)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,o=t.length;nt?(e=t)<=(s=Math.min(i,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,e,s,n,t),o.linesLength+=s-e+1):o.rendLineNumberStarti&&(s=Math.max(0,i-o.rendLineNumberStart+1),0<(e=o.linesLength-1-s+1)&&(this._removeLinesAfter(o,e),o.linesLength-=e)),this._finishRendering(o,!1,n)}return o}_renderUntouchedLines(e,t,i,n,o){var s=e.rendLineNumberStart;const r=e.lines;for(let l=t;l<=i;l++){var a=s+l;r[l].layoutLine(a,n[a-o])}}_insertLinesBefore(e,t,i,n,o){const s=[];let r=0;for(let a=t;a<=i;a++)s[r++]=this.host.createVisibleLine();e.lines=s.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;ne}),qe._sb=Object(ze.a)(1e5);class $e extends I{constructor(e){super(e),this._visibleLines=new Ke(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),n.appendASCIIString(o),n.appendASCIIString(""),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class Ze extends $e{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._contentWidth=e.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class Ye extends $e{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._contentLeft=e.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),g.a.applyFontInfo(this.domNode,t.get(42))}onConfigurationChanged(e){const t=this._context.configuration.options;g.a.applyFontInfo(this.domNode,t.get(42));var i=t.get(130);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),e=Math.min(e.scrollHeight,1e6),this.domNode.setHeight(e),this.domNode.setWidth(this._contentLeft)}}class Xe{constructor(e,t){this._coordinateBrand=void 0,this.top=e,this.left=t}}class Qe extends I{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=Object(f.b)(document.createElement("div")),M.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(f.b)(document.createElement("div")),M.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){for(const t of Object.keys(this._widgets))this._widgets[t].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){for(const t of Object.keys(this._widgets))this._widgets[t].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){e=new Je(this._context,this._viewDomNode,e),((this._widgets[e.id]=e).allowEditorOverflow?this.overflowingContentWidgetsDomNode:this.domNode).appendChild(e.domNode),this.setShouldRender()}setWidgetPosition(e,t,i){const n=this._widgets[e.getId()];n.setPosition(t,i),this.setShouldRender()}removeWidget(e){if(e=e.getId(),this._widgets.hasOwnProperty(e)){var t=this._widgets[e];delete this._widgets[e];const i=t.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){for(const t of Object.keys(this._widgets))this._widgets[t].onBeforeRender(e)}prepareRender(e){for(const t of Object.keys(this._widgets))this._widgets[t].prepareRender(e)}render(e){for(const t of Object.keys(this._widgets))this._widgets[t].render(e)}}class Je{constructor(e,t,i){this._context=e,this._viewDomNode=t,this._actual=i,this.domNode=Object(f.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const n=this._context.configuration.options;e=n.get(130),this._fixedOverflowWidgets=n.get(35),this._contentWidth=e.contentWidth,this._contentLeft=e.contentLeft,this._lineHeight=n.get(58),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;this._lineHeight=t.get(58),e.hasChanged(130)&&(e=t.get(130),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth())}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(e,t,i,n,o){var s=e.top,r=t.top+this._lineHeight,a=o.viewportHeight-r;let l=e.left,d=t.left;return l+i>o.scrollLeft+o.viewportWidth&&(l=o.scrollLeft+o.viewportWidth-i),d+i>o.scrollLeft+o.viewportWidth&&(d=o.scrollLeft+o.viewportWidth-i),le&&(t=s-(e-n),s-=t,i-=t),sn.lineNumber&&(n=r);let o=1073741824;for(const r of i.ranges)r.lefte.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){this._renderData?(this.allowEditorOverflow?this.domNode.setTop(this._renderData.coordinate.top):this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&et(this._actual.afterRender,this._actual,this._renderData.position)):(this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&et(this._actual.afterRender,this._actual,null))}}function et(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i("930f");var tt=i("e8e3");let it=!0;class nt extends Oe{constructor(e){super(),this._context=e;const t=this._context.configuration.options;e=t.get(130),this._lineHeight=t.get(58),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new m.a(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=it?this._selections.slice(0,1):this._selections,i=t.map(e=>e.positionLineNumber);i.sort((e,t)=>e-t),tt.h(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);var n=t.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._lineHeight=t.get(58),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(this._shouldRenderThis()){var t=this._renderOne(e),i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length;let r=0;const a=[];for(let e=i;e<=n;e++){for(var s=e-i;r=this._renderData.length?"":this._renderData[t]}}class ot extends nt{_renderOne(e){return`
    `}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class st extends nt{_renderOne(e){return`
    `}_shouldRenderMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderThis(){return!0}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}Object(Ie.f)((e,t)=>{it=!1;const i=e.getColor(Ee.p);var n;i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),i&&!i.isTransparent()&&!e.defines(Ee.q)||(n=e.getColor(Ee.q))&&(it=!0,t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}),i("56dc");class rt extends Oe{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){var t=e.getDecorationsInViewport();let i=[],n=0;for(let d=0,h=t.length;d{var i,n;return e.options.zIndext.options.zIndex?1:(i=e.options.className)<(n=t.options.className)?-1:n',l=Math.max(r.range.startLineNumber,o),d=Math.min(r.range.endLineNumber,s);for(let e=l;e<=d;e++)i[e-o]+=a}}}_renderNormalDecorations(e,t,i){var n=String(this._lineHeight),o=e.visibleRange.startLineNumber;let s=null,r=!1,a=null;for(let c=0,u=t.length;c';r[d]+=h}}}}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}var at=i("1898");class lt extends I{constructor(e,t,i,n){super(e);const o=this._context.configuration.options;var s=o.get(92),r=o.get(66),a=o.get(33),d=o.get(95);e={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(Ie.e)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:s.vertical,horizontal:s.horizontal,verticalHasArrows:s.verticalHasArrows,horizontalHasArrows:s.horizontalHasArrows,verticalScrollbarSize:s.verticalScrollbarSize,verticalSliderSize:s.verticalSliderSize,horizontalScrollbarSize:s.horizontalScrollbarSize,horizontalSliderSize:s.horizontalSliderSize,handleMouseWheel:s.handleMouseWheel,alwaysConsumeMouseWheel:s.alwaysConsumeMouseWheel,arrowSize:s.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:a,scrollPredominantAxis:d,scrollByPage:s.scrollByPage};this.scrollbar=this._register(new at.c(t.domNode,e,this._context.viewLayout.getScrollable())),M.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(f.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const h=(e,t,i)=>{const n={};t&&(t=e.scrollTop)&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0),i&&(t=e.scrollLeft)&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0),this._context.model.setScrollPosition(n,1)};this._register(l.i(i.domNode,"scroll",e=>h(i.domNode,!0,!0))),this._register(l.i(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(l.i(n.domNode,"scroll",e=>h(n.domNode,!0,!1))),this._register(l.i(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options;var t=e.get(130),i=(this.scrollbarDomNode.setLeft(t.contentLeft),e.get(64));"right"===i.side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(92)||e.hasChanged(66)||e.hasChanged(33)){const e=this._context.configuration.options;var t=e.get(92),i=e.get(66),n=e.get(33),o=e.get(95);t={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:o};this.scrollbar.updateOptions(t)}return e.hasChanged(130)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(Ie.e)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}i("8478");class dt{constructor(e,t,i){this._decorationToRenderBrand=void 0,this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(i)}}class ht extends Oe{_render(e,t,i){const n=[];for(let a=e;a<=t;a++){var o=a-e;n[o]=[]}if(0!==i.length){i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className');const r=[];for(let e=t;e<=i;e++){var s=e-t;const i=n[s];0===i.length?r[s]="":r[s]='
    =this._renderResult.length?"":this._renderResult[t]}}i("0baa");class ut extends Oe{constructor(e){super(),this._context=e,this._primaryLineNumber=0;const t=this._context.configuration.options;e=t.get(131);var i=t.get(42);this._lineHeight=t.get(58),this._spaceWidth=i.spaceWidth,this._enabled=t.get(83),this._activeIndentEnabled=t.get(51),this._maxIndentLeft=-1===e.wrappingColumn?-1:e.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(131),n=t.get(42);return this._lineHeight=t.get(58),this._spaceWidth=n.spaceWidth,this._enabled=t.get(83),this._activeIndentEnabled=t.get(51),this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){const t=e.selections[0];return e=t.isEmpty()?t.positionLineNumber:0,this._primaryLineNumber!==e&&(this._primaryLineNumber=e,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){if(this._enabled){var t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._context.model.getTextModelOptions()["indentSize"],o=n*this._spaceWidth,s=e.scrollWidth,r=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,i);let g=0,p=0,m=0;this._activeIndentEnabled&&this._primaryLineNumber&&(n=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,i),g=n.startLineNumber,p=n.endLineNumber,m=n.indent);const f=[];for(let n=t;n<=i;n++){var l=g<=n&&n<=p,d=n-t,h=a[d];let i="";if(1<=h){var c=e.visibleRangeForPosition(new ie.a(n,1));let t=c?c.left:0;for(let e=1;e<=h;e++){var u=l&&e===m?"cigra":"cigr";if(i+=`
    `,(t+=o)>s||0this._maxIndentLeft)break}}f[d]=i}this._renderResult=f}else this._renderResult=null}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}Object(Ie.f)((e,t)=>{var i=e.getColor(Ee.o);i&&t.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${i} inset; }`),e=e.getColor(Ee.a)||i;e&&t.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${e} inset; }`)}),i("38a2b");class gt{constructor(){this._currentVisibleRange=new ne.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class pt{constructor(e,t,i,n,o,s){this.lineNumber=e,this.startColumn=t,this.endColumn=i,this.startScrollTop=n,this.stopScrollTop=o,this.scrollType=s,this.type="range",this.minLineNumber=e,this.maxLineNumber=e}}class mt{constructor(e,t,i,n){this.selections=e,this.startScrollTop=t,this.stopScrollTop=i,this.scrollType=n,this.type="selections";let o=e[0].startLineNumber,s=e[0].endLineNumber;for(let a=1,l=e.length;a{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new C.e(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new gt,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new G(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(131)&&(this._maxLineWidth=0);const t=this._context.configuration.options;var i=t.get(42),n=t.get(131);return this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(89),this._cursorSurroundingLines=t.get(24),this._cursorSurroundingLinesStyle=t.get(25),this._canUseLayerHinting=!t.get(27),g.a.applyFontInfo(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(130)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){var e=this._context.configuration;e=new $(e,this._context.theme.type);if(this._viewLineOptions.equals(e))return!1;this._viewLineOptions=e;e=this._visibleLines.getStartLineNumber();var t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){const e=this._visibleLines.getVisibleLine(i);e.onOptionsChanged(this._viewLineOptions)}return!0}onCursorStateChanged(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=!1;for(let o=t;o<=i;o++)n=this._visibleLines.getVisibleLine(o).onSelectionChanged()||n;return n}onDecorationsChanged(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let n=t;n<=i;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged();return!0}onFlushed(e){return e=this._visibleLines.onFlushed(e),this._maxLineWidth=0,e}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});return e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new pt(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&0i)&&(this._horizontalRevealRequest=null)),this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){var i=this._getViewLineDomNode(e);if(null===i)return null;if(i=this._getLineNumberFor(i),-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new ie.a(i,1);var n=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(id)){var h=u===n.startLineNumber?n.startColumn:1,c=u===n.endLineNumber?n.endColumn:this._context.model.getLineMaxColumn(u);const e=this._visibleLines.getVisibleLine(u).getVisibleRangesForRange(u,h,c,r);e&&(t&&uthis._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,new q(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){return e=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column),e?new F(e.outsideRenderedLine,e.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=1,o=!0;for(let s=t;s<=i;s++){const t=this._visibleLines.getVisibleLine(s);e&&!t.getWidthIsFast()?o=!1:n=Math.max(n,t.getWidth())}return o&&1===t&&i===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;var i,n=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let s=n;s<=o;s++){const n=this._visibleLines.getVisibleLine(s);!n.needsMonospaceFontCheck()||(i=n.getWidth())>t&&(t=i,e=s)}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let s=n;s<=o;s++){const e=this._visibleLines.getVisibleLine(s);e.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest&&(n=this._horizontalRevealRequest,e.startLineNumber<=n.minLineNumber&&n.maxLineNumber<=e.endLineNumber&&(this._horizontalRevealRequest=null,this.onDidRender(),(t=this._computeScrollLeftToReveal(n))&&(this._isViewportWrapping||this._ensureMaxLineWidth(t.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:t.scrollLeft},n.scrollType)))),this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),_.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let e=t;e<=i;e++){const t=this._visibleLines.getVisibleLine(e);if(t.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var n=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-n),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){e=Math.ceil(e),this._maxLineWidthe){if(!a)return-1;h=l}else h=5===o||6===o?6===o&&s<=l&&d<=r?s:(t=Math.max(5*this._lineHeight,.2*e),i=l-t,t=d-e,Math.max(t,i)):1===o||2===o?2===o&&s<=l&&d<=r?s:(t=(l+d)/2,Math.max(0,t-e/2)):this._computeMinimumScrolling(s,r,l,d,3===o,4===o);return h}_computeScrollLeftToReveal(e){var t=this._context.viewLayout.getCurrentViewport(),i=t.left,n=i+t.width;let o=1073741824,s=0;if("range"===e.type){var r=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!r)return null;for(const e of r.ranges)o=Math.min(o,Math.round(e.left)),s=Math.max(s,Math.round(e.left+e.width))}else for(const l of e.selections){if(l.startLineNumber!==l.endLineNumber)return null;var a=this._visibleRangesForLineRange(l.startLineNumber,l.startColumn,l.endColumn);if(!a)return null;for(const e of a.ranges)o=Math.min(o,Math.round(e.left)),s=Math.max(s,Math.round(e.left+e.width))}return o=Math.max(0,o-ft.HORIZONTAL_EXTRA_PX),s+=this._revealHorizontalRightPadding,"selections"===e.type&&s-o>t.width?null:{scrollLeft:this._computeMinimumScrolling(i,n,o,s),maxHorizontalOffset:s}}_computeMinimumScrolling(e,t,i,n,o,s){o=!!o,s=!!s;var r=(t|=0)-(e|=0);return(n|=0)-(i|=0)
    ';const s=[];for(let l=t;l<=i;l++){var r=l-t,a=n[r];let e="";for(let t=0,i=a.length;t';o[s]=e}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i("f20b");class vt{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=vt._clamp(e),this.g=vt._clamp(t),this.b=vt._clamp(i),this.a=vt._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:255{e.changedColorMap&&this._updateColorMap()}))}static getInstance(){return this._INSTANCE||(this._INSTANCE=Object(c.h)(new wt)),this._INSTANCE}_updateColorMap(){const e=Ct.F.getColorMap();if(e){this._colors=[vt.Empty];for(let i=1;i=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}wt._INSTANCE=null;var yt=i("a8d0"),St=i("303e");const Lt=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})();var xt=i("099d");class kt{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=kt.soften(e,.8),this.charDataLight=kt.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,o=e.length;ne.width||i+c>e.height)){var u=a?this.charDataLight:this.charDataNormal,g=(n=(l=n,a=r,(l-=32)<0||96e.width||i+d>e.height)){var h=4*e.width,c=(r=o.r,l=o.g,o=o.b,r+.5*(n.r-r)),u=l+.5*(n.g-l),g=o+.5*(n.b-o);const s=e.data;let p=i*h+4*t;for(let e=0;e{const t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=Nt[e[i]]<<4|15&Nt[e[i+1]];return t},Et={1:Object(Dt.a)(()=>Ot("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(Dt.a)(()=>Ot("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class It{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let i;return i=Et[e]?new kt(Et[e](),e):It.createFromSampleData(It.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i}static createSampleData(e){const t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font="bold 16px "+e,i.textBaseline="middle";let n=0;for(const o of Lt)i.fillText(String.fromCharCode(o),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw new Error("Unexpected source in MinimapCharRenderer");return e=It._downsample(e,t),new kt(e,t)}static _downsampleChar(e,t,i,n,o){var s=+o,r=2*o;let a=n,l=0;for(let b=0;bIt.create(this.fontScale,r.fontFamily)),this.backgroundColor=Tt._getMinimapBackground(t,i)}static _getMinimapBackground(e,t){return e=e.getColor(St.Zb),e?new vt(e.rgba.r,e.rgba.g,e.rgba.b,e.rgba.a):t.getColor(2)}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)}}class At{constructor(e,t,i,n,o,s,r,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=o,this.sliderHeight=s,this.startLineNumber=r,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,i,n,o,s,r,a,l,d,h){var c=e.pixelRatio,u=e.minimapLineHeight,g=Math.floor(e.canvasInnerHeight/u),p=e.lineHeight;if(e.minimapHeightIsEditorHeight){a=a*e.lineHeight+(e.scrollBeyondLastLine?o-e.lineHeight:0);const t=Math.max(1,Math.floor(o*o/a)),i=Math.max(0,e.minimapHeight-t),n=i/(d-o),s=l*n;a=0=r+(C=e.scrollBeyondLastLine?o/p-1:C))return a=r,m=0<_,new At(l,d,m,b,v,f,1,a);{let e=Math.max(1,Math.floor(t-v*c/u));return h&&h.scrollHeight===d&&(h.scrollTop>l&&(e=Math.min(e,h.startLineNumber)),h.scrollTopRt.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;var t=this._renderedLines._get().lines;for(let i=0,n=t.length;i=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1{var t;e.preventDefault(),0!==this._model.options.renderMinimap&&this._lastRenderData&&("proportional"!==this._model.options.size?e.leftButton&&this._lastRenderData&&(t=(t=l.D(this._slider.domNode)).top+t.height/2,this._startSliderDragging(e.buttons,e.posx,t,e.posy,this._lastRenderData.renderedLayout)):(t=this._model.options.minimapLineHeight,e=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY,e=Math.floor(e/t)+this._lastRenderData.renderedLayout.startLineNumber,e=Math.min(e,this._model.getLineCount()),this._model.revealLineNumber(e)))}),this._sliderMouseMoveMonitor=new w.a,this._sliderMouseDownListener=l.o(this._slider.domNode,"mousedown",e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=b.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=l.i(this._domNode.domNode,b.a.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=l.i(this._domNode.domNode,b.a.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=l.o(this._domNode.domNode,b.a.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i,n,o){this._slider.toggleClassName("active",!0);const s=(e,n)=>{n=Math.abs(n-t),_.i&&140s(e.posy,e.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){var t=this._domNode.domNode.getBoundingClientRect().top;e=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(e)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||0=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible"),t=At.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null),this._slider.setDisplay(t.sliderNeeded?"block":"none"),this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight),e=e.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,e=Math.min(this._model.options.minimapWidth,Math.round(e*this._model.options.minimapCharWidth/this._model.options.pixelRatio)),this._sliderHorizontal.setLeft(e),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-e),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t))}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._model.getSelections(),i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber),{canvasInnerWidth:n,canvasInnerHeight:o}=this._model.options,s=this._model.options.minimapLineHeight,r=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize;const u=this._decorationsCanvas.domNode.getContext("2d");u.clearRect(0,0,n,o);var l=new Map;for(let i=0;ithis._model.options.canvasInnerHeight)){let g=t.get(s);if(a=!g,!g){const e=this._model.getLineContent(s);g=[z.h];for(let t=1;tm)return;var S=g.charCodeAt(b);if(9===S){var L=d-(b+v)%d;v+=L-1,_+=L*o}else if(32===S)_+=o;else{var x=De.D(S)?2:1;for(let s=0;sm)return}}}}Object(Ie.f)((e,t)=>{var i=e.getColor(St.Zb);i&&t.addRule(`.monaco-editor .minimap > canvas { opacity: ${i.rgba.a}; will-change: opacity; }`),i=e.getColor(St.ec),i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.fc),i&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.dc),i&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.yc);i&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${i} -6px 0 6px -6px inset; }`)}),i("725e");class Vt extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._widgets={},this._verticalScrollbarWidth=e.verticalScrollbarWidth,this._minimapWidth=e.minimap.minimapWidth,this._horizontalScrollbarHeight=e.horizontalScrollbarHeight,this._editorHeight=e.height,this._editorWidth=e.width,this._domNode=Object(f.b)(document.createElement("div")),M.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){const t=Object(f.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const i=this._widgets[e.getId()];return i.preference!==t&&(i.preference=t,this.setShouldRender(),!0)}removeWidget(e){if(e=e.getId(),this._widgets.hasOwnProperty(e)){const t=this._widgets[e].domNode.domNode;delete this._widgets[e],t.parentNode.removeChild(t),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;var i;null===e.preference?t.unsetTop():0===e.preference?(t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)):1===e.preference?(i=t.domNode.clientHeight,t.setTop(this._editorHeight-i-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)):2===e.preference&&(t.setTop(0),t.domNode.style.right="50%")}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);var t=Object.keys(this._widgets);for(let n=0,o=t.length;n{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){var t=new zt(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;tt&&(e=t-r),o=e-r,d=e+r}o>f+1||c!==p?(0!==e&&w.fillRect(a[p],m,l[p],f-m),p=c,m=o,f=d):d>f&&(f=d)}w.fillRect(a[p],m,l[p],f-m)}if(!this._settings.hideCursor&&this._settings.cursorColor){var p=2*this._settings.pixelRatio|0,m=p/2|0,f=this._settings.x[7],_=this._settings.w[7];w.fillStyle=this._settings.cursorColor;let e=-100,i=-100;for(let o=0,s=this._cursorPositions.length;ot&&(s=t-m);b=s-m;var v=b+p;b>i+1?(0!==o&&w.fillRect(f,e,_,i-e),e=b,i=v):v>i&&(i=v)}w.fillRect(f,e,_,i-e)}this._settings.renderBorder&&this._settings.borderColor&&0this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(58)),this._zoneManager.setPixelRatio(i.get(128)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(58)&&(this._zoneManager.setLineHeight(t.get(58)),this._render()),e.hasChanged(128)&&(this._zoneManager.setPixelRatio(t.get(128)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color();const o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),0=l?Math.max(r,d):(e.fillRect(0,s,n,r-s),s=l,d)}e.fillRect(0,s,n,r-s)}}i("ef37");class $t extends I{constructor(e){super(e),this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e{e=e.getColor(Ee.u),e&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${e} inset; }`)}),i("d8c3");class Gt extends I{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options;e=t.get(92),this._useShadows=e.useShadows,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){var e=this._useShadows&&0{e=e.getColor(St.yc),e&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${e} 0 6px 6px -6px inset; }`)}),i("782d");class Zt{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class Yt{constructor(e,t){this.lineNumber=e,this.ranges=t}}function Xt(e){return new Zt(e)}function Qt(e){return new Yt(e.lineNumber,e.ranges.map(Xt))}class Jt extends Oe{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(58),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(58),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t'}_actualRenderOneSelection(e,t,i,n){if(0!==n.length){var o=!!n[0].ranges[0].startStyle,s=this._lineHeight.toString(),r=(this._lineHeight-1).toString(),a=n[0].lineNumber,l=n[n.length-1].lineNumber;for(let _=0,b=n.length;_e+t)}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}function ei(e){return e<0?-e:e}Jt.SELECTION_CLASS_NAME="selected-text",Jt.SELECTION_TOP_LEFT="top-left-radius",Jt.SELECTION_BOTTOM_LEFT="bottom-left-radius",Jt.SELECTION_TOP_RIGHT="top-right-radius",Jt.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Jt.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Jt.ROUNDED_PIECE_WIDTH=10,Object(Ie.f)((e,t)=>{var i=e.getColor(St.R);i&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${i}; }`),i=e.getColor(St.J);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const n=e.getColor(St.S);n&&!n.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)}),i("d93b");class ti{constructor(e,t,i,n,o,s){this.top=e,this.left=t,this.width=i,this.height=n,this.textContent=o,this.textContentClassName=s}}class ii{constructor(e){this._context=e;const t=this._context.configuration.options;e=t.get(42),this._cursorStyle=t.get(23),this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(26),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setClassName("cursor "+Re.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),g.a.applyFontInfo(this._domNode,e),this._domNode.setDisplay("none"),this._position=new ie.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(42);return this._cursorStyle=t.get(23),this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(26),this._typicalHalfwidthCharacterWidth),g.a.applyFontInfo(this._domNode,i),!0}onCursorPositionChanged(e){return this._position=e,!0}_prepareRender(e){let t="";if(this._cursorStyle===z.i.Line||this._cursorStyle===z.i.LineThin){var i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;let n;if(this._cursorStyle===z.i.Line){if(2<(n=l.u(0t.length){var n=this._secondaryCursors.length-t.length;for(let e=0;e{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},ni.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},ni.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case z.i.Line:e+=" cursor-line-style";break;case z.i.Block:e+=" cursor-block-style";break;case z.i.Underline:e+=" cursor-underline-style";break;case z.i.LineThin:e+=" cursor-line-thin-style";break;case z.i.BlockOutline:e+=" cursor-block-outline-style";break;case z.i.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{const i=e.getColor(Ee.n);if(i){let n=e.getColor(Ee.m);n=n||i.opposite(),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${i}; border-color: ${i}; color: ${n}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${n}; border-right: 1px solid ${n}; }`)}});const oi=()=>{throw new Error("Invalid change accessor")};class si extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._lineHeight=t.get(58),this._contentWidth=e.contentWidth,this._contentLeft=e.contentLeft,this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(f.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){var e=this._context.viewLayout.getWhitespaces();const t=new Map;for(const n of e)t.set(n.id,n);let i=!1;return this._context.model.changeWhitespace(e=>{var n=Object.keys(this._zones);for(let l=0,d=n.length;l{const n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};var o=e,s=n;try{o(s)}catch(n){Object(d.f)(n)}n.addZone=oi,n.removeZone=oi,n.layoutZone=oi}),t}_addZone(e,t){var i=this._computeWhitespaceProps(t);const n={whitespaceId:e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(f.b)(t.domNode),marginDomNode:t.marginDomNode?Object(f.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(n.delegate,i.heightInPx),n.domNode.setPosition("absolute"),n.domNode.domNode.style.width="100%",n.domNode.setDisplay("none"),n.domNode.setAttribute("monaco-view-zone",n.whitespaceId),this.domNode.appendChild(n.domNode),n.marginDomNode&&(n.marginDomNode.setPosition("absolute"),n.marginDomNode.domNode.style.width="100%",n.marginDomNode.setDisplay("none"),n.marginDomNode.setAttribute("monaco-view-zone",n.whitespaceId),this.marginDomNode.appendChild(n.marginDomNode)),this._zones[n.whitespaceId]=n,this.setShouldRender(),n.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){var i;return!!this._zones.hasOwnProperty(t)&&(t=this._zones[t],i=this._computeWhitespaceProps(t.delegate),e.changeOneWhitespace(t.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(t.delegate,i.heightInPx),this.setShouldRender(),!0)}shouldSuppressMouseDownOnViewZone(e){return!!this._zones.hasOwnProperty(e)&&(e=this._zones[e],Boolean(e.delegate.suppressMouseDown))}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(d.f)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(d.f)(e)}}prepareRender(e){}render(e){var t=e.viewportData.whitespaceViewportData;const i={};let n=!1;for(let r=0,a=t.length;r{this._context.theme.update(e),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new Be(this._context,o,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(f.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(f.b)(document.createElement("div")),M.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new lt(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new ft(this._context,this._linesContent),this._viewZones=new si(this._context),this._viewParts.push(this._viewZones);const r=new Ut(this._context),a=(this._viewParts.push(r),new Gt(this._context)),l=(this._viewParts.push(a),new Ze(this._context)),d=(this._viewParts.push(l),l.addDynamicOverlay(new ot(this._context)),l.addDynamicOverlay(new Jt(this._context)),l.addDynamicOverlay(new ut(this._context)),l.addDynamicOverlay(new rt(this._context)),new Ye(this._context)),h=(this._viewParts.push(d),d.addDynamicOverlay(new st(this._context)),d.addDynamicOverlay(new ct(this._context)),d.addDynamicOverlay(new bt(this._context)),d.addDynamicOverlay(new _t(this._context)),d.addDynamicOverlay(new Me(this._context)),new Te(this._context));h.getDomNode().appendChild(this._viewZones.marginDomNode),h.getDomNode().appendChild(d.getDomNode()),this._viewParts.push(h),this._contentWidgets=new Qe(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new ni(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Vt(this._context),this._viewParts.push(this._overlayWidgets),e=new $t(this._context),this._viewParts.push(e);const c=new jt(this._context);if(this._viewParts.push(c),r){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(r.getDomNode(),e.insertBefore)}this._linesContent.appendChild(l.getDomNode()),this._linesContent.appendChild(e.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(h.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(a.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),s?s.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new ke(this._context,o,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{var e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new le(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ie.a(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ie.a(e,t)))}}_applyLayout(){const e=this._context.configuration.options;var t=e.get(130);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(127)+" "+Object(Ie.e)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this._configPixelRatio=this._context.configuration.options.get(128),this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const e of this._viewParts)e.dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=l.T(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){var e=()=>this._actualRender();try{e()}catch(e){Object(d.f)(e)}}_getViewPartsToRender(){let e=[],t=0;for(const i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_actualRender(){if(l.N(this.domNode.domNode)){let i=this._getViewPartsToRender();if(this._viewLines.shouldRender()||0!==i.length){var e=this._context.viewLayout.getLinesViewportData(),t=(e=(this._context.model.setViewport(e.startLineNumber,e.endLineNumber,e.centeredLineNumber),new li(this._selections,e,this._context.viewLayout.getWhitespaceViewportData(),this._context.model)),this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(e),this._viewLines.shouldRender()&&(this._viewLines.renderText(e),this._viewLines.onDidRender(),i=this._getViewPartsToRender()),new T(this._context.viewLayout,e,this._viewLines));for(const e of i)e.prepareRender(t);for(const e of i)e.render(t),e.onDidRender();.001=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)}_getAll(){let e=[];e[0]=this.primaryCursor;for(let t=0,i=this.secondaryCursors.length;te.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber);for(let d=0;dn&&e.index--;a.splice(n,1),l.splice(e,1),this._removeSecondaryCursor(n-1),d--}}}}}}var ui=i("b272"),gi=i("191f"),pi=i("338e");class mi{constructor(){this.type=0}}class fi{constructor(){this.type=1}}class _i{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class bi{constructor(e,t){this.type=3,this.selections=e,this.modelSelections=t}}class vi{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class Ci{constructor(){this.type=5}}class wi{constructor(e){this.type=6,this.isFocused=e}}class yi{constructor(){this.type=7}}class Si{constructor(){this.type=8}}class Li{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class xi{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class ki{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class Di{constructor(e,t,i,n,o,s){this.type=12,this.source=e,this.range=t,this.selections=i,this.verticalType=n,this.revealHorizontal=o,this.scrollType=s}}class Ni{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class Oi{constructor(){this.type=14}}class Ei{constructor(e){this.type=15,this.ranges=e}}class Ii{constructor(){this.type=16}}class Mi{constructor(){this.type=17}}class Ti extends c.a{constructor(){super(),this._onEvent=this._register(new h.b),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class zi extends c.a{constructor(e,t,i,n){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=i,this.context=new oe.c(this._model,this._viewModel,this._coordinatesConverter,n),this._cursors=new ci(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(c.f)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new oe.c(this._model,this._viewModel,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(0zi.MAX_CURSOR_COUNT&&(n=n.slice(0,zi.MAX_CURSOR_COUNT),o=!0);var s=new Vi(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,s,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,i,n){var o=this._cursors.getViewPositions();1!e.modelState.equals(n.cursorState[t].modelState))||(a=n?n.cursorState.map(e=>e.modelState.selection):null,l=n?n.modelVersionId:0,e.emitOutgoingEvent(new ji(a,r,l,s.modelVersionId,t||"keyboard",i,o))),!0)}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let o=0,s=e.length;o'"`])([^)\]}>'"`]*)$/);if(!i)return null;var n=i[1];n=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(n);if(!n||1!==n.length)return null;if(n=n[0].open,i=s.text.length-i[2].length-1,n=s.text.lastIndexOf(n,i-1),-1===n)return null;t.push([n,i])}return t}executeEdits(e,t,i,n){let o=null,s=((o="snippet"===t?this._findAutoClosingPairs(i):o)&&(i[0]._isTracked=!0),[]),r=[];i=this._model.pushEditOperations(this.getSelections(),i,e=>{if(o)for(let n=0,h=o.length;n{"keyboard"===t&&(this._executeEditOperation(gi.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),this.getAutoClosedCharacters())),this._selectionsWhenCompositionStarted=null)},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){var e=t.length;let i=0;for(;i(e=e.getPosition(),new m.a(e.lineNumber,e.column+o,e.lineNumber,e.column+o))),this.setSelections(e,s,r,0)):this._executeEdit(()=>{this._executeEditOperation(gi.a.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,o))},e,s)}paste(e,t,i,n,o){this._executeEdit(()=>{this._executeEditOperation(gi.a.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(ui.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new oe.e(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new oe.e(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}zi.MAX_CURSOR_COUNT=1e4;class Ui{static executeCommands(e,t,i){const n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]};e=this._innerExecuteCommands(n,i);for(let o=0,s=n.trackedRanges.length;o{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor;let s=[];for(let r=0;rn[r],getTrackedSelection:t=>{t=parseInt(t,10);var i=e.model._getTrackedRange(e.trackedRanges[t]);return 0===e.trackedRangesDirection[t]?new m.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new m.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):s[r]=e.selectionsBefore[r];return s}),l=(a=a||e.selectionsBefore,[]);for(i in s)s.hasOwnProperty(i)&&l.push(parseInt(i,10));l.sort((e,t)=>t-e);for(const d of l)a.splice(d,1);return a}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{ne.a.isEmpty(e)&&""===s||n.push({identifier:{major:t,minor:o++},range:e,text:s,forceMoveMarkers:r,isAutoWhitespaceEdit:i.insertsAutoWhitespace})};let r=!1;var a={addEditOperation:s,addTrackedEditOperation:(e,t,i)=>{r=!0,s(e,t,i)},trackSelection:(t,i)=>{const n=m.a.liftSelection(t);let o;o=n.isEmpty()?"boolean"==typeof i?i?2:3:(t=e.model.getLineMaxColumn(n.startLineNumber),n.startColumn===t?2:3):1;const s=e.trackedRanges.length;return i=e.model._setTrackedRange(null,n,o),e.trackedRanges[s]=i,e.trackedRangesDirection[s]=n.getDirection(),s.toString()}};try{i.getEditOperations(e.model,a)}catch(a){return Object(d.f)(a),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:r}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-ne.a.compareRangesUsingEnds(e.range,t.range));let t={};for(let o=1;on.identifier.major?i:n).identifier.major,t[s.toString()]=!0;for(let t=0;t>>1;t===e[s].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,o|=0;var s=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Xi(s,e,i,n,o)),s},changeOneWhitespace:(e,i,n)=>{t=!0,this._pendingChanges.change({id:e,newAfterLineNumber:i|=0,newHeight:n|=0})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((0{let t=[];for(const s of e){var i;n.has(s.id)||(o.has(s.id)&&(i=o.get(s.id),s.afterLineNumber=i.newAfterLineNumber,s.height=i.newHeight),t.push(s))}return t};const s=i(this._arr).concat(i(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){var t=Qi.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){var t=this._arr;for(let i=0,n=t.length;i=t.length||t[1+o].afterLineNumber>=e)return o;i=1+o|0}else n=o-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){return e=this._findLastWhitespaceBeforeLineNumber(e|=0)+1,e=this.getLinesTotalHeight()-this._paddingBottom)}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;var t=0|this._lineCount,i=this._lineHeight;let n=1,o=t;for(;nt?t:n}getLinesViewportData(e,t){this._checkPendingChanges(),t|=0;var i=this._lineHeight,n=0|this.getLineNumberAtOrAfterVerticalOffset(e|=0),o=0|this.getVerticalOffsetForLineNumber(n);let s=0|this._lineCount,r=0|this.getFirstWhitespaceIndexAfterLineNumber(n);var a=0|this.getWhitespacesCount();let l,d,h=(l=-1===r?(r=a,d=s+1,0):(d=0|this.getAfterLineNumberForWhitespaceIndex(r),0|this.getHeightForWhitespaceIndex(r)),o),c=h,u=0;5e5<=o&&(u=5e5*Math.floor(o/5e5),u=Math.floor(u/i)*i,c-=u);const g=[];var p,m,f=e+(t-e)/2;let _=-1;for(let w=n;w<=s;w++){for(-1===_&&(m=(p=h)+i,(p<=f&&f=a?d=s+1:(d=0|this.getAfterLineNumberForWhitespaceIndex(r),l=0|this.getHeightForWhitespaceIndex(r));if(h>=t){s=w;break}}-1===_&&(_=s);var b=0|this.getVerticalOffsetForLineNumber(s);let v=n,C=s;return v=this.getWhitespacesCount()||e<(e=this.getVerticalOffsetForWhitespaceIndex(i))?null:(t=this.getHeightForWhitespaceIndex(i),{id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:e,height:t})}getWhitespaceViewportData(e,t){this._checkPendingChanges(),t|=0;e=this.getWhitespaceIndexAtOrAfterVerticallOffset(e|=0);var i=this.getWhitespacesCount()-1;if(e<0)return[];let n=[];for(let r=e;r<=i;r++){var o=this.getVerticalOffsetForWhitespaceIndex(r),s=this.getHeightForWhitespaceIndex(r);if(t<=o)break;n.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:o,height:s})}return n}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].height}}Qi.INSTANCE_COUNT=0;class Ji{constructor(e,t,i,n){(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e=(e|=0)<0?0:e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class en extends c.a{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new h.b),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Ji(0,0,0,0),this._scrollable=this._register(new Zi.a(e,t)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){var t,i,n;this._dimensions.equals(e)||(t=this._dimensions,this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0),i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight,(i||n)&&this._onDidContentSizeChange.fire(new Ri(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight)))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class tn extends c.a{constructor(e,t,i){super(),this._configuration=e;const n=this._configuration.options;e=n.get(130);var o=n.get(74);this._linesLayout=new Qi(t,n.get(58),o.top,o.bottom),this._scrollable=this._register(new en(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Ji(e.contentWidth,0,e.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(103)?125:0)}onConfigurationChanged(e){const t=this._configuration.options;var i,n,o,s;e.hasChanged(58)&&this._linesLayout.setLineHeight(t.get(58)),e.hasChanged(74)&&(n=t.get(74),this._linesLayout.setPadding(n.top,n.bottom)),e.hasChanged(130)?(i=(n=t.get(130)).contentWidth,n=n.height,s=(o=this._scrollable.getScrollDimensions()).contentWidth,this._scrollable.setScrollDimensions(new Ji(i,o.contentWidth,n,this._getContentHeight(i,n,s)))):this._updateHeight(),e.hasChanged(103)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const i=this._configuration.options;var n=i.get(92);return 2===n.horizontal||t<=e?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){const n=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return n.get(94)?o+=Math.max(0,t-n.get(58)-n.get(74).bottom):o+=this._getHorizontalScrollbarHeight(e,i),o}_updateHeight(){var e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new Ji(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new yt.h(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new yt.h(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options;var i,n=t.get(131),o=t.get(42);return n.isViewportWrapping?(n=t.get(130),i=t.get(64),e>n.contentWidth+o.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?e+n.verticalScrollbarWidth:e):(i=t.get(93)*o.typicalHalfwidthCharacterWidth,n=this._linesLayout.getWhitespaceMinWidth(),Math.max(e+i,n))}setMaxLineWidth(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Ji(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i),scrollLeft:e.scrollLeft}}changeWhitespace(e){return e=this._linesLayout.changeWhitespace(e),e&&this.onHeightMaybeChanged(),e}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),this._linesLayout.getLinesViewportData(e=e<0?0:e,e+t.height)}getWhitespaceViewportData(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){var i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nn=i("e1b5"),on=i("b57f"),sn=i("2de5");class rn{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}}class an{constructor(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let i=this._validEndIndex+1,n=this._counts.length;ie.lineNumber===m+1);o.addRequest(i[m],r,t?t[m]:null)}var a=o.finalize();let l=[];var d=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(ne.a.compareRangesUsingStarts);let h=1,c=0,u=-1,g=u+1=h&&p<=c);let e=pn(a[m],!p);l[m]=e.getViewLineCount(),this.lines[m]=e}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new an(l)}getHiddenAreas(){return this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e))}_reduceRanges(e){if(0===e.length)return[];var t=e.map(e=>this.model.validateRange(e)).sort(ne.a.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,o=t[0].endLineNumber;for(let r=1,a=t.length;ro+1?(i.push(new ne.a(n,1,o,1)),n=s.startLineNumber,o=s.endLineNumber):s.endLineNumber>o&&(o=s.endLineNumber)}return i.push(new ne.a(n,1,o,1)),i}setHiddenAreas(e){let t=this._reduceRanges(e);var i=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(ne.a.compareRangesUsingStarts);if(t.length===i.length){let e=!1;for(let n=0;n=s&&h<=r?this.lines[c].isVisible()&&(this.lines[c]=this.lines[c].setVisible(!1),e=!0):(d=!0,this.lines[c].isVisible()||(this.lines[c]=this.lines[c].setVisible(!0),e=!0)),e&&(h=this.lines[c].getViewLineCount(),this.prefixSumComputer.changeValue(c,h))}return d||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.lines.length?1:this.lines[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n){var o=this.fontInfo.equals(e),s=this.wrappingStrategy===t,r=this.wrappingColumn===i,a=this.wrappingIndent===n;if(o&&s&&r&&a)return!1;o=o&&s&&!r&&a,this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n;let l=null;if(o){l=[];for(let e=0,t=this.lines.length;et&&(u=!0,c=t-o+1);var d=l+c;if(n.getViewLinesData(this.model,h+1,l,d,o-e,i,a),o+=c,u)break}}return a}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),o=n.index;n=n.remainder;let s=this.lines[o];var r=s.getViewLineMinColumn(this.model,o+1,n),a=s.getViewLineMaxColumn(this.model,o+1,n);a<(t=t{var i=ne.a.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let h=[],c=0,u=null;for(const p of s){var g=p.id;u!==g&&(u=g,h[c++]=p)}return h}getInjectedTextAt(e){var t=this._toValidViewLineNumber(e.lineNumber),i=(t=this.prefixSumComputer.getIndexOf(t-1),t.index);t=t.remainder;return this.lines[i].getInjectedTextAt(t,e.column)}normalizePosition(e,t){var i=this._toValidViewLineNumber(e.lineNumber),n=(i=this.prefixSumComputer.getIndexOf(i-1),i.index);i=i.remainder;return this.lines[n].normalizePosition(this.model,n+1,i,e,t)}getLineIndentColumn(e){e=this._toValidViewLineNumber(e),e=this.prefixSumComputer.getIndexOf(e-1);var t=e.index;return 0===e.remainder?this.model.getLineIndentColumn(t+1):0}}class dn{constructor(){}isVisible(){return!0}setVisible(e){return e?this:hn.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,i){return e.getLineContent(t)}getViewLineLength(e,t,i){return e.getLineLength(t)}getViewLineMinColumn(e,t,i){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,i){return e.getLineMaxColumn(t)}getViewLineData(e,t,i){let n=e.getLineTokens(t);return e=n.getLineContent(),new yt.e(e,!1,1,e.length+1,0,n.inflate(),null)}getViewLinesData(e,t,i,n,o,s,r){s[o]?r[o]=this.getViewLineData(e,t,0):r[o]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new ie.a(e,t)}getViewLineNumberOfModelPosition(e,t){return e}normalizePosition(e,t,i,n,o){return n}getInjectedTextAt(e,t){return null}}dn.INSTANCE=new dn;class hn{constructor(){}isVisible(){return!1}setVisible(e){return e?dn.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,i){throw new Error("Not supported")}getViewLineLength(e,t,i){throw new Error("Not supported")}getViewLineMinColumn(e,t,i){throw new Error("Not supported")}getViewLineMaxColumn(e,t,i){throw new Error("Not supported")}getViewLineData(e,t,i){throw new Error("Not supported")}getViewLinesData(e,t,i,n,o,s,r){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}normalizePosition(e,t,i,n,o){throw new Error("Not supported")}getInjectedTextAt(e,t){throw new Error("Not supported")}}hn.INSTANCE=new hn;class cn{constructor(e,t){this._lineBreakData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(e){return this._lineBreakData.getInputOffsetOfOutputPosition(e,0)}getInputEndOffsetOfOutputLineIndex(e,t,i){return i+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:this._lineBreakData.getInputOffsetOfOutputPosition(i+1,0)}getViewLineContent(e,t,i){if(!this._isVisible)throw new Error("Not supported");var n,o=0new pi.b(0,0,e+1,this._lineBreakData.injectionOptions[t],0)),pi.b.applyInjectedText(e.getLineContent(t),n).substring(o,s)):e.getValueInRange({startLineNumber:t,startColumn:o+1,endLineNumber:t,endColumn:s+1}),0({offset:e,text:r[t].content,tokenMetadata:nn.a.defaultTokenMetadata})));var h=0=un.length)for(let i=1;i<=e;i++)un[i]=(t=i,new Array(t+1).join(" "));var t;return un[e]}function pn(e,t){return null===e?(t?dn:hn).INSTANCE:new cn(e,t)}class mn{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}getModelLineViewLineCount(e){return 1}}class fn{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new mn(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new xi(t,i)}onModelLinesInserted(e,t,i,n){return new ki(t,i)}onModelLineChanged(e,t,i){return[!1,new Li(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesIndentGuides(e,t){var i=t-e+1;let n=new Array(i);for(let o=0;othis.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new C.e(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new fn(this.model);else{const i=this._configuration.options;e=i.get(42),t=i.get(124);var r=i.get(131),a=i.get(123);this._lines=new ln(this._editorId,this.model,n,o,e,this.model.getOptions().tabSize,t,r.wrappingColumn,a)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new zi(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new tn(this._configuration,this.getLineCount(),s)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new Ni(e)),this._eventDispatcher.emitOutgoingEvent(new Fi(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new bn(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{var t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(wt.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new Ii)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e.startLineNumber,1));e=this.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,e.lineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new wi(e)),this._eventDispatcher.emitOutgoingEvent(new Pi(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new mi)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new fi)}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new Oi)}_onConfigurationChanged(e,t){let i=null;-1!==this._viewportStartLine&&(s=new ie.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine)),i=this.coordinatesConverter.convertViewPositionToModelPosition(s));let n=!1;const o=this._configuration.options;var s=o.get(42),r=o.get(124),a=o.get(131),l=o.get(123);this._lines.setWrappingSettings(s,r,a.wrappingColumn,l)&&(e.emitViewEvent(new Ci),e.emitViewEvent(new Si),e.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(n=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(80)&&(this._decorations.reset(),e.emitViewEvent(new vi(null))),e.emitViewEvent(new _i(t)),this.viewLayout.onConfigurationChanged(t),n&&i&&(s=this.coordinatesConverter.convertModelPositionToViewPosition(i),r=this.viewLayout.getVerticalOffsetForLineNumber(s.lineNumber),this.viewLayout.setScrollPosition({scrollTop:r+this._viewportStartLineDelta},1)),oe.b.shouldRecreate(t)&&(this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{const u=this._eventDispatcher.beginEmitViewEvents();let g=!1,p=!1;var t=e.changes,i=e instanceof pi.d?e.versionId:null;const m=this._lines.createLineBreaksComputer();for(const e of t)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId),m.addRequest(n,i,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),m.addRequest(e.detail,t,null);break}}const f=m.finalize();let _=0;for(const e of t)switch(e.changeType){case 1:this._lines.onModelFlushed(),u.emitViewEvent(new Ci),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),g=!0;break;case 3:var o=this._lines.onModelLinesDeleted(i,e.fromLineNumber,e.toLineNumber);null!==o&&(u.emitViewEvent(o),this.viewLayout.onLinesDeleted(o.fromLineNumber,o.toLineNumber)),g=!0;break;case 4:var s=f.slice(_,_+e.detail.length),r=(_+=e.detail.length,this._lines.onModelLinesInserted(i,e.fromLineNumber,e.toLineNumber,s));null!==r&&(u.emitViewEvent(r),this.viewLayout.onLinesInserted(r.fromLineNumber,r.toLineNumber)),g=!0;break;case 2:var a=f[_],[l,d,h,c]=(_++,this._lines.onModelLineChanged(i,e.lineNumber,a));p=l,d&&u.emitViewEvent(d),h&&(u.emitViewEvent(h),this.viewLayout.onLinesInserted(h.fromLineNumber,h.toLineNumber)),c&&(u.emitViewEvent(c),this.viewLayout.onLinesDeleted(c.fromLineNumber,c.toLineNumber))}null!==i&&this._lines.acceptVersionId(i),this.viewLayout.onHeightMaybeChanged(),!g&&p&&(u.emitViewEvent(new Si),u.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(u),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&2<=this.model.getAttachedEditorCount()&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);e&&(t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),t=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber),this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1))}try{var u=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(u,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let o=0,s=e.ranges.length;o{this._eventDispatcher.emitSingleViewEvent(new yi),this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new Ci),e.emitViewEvent(new Si),e.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new vi(e))}))}setHiddenAreas(e){try{const t=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(e)&&(t.emitViewEvent(new Ci),t.emitViewEvent(new Si),t.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){var e=this._configuration.options.get(130),t=this._configuration.options.get(58),i=(e=Math.max(20,Math.round(e.height/t)),t=this.viewLayout.getLinesViewportData(),Math.max(1,t.completelyVisibleStartLineNumber-e));t=Math.min(this.getLineCount(),t.completelyVisibleEndLineNumber+e);return this._toModelVisibleRanges(new ne.a(i,this.getLineMinColumn(i),t,this.getLineMaxColumn(t)))}getVisibleRanges(){var e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){e=this.coordinatesConverter.convertViewRangeToModelRange(e);var t=this._lines.getHiddenAreas();if(0===t.length)return[e];let i=[],n=0,o=e.startLineNumber,s=e.startColumn;var r=e.endLineNumber;e=e.endColumn;for(let d=0,h=t.length;de.toInlineDecoration(t))]),new yt.f(s.minColumn,s.maxColumn,s.content,s.continuesWithWrappedLine,i,n,s.tokens,r,o,s.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){return e=this._lines.getViewLinesData(e,t,i),new yt.c(this.getTabSize(),e)}getAllOverviewRulerDecorations(e){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(z.m)(this._configuration.options),e)}invalidateOverviewRulerColorCache(){for(const e of this.model.getOverviewRulerDecorations()){const t=e.options.overviewRuler;t&&t.invalidateCachedColor()}}invalidateMinimapColorCache(){for(const e of this.model.getAllDecorations()){const t=e.options.minimap;t&&t.invalidateCachedColor()}}getValueInRange(e,t){return e=this.coordinatesConverter.convertViewRangeToModelRange(e),this.model.getValueInRange(e,t)}getModelLineMaxColumn(e){return this.model.getLineMaxColumn(e)}validateModelPosition(e){return this.model.validatePosition(e)}validateModelRange(e){return this.model.validateRange(e)}deduceModelPositionRelativeToViewPosition(e,t,i){return e=this.coordinatesConverter.convertViewPositionToModelPosition(e),2===this.model.getEOL().length&&(t<0?t-=i:t+=i),i=this.model.getOffsetAt(e),this.model.getPositionAt(i+t)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(e,t,i){var n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(ne.a.compareRangesUsingStarts);let o=!1,s=!1;for(const d of e)d.isEmpty()?o=!0:s=!0;if(!s){if(!t)return"";var r=e.map(e=>e.startLineNumber);let i="";for(let e=0;e]/.test(t.fontFamily)||t.fontFamily===z.c.fontFamily;let s;return s=o?z.c.fontFamily:(s=(s=t.fontFamily).replace(/"/g,"'"),/[,']/.test(s)||/[+ ]/.test(s)&&(s=`'${s}'`),s+", "+z.c.fontFamily),{mode:i.language,html:`
    `+this._getHTMLToCopy(n,e)+"
    "}}_getHTMLToCopy(e,t){var i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,s=e.endColumn,r=this.getTabSize();let a="";for(let c=i;c<=o;c++){const e=this.model.getLineTokens(c);var l=e.getLineContent(),d=c===i?n-1:0,h=c===o?s-1:l.length;a+=""===l?"
    ":Object(Gi.a)(l,e.inflate(),t,d,h,r,_.i)}return a}_getColorMap(){var e=Ct.F.getColorMap();let t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Wi):this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,o){this._executeCursorEdit(s=>this._cursor.compositionType(s,e,t,i,n,o))}paste(e,t,i,n){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealPrimaryCursor(e,t){this._withViewEventsCollector(i=>this._cursor.revealPrimary(i,e,t,0))}revealTopMostCursor(e){var t=this._cursor.getTopMostViewPosition();const i=new ne.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new Di(e,i,null,0,!0,0)))}revealBottomMostCursor(e){var t=this._cursor.getBottomMostViewPosition();const i=new ne.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new Di(e,i,null,0,!0,0)))}revealRange(e,t,i,n,o){this._withViewEventsCollector(s=>s.emitViewEvent(new Di(e,i,null,n,t,o)))}getVerticalOffsetForLineNumber(e){return this.viewLayout.getVerticalOffsetForLineNumber(e)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(e,t){this.viewLayout.setScrollPosition({scrollTop:e},t)}setScrollPosition(e,t){this.viewLayout.setScrollPosition(e,t)}deltaScrollNow(e,t){this.viewLayout.deltaScrollNow(e,t)}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new Mi),this._eventDispatcher.emitOutgoingEvent(new Bi))}setMaxLineWidth(e){this.viewLayout.setMaxLineWidth(e)}_withViewEventsCollector(e){try{e(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}t=i("9e74");var Cn=i("4fc3"),wn=(s=i("0a0f"),i("f07b")),yn=i("b0cd"),Sn=i("4779"),Ln=i("ef8e9");class xn extends i("3170").a{constructor(e,t){super(0);for(let i=0;i{o.push(e),s.push(t),r.push(i)},finalize:()=>{var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth;let l=[];for(let e=0,c=o.length;ee.options),i.map(e=>e.column-1)):(l=null,null),-1===o)return l?new yt.b([a.length],[],0,d,l):null;var h=a.length;if(h<=1)return l?new yt.b([a.length],[],0,d,l):null;t=Mn(a,n,o,s,r);var c=o-t;let u=[],g=[],p=0,m=0,f=0,_=o,b=a.charCodeAt(0),v=e.get(b),C=On(b,0,n,s),w=1;De.E(b)&&(C+=1,b=a.charCodeAt(1),v=e.get(b),w++);for(let L=w;L_&&((0===m||C-f>c)&&(m=y,f=C-i),u[p]=m,g[p]=f,p++,_=f+c,m=0),b=S,v=t}return 0!==p||i&&0!==i.length?(u[p]=h,g[p]=C,new yt.b(u,g,t,d,l)):null}(this.classifier,o[e],d,t,i,a,n):l[e]=function(e,t,i,n,o,s,r){if(-1===o)return null;var a=i.length;if(a<=1)return null;var l=t.breakOffsets,d=t.breakOffsetsVisibleColumn,h=(r=Mn(i,n,o,s,r),o-r);let c=kn,u=Dn,g=0,p=0,m=0,f=o;var _=l.length;let b=0;if(0<=b){let e=Math.abs(d[b]-f);for(;b+1<_;){var v=Math.abs(d[b+1]-f);if(v>=e)break;e=v,b++}}for(;b<_;){let t=b<0?0:l[b],o=b<0?0:d[b],r=(p>t&&(t=p,o=m),0),v=0,D=0,N=0;if(o<=f){let m=o,_=0===t?0:i.charCodeAt(t-1),b=0===t?0:e.get(_),y=!0;for(let o=t;op&&In(_,b,w,t)&&(r=C,v=m),(m+=a)>f){N=C>p?(D=C,m-a):(D=o+1,m),m-v>h&&(r=0),y=!1;break}_=w,b=t}if(y){0=p;n--){var y=n+1,S=i.charCodeAt(n);if(9===S){c=!0;break}let t,o;if(o=De.F(S)?(n--,t=0,2):(t=e.get(S),De.D(S)?s:1),a<=f){if(0===D&&(D=y,N=a),a<=f-h)break;if(In(0,t,l,d)){r=y,v=a;break}}a-=o,l=S,d=t}if(0!==r){var L=h-(N-v);if(L<=n){var x=i.charCodeAt(D);let e;e=De.E(x)?2:On(x,N,n,s),L-e<0&&(r=0)}}if(c){b--;continue}}for(0===r&&(r=D,v=N),r<=p&&(x=i.charCodeAt(p),v=De.E(x)?(r=p+2,m+2):(r=p+1,m+On(x,m,n,s))),p=r,c[g]=r,m=v,u[g]=v,g++,f=v+h;b<0||b<_&&d[b]=O)break;O=k,b++}}return 0!==g?(c.length=g,u.length=g,kn=t.breakOffsets,Dn=t.breakOffsetsVisibleColumn,t.breakOffsets=c,t.breakOffsetsVisibleColumn=u,t.wrappedTextIndentLength=r,t):null}(this.classifier,h,o[e],t,i,a,n)}return kn.length=0,Dn.length=0,l}}}}function On(e,t,i,n){return 9===e?i-t%i:De.D(e)||e<32?n:1}function En(e,t){return t-e%t}function In(e,t,i,n){return 32!==i&&(2===t||3===t&&2!==n||1===n||3===n&&1!==t)}function Mn(e,t,i,n,o){let s=0;if(0!==o){var r=De.u(e);if(-1!==r){for(let i=0;ii&&(s=0)}}return s}const Tn=null==(Fn=window.trustedTypes)?void 0:Fn.createPolicy("domLineBreaksComputer",{createHTML:e=>e});class An{static create(){return new An}constructor(){}createLineBreaksComputer(e,t,i,n){t|=0,i=+i;let o=[],s=[];return{addRequest:(e,t,i)=>{o.push(e),s.push(t)},finalize:()=>{{var r=o,a=e,l=t,d=i,h=n,c=s;function u(e){const t=c[e];var i,n;return t?(e=pi.b.applyInjectedText(r[e],t),i=t.map(e=>e.options),n=t.map(e=>e.column-1),new yt.b([e.length],[],0,n,i)):null}if(-1===d){const e=[];for(let t=0,i=r.length;tp?(i=0,n=0):o=p-f}f=t.substr(i);var _=function(e,t,i,n,o){o.appendASCIIString('
    ');var s=e.length;let r=t,a=0,l=[],d=[],h=0");for(let u=0;u"),l[u]=a,d[u]=r;var c=h;h=u+1"),l[e.length]=a,d[e.length]=r,o.appendASCIIString("
    "),[l,d]}(f,n,l,o,x);k[e]=i,D[e]=n,N[e]=f,O[e]=_[0],E[e]=_[1]}d=x.build();var b=null!=(b=null===Tn||void 0===Tn?void 0:Tn.createHTML(d))?b:d,v=(L.innerHTML=b,L.style.position="absolute",L.style.top="10000",L.style.wordWrap="break-word",document.body.appendChild(L),document.createRange()),C=Array.prototype.slice.call(L.children,0);let I=[];for(let e=0;ee.options),s.map(e=>e.column-1)):n=null,I[e]=new yt.b(t,i,w,o,n)}}return document.body.removeChild(L),I}}}}}function Rn(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}var Pn=i("d48d"),Fn=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;e.hasChanged(130)&&(e=t.get(130),this._onDidLayoutChange.fire(e))})),this._contextKeyService=this._register(a.createScoped(this._domElement)),this._notificationService=c,this._codeEditorService=s,this._commandService=r,this._themeService=l,this._register(new Hn(this,this._contextKeyService)),this._register(new zn(this,this._contextKeyService)),this._instantiationService=o.createChild(new wn.a([Cn.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new Un(e),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={};for(const h of p=Array.isArray(i.contributions)?i.contributions:n.d.getEditorContributions())if(this._contributions[h.id])Object(d.f)(new Error("Cannot have two contributions with the same id "+h.id));else try{var m=this._instantiationService.createInstance(h.ctor,this);this._contributions[h.id]=m}catch(e){Object(d.f)(e)}n.d.getEditorActions().forEach(e=>{var t;this._actions[e.id]?Object(d.f)(new Error("Cannot have two actions with the same id "+e.id)):(t=new Ki.a(e.id,e.label,e.alias,Object(Ln.o)(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService),this._actions[t.id]=t)}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(e,t){return new g.a(this.isSimpleWidget,e,this._domElement,t)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return qi.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();var e=Object.keys(this._contributions);for(let i=0,n=e.length;ine.a.lift(e)))}getVisibleColumnFromPosition(e){var t,i;return this._modelData?(t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize,oe.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1):e.column}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e){if(this._modelData){if(!ie.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(this._modelData){if(!ne.a.isIRange(e))throw new Error("Invalid arguments");e=this._modelData.model.validateRange(e),e=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(e),this._modelData.viewModel.revealRange("api",i,e,t,n)}}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!ie.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e){var t=m.a.isISelection(e),i=ne.a.isIRange(e);if(!t&&!i)throw new Error("Invalid arguments");t?this._setSelectionImpl(e):i&&(t={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn},this._setSelectionImpl(t))}_setSelectionImpl(e){this._modelData&&(e=new m.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn),this._modelData.viewModel.setSelections("api",[e]))}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!ne.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(ne.a.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,i=e.length;te.isSupported())}getAction(e){return this._actions[e]||null}trigger(e,t,i){switch(i=i||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":var n=i;return void this._type(e,n.text||"");case"replacePreviousChar":return n=i,void this._compositionType(e,n.text||"",n.replaceCharCnt||0,0,0);case"compositionType":return n=i,void this._compositionType(e,n.text||"",n.replacePrevCharCnt||0,n.replaceNextCharCnt||0,n.positionDelta||0);case"paste":return n=i,void this._paste(e,n.text||"",n.pasteOnNewLine||!1,n.multicursorText||null,n.mode||null);case"cut":return void this._cut(e)}const o=this.getAction(t);o?Promise.resolve(o.run()).then(void 0,d.f):this._modelData&&!this._triggerEditorCommand(e,t,i)&&this._triggerCommand(t,i)}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,o){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,o,e)}_paste(e,t,i,n,o){var s;this._modelData&&0!==t.length&&(s=this._modelData.viewModel.getSelection().getStartPosition(),this._modelData.viewModel.paste(t,i,n,e),t=this._modelData.viewModel.getSelection().getStartPosition(),"keyboard"===e&&this._onDidPaste.fire({range:new ne.a(s.lineNumber,s.column,t.lineNumber,t.column),mode:o}))}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){const o=n.d.getEditorCommand(t);return!!o&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(o.runEditorCommand(e,this,i)).then(void 0,d.f)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&!this._configuration.options.get(80)&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!!this._modelData&&!this._configuration.options.get(80)&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){if(!this._modelData)return!1;if(this._configuration.options.get(80))return!1;let n;return n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(z.m)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){const e=this._configuration.options;return e.get(130)}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeReferenceElement(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){var t;e=e.getId();this._contentWidgets.hasOwnProperty(e)&&(t=this._contentWidgets[e],delete this._contentWidgets[e],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(t))}addOverlayWidget(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId()),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){var t;e=e.getId();this._overlayWidgets.hasOwnProperty(e)&&(t=this._overlayWidgets[e],delete this._overlayWidgets[e],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(t))}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;t=this._modelData.model.validatePosition(t);const i=this._configuration.options;var n=i.get(130);return{top:e._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft(),height:i.get(58)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){g.a.applyFontInfoSlow(e,this._configuration.options.get(42))}_attachModel(e){if(e){const n=[],o=(this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached(),new vn(this._id,this._configuration,e,An.create(),Nn.create(this._configuration.options),e=>l.V(e))),[s,r]=(n.push(e.onDidChangeDecorations(e=>this._onDidChangeModelDecorations.fire(e))),n.push(e.onDidChangeLanguage(t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(t)})),n.push(e.onDidChangeLanguageConfiguration(e=>this._onDidChangeModelLanguageConfiguration.fire(e))),n.push(e.onDidChangeContent(e=>this._onDidChangeModelContent.fire(e))),n.push(e.onDidChangeOptions(e=>this._onDidChangeModelOptions.fire(e))),n.push(e.onWillDispose(()=>this.setModel(null))),n.push(o.onEvent(e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{e.reachedMaxCursorCount&&this._notificationService.warn(a.a("cursors.maximum","The number of cursors has been limited to {0}.",zi.MAX_CURSOR_COUNT));const i=[];for(let t=0,n=e.selections.length;t{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const i=new Ve(e.coordinatesConverter);return i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e),[new di(t,this._configuration,this._themeService,e,i,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e,t;return this._modelData?(e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null,this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),e):null}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};Wn=Fn([i(3,s.a),i(4,o.a),i(5,t.b),i(6,Cn.b),i(7,Ie.b),i(8,yn.a),i(9,Sn.b)],Wn);class Vn extends c.a{constructor(){super(),this._onDidChangeToTrue=this._register(new h.b),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new h.b),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){e=e?2:1,this._value!==e&&(this._value=e,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Hn extends c.a{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=$i.a.editorSimpleInput.bindTo(t),this._editorFocus=$i.a.focus.bindTo(t),this._textInputFocus=$i.a.textInputFocus.bindTo(t),this._editorTextFocus=$i.a.editorTextFocus.bindTo(t),this._editorTabMovesFocus=$i.a.tabMovesFocus.bindTo(t),this._editorReadonly=$i.a.readOnly.bindTo(t),this._inDiffEditor=$i.a.inDiffEditor.bindTo(t),this._editorColumnSelection=$i.a.columnSelection.bindTo(t),this._hasMultipleSelections=$i.a.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=$i.a.hasNonEmptySelection.bindTo(t),this._canUndo=$i.a.canUndo.bindTo(t),this._canRedo=$i.a.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(129)),this._editorReadonly.set(e.get(80)),this._inDiffEditor.set(e.get(53)),this._editorColumnSelection.set(e.get(17))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(1!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class zn extends c.a{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this._langId=$i.a.languageId.bindTo(t),this._hasCompletionItemProvider=$i.a.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=$i.a.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=$i.a.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=$i.a.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=$i.a.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=$i.a.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=$i.a.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=$i.a.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=$i.a.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=$i.a.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=$i.a.hasReferenceProvider.bindTo(t),this._hasRenameProvider=$i.a.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=$i.a.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=$i.a.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=$i.a.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=$i.a.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=$i.a.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=$i.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=$i.a.isInWalkThroughSnippet.bindTo(t),t=()=>this._update(),this._register(e.onDidChangeModel(t)),this._register(e.onDidChangeModelLanguage(t)),this._register(Ct.d.onDidChange(t)),this._register(Ct.a.onDidChange(t)),this._register(Ct.b.onDidChange(t)),this._register(Ct.f.onDidChange(t)),this._register(Ct.e.onDidChange(t)),this._register(Ct.q.onDidChange(t)),this._register(Ct.G.onDidChange(t)),this._register(Ct.p.onDidChange(t)),this._register(Ct.i.onDidChange(t)),this._register(Ct.m.onDidChange(t)),this._register(Ct.y.onDidChange(t)),this._register(Ct.z.onDidChange(t)),this._register(Ct.g.onDidChange(t)),this._register(Ct.j.onDidChange(t)),this._register(Ct.B.onDidChange(t)),this._register(Ct.r.onDidChange(t)),t()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(Ct.d.has(e)),this._hasCodeActionsProvider.set(Ct.a.has(e)),this._hasCodeLensProvider.set(Ct.b.has(e)),this._hasDefinitionProvider.set(Ct.f.has(e)),this._hasDeclarationProvider.set(Ct.e.has(e)),this._hasImplementationProvider.set(Ct.q.has(e)),this._hasTypeDefinitionProvider.set(Ct.G.has(e)),this._hasHoverProvider.set(Ct.p.has(e)),this._hasDocumentHighlightProvider.set(Ct.i.has(e)),this._hasDocumentSymbolProvider.set(Ct.m.has(e)),this._hasReferenceProvider.set(Ct.y.has(e)),this._hasRenameProvider.set(Ct.z.has(e)),this._hasSignatureHelpProvider.set(Ct.B.has(e)),this._hasInlayHintsProvider.set(Ct.r.has(e)),this._hasDocumentFormattingProvider.set(Ct.g.has(e)||Ct.j.has(e)),this._hasDocumentSelectionFormattingProvider.set(Ct.j.has(e)),this._hasMultipleDocumentFormattingProvider.set(1{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const Kn=encodeURIComponent("");function $n(e){return Kn+encodeURIComponent(e.toString())+qn}const Gn=encodeURIComponent('');Object(Ie.f)((e,t)=>{var i=e.getColor(St.t);i&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${i}; }`),i=e.getColor(St.u),i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.s),i&&t.addRule(`.monaco-editor .squiggly-error::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.W),i&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${i}; }`),i=e.getColor(St.X),i&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.V),i&&t.addRule(`.monaco-editor .squiggly-warning::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.L),i&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${i}; }`),i=e.getColor(St.M),i&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.K),i&&t.addRule(`.monaco-editor .squiggly-info::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.C),i&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${i}; }`),i=e.getColor(St.D),i&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${i=i,Gn+encodeURIComponent(i.toString())+Zn}") no-repeat bottom left; }`),i=e.getColor(Ee.w),i&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${i.rgba.a}; }`),i=e.getColor(Ee.v),i&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${i}; }`),i=e.getColor(St.B)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${i}}`)})},"9c3e":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o}));class n{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const o=new n("id#")},"9c41":function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),(i=n=n||{}).DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"},"9d48":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:function(){return i.e("chunk-2d0e5b34").then(i.bind(null,"9634"))}})},"9e56":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"d",(function(){return o})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return a}));class n{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+n.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new n(this.value+n.sep+e)}}function o(e,t){return!(e.include&&!e.include.intersects(t))&&(!e.excludes||!e.excludes.some(i=>r(t,i,e.include)))&&!(!e.includeSourceActions&&n.Source.contains(t))}function s(e,t){const i=t.kind?new n(t.kind):void 0;return!!(!e.include||i&&e.include.contains(i))&&!(e.excludes&&i&&e.excludes.some(t=>r(i,t,e.include)))&&!(!e.includeSourceActions&&i&&n.Source.contains(i))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)}function r(e,t,i){return!!t.contains(e)&&(!i||!t.contains(i))}n.sep=".",n.None=new n("@@none@@"),n.Empty=new n(""),n.QuickFix=new n("quickfix"),n.Refactor=new n("refactor"),n.Source=new n("source"),n.SourceOrganizeImports=n.Source.append("organizeImports"),n.SourceFixAll=n.Source.append("fixAll");class a{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return e&&"object"==typeof e?new a(a.getKindFromUser(e,t.kind),a.getApplyFromUser(e,t.apply),a.getPreferredUser(e)):new a(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new n(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}},"9e74":function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("308f"),o=i("258a"),s=i("a666"),r=i("db88"),a=i("ef8e9");t=i("0a0f");const l=Object(t.c)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new n.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(t)return this.registerCommand({id:e,handler:t});throw new Error("invalid command")}if(e.description){const t=[];for(var i of e.description.args)t.push(i.constraint);const n=e.handler;e.handler=function(e,...i){return Object(a.n)(i,t),n(e,...i)}}const n=e["id"];let o=this._commands.get(n),l=(o||(o=new r.a,this._commands.set(n,o)),o.unshift(e));return t=Object(s.i)(()=>{l();const e=this._commands.get(n);null!==e&&void 0!==e&&e.isEmpty()&&this._commands.delete(n)}),this._onDidRegisterCommand.fire(n),t}registerCommandAlias(e,t){return d.registerCommand(e,(e,...i)=>e.get(l).executeCommand(t,...i))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return o.a.first(t)}getCommands(){const e=new Map;for(const i of this._commands.keys()){var t=this.getCommand(i);t&&e.set(i,t)}return e}};d.registerCommand("noop",()=>{})},"9eb0":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return i.e("chunk-2d0d7e63").then(i.bind(null,"797b"))}})},"9eb8":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("fe45"),o=i("30db"),s=i("9e74");t=i("89cd");class r{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.a){if(e&&e.win)return e.win}else if(2===o.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){var t,i=r.bindToCurrentPlatform(e);if(i&&i.primary&&(t=Object(n.f)(i.primary,o.a))&&this._registerDefaultKeybinding(t,e.id,e.args,e.weight,0,e.when),i&&Array.isArray(i.secondary))for(let r=0,a=i.secondary.length;rt.command?1:e.weight2-t.weight2}t.a.add("platform.keybindingsRegistry",a)},"9ee1":function(e,t,i){"use strict";var n;function o(e,t){var i;return e.start>=t.end||t.start>=e.end||(i=Math.max(e.start,t.start),(e=Math.min(e.end,t.end))-i<=0)?{start:0,end:0}:{start:i,end:e}}function s(e){return e.end-e.start<=0}i.d(t,"a",(function(){return n})),(i=n=n||{}).intersect=o,i.isEmpty=s,i.intersects=function(e,t){return!s(o(e,t))},i.relativeComplement=function(e,t){const i=[];var n={start:e.start,end:Math.min(t.start,e.end)};t={start:Math.max(t.end,e.start),end:e.end};return s(n)||i.push(n),s(t)||i.push(t),i}},"9f4d":function(e,t,i){"use strict";i.r(t);var n=i("dff7"),o=i("fe45"),s=(t=i("b2cc"),i("6a89")),r=i("c101"),a=i("d3f4"),l=i("7061"),d=i("8025"),h=i("70cb");class c{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;var n=t.length;if(e.lengths?o-1:o}}}var p=i("7e32");class m extends t.b{constructor(e,t){super(t),this._type=e}run(e,t){if(t.hasModel()){const e=t.getModel(),o=[];var i=e.getOptions(),n=t.getOption(18);const r=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));r.sort((e,t)=>s.a.compareRangesUsingStarts(e.selection,t.selection));let a=r[0];for(let t=1;ti&&(t=i,o=e.model.getLineMaxColumn(t)),r.d.fromModelState(new r.f(new h.a(n.lineNumber,1,t,o),0,new d.a(t,o),0))}i=t.modelState.selectionStart.getStartPosition().lineNumber;if(n.lineNumberi){n=e.getLineCount();let i=o.lineNumber+1,s=1;return i>n&&(i=n,s=e.getLineMaxColumn(i)),r.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,s,0))}return i=t.modelState.selectionStart.getEndPosition(),r.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),i.lineNumber,i.column,0))}static word(e,t,i,n){return n=e.model.validatePosition(n),r.d.fromModelState(l.a.word(e.cursorConfig,e.model,t.modelState,i,n))}static cancelSelection(e,t){var i,n;return t.modelState.hasSelection()?(i=t.viewState.position.lineNumber,n=t.viewState.position.column,r.d.fromViewState(new r.f(new h.a(i,n,i,n),0,new d.a(i,n),0))):new r.d(t.modelState,t.viewState)}static moveTo(e,t,i,n,o){return n=e.model.validatePosition(n),o=o?e.coordinatesConverter.validateViewPosition(new d.a(o.lineNumber,o.column),n):e.coordinatesConverter.convertModelPositionToViewPosition(n),r.d.fromViewState(t.viewState.move(i,o.lineNumber,o.column,0))}static simpleMove(e,t,i,n,o,s){switch(i){case 0:return 4===s?this._moveHalfLineLeft(e,t,n):this._moveLeft(e,t,n,o);case 1:return 4===s?this._moveHalfLineRight(e,t,n):this._moveRight(e,t,n,o);case 2:return 2===s?this._moveUpByViewLines(e,t,n,o):this._moveUpByModelLines(e,t,n,o);case 3:return 2===s?this._moveDownByViewLines(e,t,n,o):this._moveDownByModelLines(e,t,n,o);case 4:return 2===s?t.map(t=>r.d.fromViewState(a.a.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n))):t.map(t=>r.d.fromModelState(a.a.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:return 2===s?t.map(t=>r.d.fromViewState(a.a.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n))):t.map(t=>r.d.fromModelState(a.a.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,o){var s=e.getCompletelyVisibleViewRange(),r=e.coordinatesConverter.convertViewRangeToModelRange(s);switch(i){case 11:var a=this._firstLineNumberInRange(e.model,r,o),l=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,t[0],n,a,l)];case 13:return a=this._lastLineNumberInRange(e.model,r,o),l=e.model.getLineFirstNonWhitespaceColumn(a),[this._moveToModelPosition(e,t[0],n,a,l)];case 12:return a=Math.round((r.startLineNumber+r.endLineNumber)/2),l=e.model.getLineFirstNonWhitespaceColumn(a),[this._moveToModelPosition(e,t[0],n,a,l)];case 14:{let i=[];for(let o=0,r=t.length;oi.endLineNumber-1?i.endLineNumber-1:o)r.d.fromViewState(a.a.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let l=0,d=t.length;lr.d.fromViewState(a.a.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let l=0,d=t.length;le.toString()).join(", ")}matchesResource(e){const t=r.a.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof d}append(e,t,i,n,o){this._data instanceof d&&this._data.append(e,t,i,n,o)}close(){this._data instanceof d&&(this._data=this._data.serialize())}open(){this._data instanceof d||(this._data=d.deserialize(this._data))}undo(){if(r.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());var e=d.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(r.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());var e=d.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof d&&(this._data=this._data.serialize()),this._data.byteLength+168}}function c(e){return"\n"===e.getEOL()?0:1}function u(e){return!!e&&(e instanceof h||!1)}class g{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);u(e)&&e.close()}popStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);u(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);return u(t)&&t.canAppend(this._model)?t:(e=new h(this._model,e),this._undoRedoService.pushElement(e),e)}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],c(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i){const n=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0);e=g._computeCursorState(i,o);const s=o.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),n.append(this._model,s.map(e=>e.textChange),c(this._model),this._model.getAlternativeVersionId(),e),e}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return Object(o.f)(e),null}}}},a0a2:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return i.e("chunk-2d0b6187").then(i.bind(null,"1c65"))}})},a106:function(e,t,i){"use strict";i.r(t),i.d(t,"getSelectionSearchString",(function(){return it})),i.d(t,"CommonFindController",(function(){return nt})),i.d(t,"FindController",(function(){return ot})),i.d(t,"StartFindAction",(function(){return st})),i.d(t,"StartFindWithSelectionAction",(function(){return rt})),i.d(t,"MatchFindAction",(function(){return at})),i.d(t,"NextMatchFindAction",(function(){return lt})),i.d(t,"PreviousMatchFindAction",(function(){return dt})),i.d(t,"SelectionMatchFindAction",(function(){return ht})),i.d(t,"NextSelectionMatchFindAction",(function(){return ct})),i.d(t,"PreviousSelectionMatchFindAction",(function(){return ut})),i.d(t,"StartFindReplaceAction",(function(){return gt}));var n=i("dff7"),o=i("5fe7"),s=i("a666"),r=i("3742"),a=(t=i("b2cc"),i("c101")),l=i("2c29"),d=i("7061"),h=i("6a89"),c=i("8025"),u=i("8c02"),g=i("3352"),p=i("b57f"),m=i("303e"),f=i("b7d0");class _{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){var e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){return e=this._decorations.indexOf(e),0<=e?e+1:1}getCurrentMatchesPosition(e){for(const i of this._editor.getModel().getDecorationsInRange(e)){var t=i.options;if(t===_._FIND_MATCH_DECORATION||t===_._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(i.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let o=0,s=this._decorations.length;o{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,_._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,_._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let o=this._editor.getModel().getDecorationRange(t);var i,n;o.startLineNumber!==o.endLineNumber&&1===o.endColumn&&(i=o.endLineNumber-1,n=this._editor.getModel().getLineMaxColumn(i),o=new h.a(o.startLineNumber,o.startColumn,i,n)),this._rangeHighlightDecorationId=e.addDecoration(o,_._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=_._FIND_MATCH_DECORATION,o=[];if(1e3=l.startLineNumber?l.endLineNumber>i&&(i=l.endLineNumber):(o.push({range:new h.a(t,1,i,1),options:_._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),t=l.startLineNumber,i=l.endLineNumber)}o.push({range:new h.a(t,1,i,1),options:_._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let d=new Array(e.length);for(let t=0,h=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),null!=t&&t.length&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,_._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let i=this._decorations.length-1;0<=i;i--){var t=this._decorations[i];t=this._editor.getModel().getDecorationRange(t);if(t&&!(t.endLineNumber>e.lineNumber)){if(t.endLineNumbere.column))return t}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let i=0,n=this._decorations.length;ie.lineNumber)return t;if(!(t.startColumnh.a.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t{s+=v([o[t]],e)+i}),s.slice(0,-1)}class y{constructor(e){this.staticValue=e,this.kind=0}}class S{constructor(e){this.pieces=e,this.kind=1}}class L{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new y(e[0].staticValue):this._state=new S(e):this._state=new y("")}static fromStaticValue(e){return new L([x.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?v(e,this._state.staticValue):this._state.staticValue;let i="";for(let s=0,r=this._state.pieces.length;s=o){e.push(t.slice(s));break}switch(n.caseOps[i]){case"U":e.push(t[s].toUpperCase());break;case"u":e.push(t[s].toUpperCase()),i++;break;case"L":e.push(t[s].toLowerCase());break;case"l":e.push(t[s].toLowerCase()),i++;break;default:e.push(t[s])}}t=e.join("")}i+=t}}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;0this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(s.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null,n=(void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber===e.endLineNumber)return e;{let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new h.a(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}})),this._findMatches(i,!1,P));this._decorations.set(n,i);const o=this._editor.getSelection();let s=this._decorations.getCurrentMatchesPosition(o);0===s&&0e.range),e=>0<=h.a.compareRangesUsingStarts(e,o)),s=0=r)break;var i=e.charCodeAt(s);switch(i){case 92:o.emitUnchanged(s-1),o.emitStatic("\\",s+1);break;case 110:o.emitUnchanged(s-1),o.emitStatic("\n",s+1);break;case 116:o.emitUnchanged(s-1),o.emitStatic("\t",s+1);break;case 117:case 85:case 108:case 76:o.emitUnchanged(s-1),o.emitStatic("",s+1),n.push(String.fromCharCode(i))}}else if(36===t){if(++s>=r)break;if(t=e.charCodeAt(s),36===t)o.emitUnchanged(s-1),o.emitStatic("$",s+1);else if(48===t||38===t)o.emitUnchanged(s-1),o.emitMatchIndex(0,s+1,n),n.length=0;else if(49<=t&&t<=57){let i=t-48;if(s+1F._getSearchRange(this._editor.getModel(),e)),this._editor.getModel().findMatches(this._state.searchString,e,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(116):null,t,i)}replaceAll(){var e;this._hasMatches()&&(null===(e=this._decorations.getFindScopes())&&this._state.matchesCount>=P?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1))}_largeReplaceAll(){const e=new u.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(116):null);var t=e.parseSearchRequest();if(t){let e=t.regex;if(!e.multiline){let t="mu";e.ignoreCase&&(t+="i"),e.global&&(t+="g"),e=new RegExp(e.source,t)}const i=this._editor.getModel(),n=i.getValue(1);t=i.getFullModelRange();const o=this._getReplacePattern();let s;const r=this._state.preserveCase;s=o.hasReplacementPatterns||r?n.replace(e,(function(){return o.buildReplaceString(arguments,r)})):n.replace(e,o.buildReplaceString(null,r)),t=new l.b(t,s,this._editor.getSelection()),this._executeEditorCommand("replaceAll",t)}}_regularReplaceAll(e){const t=this._getReplacePattern();let i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let o=0,s=i.length;oe.range),n),this._executeEditorCommand("replaceAll",e)}selectAllMatches(){if(this._hasMatches()){var e=this._decorations.getFindScopes();let t=this._findMatches(e,!1,1073741824),i=t.map(e=>new c.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,o=i.length;e{this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,e=>{10===e.keyCode||3===e.keyCode?(this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault()):this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}const K=n.a("caseDescription","Match Case"),q=n.a("wordsDescription","Match Whole Word"),$=n.a("regexDescription","Use Regular Expression");class G extends U{constructor(e){super({icon:W.b.caseSensitive,title:K+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Z extends U{constructor(e){super({icon:W.b.wholeWord,title:q+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Y extends U{constructor(e){super({icon:W.b.regex,title:$+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class X extends j.a{constructor(e,t,i,n){super(),this._hideSoon=this._register(new o.e(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),e=n.getColorTheme().getColor(m.hb),t=n.getColorTheme().getColor(m.ib),i=n.getColorTheme().getColor(m.gb),this.caseSensitive=this._register(new G({appendTitle:this._keybindingLabelFor(R.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new Z({appendTitle:this._keybindingLabelFor(R.ToggleWholeWordCommand),isChecked:this._state.wholeWord,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Y({appendTitle:this._keybindingLabelFor(R.ToggleRegexCommand),isChecked:this._state.isRegex,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(B.j(this._domNode,e=>this._onMouseOut())),this._register(B.i(this._domNode,"mouseover",e=>this._onMouseOver())),this._applyTheme(n.getColorTheme()),this._register(n.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return X.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){e={inputActiveOptionBorder:e.getColor(m.hb),inputActiveOptionForeground:e.getColor(m.ib),inputActiveOptionBackground:e.getColor(m.gb)},this.caseSensitive.style(e),this.wholeWords.style(e),this.regex.style(e)}}function Q(e,t){return 1===e||2!==e&&t}X.ID="editor.contrib.findOptionsWidget",Object(f.f)((e,t)=>{var i=e.getColor(m.Y);i&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${i}; }`),i=e.getColor(m.ab),i&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${i}; }`),i=e.getColor(m.Nc),i&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${i}; }`),i=e.getColor(m.h);i&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${i}; }`)});class J extends s.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new H.b),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Q(this._isRegexOverride,this._isRegex)}get wholeWord(){return Q(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Q(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Q(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},o=!1;this._matchesPosition!==(e=t<(e=0===t?0:e)?t:e)&&(this._matchesPosition=e,n.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,o=!0),void 0===i||h.a.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,o=!0),o&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},s=!1;t=this.isRegex,i=this.wholeWord;var r=this.matchCase,a=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,s=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,s=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,s=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,s=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||null!=(n=e.searchScope)&&n.every(e=>{var t;return null==(t=this._searchScope)?void 0:t.some(t=>!h.a.equalsRange(t,e))})||(this._searchScope=e.searchScope,o.searchScope=!0,s=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,s=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,t!==this.isRegex&&(s=!0,o.isRegex=!0),i!==this.wholeWord&&(s=!0,o.wholeWord=!0),r!==this.matchCase&&(s=!0,o.matchCase=!0),a!==this.preserveCase&&(s=!0,o.preserveCase=!0),s&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=P}}i("01b0");var ee=i("3813"),te=i("70c3"),ie=i("fdcc"),ne=i("30db"),oe=i("d3ef");i("caa1");const se=n.a("defaultLabel","input");class re extends j.a{constructor(e,t,i,n){super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this._onDidOptionChange=this._register(new H.b),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new H.b),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new H.b),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new H.b),this._onKeyUp=this._register(new H.b),this._onCaseSensitiveKeyDown=this._register(new H.b),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new H.b),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=n.placeholder||"",this.validation=n.validation,this.label=n.label||se,this.inputActiveOptionBorder=n.inputActiveOptionBorder,this.inputActiveOptionForeground=n.inputActiveOptionForeground,this.inputActiveOptionBackground=n.inputActiveOptionBackground,this.inputBackground=n.inputBackground,this.inputForeground=n.inputForeground,this.inputBorder=n.inputBorder,this.inputValidationInfoBorder=n.inputValidationInfoBorder,this.inputValidationInfoBackground=n.inputValidationInfoBackground,this.inputValidationInfoForeground=n.inputValidationInfoForeground,this.inputValidationWarningBorder=n.inputValidationWarningBorder,this.inputValidationWarningBackground=n.inputValidationWarningBackground,this.inputValidationWarningForeground=n.inputValidationWarningForeground,this.inputValidationErrorBorder=n.inputValidationErrorBorder,this.inputValidationErrorBackground=n.inputValidationErrorBackground,this.inputValidationErrorForeground=n.inputValidationErrorForeground;i=n.appendCaseSensitiveLabel||"",t=n.appendWholeWordsLabel||"";var o=n.appendRegexLabel||"",s=n.history||[],r=!!n.flexibleHeight,a=!!n.flexibleWidth;n=n.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new oe.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:s,flexibleHeight:r,flexibleWidth:a,flexibleMaxHeight:n})),this.regex=this._register(new Y({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new Z({appendTitle:t,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new G({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let l=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode],d=(this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){var t=l.indexOf(document.activeElement);if(0<=t){let i=-1;e.equals(17)?i=(t+1)%l.length:e.equals(15)&&(i=0===t?l.length-1:t-1),e.equals(9)?(l[t].blur(),this.inputBox.focus()):0<=i&&l[i].focus(),B.c.stop(e,!0)}}}),document.createElement("div"));d.className="controls",d.style.display=this._showOptionButtons?"block":"none",d.appendChild(this.caseSensitive.domNode),d.appendChild(this.wholeWords.domNode),d.appendChild(this.regex.domNode),this.domNode.appendChild(d),e&&e.appendChild(this.domNode),this._register(B.i(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(B.i(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e;this.domNode&&(e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground},this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e),e={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder},this.inputBox.style(e))}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}const ae=n.a("defaultLabel","input"),le=n.a("label.preserveCaseCheckbox","Preserve Case");class de extends U{constructor(e){super({icon:W.b.preserveCase,title:le+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class he extends j.a{constructor(e,t,i,n){super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new H.b),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new H.b),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new H.b),this._onInput=this._register(new H.b),this._onKeyUp=this._register(new H.b),this._onPreserveCaseKeyDown=this._register(new H.b),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=n.placeholder||"",this.validation=n.validation,this.label=n.label||ae,this.inputActiveOptionBorder=n.inputActiveOptionBorder,this.inputActiveOptionForeground=n.inputActiveOptionForeground,this.inputActiveOptionBackground=n.inputActiveOptionBackground,this.inputBackground=n.inputBackground,this.inputForeground=n.inputForeground,this.inputBorder=n.inputBorder,this.inputValidationInfoBorder=n.inputValidationInfoBorder,this.inputValidationInfoBackground=n.inputValidationInfoBackground,this.inputValidationInfoForeground=n.inputValidationInfoForeground,this.inputValidationWarningBorder=n.inputValidationWarningBorder,this.inputValidationWarningBackground=n.inputValidationWarningBackground,this.inputValidationWarningForeground=n.inputValidationWarningForeground,this.inputValidationErrorBorder=n.inputValidationErrorBorder,this.inputValidationErrorBackground=n.inputValidationErrorBackground,this.inputValidationErrorForeground=n.inputValidationErrorForeground;i=n.appendPreserveCaseLabel||"",t=n.history||[];var o=!!n.flexibleHeight,s=!!n.flexibleWidth;n=n.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new oe.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:t,flexibleHeight:o,flexibleWidth:s,flexibleMaxHeight:n})),this.preserveCase=this._register(new de({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let r=[this.preserveCase.domNode],a=(this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){var t=r.indexOf(document.activeElement);if(0<=t){let i=-1;e.equals(17)?i=(t+1)%r.length:e.equals(15)&&(i=0===t?r.length-1:t-1),e.equals(9)?(r[t].blur(),this.inputBox.focus()):0<=i&&r[i].focus(),B.c.stop(e,!0)}}}),document.createElement("div"));a.className="controls",a.style.display=this._showOptionButtons?"block":"none",a.appendChild(this.preserveCase.domNode),this.domNode.appendChild(a),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e;this.domNode&&(e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground},this.preserveCase.style(e),e={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder},this.inputBox.style(e))}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}V=i("9eb8");var ce=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{if(e=fe(e.get(D.b),ge),e){const t=e.historyNavigator;t.showPreviousValue()}}}),V.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:D.a.and(D.a.has(ge),D.a.equals(pe,!0)),primary:18,secondary:[530],handler:e=>{if(e=fe(e.get(D.b),ge),e){const t=e.historyNavigator;t.showNextValue()}}});var Ce=i("bf5b"),we=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};const ye=Object(Ce.b)("find-selection",W.b.selection,n.a("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),Se=Object(Ce.b)("find-collapsed",W.b.chevronRight,n.a("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),Le=Object(Ce.b)("find-expanded",W.b.chevronDown,n.a("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),xe=Object(Ce.b)("find-replace",W.b.replace,n.a("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),ke=Object(Ce.b)("find-replace-all",W.b.replaceAll,n.a("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),De=Object(Ce.b)("find-previous-match",W.b.arrowUp,n.a("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),Ne=Object(Ce.b)("find-next-match",W.b.arrowDown,n.a("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),Oe=n.a("label.find","Find"),Ee=n.a("placeholder.find","Find"),Ie=n.a("label.previousMatchButton","Previous Match"),Me=n.a("label.nextMatchButton","Next Match"),Te=n.a("label.toggleSelectionFind","Find in Selection"),Ae=n.a("label.closeButton","Close"),Re=n.a("label.replace","Replace"),Pe=n.a("placeholder.replace","Replace"),Fe=n.a("label.replaceButton","Replace"),Be=n.a("label.replaceAllButton","Replace All"),je=n.a("label.toggleReplaceButton","Toggle Replace"),We=n.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",P),Ve=n.a("label.matchesLocation","{0} of {1}"),He=n.a("label.noResults","No results");let ze=69;const Ue="ctrlEnterReplaceAll.windows.donotask",Ke=ne.f?256:2048;class qe{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function $e(e,t,i){t=!!t.match(/\n/),i&&t&&0this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{e.hasChanged(80)&&(this._codeEditor.getOption(80)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(130)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(34)&&((e=this._codeEditor.getOption(34).addExtraSpaceOnTop)&&!this._viewZone&&(this._viewZone=new qe(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone())})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>we(this,void 0,void 0,(function*(){var e;this._isVisible&&(e=yield this._controller.getGlobalBufferTerm())&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())})))),this._findInputFocused=E.bindTo(a),this._findFocusTracker=this._register(B.Y(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=I.bindTo(a),this._replaceFocusTracker=this._register(B.Y(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(34).addExtraSpaceOnTop&&(this._viewZone=new qe(0)),this._applyTheme(l.getColorTheme()),this._register(l.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Ze.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}var t;e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(80)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=B.I(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),(e.searchString||e.matchesCount||e.matchesPosition)&&(t=0=P?this._matchesCount.title=We:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),0=P&&(t+="+"),String(this._state.matchesPosition));"0"===i&&(i="?"),e=r.v(Ve,i,t)}else e=He;this._matchesCount.appendChild(document.createTextNode(e)),Object(ee.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),ze=Math.max(ze,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===He)return""===i?n.a("ariaSearchNoResultEmpty","{0} found",e):n.a("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){var o=n.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn);const s=this._codeEditor.getModel();return s&&t.startLineNumber<=s.getLineCount()&&1<=t.startLineNumber?s.getLineContent(t.startLineNumber)+", "+o:o}return n.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){var e=this._codeEditor.getSelection(),t=(e=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),this._toggleSelectionFind.checked);this._isVisible&&(t||e)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=0{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const o=this._codeEditor.getSelection();switch(this._codeEditor.getOption(34).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var e=!!o&&o.startLineNumber!==o.endLineNumber;this._toggleSelectionFind.checked=e}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let s=!0;var t,i,n;this._codeEditor.getOption(34).seedSearchStringFromSelection&&o&&(t=this._codeEditor.getDomNode())&&(t=B.D(t),i=this._codeEditor.getScrolledVisiblePosition(o.getStartPosition()),n=t.left+(i?i.left:0),i=i?i.top:0,this._viewZone&&io.startLineNumber&&(s=!1),(i=B.G(this._domNode).left){clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(this._codeEditor.getOption(34).addExtraSpaceOnTop){if(this._isVisible){const t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones(i=>{t.heightInPx=this._getHeight(),this._viewZoneId=i.addZone(t),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+t.heightInPx)})}}else this._removeViewZone()}_showViewZone(e=!0){if(this._isVisible&&this._codeEditor.getOption(34).addExtraSpaceOnTop){void 0===this._viewZone&&(this._viewZone=new qe(0));const t=this._viewZone;this._codeEditor.changeViewZones(i=>{var n,o;void 0!==this._viewZoneId?(o=this._getHeight())!==t.heightInPx&&(n=o-t.heightInPx,t.heightInPx=o,i.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)):(o=this._getHeight(),(o-=this._codeEditor.getOption(74).top)<=0||(t.heightInPx=o,this._viewZoneId=i.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o)))})}}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){e={inputActiveOptionBorder:e.getColor(m.hb),inputActiveOptionBackground:e.getColor(m.gb),inputActiveOptionForeground:e.getColor(m.ib),inputBackground:e.getColor(m.jb),inputForeground:e.getColor(m.lb),inputBorder:e.getColor(m.kb),inputValidationInfoBackground:e.getColor(m.pb),inputValidationInfoForeground:e.getColor(m.rb),inputValidationInfoBorder:e.getColor(m.qb),inputValidationWarningBackground:e.getColor(m.sb),inputValidationWarningForeground:e.getColor(m.ub),inputValidationWarningBorder:e.getColor(m.tb),inputValidationErrorBackground:e.getColor(m.mb),inputValidationErrorForeground:e.getColor(m.ob),inputValidationErrorBorder:e.getColor(m.nb)},this._findInput.style(e),this._replaceInput.style(e),this._toggleSelectionFind.style(e)}_tryUpdateWidgetWidth(){if(this._isVisible&&B.N(this._domNode)){var e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)this._domNode.classList.add("hiddenEditor");else{this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");var t=e.width;e=e.minimap.minimapWidth;let i=!1,n=!1,o=!1;if(this._resized&&419=t&&(o=!0),447+e-ze>=t+50&&(i=!0),this._domNode.classList.toggle("collapsed-find-widget",i),this._domNode.classList.toggle("narrow-find-widget",o),this._domNode.classList.toggle("reduced-find-widget",n),o||i||(this._domNode.style.maxWidth=t-28-e-15+"px"),this._resized?(this._findInput.inputBox.layout(),0<(t=this._findInput.inputBox.element.clientWidth)&&(this._replaceInput.width=t)):this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode))}}}_getHeight(){let e=0;return e=(e+=4)+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e=(e+=4)+(this._replaceInput.inputBox.height+2)),e+4}_tryUpdateHeight(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||h.a.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|Ke))this._findInput.inputBox.insertAtCursor("\n");else if(e.equals(2))this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive();else{if(!e.equals(2066))return e.equals(16)?$e(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Ge(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0;this._codeEditor.focus()}e.preventDefault()}_onReplaceInputKeyDown(e){if(e.equals(3|Ke))ne.i&&ne.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(n.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(Ue,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n");else if(e.equals(2))this._findInput.focusOnCaseSensitive();else if(e.equals(1026))this._findInput.focus();else{if(!e.equals(2066))return e.equals(16)?$e(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Ge(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0;this._codeEditor.focus()}e.preventDefault()}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new be(null,this._contextViewProvider,{width:221,label:Oe,placeholder:Ee,appendCaseSensitiveLabel:this._keybindingLabelFor(R.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(R.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(R.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),ne.d&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Ye({label:Ie+this._keybindingLabelFor(R.PreviousMatchFindAction),icon:De,onTrigger:()=>{this._codeEditor.getAction(R.PreviousMatchFindAction).run().then(void 0,ie.f)}})),this._nextBtn=this._register(new Ye({label:Me+this._keybindingLabelFor(R.NextMatchFindAction),icon:Ne,onTrigger:()=>{this._codeEditor.getAction(R.NextMatchFindAction).run().then(void 0,ie.f)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);const t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new U({icon:ye,title:Te+this._keybindingLabelFor(R.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map(e=>(e=1===e.endColumn&&e.endLineNumber>e.startLineNumber?e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)):e).isEmpty()?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Ye({label:Ae+this._keybindingLabelFor(R.CloseFindWidgetCommand),icon:Ce.c,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&((this._replaceBtn.isEnabled()?this._replaceBtn:this._codeEditor).focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ve(null,void 0,{label:Re,placeholder:Pe,appendPreserveCaseLabel:this._keybindingLabelFor(R.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())})),this._replaceBtn=this._register(new Ye({label:Fe+this._keybindingLabelFor(R.ReplaceOneAction),icon:xe,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Ye({label:Be+this._keybindingLabelFor(R.ReplaceAllAction),icon:ke,onTrigger:()=>{this._controller.replaceAll()}}));let i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);const n=document.createElement("div");n.className="replace-actions",i.appendChild(n),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Ye({label:je,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(i),this._resizeSash=new te.b(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let o=419;this._register(this._resizeSash.onDidStart(()=>{o=B.I(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0,e=o+e.startX-e.currentX,e<419||(parseFloat(B.A(this._domNode).maxWidth)||0){var e=B.I(this._domNode);if(!(e<419)){let t=419;this._resized&&419!==e||(e=this._codeEditor.getLayoutInfo(),t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0),this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode)),this._findInput.inputBox.layout()}}))}updateAccessibilitySupport(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Ze.ID="editor.contrib.findWidget";class Ye extends j.a{constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+f.d.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{e.equals(10)||e.equals(3)?(this._opts.onTrigger(),e.preventDefault()):this._opts.onKeyDown&&this._opts.onKeyDown(e)})}get domNode(){return this._domNode}isEnabled(){return 0<=this._domNode.tabIndex}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...f.d.asClassNameArray(Se)),this._domNode.classList.add(...f.d.asClassNameArray(Le))):(this._domNode.classList.remove(...f.d.asClassNameArray(Le)),this._domNode.classList.add(...f.d.asClassNameArray(Se)))}}Object(f.f)((e,t)=>{var i=(e,i)=>{i&&t.addRule(`.monaco-editor ${e} { background-color: ${i}; }`)},n=(i(".findMatch",e.getColor(m.x)),i(".currentFindMatch",e.getColor(m.v)),i(".findScope",e.getColor(m.z)),e.getColor(m.Y));i(".find-widget",n),i=e.getColor(m.Nc),i&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${i}; }`),n=e.getColor(m.y),n&&t.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===e.type?"dotted":"solid"} ${n}; box-sizing: border-box; }`),i=e.getColor(m.w),i&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${i}; padding: 1px; box-sizing: border-box; }`),n=e.getColor(m.A),n&&t.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; }`),i=e.getColor(m.h),i&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${i}; }`),n=e.getColor(m.ab),n&&t.addRule(`.monaco-editor .find-widget { color: ${n}; }`),i=e.getColor(m.cb),i&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${i}; }`),n=e.getColor(m.bb),n?t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${n}; }`):(i=e.getColor(m.Z))&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${i}; }`),n=e.getColor(m.Kc),n&&t.addRule(`\n\t\t.monaco-editor .find-widget .button:not(.disabled):hover,\n\t\t.monaco-editor .find-widget .codicon-find-selection:hover {\n\t\t\tbackground-color: ${n} !important;\n\t\t}\n\t`),i=e.getColor(m.db);i&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${i}; }`)});ce=i("7e32"),ue=i("f577"),V=i("533b"),j=i("6dec");var Xe=i("03e8"),Qe=(i=i("b0cd"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{var e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(34).loop})}))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!E.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(e=>(e=1===e.endColumn&&e.endLineNumber>e.startLineNumber?e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1)):e).isEmpty()?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.t(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=0){}_start(e){return et(this,void 0,void 0,(function*(){if(this.disposeModel(),this._editor.hasModel()){let i={isRevealed:!0};if("single"===e.seedSearchStringFromSelection?(t=it(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection))&&(this._state.isRegex?i.searchString=r.t(t):i.searchString=t):"multiple"!==e.seedSearchStringFromSelection||e.updateSearchScope||(t=it(this._editor,e.seedSearchStringFromSelection))&&(i.searchString=t),!i.searchString&&e.seedSearchStringFromGlobalClipboard){var t=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;t&&(i.searchString=t)}if(e.forceRevealReplace?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new F(this._editor,this._state))}}))}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return et(this,void 0,void 0,(function*(){return this._editor.getOption(34).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(34).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}},ot=(nt.ID="editor.contrib.findController",class extends(nt=Qe([Je(1,D.b),Je(2,Xe.a),Je(3,ue.a)],nt)){constructor(e,t,i,n,o,s,r,a){super(e,i,r,a),this._contextViewService=t,this._keybindingService=n,this._themeService=o,this._notificationService=s,this._widget=null,this._findOptionsWidget=null}_start(e){const t=Object.create(null,{_start:{get:()=>super._start}});return et(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();var i=this._editor.getSelection();let n=!1;switch(this._editor.getOption(34).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":var o=!!i&&i.startLineNumber!==i.endLineNumber;n=o}e.updateSearchScope=n,yield t._start.call(this,e),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),(this._state.isRevealed&&!e?this._widget:this._findOptionsWidget).highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Ze(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new X(this._editor,this._state,this._keybindingService,this._themeService))}});ot=Qe([Je(1,V.b),Je(2,D.b),Je(3,j.a),Je(4,f.b),Je(5,i.a),Je(6,Xe.a),Je(7,ue.a)],ot);const st=Object(t.p)(new t.f({id:R.StartFindAction,label:n.a("startFindAction","Find"),alias:"Find",precondition:D.a.or(a.a.focus,D.a.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:ce.b.MenubarEditMenu,group:"3_find",title:n.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));st.addImplementation(0,(e,t,i)=>{const n=nt.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(34).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop})});class rt extends t.b{constructor(){super({id:R.StartFindWithSelection,label:n.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class at extends t.b{run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),this._run(e))}))}}class lt extends at{constructor(){super({id:R.NextMatchFindAction,label:n.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:a.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:D.a.and(a.a.focus,E),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class dt extends at{constructor(){super({id:R.PreviousMatchFindAction,label:n.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:a.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:D.a.and(a.a.focus,E),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class ht extends t.b{run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);if(e){var i="selection"===t.getOption(34).seedSearchStringFromSelection;let n=null;(n="never"!==t.getOption(34).seedSearchStringFromSelection?it(t,"single",i):n)&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),this._run(e))}}))}}class ct extends ht{constructor(){super({id:R.NextSelectionMatchFindAction,label:n.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:a.a.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class ut extends ht{constructor(){super({id:R.PreviousSelectionMatchFindAction,label:n.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:a.a.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const gt=Object(t.p)(new t.f({id:R.StartFindReplaceAction,label:n.a("startReplace","Replace"),alias:"Replace",precondition:D.a.or(a.a.focus,D.a.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:ce.b.MenubarEditMenu,group:"3_find",title:n.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})),pt=(gt.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(80))return!1;const n=nt.get(t);if(!n)return!1;const o=t.getSelection();var s=n.isFindInputFocused(),r=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(34).seedSearchStringFromSelection&&!s;s=s||r?2:1;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(34).seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop})}),Object(t.l)(nt.ID,ot),Object(t.j)(rt),Object(t.j)(lt),Object(t.j)(dt),Object(t.j)(ct),Object(t.j)(ut),t.c.bindToContribution(nt.get));Object(t.k)(new pt({id:R.CloseFindWidgetCommand,precondition:O,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,D.a.not("isComposing")),primary:9,secondary:[1033]}})),Object(t.k)(new pt({id:R.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:g.primary,mac:g.mac,win:g.win,linux:g.linux}})),Object(t.k)(new pt({id:R.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:p.primary,mac:p.mac,win:p.win,linux:p.linux}})),Object(t.k)(new pt({id:R.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:M.primary,mac:M.mac,win:M.win,linux:M.linux}})),Object(t.k)(new pt({id:R.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(t.k)(new pt({id:R.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(t.k)(new pt({id:R.ReplaceOneAction,precondition:O,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:3094}})),Object(t.k)(new pt({id:R.ReplaceOneAction,precondition:O,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,I),primary:3}})),Object(t.k)(new pt({id:R.ReplaceAllAction,precondition:O,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:2563}})),Object(t.k)(new pt({id:R.ReplaceAllAction,precondition:O,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,I),primary:void 0,mac:{primary:2051}}})),Object(t.k)(new pt({id:R.SelectAllMatchesAction,precondition:O,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:515}}))},a222:function(e,t,i){"use strict";i.r(t),i.d(t,"IPadShowKeyboard",(function(){return r})),i("722f");var n=i("11f7"),o=(t=i("a666"),i("b2cc")),s=i("30db");class r extends t.a{constructor(e){super(),this.editor=e,this.widget=null,s.c&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){var e=!this.editor.getOption(80);!this.widget&&e?this.widget=new a(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}r.ID="editor.contrib.iPadShowKeyboard";class a extends t.a{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(n.i(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(n.i(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return a.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}a.ID="editor.contrib.ShowKeyboardWidget",Object(o.l)(r.ID,r)},a37f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n extends i("a666").a{constructor(e,t,i){super(),this.referenceDomElement=e,this.changeCallback=i,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!=typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this.referenceDomElement&&(i=this.referenceDomElement.clientWidth,n=this.referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),this.width===i&&this.height===n||(this.width=i,this.height=n,e&&this.changeCallback())}}},a40b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("editorWorkerService")},a48d:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return i.e("chunk-746e09c3").then(i.bind(null,"2a95d"))}})},a60f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return l}));var n,o,s=i("11f7"),r=i("e8e3"),a=(t=i("6424"),i("a666"));i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.onTouchStart(e),{passive:!1})),this._register(s.i(document,"touchend",e=>this.onTouchEnd(e))),this._register(s.i(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.targets.push(e),{dispose:()=>{l.INSTANCE.targets=l.INSTANCE.targets.filter(t=>t!==e)}}):a.a.None}static ignoreTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.ignoreTargets.push(e),{dispose:()=>{l.INSTANCE.ignoreTargets=l.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):a.a.None}static isTouchDevice(){return"ontouchstart"in window||0=l.HOLD_DELAY&&Math.abs(e.initialPageX-r.t(e.rollingPageX))<30&&Math.abs(e.initialPageY-r.t(e.rollingPageY))<30){let t=this.newGestureEvent(n.Contextmenu,e.initialTarget);t.pageX=r.t(e.rollingPageX),t.pageY=r.t(e.rollingPageY),this.dispatchEvent(t)}else 1===i&&(o=r.t(e.rollingPageX),s=r.t(e.rollingPageY),a=r.t(e.rollingTimestamps)-e.rollingTimestamps[0],d=o-e.rollingPageX[0],h=s-e.rollingPageY[0],c=this.targets.filter(t=>e.initialTarget instanceof Node&&t.contains(e.initialTarget)),this.inertia(c,t,Math.abs(d)/a,0l.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else e.type!==n.Change&&e.type!==n.Contextmenu||(this._lastSetTapCountTime=0);for(let i=0;i{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,i,o,r,a,d,h){this.handle=s.V(()=>{var s=Date.now();let c=s-t,u=0,g=0,p=!0,m=(i+=l.SCROLL_FRICTION*c,a+=l.SCROLL_FRICTION*c,0e.dispatchEvent(m)),p||this.inertia(e,s,i,o,r+u,a,d,h+g)})}onTouchMove(e){var t=Date.now();for(let o=0,s=e.changedTouches.length;ou(e)),i=e,n=t;if(s)for(const o of i)s.setParent(o,n);return t}function p(e){const t=r({dispose:Object(n.a)(()=>{a(t),e()})});return t}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,r(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(e){if(e===this)throw new Error("Cannot register a disposable on itself!");l(e,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING:this._toDispose.add(e)}return e}}m.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new m,r(this),l(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class _{constructor(){this._isDisposed=!1,r(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null!=(t=this._value)&&t.dispose(),e&&l(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,a(this),null!=(e=this._value)&&e.dispose(),this._value=void 0}clearAndLeak(){var e=this._value;return this._value=void 0,e&&l(e,null),e}}class b{constructor(e){this.object=e}dispose(){}}},a6d7:function(e,t,i){"use strict";i.d(t,"d",(function(){return o})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"e",(function(){return l})),i.d(t,"c",(function(){return h}));var n=i("303e");function o(e,t){const i=Object.create(null);for(var o in t){var s=t[o];s&&(i[o]=Object(n.xc)(s,e))}return i}function s(e,t,i){function n(){var n=o(e.getColorTheme(),t);"function"==typeof i?i(n):i.style(n)}return n(),e.onDidColorThemeChange(n)}function r(e,t,i){return s(t,{badgeBackground:(null==i?void 0:i.badgeBackground)||n.c,badgeForeground:(null==i?void 0:i.badgeForeground)||n.d,badgeBorder:n.h},e)}function a(e,t,i){return s(t,Object.assign(Object.assign({},l),i||{}),e)}const l={listFocusBackground:n.Gb,listFocusForeground:n.Hb,listFocusOutline:n.Jb,listActiveSelectionBackground:n.zb,listActiveSelectionForeground:n.Ab,listActiveSelectionIconForeground:n.Bb,listFocusAndSelectionBackground:n.zb,listFocusAndSelectionForeground:n.Ab,listInactiveSelectionBackground:n.Pb,listInactiveSelectionIconForeground:n.Rb,listInactiveSelectionForeground:n.Qb,listInactiveFocusBackground:n.Nb,listInactiveFocusOutline:n.Ob,listHoverBackground:n.Lb,listHoverForeground:n.Mb,listDropBackground:n.Cb,listSelectionOutline:n.b,listHoverOutline:n.b,listFilterWidgetBackground:n.Db,listFilterWidgetOutline:n.Fb,listFilterWidgetNoMatchesOutline:n.Eb,listMatchesShadow:n.Nc,treeIndentGuidesStroke:n.Mc,tableColumnsBorder:n.Gc},d={shadowColor:n.Nc,borderColor:n.Tb,foregroundColor:n.Ub,backgroundColor:n.Sb,selectionForegroundColor:n.Xb,selectionBackgroundColor:n.Vb,selectionBorderColor:n.Wb,separatorColor:n.Yb};function h(e,t,i){return s(t,Object.assign(Object.assign({},d),i),e)}},a6ea:function(e,t,i){},a771:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return i.e("chunk-2d237ee7").then(i.bind(null,"fce9"))}})},a79b:function(e,t,i){"use strict";i.r(t),i.d(t,"jsonDefaults",(function(){return s})),i("33f9");var n=i("0ab8");function o(e,t,i){this._onDidChange=new n.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}Object.defineProperty(o.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),o.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},o.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)};var s=new o("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});n.languages.json={jsonDefaults:s},n.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),n.languages.onLanguage("json",(function(){i.e("chunk-e13e4362").then(i.bind(null,"47b9")).then((function(e){return e.setupMode(s)}))}))},a8d0:function(e,t,i){"use strict";i.d(t,"h",(function(){return r})),i.d(t,"b",(function(){return l})),i.d(t,"c",(function(){return d})),i.d(t,"e",(function(){return h})),i.d(t,"f",(function(){return c})),i.d(t,"a",(function(){return u})),i.d(t,"d",(function(){return g})),i.d(t,"g",(function(){return p}));var n=i("3742"),o=i("7061"),s=i("6a89");class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class a{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return this.outputLineIndex+":"+this.outputOffset}toPosition(e,t){return t=0this.injectionOffsets[n];n++)i{e[i]&&"object"==typeof e[i]?t[i]=o(e[i]):t[i]=e[i]}),t}function s(e){if(e&&"object"==typeof e){const i=[e];for(;0{o in e?i&&(Object(n.j)(e[o])&&Object(n.j)(t[o])?l(e[o],t[o],i):e[o]=t[o]):e[o]=t[o]}),e):t}function d(e,t){if(e!==t){if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let i,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;ithis._triggerAsyncComputation(),0),this._secondWaitScheduler=new g.e(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new g.e(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=i,this._progressCallback=n}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(g.h)(e=>this._computer.computeAsync(e)),this._asyncComputationPromise.then(e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)},e=>this._onError(e))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):Object(p.f)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}var f=i("e8e3"),_=i("1b7d"),b=i("1898");i("bc02");const v=d.a;class C extends s.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new b.a(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class w extends s.a{constructor(e,t,i){super(),this.actionContainer=d.q(e,v("div.action-container")),this.action=d.q(this.actionContainer,v("a.action")),this.action.setAttribute("href","#"),this.action.setAttribute("role","button"),t.iconClass&&d.q(this.action,v("span.icon."+t.iconClass));const n=d.q(this.action,v("span"));n.textContent=i?t.label+` (${i})`:t.label,this._register(d.i(this.actionContainer,d.d.CLICK,e=>{e.stopPropagation(),e.preventDefault(),t.run(this.actionContainer)})),this.setEnabled(!0)}static render(e,t,i){return new w(e,t,i)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}var y=i("b400"),S=i("82c9"),L=i("efdb"),x=i("5bd7"),k=i("958f"),D=i("8495"),N=i("0b54"),O=i("9e56"),E=i("b539"),I=i("b7d0"),M=i("303e"),T=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=e.range.endColumn}}const F={type:1,filter:{include:O.b.QuickFix}};let B=class{constructor(e,t,i,n){this._editor=e,this._hover=t,this._markerDecorationsService=i,this._openerService=n,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];const i=this._editor.getModel();var n=e.range.startLineNumber,o=i.getLineMaxColumn(n);const s=[];for(const h of t){var a=h.range.startLineNumber===n?h.range.startColumn:1,l=h.range.endLineNumber===n?h.range.endColumn:o,d=this._markerDecorationsService.getMarker(i.uri,h);d&&(a=new r.a(e.range.startLineNumber,a,e.range.startLineNumber,l),s.push(new P(this,a,d)))}return s}renderHoverParts(e,t,i){if(!e.length)return s.a.None;const n=new s.b;return e.forEach(e=>t.appendChild(this.renderMarkerHover(e,n))),e=(1===e.length?e:e.sort((e,t)=>y.c.compare(e.marker.severity,t.marker.severity)))[0],this.renderMarkerStatusbar(e,i,n),n}renderMarkerHover(e,t){var i=R("div.hover-row"),n=d.q(i,R("div.marker.hover-contents"));const{source:o,message:s,code:r,relatedInformation:a}=e.marker,l=(this._editor.applyFontInfo(n),d.q(n,R("span")));if(l.style.whiteSpace="pre-wrap",l.innerText=s,o||r)if(r&&"string"!=typeof r){if(e=R("span"),o){const t=d.q(e,R("span"));t.innerText=o}const i=d.q(e,R("a.code-link")),s=(i.setAttribute("href",r.target.toString()),t.add(d.i(i,"click",e=>{this._openerService.open(r.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()})),d.q(i,R("span"))),a=(s.innerText=r.value,d.q(n,e));a.style.opacity="0.6",a.style.paddingLeft="6px"}else{const e=d.q(n,R("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=o&&r?`${o}(${r})`:o||`(${r})`}if(Object(f.n)(a))for(const{message:h,resource:c,startLineNumber:u,startColumn:g}of a){const e=d.q(n,R("div")),i=(e.style.marginTop="8px",d.q(e,R("a"))),o=(i.innerText=`${Object(S.b)(c)}(${u}, ${g}): `,i.style.cursor="pointer",t.add(d.i(i,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(c,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:u,startColumn:g}}}).catch(p.f)})),d.q(e,R("span")));o.innerText=h,this._editor.applyFontInfo(o)}return i}renderMarkerStatusbar(e,t,i){if(e.marker.severity!==y.c.Error&&e.marker.severity!==y.c.Warning&&e.marker.severity!==y.c.Info||t.addAction({label:n.a("view problem","View Problem"),commandId:k.NextMarkerAction.ID,run:()=>{this._hover.hide(),k.MarkerController.get(this._editor).showAtMarker(e.marker),this._editor.focus()}}),!this._editor.getOption(80)){const o=t.append(R("div")),r=(this.recentMarkerCodeActionsInfo&&(y.a.makeKey(this.recentMarkerCodeActionsInfo.marker)===y.a.makeKey(e.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(o.textContent=n.a("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0),this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?s.a.None:i.add(Object(g.i)(()=>o.textContent=n.a("checkingForQuickFixes","Checking for quick fixes..."),200))),a=(o.textContent||(o.textContent=String.fromCharCode(160)),this.getCodeActions(e.marker));i.add(Object(s.i)(()=>a.cancel())),a.then(a=>{if(r.dispose(),this.recentMarkerCodeActionsInfo={marker:e.marker,hasCodeActions:0{e||a.dispose()})),t.addAction({label:n.a("quick fixes","Quick Fix..."),commandId:N.e.Id,run:t=>{e=!0;const i=N.f.get(this._editor);t=d.D(t),this._hover.hide(),i.showCodeActions(F,a,{x:t.left+6,y:t.top+t.height+6})}})}else a.dispose(),o.textContent=n.a("noQuickFixes","No quick fixes available")},p.f)}}getCodeActions(e){return Object(g.h)(t=>Object(D.d)(this._editor.getModel(),new r.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),F,E.b.None,t))}};B=T([A(2,L.a),A(3,x.a)],B),Object(I.f)((e,t)=>{var i=e.getColor(M.Jc);i&&t.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${i}; }`),i=e.getColor(M.Ic);i&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${i}; }`)});O=i("0a0f");var j=i("78bc"),W=i("bfa1c"),V=i("2504");function H(e,t,i){const n=u.p.ordered(e);var o=n.map(n=>Promise.resolve(n.provideHover(e,t,i)).then(e=>{return e&&(i=void 0!==(t=e).range,t=void 0!==t.contents&&t.contents&&0{Object(p.g)(e)}));return Promise.all(o).then(f.e)}Object(t.n)("_executeHoverProvider",(e,t)=>H(e,t,V.a.None));T=i("fbba"),L=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=e.range.endColumn}}let q=class{constructor(e,t,i,n,o){this._editor=e,this._hover=t,this._modeService=i,this._openerService=n,this._configurationService=o}createLoadingMessage(e){return new K(this,e.range,[(new j.a).appendText(n.a("modesContentHover.loading","Loading..."))])}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];const i=this._editor.getModel();var o=e.range.startLineNumber,s=i.getLineMaxColumn(o);const a=[];for(const n of t){var l=n.range.startLineNumber===o?n.range.startColumn:1,d=n.range.endLineNumber===o?n.range.endColumn:s,h=n.options.hoverMessage;h&&!Object(j.b)(h)&&(l=new r.a(e.range.startLineNumber,l,e.range.startLineNumber,d),a.push(new K(this,l,Object(f.c)(h))))}t=this._editor.getModel().getLineLength(o);var c=this._configurationService.getValue("editor.maxTokenizationLineLength");return"number"==typeof c&&c<=t&&a.push(new K(this,new r.a(o,1,o,t+1),[{value:n.a("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}])),a}computeAsync(e,t,i){return z(this,void 0,void 0,(function*(){if(!this._editor.hasModel()||1!==e.type)return Promise.resolve([]);var t,n=this._editor.getModel();if(!u.p.has(n))return Promise.resolve([]);const o=[];for(const s of yield H(n,new h.a(e.range.startLineNumber,e.range.startColumn),i))Object(j.b)(s.contents)||(t=s.range?r.a.lift(s.range):e.range,o.push(new K(this,t,s.contents)));return o}))}renderHoverParts(e,t,i){const n=new s.b;for(const s of e)for(const e of s.contents)if(!Object(j.b)(e)){var o=U("div.hover-row.markdown-hover");const i=d.q(o,U("div.hover-contents")),s=n.add(new W.a({editor:this._editor},this._modeService,this._openerService));n.add(s.onDidRenderAsync(()=>{i.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));var r=n.add(s.render(e));i.appendChild(r.element),t.appendChild(o)}return n}};q=L([A(2,l.a),A(3,x.a),A(4,T.a)],q);class ${constructor(e,t){this.priority=e,this.range=t,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class G{constructor(e,t,i){this.priority=e,this.owner=t,this.range=i,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}var Z=i("2e66"),Y=(L=i("9e74"),i("7e32")),X=(A=i("4fc3"),T=i("4779"),function(e,t){return function(i,n){t(i,n,e)}});class Q{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}}let J=class{constructor(e,t,i,n,o,s,r,a){this._editor=e,this._hover=t,this._commandService=i,this._menuService=n,this._contextKeyService=o,this._modeService=s,this._openerService=r,this.accessibilityService=a}suggestHoverAnchor(e){const t=Z.GhostTextController.get(this._editor);if(t){if(8===e.target.type){var i=e.target.detail;if(t.shouldShowHoverAtViewZone(i.viewZoneId))return new G(1e3,this,r.a.fromPositions(i.positionBefore||i.position,i.positionBefore||i.position))}if(7===e.target.type&&e.target.range&&t.shouldShowHoverAt(e.target.range))return new G(1e3,this,e.target.range);if(6===e.target.type&&e.target.range&&e.target.detail&&e.target.detail.mightBeForeignElement&&t.shouldShowHoverAt(e.target.range))return new G(1e3,this,e.target.range)}return null}computeSync(e,t){const i=Z.GhostTextController.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new Q(this,e.range,i)]:[]}renderHoverParts(e,t,i){const o=new s.b,r=e[0],a=(this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(r,t,o),o.add(this._menuService.createMenu(Y.b.InlineCompletionsActions,this._contextKeyService)));var l,d;e=i.addAction({label:n.a("showNextInlineSuggestion","Next"),commandId:Z.ShowNextInlineSuggestionAction.ID,run:()=>this._commandService.executeCommand(Z.ShowNextInlineSuggestionAction.ID)}),t=i.addAction({label:n.a("showPreviousInlineSuggestion","Previous"),commandId:Z.ShowPreviousInlineSuggestionAction.ID,run:()=>this._commandService.executeCommand(Z.ShowPreviousInlineSuggestionAction.ID)});i.addAction({label:n.a("acceptInlineSuggestion","Accept"),commandId:Z.commitInlineSuggestionAction.id,run:()=>this._commandService.executeCommand(Z.commitInlineSuggestionAction.id)});const h=[e,t];for(const n of h)n.setEnabled(!1);for([l,d]of(r.hasMultipleSuggestions().then(e=>{for(const t of h)t.setEnabled(e)}),a.getActions()))for(const e of d)e instanceof Y.c&&i.addAction({label:e.label,commandId:e.item.id,run:()=>this._commandService.executeCommand(e.item.id)});return o}renderScreenReaderText(e,t,i){const o=d.a;var s=o("div.hover-row.markdown-hover");const r=d.q(s,o("div.hover-contents")),a=i.add(new W.a({editor:this._editor},this._modeService,this._openerService));var l=e=>{i.add(a.onDidRenderAsync(()=>{r.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));var t=n.a("inlineSuggestionFollows","Suggestion:");t=i.add(a.render((new j.a).appendText(t).appendCodeblock("text",e)));r.replaceChildren(t.element)};const h=null==(e=null==(e=e.controller.activeModel)?void 0:e.inlineCompletionsModel)?void 0:e.ghostText;h&&(e=this._editor.getModel().getLineContent(h.lineNumber),l(h.renderForScreenReader(e))),t.appendChild(s)}};J=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let i=0;i{this.backgroundColor=e.getColor(M.E)||ie.a.white})),this._register(d.i(this.pickedColorNode,d.d.CLICK,()=>this.model.selectNextColorPresentation())),this._register(d.i(n,d.d.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=ie.a.Format.CSS.format(t.color)||"",this.pickedColorNode.classList.toggle("light",(t.color.rgba.a<.5?this.backgroundColor:t.color).isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=ie.a.Format.CSS.format(e)||"",this.pickedColorNode.classList.toggle("light",(e.rgba.a<.5?this.backgroundColor:e).isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class de extends s.a{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this.domNode=ae(".colorpicker-body"),d.q(e,this.domNode),this.saturationBox=new he(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new ue(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new ge(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){var i=this.model.color.hsva;this.model.color=new ie.a(new ie.b(i.h,e,t,i.a))}onDidOpacityChange(e){var t=this.model.color.hsva;this.model.color=new ie.a(new ie.b(t.h,t.s,t.v,e))}onDidHueChange(e){var t=this.model.color.hsva;e=360*(1-e);this.model.color=new ie.a(new ie.b(360==e?0:e,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class he extends s.a{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new ne.b,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ne.b,this.onColorFlushed=this._onColorFlushed.event,this.domNode=ae(".saturation-wrap"),d.q(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",d.q(this.domNode,this.canvas),this.selection=ae(".saturation-selection"),d.q(this.domNode,this.selection),this.layout(),this._register(d.g(this.domNode,e=>this.onMouseDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new re.a);const t=d.D(this.domNode),i=(e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,re.b,e=>this.onDidChangePosition(e.posx-t.left,e.posy-t.top),()=>null),d.h(document,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0))}onDidChangePosition(e,t){e=Math.max(0,Math.min(1,e/this.width)),t=Math.max(0,Math.min(1,1-t/this.height)),this.paintSelection(e,t),this._onDidChange.fire({s:e,v:t})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();var e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){var e=this.model.color.hsva;e=new ie.a(new ie.b(e.h,1,1,1));const t=this.canvas.getContext("2d"),i=t.createLinearGradient(0,0,this.canvas.width,0),n=(i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)"),t.createLinearGradient(0,0,0,this.canvas.height));n.addColorStop(0,"rgba(0, 0, 0, 0)"),n.addColorStop(1,"rgba(0, 0, 0, 1)"),t.rect(0,0,this.canvas.width,this.canvas.height),t.fillStyle=ie.a.Format.CSS.format(e),t.fill(),t.fillStyle=i,t.fill(),t.fillStyle=n,t.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class ce extends s.a{constructor(e,t){super(),this.model=t,this._onDidChange=new ne.b,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ne.b,this.onColorFlushed=this._onColorFlushed.event,this.domNode=d.q(e,ae(".strip")),this.overlay=d.q(this.domNode,ae(".overlay")),this.slider=d.q(this.domNode,ae(".slider")),this.slider.style.top="0px",this._register(d.g(this.domNode,e=>this.onMouseDown(e))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;var e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new re.a),i=d.D(this.domNode),n=(this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,re.b,e=>this.onDidChangeTop(e.posy-i.top),()=>null),d.h(document,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0))}onDidChangeTop(e){e=Math.max(0,Math.min(1,1-e/this.height)),this.updateSliderPosition(e),this._onDidChange.fire(e)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class ue extends ce{constructor(e,t){super(e,t),this.domNode.classList.add("opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){var{r:e,g:t,b:i}=e.rgba,n=new ie.a(new ie.c(e,t,i,1));e=new ie.a(new ie.c(e,t,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${n} 0%, ${e} 100%)`}getValue(e){return e.hsva.a}}class ge extends ce{constructor(e,t){super(e,t),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class pe extends _.a{constructor(e,t,i,n){super(),this.model=t,this.pixelRatio=i,this._register(Object(se.l)(()=>this.layout())),t=ae(".colorpicker-widget"),e.appendChild(t),i=new le(t,this.model,n),this.body=new de(t,this.model,this.pixelRatio),this._register(i),this._register(this.body)}layout(){this.body.layout()}}var me=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class fe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let _e=class{constructor(e,t,i){this._editor=e,this._hover=t,this._themeService=i}computeSync(e,t){return[]}computeAsync(e,t,i){return me(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=te.a.get(this._editor);for(const n of t){var e=i.getColorData(n.range.getStartPosition());if(e)return[yield this._createColorHover(this._editor.getModel(),e.colorInfo,e.provider)]}}return[]}))}_createColorHover(e,t,i){return me(this,void 0,void 0,(function*(){var n=e.getValueInRange(t.range),{red:o,green:s,blue:a,alpha:l}=t.color,o=new ie.c(Math.round(255*o),Math.round(255*s),Math.round(255*a),l),s=new ie.a(o),a=yield Object(ee.a)(e,t,i,V.a.None);const d=new oe(s,[],0);return d.colorPresentations=a||[],d.guessColorPresentation(s,n),new fe(this,r.a.lift(t.range),d,i)}))}renderHoverParts(e,t,i){if(0===e.length||!this._editor.hasModel())return s.a.None;const n=new s.b,o=e[0],a=this._editor.getModel(),l=o.model;e=n.add(new pe(t,l,this._editor.getOption(128),this._themeService));let d=new r.a(o.range.startLineNumber,o.range.startColumn,o.range.endLineNumber,o.range.endColumn);const h=()=>{let e,t;var i;l.presentation.textEdit?(e=[l.presentation.textEdit],t=new r.a(l.presentation.textEdit.range.startLineNumber,l.presentation.textEdit.range.startColumn,l.presentation.textEdit.range.endLineNumber,l.presentation.textEdit.range.endColumn),i=this._editor.getModel()._setTrackedRange(null,t,3),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e),t=this._editor.getModel()._getTrackedRange(i)||t):(e=[{identifier:null,range:d,text:l.presentation.label,forceMoveMarkers:!1}],t=d.setEndPosition(d.endLineNumber,d.startColumn+l.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e)),l.presentation.additionalTextEdits&&(e=[...l.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",e),this._hover.hide()),this._editor.pushUndoStop(),d=t},c=e=>Object(ee.a)(a,{range:d,color:{red:e.rgba.r/255,green:e.rgba.g/255,blue:e.rgba.b/255,alpha:e.rgba.a}},o.provider,V.a.None).then(e=>{l.colorPresentations=e||[]});return n.add(l.onColorFlushed(e=>{c(e).then(h)})),n.add(l.onDidChangeColor(c)),this._hover.setColorPicker(e),n}};_e=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var i;return!!e.options.isWholeLine||(i=e.range.startLineNumber===n?e.range.startColumn:1,e=e.range.endLineNumber===n?e.range.endColumn:o,!(i>t.range.startColumn||t.range.endColumn>e))})}computeAsync(e){return be(this,void 0,void 0,(function*(){const t=this._anchor;if(!this._editor.hasModel()||!t)return Promise.resolve([]);const i=we._getLineDecorations(this._editor,t);var n=yield Promise.all(this._participants.map(n=>this._computeAsync(n,i,t,e)));return Object(f.k)(n)}))}_computeAsync(e,t,i,n){return be(this,void 0,void 0,(function*(){return e.computeAsync?e.computeAsync(i,t,n):[]}))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];var e=we._getLineDecorations(this._editor,this._anchor);let t=[];for(const i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return Object(f.e)(t)}onResult(e,t){this._result=t?e.concat(this._result):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){if(this._anchor)for(const t of this._participants)if(t.createLoadingMessage){var e=t.createLoadingMessage(this._anchor);if(e)return this._result.slice(0).concat([e])}return this._result.slice(0)}}let ye=class e extends _.a{constructor(t,i,n,o){super(),this._hoverVisibleKey=i,this._keybindingService=o,this.allowEditorOverflow=!0,this._participants=[n.createInstance(_e,t,this),n.createInstance(q,t,this),n.createInstance(J,t,this),n.createInstance(B,t,this)],this._hover=this._register(new C),this._id=e.ID,this._editor=t,this._isVisible=!1,this._stoleFocus=!1,this._renderDisposable=null,this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(42)&&this._updateFont()})),this._editor.onDidLayoutChange(()=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1,this._messages=[],this._lastAnchor=null,this._computer=new we(this._editor,this._participants),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new m(this._computer,e=>this._withResult(e,!0),null,e=>this._withResult(e,!1),this._editor.getOption(52).delay),this._register(d.o(this.getDomNode(),d.d.FOCUS,()=>{this._colorPicker&&this.getDomNode().classList.add("colorpicker-hover")})),this._register(d.o(this.getDomNode(),d.d.BLUR,()=>{this.getDomNode().classList.remove("colorpicker-hover")})),this._register(t.onDidChangeConfiguration(()=>{this._hoverOperation.setHoverTime(this._editor.getOption(52).delay)})),this._register(u.F.onDidChange(()=>{this._isVisible&&this._lastAnchor&&0e.startsWith("ced-colorBox"))&&e.target.range.endColumn-e.target.range.startColumn==1?new r.a(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1):e.target.range,n.push(new $(0,i))),0!==n.length&&(n.sort((e,t)=>t.priority-e.priority),this._startShowingAt(n[0],0,!1),!0)}_showAt(e,t,i){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._editor.render(),(this._stoleFocus=i)&&this._hover.containerDomNode.focus()}getPosition(){return this._isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}_updateFont(){const e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}layout(){var e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:i}=this._editor.getOption(42);this._hover.contentsDomNode.style.fontSize=t+"px",this._hover.contentsDomNode.style.lineHeight=i+"px",this._hover.contentsDomNode.style.maxHeight=e+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}onModelDecorationsChanged(){this._isChangingDecorations||this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAtRange(e,t,i){this._startShowingAt(new $(0,e),t,i)}_startShowingAt(e,t,i){if(!this._lastAnchor||!this._lastAnchor.equals(e)){if(this._hoverOperation.cancel(),this._isVisible)if(this._showAtPosition&&this._lastAnchor&&e.canAdoptVisibleHover(this._lastAnchor,this._showAtPosition)){var n=this._messages.filter(t=>t.isValidForHoverAnchor(e));if(0===n.length)this.hide();else{if(n.length===this._messages.length)return;this._renderMessages(e,n)}}else this.hide();this._lastAnchor=e,this._computer.setAnchor(e),this._shouldFocus=i,this._hoverOperation.start(t)}}hide(){this._lastAnchor=null,this._hoverOperation.cancel(),this._isVisible&&(setTimeout(()=>{this._isVisible||this._hoverVisibleKey.set(!1)},0),this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus()),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}setColorPicker(e){this._colorPicker=e}onContentsChanged(){this._hover.onContentsChanged()}_withResult(e,t){this._messages=e,this._lastAnchor&&0{e.hasChanged(42)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,this._domNode.classList.toggle("hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);e=this._editor.getLayoutInfo();var t=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),n=this._editor.getOption(58);t=t-i-(this._domNode.clientHeight-n)/2;this._domNode.style.left=e.glyphMarginLeft+e.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(t),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){var e=Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),t=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));[...e,...t].forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}class Le{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){var e,t=e=>({value:e}),i=this._editor.getLineDecorations(this._lineNumber);const n=[];if(i)for(const o of i)o.options.glyphMarginClassName&&(e=o.options.glyphMarginHoverMessage)&&!Object(j.b)(e)&&n.push(...Object(f.c)(e).map(t));return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class xe extends Se{constructor(e,t,i=x.b){super(xe.ID,e),this._renderDisposeables=this._register(new s.b),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new W.a({editor:this._editor},t,i)),this._computer=new Le(this._editor),this._hoverOperation=new m(this._computer,e=>this._withResult(e),void 0,e=>this._withResult(e),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,0{e.hasChanged(52)&&(this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=a.a.hoverVisible.bindTo(o)}static get(t){return t.getContribution(e.ID)}_hookEvents(){var e=()=>this._hideWidgets(),t=this._editor.getOption(52);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){var e;null!=(e=this._contentWidget)&&e.onModelDecorationsChanged(),null!=(e=this._glyphWidget)&&e.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;var t=e.target.type;9===t&&e.target.detail===ye.ID?this._hoverClicked=!0:12===t&&e.target.detail===xe.ID||(12!==t&&e.target.detail!==xe.ID&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){var t,i=e.target.type;if((!this._isMouseDown||!this._hoverClicked)&&(!this._isHoverSticky||9!==i||e.target.detail!==ye.ID)&&(!this._isHoverSticky||null!=(t=null==(t=e.event.browserEvent.view)?void 0:t.getSelection())&&t.isCollapsed)&&(this._isHoverSticky||9!==i||e.target.detail!==ye.ID||null==(t=this._contentWidget)||!t.isColorPickerVisible())&&(!this._isHoverSticky||12!==i||e.target.detail!==xe.ID))if(this._isHoverEnabled){const n=this._getOrCreateContentWidget();n.maybeShowAt(e)?null!=(t=this._glyphWidget)&&t.hide():2===i&&e.target.position?(null!=(t=this._contentWidget)&&t.hide(),this._glyphWidget||(this._glyphWidget=new xe(this._editor,this._modeService,this._openerService)),this._glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}else this._hideWidgets()}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){var e;this._isMouseDown&&this._hoverClicked&&null!=(e=this._contentWidget)&&e.isColorPickerVisible()||(this._hoverClicked=!1,null!=(e=this._glyphWidget)&&e.hide(),null!=(e=this._contentWidget)&&e.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(ye,this._editor,this._hoverVisibleKey)),this._contentWidget}isColorPickerVisible(){var e;return(null==(e=this._contentWidget)?void 0:e.isColorPickerVisible())||!1}showContentHover(e,t,i){this._getOrCreateContentWidget().startShowingAtRange(e,t,i)}dispose(){var e;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),null!=(e=this._glyphWidget)&&e.dispose(),null!=(e=this._contentWidget)&&e.dispose()}};De.ID="editor.contrib.hover",De=c([X(1,O.a),X(2,x.a),X(3,l.a),X(4,A.b)],De);class Ne extends t.b{constructor(){super({id:"editor.action.showHover",label:n.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:a.a.editorTextFocus,primary:Object(o.a)(2089,2087),weight:100}})}run(e,t){if(t.hasModel()){let e=De.get(t);var i;e&&(i=t.getPosition(),i=new r.a(i.lineNumber,i.column,i.lineNumber,i.column),t=2===t.getOption(2),e.showContentHover(i,1,t))}}}class Oe extends t.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:n.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let i=De.get(t);if(i){var n=t.getPosition();if(n){const e=new r.a(n.lineNumber,n.column,n.lineNumber,n.column),o=ke.GotoDefinitionAtPositionEditorContribution.get(t),s=o.startFindDefinitionFromCursor(n);s.then(()=>{i.showContentHover(e,1,!0)})}}}}Object(t.l)(De.ID,De),Object(t.j)(Ne),Object(t.j)(Oe),Object(I.f)((e,t)=>{var i=e.getColor(M.H);i&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${i}; }`),i=e.getColor(M.E);i&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${i}; }`);const n=e.getColor(M.F);n&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${n}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${n.transparent(.5)}; }`)),i=e.getColor(M.Jc),i&&t.addRule(`.monaco-editor .monaco-hover a { color: ${i}; }`),i=e.getColor(M.Ic),i&&t.addRule(`.monaco-editor .monaco-hover a:hover { color: ${i}; }`),i=e.getColor(M.G),i&&t.addRule(`.monaco-editor .monaco-hover { color: ${i}; }`),i=e.getColor(M.I),i&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${i}; }`),i=e.getColor(M.Hc),i&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${i}; }`)})},af40:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},afa2:function(e,t,i){},b055:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("8ae8");function o(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===n.a.ICodeEditor}function s(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===n.a.IDiffEditor}function r(e){return o(e)?e:s(e)?e.getModifiedEditor():null}},b0cd:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),t=i("4b76"),i=i("0a0f"),t.a;const n=Object(i.c)("notificationService");class o{}},b12b:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return i.e("chunk-2d0c0494").then(i.bind(null,"40ac"))}})},b1ca:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("themeService")},b223:function(e,t,i){},b272:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("3742"),o=i("2c29"),s=i("2e5d"),r=i("f85a"),a=i("6a89"),l=i("7061");class d{static deleteRight(e,t,i,n){let s=[],l=3!==e;for(let c=0,u=n.length;c=m.length+1)return!1;var d=m.charAt(l.column-2),h=n.get(d);if(!h)return!1;if(Object(s.g)(d)){if("never"===i)return!1}else if("never"===t)return!1;var c=m.charAt(l.column-1);let f=!1;for(const e of h)e.open===d&&e.close===c&&(f=!0);if(!f)return!1;if("auto"===e){let e=!1;for(let t=0,i=a.length;tthis.runCommand(e,t),description:this._description})}_registerMenuItem(e){d.d.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class b extends _{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i){return this._implementations.push({priority:e,name:t,implementation:i}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{const i=e.get(c.b);if(i.contextMatchesRules(Object(m.o)(this.precondition)))return this.runEditorCommand(e,n,t)})}}class w extends C{constructor(e){super(w.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=d.b.EditorContext),t.title||(t.title=e.label),t.when=c.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(p.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class y extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;enew Promise((n,o)=>{try{n(t(e.object.textEditorModel,r.a.lift(s),i.slice(2)))}catch(n){o(n)}}).finally(()=>{e.dispose()}))}))}function L(e,t){h.a.registerCommand(e,(function(e,...i){var[n]=i,s=(Object(m.c)(o.a.isUri(n)),e.get(a.a).getModel(n));return s?t(s,...i.slice(1)):e.get(l.a).createModelReference(n).then(e=>new Promise((n,o)=>{try{n(t(e.object.textEditorModel,i.slice(1)))}catch(n){o(n)}}).finally(()=>{e.dispose()}))}))}function x(e){return E.INSTANCE.registerEditorCommand(e),e}function k(e){return e=new e,E.INSTANCE.registerEditorAction(e),e}function D(e){return E.INSTANCE.registerEditorAction(e),e}function N(e){E.INSTANCE.registerEditorAction(e)}function O(e,t){E.INSTANCE.registerEditorContribution(e,t)}(i=n=n||{}).getEditorCommand=function(e){return E.INSTANCE.getEditorCommand(e)},i.getEditorActions=function(){return E.INSTANCE.getEditorActions()},i.getEditorContributions=function(){return E.INSTANCE.getEditorContributions()},i.getSomeEditorContributions=function(e){return E.INSTANCE.getEditorContributions().filter(t=>0<=e.indexOf(t.id))},i.getDiffEditorContributions=function(){return E.INSTANCE.getDiffEditorContributions()};class E{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function I(e){return e.register(),e}E.INSTANCE=new E,g.a.add("editor.contributions",E.INSTANCE);const M=I(new b({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:d.b.MenubarEditMenu,group:"1_do",title:t.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:d.b.CommandPalette,group:"",title:t.a("undo","Undo"),order:1}]})),T=(I(new v(M,{id:"default:undo",precondition:void 0})),I(new b({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:d.b.MenubarEditMenu,group:"1_do",title:t.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:d.b.CommandPalette,group:"",title:t.a("redo","Redo"),order:1}]}))),A=(I(new v(T,{id:"default:redo",precondition:void 0})),I(new b({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:d.b.MenubarSelectionMenu,group:"1_basic",title:t.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:d.b.CommandPalette,group:"",title:t.a("selectAll","Select All"),order:1}]})))},b329:function(e,t,i){},b3b2:function(e,t,i){"use strict";i.r(t),i.d(t,"MoveWordCommand",(function(){return _})),i.d(t,"WordLeftCommand",(function(){return b})),i.d(t,"WordRightCommand",(function(){return v})),i.d(t,"CursorWordStartLeft",(function(){return C})),i.d(t,"CursorWordEndLeft",(function(){return w})),i.d(t,"CursorWordLeft",(function(){return y})),i.d(t,"CursorWordStartLeftSelect",(function(){return S})),i.d(t,"CursorWordEndLeftSelect",(function(){return L})),i.d(t,"CursorWordLeftSelect",(function(){return x})),i.d(t,"CursorWordAccessibilityLeft",(function(){return k})),i.d(t,"CursorWordAccessibilityLeftSelect",(function(){return D})),i.d(t,"CursorWordStartRight",(function(){return N})),i.d(t,"CursorWordEndRight",(function(){return O})),i.d(t,"CursorWordRight",(function(){return E})),i.d(t,"CursorWordStartRightSelect",(function(){return I})),i.d(t,"CursorWordEndRightSelect",(function(){return M})),i.d(t,"CursorWordRightSelect",(function(){return T})),i.d(t,"CursorWordAccessibilityRight",(function(){return A})),i.d(t,"CursorWordAccessibilityRightSelect",(function(){return R})),i.d(t,"DeleteWordCommand",(function(){return P})),i.d(t,"DeleteWordLeftCommand",(function(){return F})),i.d(t,"DeleteWordRightCommand",(function(){return B})),i.d(t,"DeleteWordStartLeft",(function(){return j})),i.d(t,"DeleteWordEndLeft",(function(){return W})),i.d(t,"DeleteWordLeft",(function(){return V})),i.d(t,"DeleteWordStartRight",(function(){return H})),i.d(t,"DeleteWordEndRight",(function(){return z})),i.d(t,"DeleteWordRight",(function(){return U})),i.d(t,"DeleteInsideWord",(function(){return K}));var n=i("dff7"),o=(t=i("b2cc"),i("2c29")),s=i("2e5d"),r=i("d48d"),a=i("e6ff"),l=i("7061"),d=i("6a89"),h=i("8025"),c=i("c101"),u=i("4779"),g=i("4fc3"),p=i("fd49"),m=i("70cb"),f=i("1665");class _ extends t.c{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),o=t.getSelections(),r=o.map(t=>{var n=new l.a(t.positionLineNumber,t.positionColumn);n=this._move(e,i,n,this._wordNavigationType);return this._moveTo(t,n,this._inSelectionMode)});var n;i.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",3,r.map(e=>s.d.fromModelSelection(e))),1===r.length&&(n=new l.a(r[0].positionLineNumber,r[0].positionColumn),t.revealPosition(n,0))}}_moveTo(e,t,i){return i?new h.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new h.a(t.lineNumber,t.column,t.lineNumber,t.column)}}class b extends _{_move(e,t,i,n){return r.a.moveWordLeft(e,t,i,n)}}class v extends _{_move(e,t,i,n){return r.a.moveWordRight(e,t,i,n)}}class C extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}class w extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}class y extends b{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}class S extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}class L extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}class x extends b{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}class k extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class D extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class N extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}class O extends v{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}class E extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}class I extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}class M extends v{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}class T extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}class A extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class R extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class P extends t.c{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),s=t.getSelections(),r=t.getOption(5),l=t.getOption(8),d=m.a.getAutoClosingPairs(i.getLanguageIdentifier().id),h=t._getViewModel();var n=s.map(n=>(n=this._delete({wordSeparators:e,model:i,selection:n,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(6),autoClosingBrackets:r,autoClosingQuotes:l,autoClosingPairs:d,autoClosedCharacters:h.getCursorAutoClosedCharacters()},this._wordNavigationType),new o.a(n,"")));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}}class F extends P{_delete(e,t){return e=r.a.deleteWordLeft(e,t),e||new d.a(1,1,1,1)}}class B extends P{_delete(e,t){t=r.a.deleteWordRight(e,t);return t||(t=e.model.getLineCount(),e=e.model.getLineMaxColumn(t),new d.a(t,e,t,e))}}class j extends F{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:c.a.writable})}}class W extends F{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:c.a.writable})}}class V extends F{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:c.a.writable,kbOpts:{kbExpr:c.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}class H extends B{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:c.a.writable})}}class z extends B{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:c.a.writable})}}class U extends B{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:c.a.writable,kbOpts:{kbExpr:c.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}class K extends t.b{constructor(){super({id:"deleteInsideWord",precondition:c.a.writable,label:n.a("deleteInsideWord","Delete Word"),alias:"Delete Word"})}run(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),s=t.getSelections();var n=s.map(t=>(t=r.a.deleteInsideWord(e,i,t),new o.a(t,"")));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}}Object(t.k)(new C),Object(t.k)(new w),Object(t.k)(new y),Object(t.k)(new S),Object(t.k)(new L),Object(t.k)(new x),Object(t.k)(new N),Object(t.k)(new O),Object(t.k)(new E),Object(t.k)(new I),Object(t.k)(new M),Object(t.k)(new T),Object(t.k)(new k),Object(t.k)(new D),Object(t.k)(new A),Object(t.k)(new R),Object(t.k)(new j),Object(t.k)(new W),Object(t.k)(new V),Object(t.k)(new H),Object(t.k)(new z),Object(t.k)(new U),Object(t.j)(K)},b400:function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return d}));var n,o,s=i("4b76");t=i("dff7"),i=i("0a0f");(a=n=n||{})[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error";{var r=n=n||{};r.compare=function(e,t){return t-e};const e=Object.create(null);e[r.Error]=Object(t.a)("sev.error","Error"),e[r.Warning]=Object(t.a)("sev.warning","Warning"),e[r.Info]=Object(t.a)("sev.info","Info"),r.toString=function(t){return e[t]||""},r.fromSeverity=function(e){switch(e){case s.a.Error:return r.Error;case s.a.Warning:return r.Warning;case s.a.Info:return r.Info;case s.a.Ignore:return r.Hint}},r.toSeverity=function(e){switch(e){case r.Error:return s.a.Error;case r.Warning:return s.a.Warning;case r.Info:return s.a.Info;case r.Hint:return s.a.Ignore}}}{var a=o=o||{};const e="";function l(t,i){let o=[e];return t.source?o.push(t.source.replace("¦","\\¦")):o.push(e),t.code?"string"==typeof t.code?o.push(t.code.replace("¦","\\¦")):o.push(t.code.value.replace("¦","\\¦")):o.push(e),void 0!==t.severity&&null!==t.severity?o.push(n.toString(t.severity)):o.push(e),t.message&&i?o.push(t.message.replace("¦","\\¦")):o.push(e),void 0!==t.startLineNumber&&null!==t.startLineNumber?o.push(t.startLineNumber.toString()):o.push(e),void 0!==t.startColumn&&null!==t.startColumn?o.push(t.startColumn.toString()):o.push(e),void 0!==t.endLineNumber&&null!==t.endLineNumber?o.push(t.endLineNumber.toString()):o.push(e),void 0!==t.endColumn&&null!==t.endColumn?o.push(t.endColumn.toString()):o.push(e),o.push(e),o.join("¦")}a.makeKey=function(e){return l(e,!0)},a.makeKeyOptionalMessage=l}const d=Object(i.c)("markerService")},b539:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o})),t=i("0a0f");class n{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}n.None=Object.freeze({report(){}});const o=Object(t.c)("editorProgressService")},b574:function(e,t,i){"use strict";i.r(t),i.d(t,"SnippetController2",(function(){return p}));var n=i("a666"),o=(t=i("b2cc"),i("6a89")),s=i("8025"),r=i("c101"),a=i("4153"),l=i("4fc3"),d=i("d3d7"),h=i("59a4"),c=(i=i("dff7"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new h.a(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel())return this._modelVersionId!==this._editor.getModel().getAlternativeVersionId()&&this._session.hasPlaceholder&&!this._session.isAtLastPlaceholder&&this._session.isSelectionWithinPlaceholders()?(this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),void this._handleChoice()):this.cancel()}_handleChoice(){if(this._session&&this._editor.hasModel()){const e=this._session["choice"];if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(e=>s.a.fromPositions(e.getStartPosition())));const[t]=e.options;Object(a.f)(this._editor,e.options.map((e,i)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(i+1),range:o.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,t.value.length))})))}}else this._currentChoice=void 0}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),null!=(t=this._session)&&t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};p.ID="snippetController2",p.InSnippetMode=new l.c("inSnippetMode",!1,Object(i.a)("inSnippetMode","Whether the editor in current in snippet mode")),p.HasNextTabstop=new l.c("hasNextTabstop",!1,Object(i.a)("hasNextTabstop","Whether there is a next tab stop when in snippet mode")),p.HasPrevTabstop=new l.c("hasPrevTabstop",!1,Object(i.a)("hasPrevTabstop","Whether there is a previous tab stop when in snippet mode")),p=c([u(1,d.b),u(2,l.b)],p),Object(t.l)(p.ID,p);const m=t.c.bindToContribution(p.get);Object(t.k)(new m({id:"jumpToNextSnippetPlaceholder",precondition:l.a.and(p.InSnippetMode,p.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:2}})),Object(t.k)(new m({id:"jumpToPrevSnippetPlaceholder",precondition:l.a.and(p.InSnippetMode,p.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:1026}})),Object(t.k)(new m({id:"leaveSnippet",precondition:p.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(t.k)(new m({id:"acceptSnippet",precondition:p.InSnippetMode,handler:e=>e.finish()}))},b57f:function(e,t,i){"use strict";i.d(t,"b",(function(){return _t})),i.d(t,"a",(function(){return kt}));var n=i("fdcc"),o=i("308f"),s=i("a666"),r=i("3742"),a=i("6d8e"),l=(t=i("fd49"),i("7061")),d=i("6a89"),h=i("8025"),c=i("3352"),u=i("a054");class g{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function p(e,t,i){var n=Math.min(e.getLineCount(),1e4);let o=0,s=0,r="",a=0,l=[0,0,0,0,0,0,0,0,0];var d=new g;for(let g=1;g<=n;g++){var h=e.getLineLength(g);let n=e.getLineContent(g);var c,u,p=h<=65536;let C=!1,w=0,y=0,S=0;for(let t=0,i=h;t{var i=l[t];i>e&&(e=i,w=t)}),4===w&&0=l[4]/2&&(w=2)}return{insertSpaces:C,tabSize:w}}function m(e){return(1&e.metadata)>>>0}function f(e,t){e.metadata=254&e.metadata|t<<0}function _(e){return(2&e.metadata)>>>1==1}function b(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function v(e){return(4&e.metadata)>>>2==1}function C(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function w(e,t){e.metadata=231&e.metadata|t<<3}function y(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class S{constructor(e,t,i){this.metadata=0,f(((this.parent=this).left=this).right=this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,C(this,!1),w(this,1),y(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,b(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e,e=this.options.className,C(this,"squiggly-error"===e||"squiggly-warning"===e||"squiggly-info"===e),w(this,this.options.stickiness),y(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const L=new S(null,0,0);f(((L.parent=L).left=L).right=L,0);class x{constructor(){this.root=L,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,o){if(this.root===L)return[];{var s=this,r=e,a=t,l=i,d=n,h=o;let c=s.root,u=0,g=0,p=0,m=[],f=0;for(;c!==L;)if(_(c))b(c.left,!1),b(c.right,!1),c===c.parent.right&&(u-=c.parent.delta),c=c.parent;else{if(!_(c.left)){if(u+c.maxEnd>>3,f=0==m||2==m,v=(m=1==m||2==m,u-c),C=Math.min(v,g),w=h.start;let o=!1;var y=h.end;let r=!1;c<=w&&y<=u&&(32&h.metadata)>>>5==1&&(h.start=c,o=!0,h.end=c,r=!0);var S=p?1:0h.end&&(h.end=h.start)}s.maxEnd=s.end,D(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){if(this.requestNormalizeDelta){this.requestNormalizeDelta=!1;{var e=this;let t=e.root,i=0;for(;t!==L;)t=t.left===L||_(t.left)?t.right===L||_(t.right)?(t.start=i+t.start,t.end=i+t.end,t.delta=0,T(t),b(t,!0),b(t.left,!1),b(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t.parent):(i+=t.delta,t.right):t.left;b(e.root,!1)}}}}function k(e,t,i,n){return et&&(t=i),e.right!==L&&(i=e.right.maxEnd+e.delta)>t?i:t}function T(e){e.maxEnd=M(e)}function A(e){for(;e!==L;){var t=M(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class R{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,((this.parent=this).left=this).right=this}next(){if(this.right!==P)return F(this.right);let e=this;for(;e.parent!==P&&e.parent.left!==e;)e=e.parent;return e.parent===P?P:e.parent}prev(){if(this.left!==P)return B(this.left);let e=this;for(;e.parent!==P&&e.parent.right!==e;)e=e.parent;return e.parent===P?P:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const P=new R(null,0);function F(e){for(;e.left!==P;)e=e.left;return e}function B(e){for(;e.right!==P;)e=e.right;return e}function j(e){return e===P?0:e.size_left+e.piece.length+j(e.right)}function W(e){return e===P?0:e.lf_left+e.piece.lineFeedCnt+W(e.right)}function V(){P.parent=P}function H(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==P&&(i.left.parent=t),i.parent=t.parent,t.parent===P?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,(i.left=t).parent=i}function z(e,t){let i=t.left;t.left=i.right,i.right!==P&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===P?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,(i.right=t).parent=i}function U(e,t){let i,n;if(i=t.left===P?(n=t).right:t.right===P?(n=t).left:(n=F(t.right)).right,n===e.root)(e.root=i).color=0,t.detach(),V(),e.root.parent=P;else{var o,s,r,a=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,$(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,$(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==P&&(n.left.parent=n),n.right!==P&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,$(e,n)),t.detach(),i.parent.left===i&&(t=j(i),o=W(i),t===i.parent.size_left&&o===i.parent.lf_left||(s=t-i.parent.size_left,r=o-i.parent.lf_left,i.parent.size_left=t,i.parent.lf_left=o,q(e,i.parent,s,r))),$(e,i.parent),!a){let t;for(;i!==e.root&&0===i.color;)i=i===i.parent.left?(1===(t=i.parent.right).color&&(t.color=0,i.parent.color=1,H(e,i.parent),t=i.parent.right),0===t.left.color&&0===t.right.color?(t.color=1,i.parent):(0===t.right.color&&(t.left.color=0,t.color=1,z(e,t),t=i.parent.right),t.color=i.parent.color,i.parent.color=0,t.right.color=0,H(e,i.parent),e.root)):(1===(t=i.parent.left).color&&(t.color=0,i.parent.color=1,z(e,i.parent),t=i.parent.left),0===t.left.color&&0===t.right.color?(t.color=1,i.parent):(0===t.left.color&&(t.right.color=0,t.color=1,H(e,t),t=i.parent.left),t.color=i.parent.color,i.parent.color=0,t.left.color=0,z(e,i.parent),e.root));i.color=0}V()}}function K(e,t){for($(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){const i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&H(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,z(e,t.parent.parent))}else{const i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&z(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,H(e,t.parent.parent))}e.root.color=0}function q(e,t,i,n){for(;t!==e.root&&t!==P;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function $(e,t){let i=0,n=0;if(t!==e.root){if(0===i){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;t=t.parent,i=j(t.left)-t.size_left,n=W(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n}for(;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}(((P.parent=P).left=P).right=P).color=0;var G=i("8c02");const Z=65535;function Y(e){let t;return(t=new(e[e.length-1]<65536?Uint16Array:Uint32Array)(e.length)).set(e,0),t}class X{constructor(e,t,i,n,o){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=o}}function Q(e,t=!0){let i=[0],n=1;for(let s=0,r=e.length;s(e!==P&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class ie{constructor(e){this._limit=e,this._cache=[]}get(e){for(let i=this._cache.length-1;0<=i;i--){var t=this._cache[i];if(t.nodeStartOffset<=e&&t.nodeStartOffset+t.node.piece.length>=e)return t}return null}get2(e){for(let i=this._cache.length-1;0<=i;i--){var t=this._cache[i];if(t.nodeStartLineNumber&&t.nodeStartLineNumber=e)return t}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let o=0;o=e)&&(i[o]=null,t=!0)}if(t){let e=[];for(const t of i)null!==t&&e.push(t);this._cache=e}}}class ne{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new ee("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=P,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let s=0,r=e.length;s{t=this.getNodeContent(t);var a,l=t.length;return s<=i||s+l=e)n=n.left;else{var o;if(n.lf_left+n.piece.lineFeedCnt+1>=e)return i+=n.size_left,o=this.getAccumulatedValue(n,e-n.lf_left-2),i+(o+t-1);e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}return i}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,i=0;for(var n,o,s=e;t!==P;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e)return n=this.getIndexOf(t,e-t.size_left),i+=t.lf_left+n.index,0===n.index?(o=this.getOffsetAt(i+1,1),new l.a(i+1,s-o+1)):new l.a(i+1,n.remainder+1);if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===P)return o=this.getOffsetAt(i+1,1),new l.a(i+1,s-e-o+1);t=t.right}return new l.a(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var i=this.nodeAt2(e.startLineNumber,e.startColumn);e=this.nodeAt2(e.endLineNumber,e.endColumn);let n=this.getValueInRange2(i,e);return!t||t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?n:n.replace(/\r\n|\r|\n/g,t)}getValueInRange2(e,t){if(e.node===t.node){var i=e.node;let n=this._buffers[i.piece.bufferIndex].buffer;return i=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),n.substring(i+e.remainder,i+t.remainder)}let n=e.node,o=this._buffers[n.piece.bufferIndex].buffer;i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);let s=o.substring(i+e.remainder,i+n.piece.length);for(n=n.next();n!==P;){let e=this._buffers[n.piece.bufferIndex].buffer;var r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){s+=e.substring(r,r+t.remainder);break}s+=e.substr(r,n.piece.length),n=n.next()}return s}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,o=>{if(o!==P){o=o.piece;let l=o.length;if(0!==l){const d=this._buffers[o.bufferIndex].buffer;var s=this._buffers[o.bufferIndex].lineStarts,r=o.start.line,a=o.end.line;let h=s[r]+o.start.column;if(!n||(10===d.charCodeAt(h)&&(h++,l--),e[t++]=i,i="",n=!1,0!==l))if(r===a)this._EOLNormalized||13!==d.charCodeAt(h+l-1)?i+=d.substr(h,l):(n=!0,i+=d.substr(h,l-1));else{i+=this._EOLNormalized?d.substring(h,Math.max(h,s[r+1]-this._EOLLength)):d.substring(h,s[r+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=r+1;ne+p,t.reset(0)):(b=u.buffer,v=e=>e,t.reset(p));do{if(m=t.next(b)){if(v(m.index)>=f)return h;this.positionInBuffer(e,v(m.index)-g,_);var C=this.getLineFeedCnt(e.piece.bufferIndex,o,_),w=_.line===o.line?_.column-o.column+n:_.column+1,y=w+m[0].length;if(c[h++]=Object(G.d)(new d.a(i+C,w,i+C,y),m,a),v(m.index)+m[0].length>=f)return h;if(l<=h)return h}}while(m);return h}findMatchesLineByLine(e,t,i,n){var o=[];let s=0;var r=new G.b(t.wordSeparators,t.regex);let a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let d=this.positionInBuffer(a.node,a.remainder);var h,c,u=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)this.findMatchesInNode(a.node,r,e.startLineNumber,e.startColumn,d,u,t,i,n,s,o);else{let _=e.startLineNumber,b=a.node;for(;b!==l.node;){var g=this.getLineFeedCnt(b.piece.bufferIndex,d,b.piece.end);if(1<=g){var p=this._buffers[b.piece.bufferIndex].lineStarts,m=this.offsetInBuffer(b.piece.bufferIndex,b.piece.start),f=(p=p[d.line+g],_===e.startLineNumber?e.startColumn:1);if((s=this.findMatchesInNode(b,r,_,f,d,this.positionInBuffer(b,p-m),t,i,n,s,o))>=n)return o;_+=g}if(f=_===e.startLineNumber?e.startColumn-1:0,_===e.endLineNumber)return p=this.getLineContent(_).substring(f,e.endColumn-1),s=this._findMatchesInLine(t,r,p,e.endLineNumber,f,s,o,i,n),o;if((s=this._findMatchesInLine(t,r,this.getLineContent(_).substr(f),_,f,s,o,i,n))>=n)return o;_++,a=this.nodeAt2(_,1),b=a.node,d=this.positionInBuffer(a.node,a.remainder)}s=_===e.endLineNumber?(h=_===e.startLineNumber?e.startColumn-1:0,c=this.getLineContent(_).substring(h,e.endColumn-1),this._findMatchesInLine(t,r,c,e.endLineNumber,h,s,o,i,n)):(c=_===e.startLineNumber?e.startColumn:1,this.findMatchesInNode(l.node,r,_,c,d,u,t,i,n,s,o))}return o}_findMatchesInLine(e,t,i,n,o,s,r,a,l){var h,u=e.wordSeparators;if(!a&&e.simpleSearch){var g=e.simpleSearch,p=g.length,m=i.length;let t=-p;for(;-1!==(t=i.indexOf(g,t+p));)if((!u||Object(G.e)(u,i,m,t,p))&&(r[s++]=new c.b(new d.a(n,t+1+o,n,t+1+p+o),null),l<=s))return s}else{t.reset(0);do{if((h=t.next(i))&&(r[s++]=Object(G.d)(new d.a(n,h.index+1+o,n,h.index+1+h[0].length+o),h,a),l<=s))return s}while(h)}return s}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==P){var{node:i,remainder:n,nodeStartOffset:o}=this.nodeAt(e),s=i.piece,r=s.bufferIndex,a=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&s.end.line===this._lastChangeBufferPos.line&&s.end.column===this._lastChangeBufferPos.column&&o+s.length===e&&t.lengthe){let d=[],h=new J(s.bufferIndex,a,s.end,this.getLineFeedCnt(s.bufferIndex,a,s.end),this.offsetInBuffer(r,s.end)-this.offsetInBuffer(r,a));this.shouldCheckCRLF()&&this.endWithCR(t)&&10===this.nodeCharCodeAt(i,n)&&(o={line:h.start.line+1,column:0},h=new J(h.bufferIndex,o,h.end,this.getLineFeedCnt(h.bufferIndex,o,h.end),h.length-1),t+="\n"),this.shouldCheckCRLF()&&this.startWithLF(t)&&13===this.nodeCharCodeAt(i,n-1)?(e=this.positionInBuffer(i,n-1),this.deleteNodeTail(i,e),t="\r"+t,0===i.piece.length&&d.push(i)):this.deleteNodeTail(i,a);var l=this.createNewPieces(t);0Z){let n=[];for(;e.length>Z;){var t=e.charCodeAt(65534);let i;e=13===t||55296<=t&&t<=56319?(i=e.substring(0,65534),e.substring(65534)):(i=e.substring(0,Z),e.substring(Z)),t=Q(i),n.push(new J(this._buffers.length,{line:0,column:0},{line:t.length-1,column:i.length-t[t.length-1]},t.length-1,i.length)),this._buffers.push(new ee(i,t))}var i=Q(e);return n.push(new J(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new ee(e,i)),n}let n=this._buffers[0].buffer.length;const o=Q(e,!1);let s=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===n&&0!==n&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},s=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt>e-1){var h=this.getAccumulatedValue(i,e-i.lf_left-2),c=this.getAccumulatedValue(i,e-i.lf_left-1);let n=this._buffers[i.piece.bufferIndex].buffer;var u=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return o+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:o,nodeStartLineNumber:d-(e-1-i.lf_left)}),n.substring(u+h,u+c-t)}if(i.lf_left+i.piece.lineFeedCnt===e-1){h=this.getAccumulatedValue(i,e-i.lf_left-2);let t=this._buffers[i.piece.bufferIndex].buffer;u=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),n=t.substring(u+h,u+i.piece.length);break}e-=i.lf_left+i.piece.lineFeedCnt,o+=i.size_left+i.piece.length,i=i.right}}for(i=i.next();i!==P;){let e=this._buffers[i.piece.bufferIndex].buffer;if(0e.end.line?i[e.end.line]+e.end.column-i[e.start.line]-e.start.column:i[t]-i[e.start.line]-e.start.column)}deleteNodeTail(e,t){var i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.end),s=this.offsetInBuffer(i.bufferIndex,t),r=this.getLineFeedCnt(i.bufferIndex,i.start,t);n=r-n,s-=o,o=i.length+s;e.piece=new J(i.bufferIndex,i.start,t,r,o),q(this,e,s,n)}deleteNodeHead(e,t){var i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.start),s=this.getLineFeedCnt(i.bufferIndex,t,i.end),r=(n=s-n,o=o-this.offsetInBuffer(i.bufferIndex,t),i.length+o);e.piece=new J(i.bufferIndex,t,i.end,s,r),q(this,e,o,n)}shrinkNode(e,t,i){var n=e.piece,o=n.start,s=n.end,r=n.length,a=n.lineFeedCnt,l=t,d=this.getLineFeedCnt(n.bufferIndex,n.start,l);t=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,o),e.piece=new J(n.bufferIndex,n.start,l,d,t),q(this,e,t-r,d-a),o=new J(n.bufferIndex,i,s,this.getLineFeedCnt(n.bufferIndex,i,s),this.offsetInBuffer(n.bufferIndex,s)-this.offsetInBuffer(n.bufferIndex,i)),l=this.rbInsertRight(e,o);this.validateCRLFWithPrevNode(l)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=Q(t,!1);for(let l=0;le)t=t.left;else{if(t.size_left+t.piece.length>=e)return o+=t.size_left,i={node:t,remainder:e-t.size_left,nodeStartOffset:o},this._searchCache.set(i),i;e-=t.size_left+t.piece.length,o+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==P;)if(i.left!==P&&i.lf_left>=e-1)i=i.left;else{var o;if(i.lf_left+i.piece.lineFeedCnt>e-1)return s=this.getAccumulatedValue(i,e-i.lf_left-2),o=this.getAccumulatedValue(i,e-i.lf_left-1),n+=i.size_left,{node:i,remainder:Math.min(s+t-1,o),nodeStartOffset:n};if(i.lf_left+i.piece.lineFeedCnt===e-1){var s=this.getAccumulatedValue(i,e-i.lf_left-2);if(s+t-1<=i.piece.length)return{node:i,remainder:s+t-1,nodeStartOffset:n};t-=i.piece.length-s;break}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==P;){var r,a;if(0=t-1)return a=this.offsetOfNode(i),{node:i,remainder:t-1,nodeStartOffset:a};t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;let i=this._buffers[e.piece.bufferIndex];return e=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t,i.buffer.charCodeAt(e)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){var t,i,n;return"string"==typeof e?10===e.charCodeAt(0):e!==P&&0!==e.piece.lineFeedCnt&&(e=e.piece,n=(t=this._buffers[e.bufferIndex].lineStarts)[i=e.start.line]+e.start.column,i!==t.length-1&&!(n+1e.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=s,i=this._doApplyEdits(l);let S=null;if(t&&0t.lineNumber-e.lineNumber),S=[];for(let e=0,t=f.length;e=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)}_insertLines(e,t){if(0!==t){let i=[],n=[];for(let e=0;e=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)}}class _e extends s.a{constructor(e){super(),this._isDisposed=!1,this._textModel=e,this._tokenizationStateStore=new fe,this._tokenizationSupport=null,this._register(ue.F.onDidChange(e=>{var t=this._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeContentFast(e=>{if(e.isFlush)this._resetTokenizationState();else{for(let n=0,o=e.changes.length;n{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){var[e,t]=function(e){var t=e.getLanguageIdentifier();let i=e.isTooLargeForTokenization()?null:ue.F.get(t.language),o=null;if(i)try{o=i.getInitialState()}catch(e){Object(n.f)(e),i=null}return[i,o]}(this._textModel);this._tokenizationSupport=e,this._tokenizationStateStore.flush(t),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&me.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(){var e=this._textModel.getLineCount(),t=new oe.b;const i=pe.a.create(!1);let n=-1;for(;this._hasLinesToTokenize()&&!(1=e););this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens,n>=e)}tokenizeViewport(e,t){var i=new oe.b;this._tokenizeViewport(i,e,t),this._textModel.setTokens(i.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){var t=new oe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)}isCheapToTokenize(e){var t;return!this._tokenizationSupport||!((t=this._tokenizationStateStore.invalidLineStartIndex+1)>5;if(0==i)return(e=1<>5,0==e?0!=(this.items&1<Be.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);var t,i,n=this.edits[this.nextEditIdx];n=n?this.translateOldToCur(n.offsetObj):this.documentLength;return(n=n)-(e=e)<=0?0:(t=Math.floor(e/Oe),i=n-(n=Math.floor(n/Oe))*Oe,t===n?Ee(0,i-(e-t*Oe)):Ee(n-t,i))}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?Ee(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):Ee(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){return e=Ie(e),e.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?Ee(e.lineCount-this.deltaOldToNewLineCount,e.columnCount-this.deltaOldToNewColumnCount):Ee(e.lineCount-this.deltaOldToNewLineCount,e.columnCount)}adjustNextEdit(e){for(;this.nextEditIdxthis.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));var e=this.lineIdx,t=this.lineCharOffset;let i=0;for(;i<1e3;){const l=this.lineTokens;var n=l.getCount();let d=null;if(this.lineTokenOffsetObject(r.t)(e)).join("|")}}get regExpGlobal(){var e;return this.hasRegExp||(e=this.getRegExpStr(),this._regExpGlobal=e?new RegExp(e,"g"):null,this.hasRegExp=!0),this._regExpGlobal}getToken(e){return this.map.get(e)}get isEmpty(){return 0===this.map.size}}class Qe{constructor(e){this.customBracketPairs=e,this.languageIdToBracketTokens=new Map}didLanguageChange(e){const t=this.languageIdToBracketTokens.get(e);return!!t&&(e=Xe.createFromLanguage(e,this.customBracketPairs).getRegExpStr(),t.getRegExpStr()!==e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=Xe.createFromLanguage(e,this.customBracketPairs),this.languageIdToBracketTokens.set(e,t)),t}}function Je(e){if(0===e.length)return null;if(1===e.length)return e[0];if(function(e){var t=e[0].listHeight;for(const i of e)if(i.listHeight!==t)return;return 1}(e)){var t=e;let o=t.length;for(;1>1;const e=new Array(i);for(let s=0;st.listHeight?e.append(t):t.prepend(e)}class it{constructor(e){this.lastOffset=0,this.nextNodes=[e],this.offsets=[0],this.idxs=[]}readLongestNodeAt(e,t){if(e{var n;return t.length<=i&&(n=Me(t.length)===Me(i),t.canBeReused(e,n))});if(t)return this._itemsFromCache++,this.tokenizer.skip(t.length),t}}this._itemsConstructed++;var i=this.tokenizer.read();switch(i.kind){case 2:return new qe(i.category,i.length,this.denseKeyProvider);case 0:return i.astNode;case 1:var n=e.add(i.category,this.denseKeyProvider),o=(n=this.parseList(n),this.tokenizer.peek());return o&&2===o.kind&&o.category===i.category?(this.tokenizer.read(),We.create(i.category,i.astNode,n,o.astNode)):We.create(i.category,i.astNode,n,null);default:throw new Error("unexpected")}}}class rt extends s.a{constructor(e){super(),this.textModel=e,this.didChangeDecorationsEmitter=new o.b,this.cache=this._register(new s.d),this._register(Ce.a.onDidChange(e=>{var t;null!=(t=this.cache.value)&&t.object.didLanguageChange(e.languageIdentifier.id)&&(this.cache.clear(),this.updateCache())})),this._register(e.onDidChangeOptions(e=>{this.cache.clear(),this.updateCache()})),this._register(e.onDidChangeAttached(()=>{this.updateCache()}))}get isDocumentSupported(){return this.textModel.getValueLength()<=5e6}updateCache(){var e,t=this.textModel.getOptions().bracketPairColorizationOptions;if(this.textModel.isAttachedToEditor()&&this.isDocumentSupported&&t.enabled){if(!this.cache.value){const i=new s.b;this.cache.value=(t=i.add(new at(this.textModel)),e=i,{object:t,dispose:()=>null==e?void 0:e.dispose()}),i.add(this.cache.value.object.onDidChangeDecorations(e=>this.didChangeDecorationsEmitter.fire(e))),this.didChangeDecorationsEmitter.fire()}}else this.cache.clear(),this.didChangeDecorationsEmitter.fire()}handleContentChanged(e){var t;null!=(t=this.cache.value)&&t.object.handleContentChanged(e)}getDecorationsInRange(e,t,i){var n;return void 0!==t&&(null==(n=this.cache.value)?void 0:n.object.getDecorationsInRange(e,t,i))||[]}getAllDecorations(e,t){var i;return void 0!==e&&(null==(i=this.cache.value)?void 0:i.object.getAllDecorations(e,t))||[]}onDidChangeDecorations(e){return this.didChangeDecorationsEmitter.event(e)}}class at extends s.a{constructor(e){var t;super(),this.textModel=e,this.didChangeDecorationsEmitter=new o.b,this.colorProvider=new dt,this.brackets=new Qe([]),this.denseKeyProvider=new ke,this.onDidChangeDecorations=this.didChangeDecorationsEmitter.event,this._register(e.onBackgroundTokenizationStateChanged(()=>{var t;2===e.backgroundTokenizationState&&(t=void 0===this.initialAstWithoutTokens,this.initialAstWithoutTokens=void 0,t||this.didChangeDecorationsEmitter.fire())})),this._register(e.onDidChangeTokens(({ranges:e})=>{e=e.map(e=>new Pe(Ee(e.fromLineNumber-1,0),Ee(e.toLineNumber,0),Ee(e.toLineNumber-e.fromLineNumber+1,0))),this.astWithTokens=this.parseDocumentFromTextBuffer(e,this.astWithTokens),this.initialAstWithoutTokens||this.didChangeDecorationsEmitter.fire()})),0===e.backgroundTokenizationState?(t=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageIdentifier().id),t=new Ye(this.textModel.getValue(),t),this.initialAstWithoutTokens=ot(t,[],void 0,this.denseKeyProvider),this.astWithTokens=this.initialAstWithoutTokens.clone()):2===e.backgroundTokenizationState?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0)):1===e.backgroundTokenizationState&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0),this.astWithTokens=this.initialAstWithoutTokens.clone())}didLanguageChange(e){return this.brackets.didLanguageChange(e)}handleContentChanged(e){e=e.changes.map(e=>{const t=d.a.lift(e.range);return new Pe(Ae(t.getStartPosition()),Ae(t.getEndPosition()),(e=e.text,Ee((e=Object(r.Q)(e)).length-1,e[e.length-1].length)))}).reverse(),this.astWithTokens=this.parseDocumentFromTextBuffer(e,this.astWithTokens),this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(e,this.initialAstWithoutTokens))}parseDocumentFromTextBuffer(e,t){return ot(new Ge(this.textModel,this.brackets),e,t,this.denseKeyProvider)}getBracketsInRange(e){var t=Ee(e.startLineNumber-1,e.startColumn-1),i=(e=Ee(e.endLineNumber-1,e.endColumn-1),new Array),n=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,o,s,r,a=0){if(1===t.kind){const e=Re(i,n);r.push(new lt(e,a-1,!1))}else if(3===t.kind){const e=Re(i,n);r.push(new lt(e,a-1,!0))}else{2===t.kind&&a++;for(const l of t.children)n=Te(i,l.length),i<=s&&o<=n&&e(l,i,n,o,s,r,a),i=n}}(n,0,n.length,t,e,i),i}getDecorationsInRange(e,t,i){const n=new Array;for(const o of this.getBracketsInRange(e))n.push({id:"bracket"+o.hash(),options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(o)},ownerId:0,range:o.range});return n}getAllDecorations(e,t){return this.getDecorationsInRange(new d.a(1,1,this.textModel.getLineCount(),1),e,t)}}class lt{constructor(e,t,i){this.range=e,this.level=t,this.isInvalid=i}hash(){return this.range.toString()+"-"+this.level}}class dt{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(e.level)}getInlineClassNameOfLevel(e){return"bracket-highlighting-"+e%30}}function ht(e){const t=new le;return t.acceptChunk(e),t.finish()}function ct(e,t){const i="string"==typeof e?ht(e):e;return i.create(t)}Object(i.f)((e,t)=>{const i=[De.c,De.d,De.e,De.f,De.g,De.h],n=new dt;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(De.i)}; }`);var o=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let r=0;r<30;r++){var s=o[r%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(r)} { color: ${s}; }`)}});let ut=0;class gt{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,i=0;for(;;){var n=this._source.read();if(null===n)return this._eos=!0,0===t?null:e.join("");if(0{throw new Error("Invalid change accessor")};class mt{constructor(){this._searchCanceledBrand=void 0}}function ft(e){return e instanceof mt?null:e}mt.INSTANCE=new mt;class _t extends s.a{constructor(e,t,i,n=null,s){super(),this._onWillDispose=this._register(new o.b),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new Ot(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new o.b),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new o.b),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new o.b),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new o.b),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new o.b),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeContentOrInjectedText=this._register(new o.b),this.onDidChangeContentOrInjectedText=this._onDidChangeContentOrInjectedText.event,this._eventEmitter=this._register(new Et),this._backgroundTokenizationState=0,this._onBackgroundTokenizationStateChanged=this._register(new o.b),this.onBackgroundTokenizationStateChanged=this._onBackgroundTokenizationStateChanged.event,this._register(this._eventEmitter.fastEvent(e=>{this._onDidChangeContentOrInjectedText.fire(e.rawContentChangedEvent)})),ut++,this.id="$model"+ut,this.isForSimpleWidget=t.isForSimpleWidget,this._associatedResource=null==n?a.a.parse("inmemory://model/"+ut):n,this._undoRedoService=s,this._attachedEditorCount=0;var{textBuffer:n,disposable:e}=ct(e,t.defaultEOL);this._buffer=n,this._bufferDisposable=e,this._options=_t.resolveOptions(this._buffer,t),n=this._buffer.getLineCount(),e=this._buffer.getValueLengthInRange(new d.a(1,1,n,this._buffer.getLineLength(n)+1),0);t.largeFileOptimizations?this._isTooLargeForTokenization=e>_t.LARGE_FILE_SIZE_THRESHOLD||n>_t.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=e>_t.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=i||ge.a,this._languageRegistryListener=Ce.a.onDidChange(e=>{e.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=r.P(ut),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Ct,this._commandManager=new u.a(this,s),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new oe.d,this._tokens2=new oe.e,this._tokenization=new _e(this),this._bracketPairColorizer=this._register(new rt(this)),this._decorationProvider=this._bracketPairColorizer,this._register(this._decorationProvider.onDidChangeDecorations(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()}))}static resolveOptions(e,t){return t.detectIndentation?(e=p(e,t.tabSize,t.insertSpaces),new c.e({tabSize:e.tabSize,indentSize:e.tabSize,insertSpaces:e.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})):new c.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}onDidChangeContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.contentChangedEvent))}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}get backgroundTokenizationState(){return this._backgroundTokenizationState}setBackgroundTokenizationState(e){this._backgroundTokenizationState!==e&&(this._backgroundTokenizationState=e,this._onBackgroundTokenizationStateChanged.fire())}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this._isDisposing=!1;const e=new re([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._bracketPairColorizer.handleContentChanged(t),this._isDisposing||this._eventEmitter.fire(new de.a(e,t))}setValue(e){var t;this._assertNotDisposed(),null!==e&&(({textBuffer:e,disposable:t}=ct(e,this._options.defaultEOL)),this._setValueFromTextBuffer(e,t))}_createContentChanged2(e,t,i,n,o,s,r){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:s,isFlush:r}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();var i=this.getFullModelRange(),n=(i=this.getValueLengthInRange(i),this.getLineCount()),o=this.getLineMaxColumn(n);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ct,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new de.d([new de.f],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,n,o),0,i,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();var t,i,n;e=1===e?"\r\n":"\n";this._buffer.getEOL()!==e&&(t=this.getFullModelRange(),t=this.getValueLengthInRange(t),i=this.getLineCount(),n=this.getLineMaxColumn(i),this._onBeforeEOLChange(),this._buffer.setEOL(e),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new de.d([new de.e],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,i,n),0,t,this.getValue(),!1,!1,!1)))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let s=0,r=t.length;se}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();var t=(void 0!==e.tabSize?e:this._options).tabSize,i=(void 0!==e.indentSize?e:this._options).indentSize,n=(void 0!==e.insertSpaces?e:this._options).insertSpaces,o=(void 0!==e.trimAutoWhitespace?e:this._options).trimAutoWhitespace;e=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,t=new c.e({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o,bracketPairColorizationOptions:e});this._options.equals(t)||(i=this._options.createChangeEvent(t),this._options=t,this._onDidChangeOptions.fire(i))}detectIndentation(e,t){this._assertNotDisposed(),t=p(this._buffer,t,e),this.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.tabSize})}static _normalizeIndentationFromWhitespace(e,t,i){let n=0;for(let r=0;r({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){return this._assertNotDisposed(),e=this._validatePosition(e.lineNumber,e.column,0),this._buffer.getOffsetAt(e.lineNumber,e.column)}getPositionAt(e){return this._assertNotDisposed(),e=Math.min(this._buffer.getLength(),Math.max(0,e)),this._buffer.getPositionAt(e)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();var i=this.getFullModelRange();i=this.getValueInRange(i,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new gt(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();var i=this.getFullModelRange();i=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){var t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn;let o=Math.floor("number"!=typeof i||isNaN(i)?1:i),s=Math.floor("number"!=typeof n||isNaN(n)?1:n);o<1?(o=1,s=1):o>t?(o=t,s=this.getLineMaxColumn(o)):s<=1?s=1:(r=this.getLineMaxColumn(o),s>=r&&(s=r));var r=e.endLineNumber,a=e.endColumn;let l=Math.floor("number"!=typeof r||isNaN(r)?1:r),c=Math.floor("number"!=typeof a||isNaN(a)?1:a);return l<1?(l=1,c=1):l>t?(l=t,c=this.getLineMaxColumn(l)):c<=1?c=1:(t=this.getLineMaxColumn(l),c>=t&&(c=t)),i===o&&n===s&&r===l&&a===c&&e instanceof d.a&&!(e instanceof h.a)?e:new d.a(o,s,l,c)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(this._buffer.getLineCount()d.a.isIRange(e))?t.map(e=>this.validateRange(e)):a)?[this.getFullModelRange()]:a).sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);const l=[];let h;if(l.push(a.reduce((e,t)=>d.a.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t))),!i&&e.indexOf("\n")<0){const t=new G.a(e,i,n,o),a=t.parseSearchRequest();if(!a)return[];h=e=>this.findMatchesLineByLine(e,a,s,r)}else h=t=>G.c.findMatches(this,new G.a(e,i,n,o),t,s,r);return l.map(h).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,o,s){if(this._assertNotDisposed(),t=this.validatePosition(t),!i&&e.indexOf("\n")<0){const l=new G.a(e,i,n,o);var r=l.parseSearchRequest();if(!r)return null;var a=this.getLineCount();a=new d.a(t.lineNumber,t.column,a,this.getLineMaxColumn(a));let h=this.findMatchesLineByLine(a,r,s,1);return G.c.findNextMatch(this,new G.a(e,i,n,o),t,s),0({range:this.validateRange(e.range),text:e.text}));let i=!0;if(e)for(let t=0,a=e.length;to.endLineNumber;s=o.startLineNumber>s.endLineNumber;if(!r&&!s){a=!0;break}}if(!a){i=!1;break}}if(i)for(let e=0,o=this._trimAutoWhitespaceLines.length;et.endLineNumber)&&!(l===t.startLineNumber&&t.startColumn===h&&t.isEmpty()&&o&&0{var t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new d.a(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}}),this._applyUndoRedoEdits(e,t,!0,!1,i,n)}_applyRedo(e,t,i,n){e=e.map(e=>{var t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new d.a(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}}),this._applyUndoRedoEdits(e,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,o,s){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(s),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();var i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){var i=this._buffer.getLineCount(),n=(e=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),this._buffer.getLineCount()),o=e.changes;if(this._trimAutoWhitespaceLines=e.trimAutoWhitespaceLineNumbers,0!==o.length){for(let i=0,n=o.length;ie.lineNumber>i);var b=s.takeFromEndWhile(e=>e.lineNumber===i);e.push(new de.g(_,this.getLineContent(i),b))}if(ge.lineNumbere.lineNumber===t)}e.push(new de.i(u+1,c+h,s,o))}t+=p}this._emitContentChangedEvent(new de.d(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:o,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===e.reverseEdits?void 0:e.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null!==e&&0!==e.size){const t=[...e];e=t.map(e=>new de.g(e,this.getLineContent(e),this._getInjectedTextInLine(e))),this._onDidChangeContentOrInjectedText.fire(new de.c(e))}}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,Nt(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},o=null;try{o=t(i)}catch(t){Object(n.f)(t)}return i.addDecoration=pt,i.changeDecoration=pt,i.changeDecorationOptions=pt,i.removeDecoration=pt,i.deltaDecorations=pt,o}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),0===(e=e||[]).length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){const n=e?this._decorations[e]:null;var o,s;return n?t?(e=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),s=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,s,e),n.setOptions(Dt[i]),this._decorationsTree.insert(n),n.id):(this._decorationsTree.delete(n),delete this._decorations[n.id],null):t?this._deltaDecorationsImpl(0,[],[{range:t,options:Dt[i]}])[0]:null}removeAllDecorationsWithOwnerId(e){if(!this._isDisposed){var t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,n=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1){var o=this.getLineCount();e=Math.min(o,Math.max(1,e)),o=Math.min(o,Math.max(1,t)),t=this.getLineMaxColumn(o),e=new d.a(e,1,o,t);const s=this._getDecorationsInRange(e,i,n);return s.push(...this._decorationProvider.getDecorationsInRange(e,i,n)),s}getDecorationsInRange(e,t=0,i=!1){e=this.validateRange(e);const n=this._getDecorationsInRange(e,t,i);return n.push(...this._decorationProvider.getDecorationsInRange(e,t,i)),n}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){var t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e);t=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return de.b.fromDecorations(t).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){const i=this._decorationsTree.getAll(this,e,t,!1);return i.push(...this._decorationProvider.getAllDecorations(e,t)),i}_getDecorationsInRange(e,t,i){var n=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn);e=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,n,e,t,i)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const i=this._decorations[e];var n;i&&(i.options.after&&(n=this.getDecorationRange(e),this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber)),i.options.before&&(n=this.getDecorationRange(e),this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)),e=this._validateRangeRelaxedNoAllocations(t),n=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),t=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),this._decorationsTree.delete(i),i.reset(this.getVersionId(),n,t,e),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber))}_changeDecorationOptionsImpl(e,t){const i=this._decorations[e];var n,o;i&&(e=!(!i.options.overviewRuler||!i.options.overviewRuler.color),n=!(!t.overviewRuler||!t.overviewRuler.color),this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),(i.options.after||t.after)&&(o=this._decorationsTree.getNodeRange(this,i),this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.endLineNumber)),(i.options.before||t.before)&&(o=this._decorationsTree.getNodeRange(this,i),this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.startLineNumber)),e!=n?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t))}_deltaDecorationsImpl(e,t,i){var n=this.getVersionId(),o=t.length;let s=0;var r,a,l,d,h,c,u=i.length;let g=0,p=new Array(u);for(;sthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){var t=this.getLineContent(e);t=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,t)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(e){var t;this._languageIdentifier.id!==e.id&&(t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language},this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({}))}getLanguageIdAtPosition(e,t){e=this.validatePosition(new l.a(e,t));const i=this.getLineTokens(e.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(e.column-1))}getWordAtPosition(e){this._assertNotDisposed();var t=this.validatePosition(e);const i=this.getLineContent(t.lineNumber),n=this._getLineTokens(t.lineNumber);var o=n.findTokenIndexAtOffset(t.column-1),[s,r]=_t._findLanguageBoundaries(n,o),r=Object(ve.d)(t.column,Ce.a.getWordDefinition(n.getLanguageId(o)),i.substring(s,r),s);if(r&&r.startColumn<=e.column&&e.column<=r.endColumn)return r;if(0=l)break;if(Object(we.b)(t.getStandardTokenType(h))||t.getLanguageId(h)!==s){l=d;break}}return{searchStartOffset:r,searchEndOffset:l}}_matchBracket(e){var t=e.lineNumber;const i=this._getLineTokens(t),n=this._buffer.getLineContent(t);var o=i.findTokenIndexAtOffset(e.column-1);if(!(o<0)){var s=Ce.a.getBracketsSupport(i.getLanguageId(o));if(s&&!Object(we.b)(i.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:d}=this._establishBracketSearchOffsets(e,i,s,o),h=null;for(;;){var r=ye.a.findNextBracketInRange(s.forwardRegex,t,n,l,d);if(!r)break;if(r.startColumn<=e.column&&e.column<=r.endColumn){var a=n.substring(r.startColumn-1,r.endColumn-1).toLowerCase();a=this._matchFoundBracket(r,s.textIsBracket[a],s.textIsOpenBracket[a],null);if(a){if(a instanceof mt)return null;h=a}}l=r.endColumn-1}if(h)return h}if(0{for(;;){if(i&&++r%100==0&&!i())return mt.INSTANCE;var d=ye.a.findPrevBracketInRange(o,t,n,a,l);if(!d)break;var h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?s++:e.isClose(h)&&s--,0===s)return d;l=d.startColumn-1}return null};for(let u=t.lineNumber;1<=u;u--){const e=this._getLineTokens(u);var l=e.getCount(),d=this._buffer.getLineContent(u);let i=l-1,o=d.length,s=d.length,r=(u===t.lineNumber&&(i=e.findTokenIndexAtOffset(t.column-1),o=t.column-1,s=t.column-1),!0);for(;0<=i;i--){var h=e.getLanguageId(i)===n&&!Object(we.b)(e.getStandardTokenType(i));if(h)r?o=e.getStartOffset(i):(o=e.getStartOffset(i),s=e.getEndOffset(i));else if(r&&o!==s){var c=a(u,d,o,s);if(c)return c}r=h}if(r&&o!==s&&(l=a(u,d,o,s),l))return l}return null}_findMatchingBracketDown(e,t,i){var n=e.languageIdentifier.id;const o=e.forwardRegex;let s=1,r=0;var a=(t,n,a,l)=>{for(;;){if(i&&++r%100==0&&!i())return mt.INSTANCE;var d=ye.a.findNextBracketInRange(o,t,n,a,l);if(!d)break;var h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?s++:e.isClose(h)&&s--,0===s)return d;a=d.endColumn-1}return null},l=this.getLineCount();for(let p=t.lineNumber;p<=l;p++){const e=this._getLineTokens(p);var d=e.getCount(),h=this._buffer.getLineContent(p);let i=0,o=0,s=0,r=(p===t.lineNumber&&(i=e.findTokenIndexAtOffset(t.column-1),o=t.column-1,s=t.column-1),!0);for(;iDate.now()-e<=t}var n=this.validatePosition(e),o=this.getLineCount();const s=new Map;let r=[];var a=(e,t)=>{if(!s.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(i&&++l%100==0&&!i())return mt.INSTANCE;var a=ye.a.findNextBracketInRange(e.forwardRegex,t,n,o,s);if(!a)break;var d=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();const h=e.textIsBracket[d];if(h&&(h.isOpen(d)?r[h.index]++:h.isClose(d)&&r[h.index]--,-1===r[h.index]))return this._matchFoundBracket(a,h,!1,i);o=a.endColumn-1}return null};let h=-1,c=null;for(let _=n.lineNumber;_<=o;_++){const e=this._getLineTokens(_);var u=e.getCount(),g=this._buffer.getLineContent(_);let t=0,i=0,o=0,s=(_===n.lineNumber&&(t=e.findTokenIndexAtOffset(n.column-1),i=n.column-1,o=n.column-1,f=e.getLanguageId(t),h!==f&&(h=f,c=Ce.a.getBracketsSupport(h),a(h,c))),!0);for(;tn)throw new Error("Illegal value for lineNumber");var o=Ce.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(o&&o.offSide);let r=-2,a=-1,l=-2,d=-1;var h=e=>{if(-1!==r&&(-2===r||r>e-1)){r=-1,a=-1;for(let i=e-2;0<=i;i--){var t=this._computeIndentLevel(i);if(0<=t){r=i,a=t;break}}}if(-2===l){l=-1,d=-1;for(let t=e;t{if(-2===c){c=-1,u=-1;for(let i=e-2;0<=i;i--){var t=this._computeIndentLevel(i);if(0<=t){c=i,u=t;break}}}if(-1!==g&&(-2===g||gn||i=C?f=S:_=!1),v&&(r>=C?b=L:v=!1)}}return{startLineNumber:f,endLineNumber:b,indent:C}}getLinesIndentGuides(e,t){this._assertNotDisposed();var i=this.getLineCount();if(e<1||i>>0}static getTokenType(e){return(1792&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t="mtk"+this.getForeground(e);return e=this.getFontStyle(e),1&e&&(t+=" mtki"),2&e&&(t+=" mtkb"),4&e&&(t+=" mtku"),t}static getInlineStyleFromMetadata(e,t){var i=this.getForeground(e);e=this.getFontStyle(e);let n=`color: ${t[i]};`;return 1&e&&(n+="font-style: italic;"),2&e&&(n+="font-weight: bold;"),4&e&&(n+="text-decoration: underline;"),n}}const p=function(){let e=Object.create(null);return e[0]="symbol-method",e[1]="symbol-function",e[2]="symbol-constructor",e[3]="symbol-field",e[4]="symbol-variable",e[5]="symbol-class",e[6]="symbol-struct",e[7]="symbol-interface",e[8]="symbol-module",e[9]="symbol-property",e[10]="symbol-event",e[11]="symbol-operator",e[12]="symbol-unit",e[13]="symbol-value",e[14]="symbol-constant",e[15]="symbol-enum",e[16]="symbol-enum-member",e[17]="symbol-keyword",e[27]="symbol-snippet",e[18]="symbol-text",e[19]="symbol-color",e[20]="symbol-file",e[21]="symbol-reference",e[22]="symbol-customcolor",e[23]="symbol-folder",e[24]="symbol-type-parameter",e[25]="account",e[26]="issues",function(t){t=e[t];let i=t&&c.d.get(t);return(i=i||c.b.symbolProperty).classNames}}();let m=function(){let e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=27,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,e.account=25,e.issue=26,function(t,i){let n=e[t];return void 0!==n||i?n:9}}();function f(e){return e&&a.a.isUri(e.uri)&&l.a.isIRange(e.range)&&(l.a.isIRange(e.originSelectionRange)||l.a.isIRange(e.targetSelectionRange))}(i=n=n||{})[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit",(i=o=o||{})[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange",(i=s=s||{})[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write";{i=r=r||{};const e=new Map,t=(e.set("file",0),e.set("module",1),e.set("namespace",2),e.set("package",3),e.set("class",4),e.set("method",5),e.set("property",6),e.set("field",7),e.set("constructor",8),e.set("enum",9),e.set("interface",10),e.set("function",11),e.set("variable",12),e.set("constant",13),e.set("string",14),e.set("number",15),e.set("boolean",16),e.set("array",17),e.set("object",18),e.set("key",19),e.set("null",20),e.set("enum-member",21),e.set("struct",22),e.set("event",23),e.set("operator",24),e.set("type-parameter",25),new Map);t.set(0,"file"),t.set(1,"module"),t.set(2,"namespace"),t.set(3,"package"),t.set(4,"class"),t.set(5,"method"),t.set(6,"property"),t.set(7,"field"),t.set(8,"constructor"),t.set(9,"enum"),t.set(10,"interface"),t.set(11,"function"),t.set(12,"variable"),t.set(13,"constant"),t.set(14,"string"),t.set(15,"number"),t.set(16,"boolean"),t.set(17,"array"),t.set(18,"object"),t.set(19,"key"),t.set(20,"null"),t.set(21,"enum-member"),t.set(22,"struct"),t.set(23,"event"),t.set(24,"operator"),t.set(25,"type-parameter"),i.fromString=function(t){return e.get(t)},i.toString=function(e){return t.get(e)},i.toCssClassName=function(e,i){let n=(e=t.get(e))&&c.d.get("symbol-"+e);return(i?"inline":"block")+" "+(n=n||c.b.symbolProperty).classNames}}class _{constructor(e){this.value=e}}_.Comment=new _("comment"),_.Imports=new _("imports"),_.Region=new _("region");const b=new t.a,v=new t.a,C=new t.a,w=new t.a,y=new t.a,S=new t.a,L=new t.a,x=new t.a,k=new t.a,D=new t.a,N=new t.a,O=new t.a,E=new t.a,I=new t.a,M=new t.a,T=new t.a,A=new t.a,R=new t.a,P=new t.a,F=new t.a,B=new t.a,j=new t.a,W=new t.a,V=new t.a,H=new t.a,z=new class{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new d.b,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),Object(h.i)(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let i=null,n=!1;return this._promises.set(e,t.then(t=>{this._promises.delete(e),!n&&t&&(i=this.register(e,t))})),Object(h.i)(()=>{n=!0,i&&i.dispose()})}getPromise(e){var t=this.get(e);if(t)return Promise.resolve(t);const i=this._promises.get(e);return i?i.then(t=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&2{var t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function m(e){return p.onColorThemeChange(e)}l.a.add(g.ThemingContribution,p);class f extends r.a{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},b800:function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"b",(function(){return a})),i.d(t,"a",(function(){return l})),i.d(t,"c",(function(){return p}));class n{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return 48<=e&&e<=57}static isVariableCharacter(e){return 95===e||97<=e&&e<=122||65<=e&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var e=this.pos;let t,i=0,o=this.value.charCodeAt(e);if("number"==typeof(t=n._table[o]))return this.pos+=1,{type:t,pos:e,len:1};if(n.isDigitCharacter(o))for(t=8;i+=1,o=this.value.charCodeAt(e+i),n.isDigitCharacter(o););else if(n.isVariableCharacter(o))for(t=9;o=this.value.charCodeAt(e+ ++i),n.isVariableCharacter(o)||n.isDigitCharacter(o););else for(t=10;i+=1,o=this.value.charCodeAt(e+i),!isNaN(o)&&void 0===n._table[o]&&!n.isDigitCharacter(o)&&!n.isVariableCharacter(o););return this.pos+=i,{type:t,pos:e,len:i}}}n._table={[36]:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class o{constructor(){this._children=[]}appendChild(e){return e instanceof s&&this._children[this._children.length-1]instanceof s?this._children[this._children.length-1].value+=e.value:(e.parent=this)._children.push(e),this}replace(e,t){const i=e["parent"];e=i.children.indexOf(e);const n=i.children.slice(0);n.splice(e,1,...t),i._children=n,function e(t,i){for(const n of t)n.parent=i,e(n.children,n)}(t,i)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof g)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class s extends o{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new s(this.value)}}class r extends o{}class a extends r{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof l?this._children[0]:void 0}clone(){let e=new a(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class l extends o{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof s&&(e.parent=this).options.push(e),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){var e=new l;return this.options.forEach(e.appendChild,e),e}}class d extends o{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,(function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!i&&this._children.some(e=>e instanceof h&&Boolean(e.elseValue))?this._replace([]):n}_replace(e){let t="";for(const n of this._children){var i;n instanceof h?(i=e[n.index]||"",i=n.resolve(i),t+=i):t+=n.toString()}return t}toString(){return""}clone(){let e=new d;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class h extends o{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":"camelcase"===this.shorthandName?e?this._toCamelCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((e,t)=>0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join(""):e}clone(){return new h(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class c extends r{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return void 0!==(t=this.transform?this.transform.resolve(t||""):t)&&(this._children=[new s(t)],!0)}clone(){const e=new c(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function u(e,t){const i=[...e];for(;0n===e?!(i=!0):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return u([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],i=e["parent"];for(;i;)i instanceof a&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof c&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){var e=new g;return this._children=this.children.map(e=>e.clone()),e}walk(e){u(this.children,e)}}class p{constructor(){this._scanner=new n,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){this._scanner.text(e),this._token=this._scanner.next();const n=new g;for(;this._parse(n););const o=new Map,s=[];let r=0;n.walk(e=>(e instanceof a&&(r+=1,e.isFinalTabstop?o.set(0,void 0):!o.has(e.index)&&0{e.mime===i.mime||e.userConfigured||(i.extension&&e.extension,i.filename&&e.filename,i.filepattern&&e.filepattern,i.firstline&&e.firstline)})}function g(e,t){let i;if(e)switch(e.scheme){case s.c.file:i=e.fsPath;break;case s.c.data:const t=a.a.parseMetaData(e);i=t.get(a.a.META_DATA_LABEL);break;default:i=e.path}if(i){i=i.toLowerCase();var o=Object(r.a)(i),u=p(i,o,c);if(u)return[u,n.text];if(u=p(i,o,h),u)return[u,n.text];if(t&&(o=function(e){if(Object(l.S)(e)&&(e=e.substr(1)),0s.filepattern.length)&&(a=l.filepatternOnPath?e:t,null!=(n=l.filepatternLowercase)&&n.call(l,a)&&(s=l)),l.extension&&(!r||l.extension.length>r.extension.length)&&t.endsWith(l.extensionLowercase)&&(r=l)}return o?o.mime:s?s.mime:r?r.mime:null}},b9db:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("561a");function o(e){let t=e.definition;for(;t instanceof n.b;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.fontCharacter}'; }`}i("1e03"),i("f2d2")},b9f8:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return i.e("chunk-2d2138c7").then(i.bind(null,"acc2"))}})},ba77:function(e,t,i){},bc02:function(e,t,i){},bc04:function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m})),i.d(t,"d",(function(){return f})),i.d(t,"c",(function(){return _}));var n=i("3742"),o=i("6a89"),s=(t=i("2504"),i("a666")),r=i("b2cc"),a=i("4fc3"),l=i("db88"),d=i("0a0f"),h=i("f5f3");i=i("dff7");const c=Object(d.c)("IEditorCancelService"),u=new a.c("cancellableOperation",!1,Object(i.a)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));Object(h.b)(c,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>({key:u.bindTo(e.get(a.b)),tokens:new l.a})),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){const t=this._tokens.get(e);if(t){const e=t.tokens.pop();e&&(e.cancel(),t.key.set(!t.tokens.isEmpty()))}}},!0);class g extends t.b{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(c).add(e,this))}dispose(){this._unregister(),super.dispose()}}Object(r.k)(new class extends r.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:u})}runEditorCommand(e,t){e.get(c).cancel(t)}});class p{constructor(e,t){if(this.flags=t,0!=(1&this.flags)){const t=e.getModel();this.modelVersionId=t?n.v("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof p&&this.modelVersionId===(e=e).modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&!(!this.position&&e.position||this.position&&!e.position||this.position&&e.position&&!this.position.equals(e.position))&&!(!this.selection&&e.selection||this.selection&&!e.selection||this.selection&&e.selection&&!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new p(e,this.flags))}}class m extends g{constructor(e,t,i,n){super(e,n),this._listener=new s.b,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&o.a.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&o.a.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class f extends t.b{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class _{constructor(e,t,i){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=i}static capture(e){let t=null,i=0;if(0!==e.getScrollTop()){const o=e.getVisibleRanges();var n;0r.a.shiftIndent(e,e.length+(t=t||1),h,g,p),f=(e,t)=>r.a.unshiftIndent(e,e.length+(t=t||1),h,g,p);let _,b=[],v=e.getLineContent(t),C=v,w=(null!=n?(_=n,n=s.x(v),C=_+v.substring(n.length),o.decreaseIndentPattern&&o.decreaseIndentPattern.test(C)&&(_=f(_),C=_+v.substring(n.length)),v!==C&&b.push(a.a.replaceMove(new d.a(t,1,t,n.length+1),c.b.normalizeIndentation(_,g,p)))):_=s.x(v),_);o.increaseIndentPattern&&o.increaseIndentPattern.test(C)?(w=m(w),_=m(_)):o.indentNextLinePattern&&o.indentNextLinePattern.test(C)&&(w=m(w));for(let r=++t;r<=i;r++){let t=e.getLineContent(r);var y=s.x(t),S=w+t.substring(y.length);o.decreaseIndentPattern&&o.decreaseIndentPattern.test(S)&&(w=f(w),_=f(_)),y!==w&&b.push(a.a.replaceMove(new d.a(r,1,r,y.length+1),c.b.normalizeIndentation(w,g,p))),o.unIndentedLinePattern&&o.unIndentedLinePattern.test(t)||(w=o.increaseIndentPattern&&o.increaseIndentPattern.test(S)?_=m(_):o.indentNextLinePattern&&o.indentNextLinePattern.test(S)?m(w):_)}return b}class _ extends t.b{constructor(){super({id:_.ID,label:n.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n,o;i&&(n=i.getOptions(),(o=t.getSelection())&&(o=new N(o,n.tabSize),t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})))}}_.ID="editor.action.indentationToSpaces";class b extends t.b{constructor(){super({id:b.ID,label:n.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n,o;i&&(n=i.getOptions(),(o=t.getSelection())&&(o=new O(o,n.tabSize),t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})))}}b.ID="editor.action.indentationToTabs";class v extends t.b{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const i=e.get(m.a),o=e.get(g.a);let s=t.getModel();if(s){let e=o.getCreationOptions(s.getLanguageIdentifier().language,s.uri,s.isForSimpleWidget);const t=[1,2,3,4,5,6,7,8].map(t=>({id:t.toString(),label:t.toString(),description:t===e.tabSize?n.a("configuredTabSize","Configured Tab Size"):void 0})),r=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(t,{placeHolder:n.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:t[r]}).then(e=>{e&&s&&!s.isDisposed()&&s.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})})},50)}}}class C extends v{constructor(){super(!1,{id:C.ID,label:n.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}C.ID="editor.action.indentUsingTabs";class w extends v{constructor(){super(!0,{id:w.ID,label:n.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}w.ID="editor.action.indentUsingSpaces";class y extends t.b{constructor(){super({id:y.ID,label:n.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){const i=e.get(g.a);let n=t.getModel();n&&(e=i.getCreationOptions(n.getLanguageIdentifier().language,n.uri,n.isForSimpleWidget),n.detectIndentation(e.insertSpaces,e.tabSize))}}y.ID="editor.action.detectIndentation";class S extends t.b{constructor(){super({id:"editor.action.reindentlines",label:n.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n;!i||0<(n=f(i,1,i.getLineCount())).length&&(t.pushUndoStop(),t.executeEdits(this.id,n),t.pushUndoStop())}}class L extends t.b{constructor(){super({id:"editor.action.reindentselectedlines",label:n.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:h.a.writable})}run(e,t){var i=t.getModel();if(i){var n=t.getSelections();if(null!==n){let e=[];for(var o of n){let t=o.startLineNumber,n=o.endLineNumber;if(t!==n&&1===o.endColumn&&n--,1===t){if(t===n)continue}else t--;o=f(i,t,n),e.push(...o)}0this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(9)<4||this.editor.getOption(46)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){var t=this.editor.getSelections();if(!(null===t||1r.a.shiftIndent(e,e.length+1,g,m,f),unshiftIndent:e=>r.a.unshiftIndent(e,e.length+1,g,m,f)};let b=e.startLineNumber;for(;b<=e.endLineNumber&&this.shouldIgnoreLine(c,b);)b++;if(!(b>e.endLineNumber)){let r=c.getLineContent(b);if(!/\S/.test(r.substring(0,e.startColumn-1))){var n=u.a.getGoodIndentForLine(t,c,c.getLanguageIdentifier().id,b,i);if(null!==n){var o=s.x(r);n=p.b(n,g);if(n!==p.b(o,g))n=p.a(n,g,f),_.push({range:new l.a(b,1,b,o.length+1),text:n}),r=n+r.substr(o.length);else if(n=u.a.getIndentMetadata(c,b),0===n||8===n)return}}const m=b;for(;bc.getLineTokens(e),getLanguageIdentifier:()=>c.getLanguageIdentifier(),getLanguageIdAtPosition:(e,t)=>c.getLanguageIdAtPosition(e,t),getLineContent:e=>e===m?r:c.getLineContent(e)},c.getLanguageIdentifier().id,b+1,i),null!==o&&(n=p.b(o,g),t=p.b(s.x(c.getLineContent(b+1)),g),n!==t))){var a=n-t;for(let t=b+1;t<=e.endLineNumber;t++){var d=c.getLineContent(t),h=(d=s.x(d),p.b(d,g));h=p.a(h+a,g,f);h!==d&&_.push({range:new l.a(t,1,t,d.length+1),text:h})}}0<_.length&&(this.editor.pushUndoStop(),i=new x(_,this.editor.getSelection()),this.editor.executeCommand("autoIndentOnPaste",i),this.editor.pushUndoStop())}}}}shouldIgnoreLine(e,t){e.forceTokenization(t);var i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.getLineTokens(t);return 0Promise.resolve(n(i,e,t)).then(void 0,e=>{Object(o.g)(e)})),Promise.all(i).then(e=>{const t=[];for(var i of e)Array.isArray(i)?t.push(...i):i&&t.push(i);return t})}function d(e,t,i){return l(e,t,s.f,(e,t,n)=>e.provideDefinition(t,n,i))}function h(e,t,i){return l(e,t,s.e,(e,t,n)=>e.provideDeclaration(t,n,i))}function c(e,t,i){return l(e,t,s.q,(e,t,n)=>e.provideImplementation(t,n,i))}function u(e,t,i){return l(e,t,s.G,(e,t,n)=>e.provideTypeDefinition(t,n,i))}function g(e,t,i,n){return l(e,t,s.y,(e,t,o)=>a(this,void 0,void 0,(function*(){var s,r=yield e.provideReferences(t,o,{includeDeclaration:!0},n);return i&&r&&2===r.length&&(s=yield e.provideReferences(t,o,{includeDeclaration:!1},n))&&1===s.length?s:r})))}function p(e){return a(this,void 0,void 0,(function*(){var t=yield e();const i=new r.c(t,"");return t=i.references.map(e=>e.link),i.dispose(),t}))}Object(t.n)("_executeDefinitionProvider",(e,t)=>p(()=>d(e,t,n.a.None))),Object(t.n)("_executeDeclarationProvider",(e,t)=>p(()=>h(e,t,n.a.None))),Object(t.n)("_executeImplementationProvider",(e,t)=>p(()=>c(e,t,n.a.None))),Object(t.n)("_executeTypeDefinitionProvider",(e,t)=>p(()=>u(e,t,n.a.None))),Object(t.n)("_executeReferenceProvider",(e,t)=>p(()=>g(e,t,!1,n.a.None)))},bd50:function(e,t,i){"use strict";i.r(t);t=i("b2cc");var n=i("b1ca"),o=i("03d9");class s extends t.b{constructor(){super({id:"editor.action.toggleHighContrast",label:o.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const i=e.get(n.a);this._originalThemeName?(i.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=i.getColorTheme().themeName,i.setTheme("hc-black"))}}Object(t.j)(s)},be5f:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s}));const n=Object.prototype.hasOwnProperty;function o(e,t){for(let i in e)if(n.call(e,i)&&!1===t({key:i,value:e[i]},(function(){delete e[i]})))return}class s{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){const i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){const i=this.map.get(e);i&&i.forEach(t)}}},bf44:function(e,t,i){"use strict";var n=i("33f9");i.o(n,"Emitter")&&i.d(t,"Emitter",(function(){return n.Emitter})),i.o(n,"MarkerSeverity")&&i.d(t,"MarkerSeverity",(function(){return n.MarkerSeverity})),i.o(n,"MarkerTag")&&i.d(t,"MarkerTag",(function(){return n.MarkerTag})),i.o(n,"Range")&&i.d(t,"Range",(function(){return n.Range})),i.o(n,"Uri")&&i.d(t,"Uri",(function(){return n.Uri})),i.o(n,"editor")&&i.d(t,"editor",(function(){return n.editor})),i.o(n,"languages")&&i.d(t,"languages",(function(){return n.languages}))},bf5b:function(e,t,i){"use strict";i.d(t,"b",(function(){return h})),i.d(t,"a",(function(){return c})),i.d(t,"c",(function(){return m}));t=i("5fe7");var n=i("561a"),o=i("308f"),s=i("dff7"),r=i("dd1b"),a=i("89cd"),l=i("b7d0");const d=new class{constructor(){this._onDidChange=new o.b,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:Object(s.a)("iconDefintion.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:Object(s.a)("iconDefintion.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${n.a.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){const o=this.iconsById[e];var s;if(o)return i&&!o.description&&(o.description=i,this.iconSchema.properties[e].markdownDescription=i+` $(${e})`,-1!==(s=this.iconReferenceSchema.enum.indexOf(e))&&(this.iconReferenceSchema.enumDescriptions[s]=i),this._onDidChange.fire()),o;this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let r={$ref:"#/definitions/icons"};return n&&(r.deprecationMessage=n),i&&(r.markdownDescription=i+`: $(${e})`),this.iconSchema.properties[e]=r,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}getIconFont(e){return this.iconFontsById[e]}toString(){var e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;l.d.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return"codicon codicon-"+(e?e.id:"")};let i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(const o of n.filter(e=>!!e.description).sort(e))i.push(`||${o.id}|${(l.d.isThemeIcon(o.defaults)?o.defaults:o).id}|${o.description||""}|`);i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |");for(const o of n.filter(e=>!l.d.isThemeIcon(e.defaults)).sort(e))i.push(`||${o.id}|`);return i.join("\n")}};function h(e,t,i,n){return d.registerIcon(e,t,i,n)}function c(){return d}a.a.add("base.contributions.icons",d);for(const f of n.d.all)d.registerIcon(f.id,f.definition,f.description);n.d.onDidRegister(e=>d.registerIcon(e.id,e.definition,e.description));const u="vscode://schemas/icons";let g=a.a.as(r.a.JSONContribution);g.registerSchema(u,d.getIconSchema());const p=new t.e(()=>g.notifySchemaChanged(u),200),m=(d.onDidChange(()=>{p.isScheduled()||p.schedule()}),h("widget-close",n.b.close,Object(s.a)("widgetClose","Icon for the close action in widgets.")))},bfa1c:function(e,t,i){"use strict";i.d(t,"a",(function(){return I}));var n=i("11f7"),o=i("e32d"),s=i("31df"),r=i("5d28"),a=i("7ddc"),l=i("fdcc"),d=i("308f"),h=i("78bc"),c=i("1097"),u=i("9c3e");let g;!function e(t,i,n){function o(s,r){if(!i[s]){var a;if(!t[s])throw(a=new Error("Cannot find module '"+s+"'")).code="MODULE_NOT_FOUND",a;a=i[s]={exports:{}},t[s][0].call(a.exports,(function(e){return o(t[s][1][e]||e)}),a,a.exports,e,t,i,n)}return i[s].exports}for(var s=0;s\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^":">"))},end:function(e){e=o(e),-1!==(a.allowedTags||[]).indexOf(e)&&!1===i.ignoring?(l("")):h(e)},chars:function(e){!1===i.ignoring&&l(a.transformText?a.transformText(e):e)}};function l(t){e.push(t)}function d(e){r.voids[e]||(!1===i.ignoring?i={ignoring:e,depth:1}:i.ignoring===e&&i.depth++)}function h(e){i.ignoring===e&&--i.depth<=0&&c()}function c(){i={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,i){var n={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"&":"&","<":"<",">":">",""":'"',"'":"'"},s=/(&|<|>|"|')/g,r=/[&<>"']/g;function a(e){return n[e]}function l(e){return o[e]}function d(e){return null==e?"":String(e).replace(r,a)}function h(e){return null==e?"":String(e).replace(s,l)}d.options=h.options={},t.exports={encode:d,escape:d,decode:h,unescape:h,version:"1.0.0-browser"}},{}],10:[function(e,t,i){function n(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(n,{})}},{}]},{},[4]);var p=g,m=i("4acc"),f=i("438a"),_=i("b589"),b=i("aa3d"),v=i("82c9"),C=i("3742"),w=i("6d8e");const y=null==(t=window.trustedTypes)?void 0:t.createPolicy("insane",{createHTML(e,t){return p(e,t)}});function S(e,t={},i={}){var g;function S(t,i){var n=e.uris&&e.uris[t];if(!n)return t;let o=w.a.revive(n);return i?t.startsWith(_.c.data+":")?t:_.a.asBrowserUri(o).toString(!0):w.a.parse(t).toString()===o.toString()?t:(o=o.query?o.with({query:function(t){let i;try{i=Object(f.a)(decodeURIComponent(t))}catch(t){}return i?(i=Object(b.a)(i,t=>{if(e.uris&&e.uris[t])return w.a.revive(e.uris[t])}),encodeURIComponent(JSON.stringify(i))):t}(o.query)}):o).toString()}const L=Object(s.a)(t);let x;const k=new Promise(e=>x=e),D=new m.Renderer;D.image=(e,i,n)=>{let o=[],s=[];if(e){({href:e,dimensions:o}=Object(h.c)(e)),e=S(e,!0);try{var r=w.a.parse(e);t.baseUrl&&r.scheme===_.c.file&&(e=Object(v.j)(t.baseUrl,e).toString())}catch(e){}s.push(`src="${e}"`)}return n&&s.push(`alt="${n}"`),i&&s.push(`title="${i}"`),""},D.link=(i,n,o)=>(i===o&&(o=Object(h.d)(o)),i=S(i,!1),t.baseUrl&&!/^\w[\w\d+.-]*:/.test(i)&&(i=Object(v.j)(t.baseUrl,i).toString()),n=Object(h.d)(n),!(i=Object(h.d)(i))||i.match(/^data:|javascript:/i)||i.match(/^command:/i)&&!e.isTrusted||i.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?o:`
    /g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${n||i}">${o}`),D.paragraph=t=>{if(e.supportThemeIcons){const e=Object(a.a)(t);t=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}return`

    ${t}

    `},t.codeBlockRenderer&&(D.code=(e,i)=>{i=t.codeBlockRenderer(i,e);const o=u.b.nextId(),s=Promise.all([i,k]).then(e=>{var t=L.querySelector(`div[data-code="${o}"]`);t&&n.R(t,e[0])}).catch(e=>{});return t.asyncRenderCallback&&s.then(t.asyncRenderCallback),`
    ${Object(C.s)(e)}
    `}),t.actionHandler&&(g=t.actionHandler.disposables.add(new o.a(L,"click")),O=t.actionHandler.disposables.add(new o.a(L,"auxclick")),t.actionHandler.disposables.add(d.c.any(g.event,O.event)(e=>{const i=new r.a(e);if(i.leftButton||i.middleButton){let o=i.target;if("A"===o.tagName||(o=o.parentElement)&&"A"===o.tagName)try{var n=o.dataset.href;n&&t.actionHandler.callback(n,i)}catch(e){Object(l.f)(e)}finally{i.preventDefault()}}}))),i.sanitizer=t=>(e.isTrusted?t.match(/^(]+>)|(<\/\s*span>)$/):void 0)?t:"",i.sanitize=!0,i.silent=!0,i.renderer=D;let N=null!=(g=e.value)?g:"";1e5{e.dispose(),t.asyncRenderCallback()})}return L}t=i("5bd7");var L,x=i("5818"),k=i("4d05"),D=i("a666"),N=i("b707"),O=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3n.dispose()}}_getRenderOptions(t,i){return{baseUrl:this._options.baseUrl,codeBlockRenderer:(t,i)=>E(this,void 0,void 0,(function*(){var n;let o;t?o=this._modeService.getModeIdForLanguageName(t):this._options.editor&&(o=null==(s=this._options.editor.getModel())?void 0:s.getLanguageIdentifier().language),o=o||"plaintext",this._modeService.triggerMode(o);var s=null!=(s=yield N.F.getPromise(o))?s:void 0;const r=document.createElement("span");r.innerHTML=null!=(n=null==(n=e._ttpTokenizer)?void 0:n.createHTML(i,s))?n:Object(k.b)(i,s);let a=this._options.codeBlockFontFamily;return(a=this._options.editor?this._options.editor.getOption(42).fontFamily:a)&&(r.style.fontFamily=a),r})),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:t.isTrusted}).catch(l.f),disposables:i}}}};I._ttpTokenizer=null==(L=window.trustedTypes)?void 0:L.createPolicy("tokenizeToString",{createHTML(e,t){return Object(k.b)(e,t)}}),I=i([O(1,x.a),O(2,t.a)],I)},c101:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n,o;t=i("dff7"),i=i("4fc3");(o=n=n||{}).editorSimpleInput=new i.c("editorSimpleInput",!1,!0),o.editorTextFocus=new i.c("editorTextFocus",!1,t.a("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),o.focus=new i.c("editorFocus",!1,t.a("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),o.textInputFocus=new i.c("textInputFocus",!1,t.a("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),o.readOnly=new i.c("editorReadonly",!1,t.a("editorReadonly","Whether the editor is read only")),o.inDiffEditor=new i.c("inDiffEditor",!1,t.a("inDiffEditor","Whether the context is a diff editor")),o.columnSelection=new i.c("editorColumnSelection",!1,t.a("editorColumnSelection","Whether `editor.columnSelection` is enabled")),o.writable=o.readOnly.toNegated(),o.hasNonEmptySelection=new i.c("editorHasSelection",!1,t.a("editorHasSelection","Whether the editor has text selected")),o.hasOnlyEmptySelection=o.hasNonEmptySelection.toNegated(),o.hasMultipleSelections=new i.c("editorHasMultipleSelections",!1,t.a("editorHasMultipleSelections","Whether the editor has multiple selections")),o.hasSingleSelection=o.hasMultipleSelections.toNegated(),o.tabMovesFocus=new i.c("editorTabMovesFocus",!1,t.a("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),o.tabDoesNotMoveFocus=o.tabMovesFocus.toNegated(),o.isInWalkThroughSnippet=new i.c("isInEmbeddedEditor",!1,!0),o.canUndo=new i.c("canUndo",!1,!0),o.canRedo=new i.c("canRedo",!1,!0),o.hoverVisible=new i.c("editorHoverVisible",!1,t.a("editorHoverVisible","Whether the editor hover is visible")),o.inCompositeEditor=new i.c("inCompositeEditor",void 0,t.a("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),o.notInCompositeEditor=o.inCompositeEditor.toNegated(),o.languageId=new i.c("editorLangId","",t.a("editorLangId","The language identifier of the editor")),o.hasCompletionItemProvider=new i.c("editorHasCompletionItemProvider",!1,t.a("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),o.hasCodeActionsProvider=new i.c("editorHasCodeActionsProvider",!1,t.a("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),o.hasCodeLensProvider=new i.c("editorHasCodeLensProvider",!1,t.a("editorHasCodeLensProvider","Whether the editor has a code lens provider")),o.hasDefinitionProvider=new i.c("editorHasDefinitionProvider",!1,t.a("editorHasDefinitionProvider","Whether the editor has a definition provider")),o.hasDeclarationProvider=new i.c("editorHasDeclarationProvider",!1,t.a("editorHasDeclarationProvider","Whether the editor has a declaration provider")),o.hasImplementationProvider=new i.c("editorHasImplementationProvider",!1,t.a("editorHasImplementationProvider","Whether the editor has an implementation provider")),o.hasTypeDefinitionProvider=new i.c("editorHasTypeDefinitionProvider",!1,t.a("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),o.hasHoverProvider=new i.c("editorHasHoverProvider",!1,t.a("editorHasHoverProvider","Whether the editor has a hover provider")),o.hasDocumentHighlightProvider=new i.c("editorHasDocumentHighlightProvider",!1,t.a("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),o.hasDocumentSymbolProvider=new i.c("editorHasDocumentSymbolProvider",!1,t.a("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),o.hasReferenceProvider=new i.c("editorHasReferenceProvider",!1,t.a("editorHasReferenceProvider","Whether the editor has a reference provider")),o.hasRenameProvider=new i.c("editorHasRenameProvider",!1,t.a("editorHasRenameProvider","Whether the editor has a rename provider")),o.hasSignatureHelpProvider=new i.c("editorHasSignatureHelpProvider",!1,t.a("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),o.hasInlayHintsProvider=new i.c("editorHasInlayHintsProvider",!1,t.a("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),o.hasDocumentFormattingProvider=new i.c("editorHasDocumentFormattingProvider",!1,t.a("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),o.hasDocumentSelectionFormattingProvider=new i.c("editorHasDocumentSelectionFormattingProvider",!1,t.a("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),o.hasMultipleDocumentFormattingProvider=new i.c("editorHasMultipleDocumentFormattingProvider",!1,t.a("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),o.hasMultipleDocumentSelectionFormattingProvider=new i.c("editorHasMultipleDocumentSelectionFormattingProvider",!1,t.a("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))},c286:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return i.e("chunk-7459c510").then(i.bind(null,"23e02"))}})},c2c6:function(e,t,i){var n;self.MonacoEnvironment={globalAPI:!(n={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"}),getWorkerUrl:function(e,t){var o=i.p;o=(o?o.replace(/\/$/,"")+"/":"")+n[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var s=String(window.location);s=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,s.length)!==s)return/^(\/\/)/.test(o)&&(o=window.location.protocol+o),s=new Blob(["/*"+t+'*/importScripts("'+o+'");'],{type:"application/javascript"}),URL.createObjectURL(s)}return o}},i("4816"),i("3765"),i("6e4e"),i("2935"),i("c36f"),i("0b112"),i("77a4"),i("db2d"),i("9f4d"),i("7c3e"),i("d585"),i("e516"),i("fd11"),i("891c"),i("a106"),i("7605"),i("6df4"),i("7082"),i("958f"),i("3323"),i("f187"),i("1f84"),i("aee8"),i("a222"),i("1af3"),i("bc61"),i("6e62"),i("2e66"),i("8090"),i("747f"),i("7eb7"),i("d844"),i("f17c"),i("5b02"),i("2e4b"),i("6c8c"),i("8452"),i("e2c2"),i("43ad"),i("d741"),i("b574"),i("7a9e"),i("bd50"),i("93ba"),i("6daf"),i("87a3"),i("23ec"),i("5ed2"),i("b3b2"),i("2d47"),e.exports=i("8ea9"),i("09d16"),i("db7a"),i("38e9"),i("962f"),i("d1c2"),i("91d3"),i("0292"),i("8eb6"),i("82a1"),i("a771"),i("13e8"),i("f41d"),i("f570"),i("f5ba"),i("4af6"),i("a8f5"),i("9d48"),i("23f2"),i("2dec"),i("d282"),i("f9ad"),i("77db"),i("8457"),i("7367"),i("cd01"),i("93b9"),i("7257"),i("a79b"),i("daaa"),i("0ef9"),i("16f5"),i("38f6"),i("1aa7"),i("66f1"),i("2e5e"),i("4058"),i("6640"),i("fdc0"),i("c583"),i("8d5c"),i("ea53"),i("abca"),i("b12b"),i("a0a2"),i("1fa1"),i("cb70"),i("2652"),i("8f6a"),i("c286"),i("88b6"),i("4da7"),i("32cc"),i("6a38"),i("4220"),i("a48d"),i("c8aa"),i("8a3f"),i("5d08"),i("19bd"),i("1bd1"),i("c663"),i("73d3"),i("333a"),i("199a"),i("d65c"),i("e8cb"),i("c3d4"),i("b9f8"),i("2d19"),i("d2ce"),i("0542"),i("9f5f"),i("10eb"),i("cf78"),i("9eb0"),i("0447"),i("1389")},c317:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a}));var n=i("30db");let o;if(void 0!==n.b.vscode&&void 0!==n.b.vscode.process){const e=n.b.vscode.process;o={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()},nextTick(e){return Object(n.j)(e)}}}else o=void 0!==e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",VUE_APP_WS_KEFU_URL:"",VUE_APP_WS_ADMIN_URL:"",BASE_URL:"/admin/"})},cwd(){return Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",VUE_APP_WS_KEFU_URL:"",VUE_APP_WS_ADMIN_URL:"",BASE_URL:"/admin/"}).VSCODE_CWD||e.cwd()},nextTick(t){return e.nextTick(t)}}:{get platform(){return n.i?"win32":n.f?"darwin":"linux"},get arch(){},nextTick(e){return Object(n.j)(e)},get env(){return{}},cwd(){return"/"}};const s=o.cwd,r=o.env,a=o.platform}).call(this,i("f28c"))},c36f:function(e,t,i){"use strict";i.r(t),i.d(t,"CutAction",(function(){return m})),i.d(t,"CopyAction",(function(){return f})),i.d(t,"PasteAction",(function(){return _}));var n=i("dff7"),o=(t=i("0f70"),i("30db")),s=i("e53c"),r=i("b2cc"),a=i("5717"),l=i("c101"),d=i("7e32"),h=i("f577"),c=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))},u=(i="9_cutcopypaste",o.g||document.queryCommandSupported("cut")),g=o.g||document.queryCommandSupported("copy");t=void 0!==navigator.clipboard&&!t.g||document.queryCommandSupported("paste");function p(e){return e.register(),e}const m=u?p(new r.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.cutLabel","Cut"),when:l.a.writable,order:1},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.cutLabel","Cut"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.cutLabel","Cut"),when:l.a.writable,order:1}]})):void 0,f=g?p(new r.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.copyLabel","Copy"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0,_=(d.d.appendMenuItem(d.b.MenubarEditMenu,{submenu:d.b.MenubarCopy,title:{value:n.a("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3}),d.d.appendMenuItem(d.b.EditorContext,{submenu:d.b.EditorContextCopy,title:{value:n.a("copy as","Copy As"),original:"Copy As"},group:i,order:3}),t?p(new r.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.pasteLabel","Paste"),when:l.a.writable,order:4},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.pasteLabel","Paste"),when:l.a.writable,order:4}]})):void 0);class b extends r.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:n.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:l.a.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(31)&&t.getSelection().isEmpty()||(s.a.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),s.a.forceCopyWithSyntaxHighlighting=!1)}}function v(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{const n=e.get(a.a).getFocusedCodeEditor();if(n&&n.hasTextFocus()){e=n.getOption(31);const i=n.getSelection();return i&&i.isEmpty()&&!e||document.execCommand(t),!0}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>(document.execCommand(t),!0)))}v(m,"cut"),v(f,"copy"),_&&(_.addImplementation(1e4,"code-editor",(e,t)=>{const i=e.get(a.a),n=e.get(h.a),r=i.getFocusedCodeEditor();return!(!r||!r.hasTextFocus())&&(!document.execCommand("paste")&&o.h&&c(void 0,void 0,void 0,(function*(){var e=yield n.readText();if(""!==e){var t=s.b.INSTANCE.get(e);let i=!1,n=null,o=null;t&&(i=r.getOption(31)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,o=t.mode),r.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:o})}})),!0)}),_.addImplementation(0,"generic-dom",(e,t)=>(document.execCommand("paste"),!0))),g&&Object(r.j)(b)},c3d4:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return i.e("chunk-74523e0e").then(i.bind(null,"0b3be"))}})},c4e3:function(e,t,i){"use strict";i.d(t,"a",(function(){return m}));var n=i("11f7"),o=i("ee56"),s=i("5fe7"),r=i("2504"),a=i("a666"),l=i("ef8e9"),d=i("dff7"),h=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function c(e,t,i){if(i){const o=function(e){if(Object(l.k)(e))return()=>h(this,void 0,void 0,(function*(){return e}));if(Object(l.h)(e.markdown))return e.markdown;{const t=e.markdown;return()=>h(this,void 0,void 0,(function*(){return t}))}}(i);let c,u;const g=n.i(t,n.d.MOUSE_OVER,g=>{if(!c){const g=new r.b;var p=e=>{var i=e.type===n.d.MOUSE_DOWN;i&&(null!==u&&void 0!==u&&u.dispose(),u=void 0),!i&&e.fromElement!==t||(null!==c&&void 0!==c&&c.dispose(),c=void 0)};const m=n.i(t,n.d.MOUSE_LEAVE,p,!0),f=n.i(t,n.d.MOUSE_DOWN,p,!0),_={targetElements:[t],dispose:()=>{}};let b;void 0!==e.placement&&"mouse"!==e.placement||(b=n.i(t,n.d.MOUSE_MOVE,e=>_.x=e.x+10,!0));const v=new s.e(()=>h(this,void 0,void 0,(function*(){var t;c&&(t={content:Object(d.a)("iconLabel.loading","Loading..."),target:_,hoverPosition:2},null!==u&&void 0!==u&&u.dispose(),u=e.showHover(t),t=null!=(t=yield o(g.token))?t:Object(l.k)(i)?void 0:i.markdownNotSupportedFallback,null!==u&&void 0!==u&&u.dispose(),u=void 0,t&&c&&(t={content:t,target:_,showPointer:"element"===e.placement,hoverPosition:2},u=e.showHover(t))),null!==b&&void 0!==b&&b.dispose()})),e.delay);v.schedule(),c=Object(a.i)(()=>{v.dispose(),null!==b&&void 0!==b&&b.dispose(),f.dispose(),m.dispose(),g.dispose(!0)})}},!0);return Object(a.i)(()=>{g.dispose(),null!==c&&void 0!==c&&c.dispose(),null!==u&&void 0!==u&&u.dispose()})}}var u=i("aa3d"),g=i("9ee1");i("2a04");class p{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class m extends a.a{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new p(n.q(e,n.a(".monaco-icon-label")))),this.labelContainer=n.q(this.domNode.element,n.a(".monaco-icon-label-container")),e=n.q(this.labelContainer,n.a("span.monaco-icon-name-container")),this.descriptionContainer=this._register(new p(n.q(this.labelContainer,n.a("span.monaco-icon-description-container")))),null!=t&&t.supportHighlights||null!=t&&t.supportIcons?this.nameNode=new _(e,!!t.supportIcons):this.nameNode=new f(e),null!=t&&t.supportDescriptionHighlights?this.descriptionNodeFactory=()=>new o.a(n.q(this.descriptionContainer.element,n.a("span.label-description")),!!t.supportIcons):this.descriptionNodeFactory=()=>this._register(new p(n.q(this.descriptionContainer.element,n.a("span.label-description")))),this.hoverDelegate=null==t?void 0:t.hoverDelegate}setLabel(e,t,i){const n=["monaco-icon-label"];i&&(i.extraClasses&&n.push(...i.extraClasses),i.italic&&n.push("italic"),i.strikethrough&&n.push("strikethrough")),this.domNode.className=n.join(" "),this.setupHover(this.labelContainer,null==i?void 0:i.title),this.nameNode.setLabel(e,i),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof o.a?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null==i?void 0:i.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null==i?void 0:i.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const i=this.customHovers.get(e);var n;i&&(i.dispose(),this.customHovers.delete(e)),t?this.hoverDelegate?(n=c(this.hoverDelegate,e,t))&&this.customHovers.set(e,n):(n=e,t=t,Object(l.k)(t)?n.title=t:null!=t&&t.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")):e.removeAttribute("title")}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class f{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(u.d)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.q(this.container,n.a("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let s=0;s{const o={start:n,end:n+e.length};return e=i.map(e=>g.a.intersect(o,e)).filter(e=>!g.a.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n})),n=o.end+t.length,e})}}(e,i,null==t?void 0:t.matches);for(let d=0;d{if(t=e,Object(o.j)(t)&&n.a.isUri(t.resource)&&Object(o.j)(t.edit))return new a(e.resource,e.edit,e.modelVersionId,e.metadata);var t;if(t=e,Object(o.j)(t)&&(Boolean(t.newUri)||Boolean(t.oldUri)))return new l(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")})}}class a extends r{constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class l extends r{constructor(e,t,i,n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}},c84a:function(e,t,i){},c8aa:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return i.e("chunk-2d0bdf38").then(i.bind(null,"2dd4"))}})},c8df:function(e,t,i){},caa1:function(e,t,i){},cab5:function(e,t,i){},cb70:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return i.e("chunk-2d0cf16e").then(i.bind(null,"61da"))}})},ccde:function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var n=i("3742"),o=i("2e5d"),s=i("6a89"),r=i("8025"),a=i("70cb");const l=Object.create(null);function d(e,t){if(t<=0)return"";l[e]||(l[e]=["",e]);const i=l[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}class h{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,i,n,s){return e=o.a.visibleColumnFromColumn(e,t,i),s?(t=d(" ",n),d(t,o.a.prevIndentTabStop(e,n)/n)):d("\t",o.a.prevRenderTabStop(e,i)/i)}static shiftIndent(e,t,i,n,s){return e=o.a.visibleColumnFromColumn(e,t,i),s?(t=d(" ",n),d(t,o.a.nextIndentTabStop(e,n)/n)):d("\t",o.a.nextRenderTabStop(e,i)/i)}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){var i=this._selection.startLineNumber;let r=this._selection.endLineNumber;1===this._selection.endColumn&&i!==r&&(r-=1);var{tabSize:l,indentSize:c,insertSpaces:u}=this._opts,g=i===r;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,m=0;for(let f=i;f<=r;f++,d=m){m=0;let r=e.getLineContent(f),_=n.u(r);if((!this._opts.isUnshift||0!==r.length&&0!==_)&&(g||this._opts.isUnshift||0!==r.length)){if(-1===_&&(_=r.length),1/?",o=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const i of n)0<=e.indexOf(i)||(t+="\\"+i);return t+="\\s]+)",new RegExp(t,"g")}();function s(e){let t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}return t.lastIndex=0,t}const r={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,i,n,o=r){if(i.length>o.maxLen){let s=e-o.maxLen/2;return s<0?s=0:n+=s,a(e,t,i=i.substring(s,e+o.maxLen/2),n,o)}var s=Date.now(),l=e-1-n;let d=-1,h=null;for(let r=1;!(Date.now()-s>=o.timeBudget);r++){var c=l-o.windowSize*r,u=(t.lastIndex=Math.max(0,c),function(e,t,i,n){for(var o;o=e.exec(t);){var s=o.index||0;if(s<=i&&e.lastIndex>=i)return o;if(0this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new r.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new r.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})}),this.ranges.sort((e,t)=>e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,i=this._editor.getPosition();if(i){for(let n=0,o=this.ranges.length;n=this.ranges.length&&(this.nextIdx=0)):(--this.nextIdx,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}}canNavigate(){return this.ranges&&0t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>i(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageIdentifier)),this.model.setMode(e.languageIdentifier)}}const D=s.d||s.f?1:2;class N{constructor(e,t,i,n,o,s,r,a){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=i,this.sharesUndoRedoStack=n,this.heapSize=o,this.sha1=s,this.versionId=r,this.alternativeVersionId=a}}let O=class e extends o.a{constructor(e,t,i,o,s){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=i,this._logService=o,this._undoRedoService=s,this._onModelAdded=this._register(new n.b),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new n.b),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new n.b),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new T(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new M(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(e,t){let i=a.d.tabSize,n=(e.editor&&void 0!==e.editor.tabSize&&(r=parseInt(e.editor.tabSize,10),(i=isNaN(r)?i:r)<1&&(i=1)),i),o=(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize&&(r=parseInt(e.editor.indentSize,10),(n=isNaN(r)?n:r)<1&&(n=1)),a.d.insertSpaces),s=(e.editor&&void 0!==e.editor.insertSpaces&&(o="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces)),D);var r=e.eol;"\r\n"===r?s=2:"\n"===r&&(s=1);let l=a.d.trimAutoWhitespace,d=(e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace)),a.d.detectIndentation),h=(e.editor&&void 0!==e.editor.detectIndentation&&(d="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation)),a.d.largeFileOptimizations),c=(e.editor&&void 0!==e.editor.largeFileOptimizations&&(h="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),a.d.bracketPairColorizationOptions);return null!=(r=e.editor)&&r.bracketPairColorization&&"object"==typeof e.editor.bracketPairColorization&&(c={enabled:!!e.editor.bracketPairColorization.enabled}),{isForSimpleWidget:t,tabSize:i,indentSize:n,insertSpaces:o,detectIndentation:d,defaultEOL:s,trimAutoWhitespace:l,largeFileOptimizations:h,bracketPairColorizationOptions:c}}_getEOL(e,t){return e?this._resourcePropertiesService.getEOL(e,t):(e=this._configurationService.getValue("files.eol",{overrideIdentifier:t}))&&"string"==typeof e&&"auto"!==e?e:3===s.a||2===s.a?"\n":"\r\n"}_shouldRestoreUndoStack(){var e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!=typeof e||e}getCreationOptions(t,i,n){let o=this._modelCreationOptionsByLanguageAndResource[t+i];var s,r;return o||(s=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:i}),r=this._getEOL(i,t),o=e._readModelOptions({editor:s,eol:r},n),this._modelCreationOptionsByLanguageAndResource[t+i]=o),o}_updateModelOptions(){var t=this._modelCreationOptionsByLanguageAndResource,i=(this._modelCreationOptionsByLanguageAndResource=Object.create(null),Object.keys(this._models));for(let r=0,a=i.length;re){const i=[];for(this._disposedModels.forEach(e=>{e.sharesUndoRedoStack||i.push(e)}),i.sort((e,t)=>e.time-t.time);0e;){var t=i.shift();this._removeDisposedModel(t.uri),null!==t.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(t.initialUndoRedoSnapshot)}}}_createModelData(e,t,i,n){n=this.getCreationOptions(t.language,i,n);const o=new l.b(e,n,t,i,this._undoRedoService);if(i&&this._disposedModels.has(L(i)))if(e=this._removeDisposedModel(i),n=this._undoRedoService.getElements(i),t=x(o)===e.sha1,t||e.sharesUndoRedoStack){for(const e of n.past)Object(b.b)(e)&&e.matchesResource(i)&&e.setModel(o);for(const e of n.future)Object(b.b)(e)&&e.matchesResource(i)&&e.setModel(o);this._undoRedoService.setElementsValidFlag(i,!0,e=>Object(b.b)(e)&&e.matchesResource(i)),t&&(o._overwriteVersionId(e.versionId),o._overwriteAlternativeVersionId(e.alternativeVersionId),o._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot);if(n=L(o.uri),this._models[n])throw new Error("ModelService: Cannot add model because it already exists!");return t=new k(o,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t)),this._models[n]=t}createModel(e,t,i,n=!1){let o;return t?(o=this._createModelData(e,t.languageIdentifier,i,n),this.setMode(o.model,t)):o=this._createModelData(e,h.b,i,n),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(t){const i=this._models[L(e.uri)];i&&i.setLanguage(t)}}getModels(){const e=[];var t=Object.keys(this._models);for(let n=0,o=t.length;nd?null!==(l=n.model.getInitialUndoRedoSnapshot())&&this._undoRedoService.restoreSnapshot(l):(this._ensureDisposedModelsHeapSize(d-r),this._undoRedoService.setElementsValidFlag(t.uri,!1,e=>Object(b.b)(e)&&e.matchesResource(t.uri)),this._insertDisposedModel(new N(t.uri,n.model.getInitialUndoRedoSnapshot(),Date.now(),o,r,x(t),t.getVersionId(),t.getAlternativeVersionId()))):o||null!==(l=n.model.getInitialUndoRedoSnapshot())&&this._undoRedoService.restoreSnapshot(l),delete this._models[i],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[t.getLanguageIdentifier().language+t.uri],this._onModelRemoved.fire(t)}_onDidChangeLanguage(t,i){i=i.oldLanguage;var n=t.getLanguageIdentifier().language,o=this.getCreationOptions(i,t.uri,t.isForSimpleWidget);n=this.getCreationOptions(n,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,n,o),this._onModelModeChanged.fire({model:t,oldModeId:i})}};O.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,O=i([S(0,c.a),S(1,t.b),S(2,p.b),S(3,m.b),S(4,f.a)],O);const E="editor.semanticHighlighting";function I(e,t,i){return e=null==(i=i.getValue(E,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri}))?void 0:i.enabled,"boolean"==typeof e?e:t.getColorTheme().semanticHighlighting}class M extends o.a{constructor(e,t,i,n){super(),this._watchers=Object.create(null),this._semanticStyling=n;const o=e=>{this._watchers[e.uri.toString()]=new R(e,t,this._semanticStyling)},s=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},r=()=>{for(var n of e.getModels()){var r=this._watchers[n.uri.toString()];I(n,t,i)?r||o(n):r&&s(n,r)}};this._register(e.onModelAdded(e=>{I(e,t,i)&&o(e)})),this._register(e.onModelRemoved(e=>{var t=this._watchers[e.uri.toString()];t&&s(e,t)})),this._register(i.onDidChangeConfiguration(e=>{e.affectsConfiguration(E)&&r()})),this._register(t.onDidColorThemeChange(r))}}class T extends o.a{constructor(e,t){super(),this._themeService=e,this._logService=t,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new C.a(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)}}class A{constructor(e,t,i){this._provider=e,this.resultId=t,this.data=i}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class R extends o.a{constructor(e,t,i){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=i,this._fetchDocumentSemanticTokens=this._register(new u.e(()=>this._fetchDocumentSemanticTokensNow(),R.FETCH_DOCUMENT_SEMANTIC_TOKENS_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const n=()=>{Object(o.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const t of d.l.all(e))"function"==typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};n(),this._register(d.l.onDidChange(()=>{n(),this._fetchDocumentSemanticTokens.schedule()})),this._register(t.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(!this._currentDocumentRequestCancellationTokenSource){var e=new g.b,t=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;t=Object(w.b)(this._model,t,e.token);if(t){const{provider:i,request:n}=t,o=(this._currentDocumentRequestCancellationTokenSource=e,[]),s=this._model.onDidChangeContent(e=>{o.push(e)}),a=this._semanticStyling.get(i);n.then(e=>{this._currentDocumentRequestCancellationTokenSource=null,s.dispose(),this._setDocumentSemanticTokens(i,e||null,a,o)},e=>{e&&(r.e(e)||"string"==typeof e.message&&-1!==e.message.indexOf("busy"))||r.f(e),this._currentDocumentRequestCancellationTokenSource=null,s.dispose(),0{0this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.f(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};u=h([c(3,a.a),c(4,t.a),c(5,s.b),c(6,r.b),c(7,d.b),c(8,l.a),c(9,i.b)],u)},d3d7:function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return l})),i.d(t,"d",(function(){return d}));var n,o=i("308f");t=i("a666"),i=i("0a0f");const s=Object(i.c)("logService"),r=((i=n=n||{})[i.Trace=0]="Trace",i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warning=3]="Warning",i[i.Error=4]="Error",i[i.Critical=5]="Critical",i[i.Off=6]="Off",n.Info);class a extends t.a{constructor(){super(...arguments),this.level=r,this._onDidChangeLogLevel=this._register(new o.b)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class l extends a{constructor(e=r){super(),this.setLevel(e)}trace(e){this.getLevel(),n.Trace}debug(e){this.getLevel(),n.Debug}info(e){this.getLevel(),n.Info}error(e){this.getLevel(),n.Error}dispose(){}}class d extends t.a{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},d3ef:function(e,t,i){"use strict";i.d(t,"b",(function(){return _})),i.d(t,"a",(function(){return b}));var n=i("11f7"),o=i("e32d"),s=i("31df"),r=i("5aa5"),a=i("3813"),l=i("1898"),d=(t=i("1b7d"),i("ceb8")),h=i("308f");class c{constructor(e,t=0,i=e.length,n=t-1){this.items=e,this.start=t,this.end=i,this.index=n}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class u{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();var e=this._elements;this._navigator=new c(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){var e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach(t=>e.push(t)),e}}var g=i("aa3d"),p=(i("8bf4"),i("dff7"));const m=n.a,f={inputBackground:d.a.fromHex("#3C3C3C"),inputForeground:d.a.fromHex("#CCCCCC"),inputValidationInfoBorder:d.a.fromHex("#55AAFF"),inputValidationInfoBackground:d.a.fromHex("#063B49"),inputValidationWarningBorder:d.a.fromHex("#B89500"),inputValidationWarningBackground:d.a.fromHex("#352A05"),inputValidationErrorBorder:d.a.fromHex("#BE1100"),inputValidationErrorBackground:d.a.fromHex("#5A1D1D")};class _ extends t.a{constructor(e,t,i){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new h.b),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new h.b),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i||Object.create(null),Object(g.f)(this.options,f,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!=(t=this.options.tooltip)?t:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.q(e,m(".monaco-inputbox.idle")),i=this.options.flexibleHeight?"textarea":"input";let s=n.q(this.element,m(".ibwrapper"));if(this.input=n.q(s,m(i+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.q(s,m("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new l.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.q(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop)),t=this._register(new o.a(document,"selectionchange"));const i=h.c.filter(t.event,()=>{var e=document.getSelection();return(null==e?void 0:e.anchorNode)===s});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new r.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.input.title=e}setAriaLabel(e){(this.ariaLabel=e)?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.H(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return n.I(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let n=0;var t,i;this.mirror&&(t=parseFloat(this.mirror.style.paddingLeft||"")||0,i=parseFloat(this.mirror.style.paddingRight||"")||0,n=t+i),this.input.style.width=e-n+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){var e,t,i;"number"==typeof this.cachedContentHeight&&"number"==typeof this.cachedHeight&&this.scrollableElement&&(e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop,this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i}))}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type)),e=this.stylesForType(this.message.type),this.element.style.border=e.border?"1px solid "+e.border:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null===e||void 0===e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(this.contextViewProvider&&this.message){let e,t,i=()=>e.style.width=n.I(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(this.message){e=n.q(t,m(".monaco-inputbox-container")),i(),t={inline:!0,className:"monaco-inputbox-message"};const o=(this.message.formatContent?Object(s.b):Object(s.c))(this.message.content,t),r=(o.classList.add(this.classForType(this.message.type)),this.stylesForType(this.message.type));o.style.backgroundColor=r.background?r.background.toString():"",o.style.color=r.foreground?r.foreground.toString():"",o.style.border=r.border?"1px solid "+r.border:"",n.q(e,o)}return null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?p.a("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?p.a("alertWarningMessage","Warning: {0}",this.message.content):p.a("alertInfoMessage","Info: {0}",this.message.content),a.a(t),this.state="open"}}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(this.mirror){const t=this.value;var e=10===t.charCodeAt(t.length-1)?" ":"";(t+e).replace(/\u000c/g,"")?this.mirror.textContent=t+e:this.mirror.innerText=" ",this.layout()}}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",i=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}layout(){var e;this.mirror&&(e=this.cachedContentHeight,this.cachedContentHeight=n.H(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight)))}insertAtCursor(e){const t=this.inputElement;var i=t.selectionStart,n=t.selectionEnd;const o=t.value;null!==i&&null!==n&&(this.value=o.substr(0,i)+e+o.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class b extends _{constructor(e,t,i){super(e,t,i),this.history=new u(i.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();(e=e&&(e===this.value?this.getNextValue():e))&&(this.value=e,a.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();(e=e&&(e===this.value?this.getPreviousValue():e))&&(this.value=e,a.c(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},d3f4:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("6a89");class o{static insert(e,t){return{range:new n.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},d48d:function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return h}));var n=i("3742"),o=i("2e5d"),s=i("b272"),r=i("e6ff"),a=i("7061"),l=i("6a89");class d{static _createWord(e,t,i,n,o){return{start:n,end:o,wordType:t,nextCharClass:i}}static _findPreviousWordOnLine(e,t,i){return t=t.getLineContent(i.lineNumber),this._doFindPreviousWordOnLine(t,e,i)}static _doFindPreviousWordOnLine(e,t,i){let n=0;for(let s=i.column-2;0<=s;s--){var o=e.charCodeAt(s);o=t.get(o);if(0===o){if(2===n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1));n=1}else if(2===o){if(1===n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1));n=2}else if(1===o&&0!==n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){var o=e.length;for(let r=n;r=l.start+1&&(l=d._findNextWordOnLine(e,t,new a.a(o,l.end+1)));s=l?l.start+1:t.getLineMaxColumn(o)}return new a.a(o,s)}static _moveWordPartRight(e,t){var i=t.lineNumber,o=e.getLineMaxColumn(i);if(t.column===o)return ie.start+1<=i.column&&i.column<=e.end+1;const r=(e,t)=>(e=Math.min(e,i.column),t=Math.max(t,i.column),new l.a(i.lineNumber,e,i.lineNumber,t));var a=e=>{let t=e.start+1,i=e.end+1,s=!1;for(;i-1=g.start+1?d._findNextWordOnLine(i,n,new a.a(r,g.end+1)):g)?g.start+1:hBoolean(e))}},d585:function(e,t,i){"use strict";i.r(t),i.d(t,"CoreEditorCommand",(function(){return L})),i.d(t,"EditorScroll_",(function(){return g})),i.d(t,"RevealLine_",(function(){return m})),i.d(t,"CoreNavigationCommands",(function(){return f})),i.d(t,"CoreEditingCommands",(function(){return _}));var n=i("dff7"),o=i("0f70"),s=i("ef8e9"),r=i("3813"),a=i("b2cc"),l=i("5717"),d=i("2e5d"),h=i("7061"),c=i("6a89");class u{static columnSelect(e,t,i,n,o,s){var r=Math.abs(o-i)+1,a=o{const i=e.get(l.a).getFocusedCodeEditor();return!(!i||!i.hasTextFocus())&&this._runEditorCommand(e,i,t)}),e.addImplementation(1e3,"generic-dom-input-textarea",(e,t)=>{const i=document.activeElement;return!!(i&&0<=["input","textarea"].indexOf(i.tagName.toLowerCase()))&&(this.runDOMCommand(),!0)}),e.addImplementation(0,"generic-dom",(e,t)=>{const i=e.get(l.a).getActiveCodeEditor();return!!i&&(i.focus(),this._runEditorCommand(e,i,t))})}_runEditorCommand(e,t,i){return e=this.runEditorCommand(e,t,i),e||!0}}{var k=f=f||{};class e extends L{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[v.b.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!0)}}k.MoveTo=Object(a.k)(new e({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),k.MoveToSelect=Object(a.k)(new e({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class t extends L{runCoreEditorCommand(e,t){e.model.pushStackElement();const i=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,i.viewStates.map(e=>d.d.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:i.fromLineNumber,fromViewVisualColumn:i.fromVisualColumn,toViewLineNumber:i.toLineNumber,toViewVisualColumn:i.toVisualColumn}),i.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}k.ColumnSelect=Object(a.k)(new class extends t{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,i,n){var o=e.model.validatePosition(n.position),s=(o=e.coordinatesConverter.validateViewPosition(new h.a(n.viewPosition.lineNumber,n.viewPosition.column),o),n.doColumnSelect?i.fromViewLineNumber:o.lineNumber);i=n.doColumnSelect?i.fromViewVisualColumn:n.mouseColumn-1;return u.columnSelect(e.cursorConfig,e,s,i,o.lineNumber,n.mouseColumn-1)}}),k.CursorColumnSelectLeft=Object(a.k)(new class extends t{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return u.columnSelectLeft(e.cursorConfig,e,i)}}),k.CursorColumnSelectRight=Object(a.k)(new class extends t{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return u.columnSelectRight(e.cursorConfig,e,i)}});class i extends t{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return u.columnSelectUp(e.cursorConfig,e,i,this._isPaged)}}k.CursorColumnSelectUp=Object(a.k)(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3600,linux:{primary:0}}})),k.CursorColumnSelectPageUp=Object(a.k)(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends t{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return u.columnSelectDown(e.cursorConfig,e,i,this._isPaged)}}k.CursorColumnSelectDown=Object(a.k)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3602,linux:{primary:0}}})),k.CursorColumnSelectPageDown=Object(a.k)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3596,linux:{primary:0}}}));class l extends L{constructor(){super({id:"cursorMove",precondition:void 0,description:v.a.description})}runCoreEditorCommand(e,t){var i=v.a.parse(t);i&&this._runCursorMove(e,t.source,i)}_runCursorMove(e,t,i){e.model.pushStackElement(),e.setCursorStates(t,3,l._move(e,e.getCursorStates(),i)),e.revealPrimaryCursor(t,!0)}static _move(e,t,i){var n=i.select,o=i.value;switch(i.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return v.b.simpleMove(e,t,i.direction,n,o,i.unit);case 11:case 13:case 12:case 14:return v.b.viewportMove(e,t,i.direction,n,o);default:return null}}}k.CursorMoveImpl=l,k.CursorMove=Object(a.k)(new l);class p extends L{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,v.b.simpleMove(e,e.getCursorStates(),i.direction,i.select,i.value,i.unit)),e.revealPrimaryCursor(t.source,!0)}}k.CursorLeft=Object(a.k)(new p({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),k.CursorLeftSelect=Object(a.k)(new p({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1039}})),k.CursorRight=Object(a.k)(new p({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),k.CursorRightSelect=Object(a.k)(new p({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1041}})),k.CursorUp=Object(a.k)(new p({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),k.CursorUpSelect=Object(a.k)(new p({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),k.CursorPageUp=Object(a.k)(new p({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:11}})),k.CursorPageUpSelect=Object(a.k)(new p({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1035}})),k.CursorDown=Object(a.k)(new p({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),k.CursorDownSelect=Object(a.k)(new p({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),k.CursorPageDown=Object(a.k)(new p({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:12}})),k.CursorPageDownSelect=Object(a.k)(new p({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1036}})),k.CreateCursor=Object(a.k)(new class extends L{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let i;i=t.wholeLine?v.b.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):v.b.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const n=e.getCursorStates();if(1n&&(o=n),n=new c.a(o,1,o,e.model.getLineMaxColumn(o));let s=0;if(i.at)switch(i.at){case m.RawAtArgument.Top:s=3;break;case m.RawAtArgument.Center:s=1;break;case m.RawAtArgument.Bottom:s=4}i=e.coordinatesConverter.convertModelRangeToViewRange(n),e.revealRange(t.source,!1,i,s,0)}}),k.SelectAll=new class extends x{constructor(){super(a.h)}runDOMCommand(){o.g&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(e,t,i){t=t._getViewModel(),t&&this.runCoreEditorCommand(t,i)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[v.b.selectAll(e,e.getPrimaryCursorState())])}},k.SetSelection=Object(a.k)(new class extends L{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[d.d.fromModelSelection(t.selection)])}})}const D=y.a.and(w.a.textInputFocus,w.a.columnSelection);function N(e,t){S.a.registerKeybindingRule({id:e,primary:t,when:D,weight:1})}function O(e){e.register()}N(f.CursorColumnSelectLeft.id,1039),N(f.CursorColumnSelectRight.id,1041),N(f.CursorColumnSelectUp.id,1040),N(f.CursorColumnSelectPageUp.id,1035),N(f.CursorColumnSelectDown.id,1042),N(f.CursorColumnSelectPageDown.id,1036);{i=_=_||{};class e extends a.c{runEditorCommand(e,t,i){var n=t._getViewModel();n&&this.runCoreEditingCommand(t,n,i||{})}}i.CoreEditingCommand=e,i.LineBreakInsert=Object(a.k)(new class extends e{constructor(){super({id:"lineBreakInsert",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),i.Outdent=Object(a.k)(new class extends e{constructor(){super({id:"outdent",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:y.a.and(w.a.editorTextFocus,w.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),i.Tab=Object(a.k)(new class extends e{constructor(){super({id:"tab",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:y.a.and(w.a.editorTextFocus,w.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),i.DeleteLeft=Object(a.k)(new class extends e{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,i){var[n,o]=b.a.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection),t.getCursorAutoClosedCharacters());n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),i.DeleteRight=Object(a.k)(new class extends e{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,i){var[n,o]=b.a.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),i.Undo=new class extends x{constructor(){super(a.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(80))return t.getModel().undo()}},i.Redo=new class extends x{constructor(){super(a.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(80))return t.getModel().redo()}}}class E extends a.a{constructor(e,t,i){super({id:e,precondition:void 0,description:i}),this._handlerId=t}runCommand(e,t){const i=e.get(l.a).getFocusedCodeEditor();i&&i.trigger("keyboard",this._handlerId,t)}}function I(e,t){O(new E("default:"+e,e)),O(new E(e,e,t))}I("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I("replacePreviousChar"),I("compositionType"),I("compositionStart"),I("compositionEnd"),I("paste"),I("cut")},d65c:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return i.e("chunk-2d0d61fd").then(i.bind(null,"70e3"))}})},d741:function(e,t,i){"use strict";i.r(t),i.d(t,"provideSelectionRanges",(function(){return C}));var n=i("e8e3"),o=i("2504"),s=(t=i("b2cc"),i("7061")),r=i("6a89"),a=i("8025"),l=i("c101"),d=i("b707"),h=i("dff7"),c=i("7e32"),u=i("3742"),g=i("67b4"),p=i("9e74"),m=i("fdcc"),f=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class _{constructor(e,t){this.index=e,this.ranges=t}mov(e){var t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const i=new _(t,this.ranges);return i.ranges[t].equalsRange(this.ranges[this.index])?i.mov(e):i}}class b{constructor(e){this._editor=e,this._ignoreSelection=!1}static get(e){return e.getContribution(b.ID)}dispose(){var e;null!=(e=this._selectionListener)&&e.dispose()}run(e){return f(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=this._editor.getSelections();var t=this._editor.getModel();if(d.A.has(t)&&(this._state||(yield C(t,i.map(e=>e.getPosition()),this._editor.getOption(102),o.a.None).then(e=>{var t;if(n.n(e)&&e.length===i.length&&this._editor.hasModel()&&n.h(this._editor.getSelections(),i,(e,t)=>e.equalsSelection(t))){for(let t=0;te.containsPosition(i[t].getStartPosition())&&e.containsPosition(i[t].getEndPosition())),e[t].unshift(i[t]);this._state=e.map(e=>new _(0,e)),null!=(t=this._selectionListener)&&t.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var e;this._ignoreSelection||(null!=(e=this._selectionListener)&&e.dispose(),this._state=void 0)})}})),this._state)){this._state=this._state.map(t=>t.mov(e)),t=this._state.map(e=>a.a.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition())),this._ignoreSelection=!0;try{this._editor.setSelections(t)}finally{this._ignoreSelection=!1}}}}))}}b.ID="editor.contrib.smartSelectController";class v extends t.b{constructor(e,t){super(t),this._forward=e}run(e,t){return f(this,void 0,void 0,(function*(){let e=b.get(t);e&&(yield e.run(this._forward))}))}}function C(e,t,i,o){return f(this,void 0,void 0,(function*(){const a=d.A.all(e);1===a.length&&a.unshift(new g.a);let l=[],h=[];for(const i of a)l.push(Promise.resolve(i.provideSelectionRanges(e,t,o)).then(e=>{if(n.n(e)&&e.length===t.length)for(let i=0;i{if(0===t.length)return[];t.sort((e,t)=>s.a.isBefore(e.getStartPosition(),t.getStartPosition())?1:s.a.isBefore(t.getStartPosition(),e.getStartPosition())||s.a.isBefore(e.getEndPosition(),t.getEndPosition())?-1:s.a.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let n,o=[];for(const e of t)n&&(!r.a.containsRange(e,n)||r.a.equalsRange(e,n))||(o.push(e),n=e);if(!i.selectLeadingAndTrailingWhitespace)return o;let a=[o[0]];for(let i=1;i(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing")))}))}}class w{constructor(e){this._disposables=new l.b;let t=[];for(const[n,o]of e){var i=n.links.map(e=>new C(e,o));t=w._union(t,i),Object(l.g)(n)&&this._disposables.add(n)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let i,n=[];var o,s;let r;for(i=0,r=0,o=e.length,s=t.length;iPromise.resolve(n.provideLinks(e,t)).then(e=>{e&&(i[o]=[e,n])},r.g));return Promise.all(n).then(()=>{const e=new w(Object(_.e)(i));return t.isCancellationRequested?(e.dispose(),new w([])):e})}f.a.registerCommand("_executeLinkProvider",(e,...t)=>v(void 0,void 0,void 0,(function*(){let[i,n]=t;Object(b.c)(i instanceof g.a),"number"!=typeof n&&(n=0);var o=e.get(m.a).getModel(i);if(!o)return[];const r=yield y(o,s.a.None);if(!r)return[];for(let e=0;e{this._onEditorMouseMove(e,t)})),this.listenersToRemove.add(n.onExecute(e=>{this.onEditorMouseUp(e)})),this.listenersToRemove.add(n.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this.enabled=e.getOption(62),this.listenersToRemove.add(e.onDidChangeConfiguration(t=>{var i=e.getOption(62);this.enabled!==i&&(this.enabled=i,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(e.onDidChangeModelContent(e=>this.onChange())),this.listenersToRemove.add(e.onDidChangeModel(e=>this.onModelChanged())),this.listenersToRemove.add(e.onDidChangeModelLanguage(e=>this.onModelModeChanged())),this.listenersToRemove.add(c.v.onDidChange(e=>this.onModelModeChanged())),this.timeout=new o.g,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(e){return e.getContribution(t.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),t.RECOMPUTE_TIME)}beginCompute(){return O(this,void 0,void 0,(function*(){if(this.editor.hasModel()&&this.enabled){const t=this.editor.getModel();if(c.v.has(t)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=o.h(e=>y(t,e));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(e){Object(r.f)(e)}finally{this.computePromise=null}}}}))}updateDecorations(e){var t="altKey"===this.editor.getOption(69);let i=[];var n=Object.keys(this.currentOccurrences);for(let l=0,d=n.length;l{t.activate(e,i),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e="altKey"===this.editor.getOption(69);if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(i=>{t.deactivate(i,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){var t;!this.isEnabled(e)||(t=this.getLinkOccurrence(e.target.position))&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,i=!1){if(this.openerService){const o=e["link"];o.resolve(s.a.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){var n=this.editor.getModel().uri;if(n.scheme===k.c.file&&e.startsWith(k.c.file+":")){var o=g.a.parse(e);if(o.scheme===k.c.file){const t=D.i(o);let i=null;t.startsWith("/./")?i="."+t.substr(1):t.startsWith("//./")&&(i="."+t.substr(2)),i&&(e=D.g(n,i))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:i,allowContributedOpeners:!0,allowCommands:!0})},e=>{var t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(n.a("invalid.url","Failed to open this link because it is not well-formed: {0}",o.url.toString())):"missing"===t?this.notificationService.warn(n.a("missing.url","Failed to open this link because its target is missing.")):Object(r.f)(e)})}}getLinkOccurrence(e){if(this.editor.hasModel()&&e)for(const i of this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0)){var t=this.currentOccurrences[i.id];if(t)return t}return null}isEnabled(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.timeout.cancel(),this.activeLinksList&&(null!=(e=this.activeLinksList)&&e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};M.ID="editor.linkDetector",M.RECOMPUTE_TIME=1e3,M=i([N(1,S.a),N(2,f.a)],M);class T extends t.b{constructor(){super({id:"editor.action.openLink",label:n.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let i=M.get(t);var n;if(i&&t.hasModel())for(n of t.getSelections()){var o=i.getLinkOccurrence(n.getEndPosition());o&&i.openLinkOccurrence(o,!1)}}}Object(t.l)(M.ID,M),Object(t.j)(T),Object(x.f)((e,t)=>{e=e.getColor(L.q),e&&t.addRule(`.monaco-editor .detected-link-active { color: ${e} !important; }`)})},d8c3:function(e,t,i){},d93b:function(e,t,i){},d95f:function(e,t,i){},daaa:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return i.e("chunk-2d0e4fe5").then(i.bind(null,"931f"))}})},db2d:function(e,t,i){"use strict";i.r(t),i.d(t,"ColorContribution",(function(){return r})),i("92a6d");t=i("a666");var n=i("b2cc"),o=i("aee8"),s=i("6a89");class r extends t.a{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){var t=e.target.type;if(6===t){t=[...(null==(t=e.target.element)?void 0:t.classList.values())||[]].find(e=>e.startsWith("ced-colorBox"));if(t&&e.target.range){const i=this._editor.getContribution(o.ModesHoverController.ID);i.isColorPickerVisible()||(t=new s.a(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1),i.showContentHover(t,0,!1))}}}}r.ID="editor.contrib.colorContribution",Object(n.l)(r.ID,r)},db7a:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return i.e("chunk-2d0d056d").then(i.bind(null,"680e"))}})},db88:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));class n{constructor(e){this.element=e,this.next=n.Undefined,this.prev=n.Undefined}}n.Undefined=new n(void 0);class o{constructor(){this._first=n.Undefined,this._last=n.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===n.Undefined}clear(){let e=this._first;for(;e!==n.Undefined;){var t=e.next;e.prev=n.Undefined,e.next=n.Undefined,e=t}this._first=n.Undefined,this._last=n.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new n(e);if(this._first===n.Undefined)this._first=i,this._last=i;else if(t){const e=this._last;((this._last=i).prev=e).next=i}else{const e=this._first;((this._first=i).next=e).prev=i}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(i))}}shift(){var e;if(this._first!==n.Undefined)return e=this._first.element,this._remove(this._first),e}pop(){var e;if(this._last!==n.Undefined)return e=this._last.element,this._remove(this._last),e}_remove(e){if(e.prev!==n.Undefined&&e.next!==n.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===n.Undefined&&e.next===n.Undefined?(this._first=n.Undefined,this._last=n.Undefined):e.next===n.Undefined?(this._last=this._last.prev,this._last.next=n.Undefined):e.prev===n.Undefined&&(this._first=this._first.next,this._first.prev=n.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==n.Undefined;)yield e.element,e=e.next}}},dbc9:function(e,t,i){"use strict";var n=i("dff7"),o=i("b7d0"),s=i("303e"),r=i("561a");const a=Object(s.wc)("symbolIcon.arrayForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),l=Object(s.wc)("symbolIcon.booleanForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),d=Object(s.wc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),h=Object(s.wc)("symbolIcon.colorForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),c=Object(s.wc)("symbolIcon.constantForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),u=Object(s.wc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),g=Object(s.wc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),p=Object(s.wc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),m=Object(s.wc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),f=Object(s.wc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_=Object(s.wc)("symbolIcon.fileForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),b=Object(s.wc)("symbolIcon.folderForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),v=Object(s.wc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),C=Object(s.wc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),w=Object(s.wc)("symbolIcon.keyForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),y=Object(s.wc)("symbolIcon.keywordForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),S=Object(s.wc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),L=Object(s.wc)("symbolIcon.moduleForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),x=Object(s.wc)("symbolIcon.namespaceForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),k=Object(s.wc)("symbolIcon.nullForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),D=Object(s.wc)("symbolIcon.numberForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),N=Object(s.wc)("symbolIcon.objectForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),O=Object(s.wc)("symbolIcon.operatorForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),E=Object(s.wc)("symbolIcon.packageForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),I=Object(s.wc)("symbolIcon.propertyForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),M=Object(s.wc)("symbolIcon.referenceForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),T=Object(s.wc)("symbolIcon.snippetForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),A=Object(s.wc)("symbolIcon.stringForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),R=Object(s.wc)("symbolIcon.structForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),P=Object(s.wc)("symbolIcon.textForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),F=Object(s.wc)("symbolIcon.typeParameterForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),B=Object(s.wc)("symbolIcon.unitForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),j=Object(s.wc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(o.f)((e,t)=>{var i=e.getColor(a);i&&t.addRule(r.b.symbolArray.cssSelector+` { color: ${i}; }`),i=e.getColor(l),i&&t.addRule(r.b.symbolBoolean.cssSelector+` { color: ${i}; }`),i=e.getColor(d),i&&t.addRule(r.b.symbolClass.cssSelector+` { color: ${i}; }`),i=e.getColor(S),i&&t.addRule(r.b.symbolMethod.cssSelector+` { color: ${i}; }`),i=e.getColor(h),i&&t.addRule(r.b.symbolColor.cssSelector+` { color: ${i}; }`),i=e.getColor(c),i&&t.addRule(r.b.symbolConstant.cssSelector+` { color: ${i}; }`),i=e.getColor(u),i&&t.addRule(r.b.symbolConstructor.cssSelector+` { color: ${i}; }`),i=e.getColor(g),i&&t.addRule(`\n\t\t\t${r.b.symbolValue.cssSelector},${r.b.symbolEnum.cssSelector} { color: ${i}; }`),i=e.getColor(p),i&&t.addRule(r.b.symbolEnumMember.cssSelector+` { color: ${i}; }`),i=e.getColor(m),i&&t.addRule(r.b.symbolEvent.cssSelector+` { color: ${i}; }`),i=e.getColor(f),i&&t.addRule(r.b.symbolField.cssSelector+` { color: ${i}; }`),i=e.getColor(_),i&&t.addRule(r.b.symbolFile.cssSelector+` { color: ${i}; }`),i=e.getColor(b),i&&t.addRule(r.b.symbolFolder.cssSelector+` { color: ${i}; }`),i=e.getColor(v),i&&t.addRule(r.b.symbolFunction.cssSelector+` { color: ${i}; }`),i=e.getColor(C),i&&t.addRule(r.b.symbolInterface.cssSelector+` { color: ${i}; }`),i=e.getColor(w),i&&t.addRule(r.b.symbolKey.cssSelector+` { color: ${i}; }`),i=e.getColor(y),i&&t.addRule(r.b.symbolKeyword.cssSelector+` { color: ${i}; }`),i=e.getColor(L),i&&t.addRule(r.b.symbolModule.cssSelector+` { color: ${i}; }`),i=e.getColor(x),i&&t.addRule(r.b.symbolNamespace.cssSelector+` { color: ${i}; }`),i=e.getColor(k),i&&t.addRule(r.b.symbolNull.cssSelector+` { color: ${i}; }`),i=e.getColor(D),i&&t.addRule(r.b.symbolNumber.cssSelector+` { color: ${i}; }`),i=e.getColor(N),i&&t.addRule(r.b.symbolObject.cssSelector+` { color: ${i}; }`),i=e.getColor(O),i&&t.addRule(r.b.symbolOperator.cssSelector+` { color: ${i}; }`),i=e.getColor(E),i&&t.addRule(r.b.symbolPackage.cssSelector+` { color: ${i}; }`),i=e.getColor(I),i&&t.addRule(r.b.symbolProperty.cssSelector+` { color: ${i}; }`),i=e.getColor(M),i&&t.addRule(r.b.symbolReference.cssSelector+` { color: ${i}; }`),i=e.getColor(T),i&&t.addRule(r.b.symbolSnippet.cssSelector+` { color: ${i}; }`),i=e.getColor(A),i&&t.addRule(r.b.symbolString.cssSelector+` { color: ${i}; }`),i=e.getColor(R),i&&t.addRule(r.b.symbolStruct.cssSelector+` { color: ${i}; }`),i=e.getColor(P),i&&t.addRule(r.b.symbolText.cssSelector+` { color: ${i}; }`),i=e.getColor(F),i&&t.addRule(r.b.symbolTypeParameter.cssSelector+` { color: ${i}; }`),i=e.getColor(B),i&&t.addRule(r.b.symbolUnit.cssSelector+` { color: ${i}; }`),i=e.getColor(j);i&&t.addRule(r.b.symbolVariable.cssSelector+` { color: ${i}; }`)})},dd1b:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("308f");t=i("89cd");const o={JSONContribution:"base.contributions.json"};i=new class{constructor(){this._onDidChangeSchema=new n.b,this.schemasById={}}registerSchema(e,t){var i;this.schemasById[0<(i=e).length&&"#"===i.charAt(i.length-1)?i.substring(0,i.length-1):i]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}},t.a.add(o.JSONContribution,i)},debc:function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"b",(function(){return d}));var n=i("3d378"),o=i("b589"),s=i("30db"),r=i("82c9"),a=i("6d8e");function l(e){if(e)return"string"==typeof e&&(e=a.a.file(e)),e=Object(r.b)(e)||(e.scheme===o.c.file?e.fsPath:e.path),s.i&&Object(n.c)(e)?d(e):e}function d(e){return Object(n.a)(e)?e.charAt(0).toUpperCase()+e.slice(1):e}},dff7:function(e,t,i){"use strict";function n(e,t,...i){{var n=i;let e;return e=0===n.length?t:t.replace(/\{(\d+)\}/g,(function(e,t){return t=t[0],void 0!==n[t]?n[t]:e}))}}i.d(t,"a",(function(){return n}))},e1b5:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("b707");class o{constructor(e,t){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}static createEmpty(e){var t=o.defaultTokenMetadata;const i=new Uint32Array(2);return i[0]=e.length,i[1]=t,new o(i,e)}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;t<<=1;var n=t+(i<<1);for(let o=t;o>>1)-1;for(let n=0;n>>1)-1;for(;ir&&(n+=this._text.substring(r,l.offset),d=this._tokens[1+(t<<1)],s.push(n.length,d),r=l.offset),n+=l.text,s.push(n.length,l.tokenMetadata),i++}}return new o(new Uint32Array(s),n)}}o.defaultTokenMetadata=16793600;class s{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let o=this._firstTokenIndex,s=e.getCount();othis.emitter.fire(e);this.emitter=new n.b({onFirstListenerAdd:()=>e.addEventListener(t,o,i),onLastListenerRemove:()=>e.removeEventListener(t,o,i)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function s(e){return e.preventDefault(),e.stopPropagation(),e}},e385d:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return b}));var n,o,s=i("11f7"),r=i("70c3"),a=i("1898"),l=i("e8e3"),d=(t=i("ceb8"),i("308f")),h=i("a666"),c=i("49d9"),u=i("42e39"),g=i("ef8e9");i("e750");const p={separatorBorder:t.a.transparent};class m{constructor(e,t,i,n){this.container=e,this.view=t,this.disposable=n,this._cachedVisibleSize=void 0,"number"==typeof i?(this._size=i,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=i.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=Object(c.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class f extends m{layoutContainer(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"}}class _ extends m{layoutContainer(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"}}(i=n=n||{})[i.Idle=0]="Idle",i[i.Busy=1]="Busy",(t=o=o||{}).Distribute={type:"distribute"},t.Split=function(e){return{type:"split",index:e}},t.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}};class b extends h.a{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=n.Idle,this._onDidSashChange=this._register(new d.b),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new d.b),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=g.l(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!g.l(t.proportionalLayout)||!!t.proportionalLayout,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=Object(s.q)(this.el,Object(s.a)(".sash-container")),this.viewContainer=Object(s.a)(".split-view-container"),this.scrollable=new u.a(125,s.V),this.scrollableElement=this._register(new a.c(this.viewContainer,{vertical:0===this.orientation?null!=(e=t.scrollbarVisibility)?e:1:2,horizontal:1===this.orientation?null!=(e=t.scrollbarVisibility)?e:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft})),Object(s.q)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||p),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{var i=g.l(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size};e=e.view;this.doAddView(e,i,t,!0)}),this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){var i=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let o=0;o1===this.viewItems[e].priority);var n=o.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,t,n)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&0e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:i}){for(const s of this.viewItems)s.enabled=!1;const n=this.sashItems.findIndex(t=>t.sash===e),o=Object(h.e)(Object(s.i)(document.body,"keydown",e=>r(this.sashDragState.current,e.altKey)),Object(s.i)(document.body,"keyup",()=>r(this.sashDragState.current,!1))),r=(e,t)=>{const i=this.viewItems.map(e=>e.size);let s,r,a=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;if((t=this.inverseAltBehavior?!t:t)&&(h=n===this.sashItems.length-1,d=h?(h=this.viewItems[n],a=(h.minimumSize-h.size)/2,(h.maximumSize-h.size)/2):(h=this.viewItems[n+1],a=(h.size-h.maximumSize)/2,(h.size-h.minimumSize)/2)),!t){const e=Object(l.r)(n,-1),t=Object(l.r)(n+1,this.viewItems.length);var h=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),c=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-i[t]),0),u=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),g=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(i[t]-this.viewItems[t].viewMaximumSize),0);const o=Math.max(h,g),a=Math.min(u,c);h=this.findFirstSnapIndex(e),g=this.findFirstSnapIndex(t);"number"==typeof h&&(u=this.viewItems[h],c=Math.floor(u.viewMinimumSize/2),s={index:h,limitDelta:u.visible?o-c:o+c,size:u.size}),"number"==typeof g&&(h=this.viewItems[g],c=Math.floor(h.viewMinimumSize/2),r={index:g,limitDelta:h.visible?a+c:a-c,size:h.size})}this.sashDragState={start:e,current:e,index:n,sizes:i,minDelta:a,maxDelta:d,alt:t,snapBefore:s,snapAfter:r,disposable:o}};r(t,i)}onSashChange({current:e}){var{index:t,start:i,sizes:n,alt:o,minDelta:s,maxDelta:r,snapBefore:a,snapAfter:l}=this.sashDragState,i=(e=(this.sashDragState.current=e)-i,this.resize(t,e,n,void 0,void 0,s,r,a,l));o&&(e=t===this.sashItems.length-1,n=this.viewItems.map(e=>e.size),r=(s=this.viewItems[e?t:t+1]).size-s.maximumSize,a=s.size-s.minimumSize,this.resize(e?t-1:t+1,-i,n,void 0,void 0,r,a)),this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const t of this.viewItems)t.enabled=!0}onViewChange(e,t){var i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=Object(c.b)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&0=this.viewItems.length)){const s=Object(l.r)(this.viewItems.length).filter(t=>t!==e);var i=[...s.filter(e=>1===this.viewItems[e].priority),e],o=s.filter(e=>2===this.viewItems[e].priority);const r=this.viewItems[e];t=Math.round(t),t=Object(c.b)(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(i,o),this.state=n.Idle}}distributeViewSizes(){const e=[];let t=0;for(const r of this.viewItems)01===this.viewItems[e].priority),s=n.filter(e=>2===this.viewItems[e].priority);this.relayout(o,s)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,o){if(this.state!==n.Idle)throw new Error("Cant modify splitview");this.state=n.Busy;const a=Object(s.a)(".split-view-view"),c=(i===this.viewItems.length?this.viewContainer.appendChild(a):this.viewContainer.insertBefore(a,this.viewContainer.children.item(i)),e.onDidChange(e=>this.onViewChange(m,e)));var u=Object(h.i)(()=>this.viewContainer.removeChild(a));const g=Object(h.e)(c,u);let p;p="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const m=new(0===this.orientation?f:_)(a,e,p,g);if(this.viewItems.splice(i,0,m),1this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},u),{orientation:1})):new r.b(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},u),{orientation:0}));u=0===this.orientation?t=>({sash:e,start:t.startY,current:t.currentY,alt:t.altKey}):t=>({sash:e,start:t.startX,current:t.currentX,alt:t.altKey});const t=d.c.map(e.onDidStart,u);var b=t(this.onSashStart,this);const n=d.c.map(e.onDidChange,u),o=n(this.onSashChange,this),s=d.c.map(e.onDidEnd,()=>this.sashItems.findIndex(t=>t.sash===e));u=s(this.onSashEnd,this);var v=e.onDidReset(()=>{var t=this.sashItems.findIndex(t=>t.sash===e),i=Object(l.r)(t,-1),n=Object(l.r)(t+1,this.viewItems.length);i=this.findFirstSnapIndex(i),n=this.findFirstSnapIndex(n);"number"==typeof i&&!this.viewItems[i].visible||"number"==typeof n&&!this.viewItems[n].visible||this._onDidSashReset.fire(t)});const a=Object(h.e)(b,o,u,v,e);b={sash:e,disposable:a},this.sashItems.splice(i-1,0,b)}let C;a.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(C=[t.index]),o||this.relayout([i],C),this.state=n.Idle,o||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){var i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,o,s=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,a,d){if(e<0||e>=this.viewItems.length)return 0;const h=Object(l.r)(e,-1),u=Object(l.r)(e+1,this.viewItems.length);if(o)for(const c of o)Object(l.p)(h,c),Object(l.p)(u,c);if(n)for(const c of n)Object(l.o)(h,c),Object(l.o)(u,c);var g=h.map(e=>this.viewItems[e]),p=h.map(e=>i[e]),m=u.map(e=>this.viewItems[e]),f=u.map(e=>i[e]),_=h.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),b=h.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),v=0===u.length?Number.POSITIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),C=0===u.length?Number.NEGATIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0);_=Math.max(_,C,s),C=Math.min(v,b,r);let w=!1;if(a){const e=this.viewItems[a.index];v=t>=a.limitDelta,w=v!==e.visible,e.setVisible(v,a.size)}if(!w&&d){const e=this.viewItems[d.index];b=te+t.size,0);let i=this.size-t;const n=Object(l.r)(this.viewItems.length-1,-1);t=n.filter(e=>1===this.viewItems[e].priority);for(const r of n.filter(e=>2===this.viewItems[e].priority))Object(l.p)(n,r);for(const r of t)Object(l.o)(n,r);"number"==typeof e&&Object(l.o)(n,e);for(let r=0;0!==i&&re+t.size,0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1;var t=this.viewItems.map(t=>e=0e=0e=0e=0e.dispose()),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}},e516:function(e,t,i){"use strict";i.r(t),i.d(t,"CursorUndoRedoController",(function(){return l})),i.d(t,"CursorUndo",(function(){return d})),i.d(t,"CursorRedo",(function(){return h}));var n=i("dff7"),o=(t=i("a666"),i("b2cc")),s=i("c101");class r{constructor(e){this.selections=e}equals(e){var t=this.selections.length;if(t!==e.selections.length)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{this._isCursorUndoRedo||t.oldSelections&&t.oldModelVersionId===t.modelVersionId&&(t=new r(t.oldSelections),0this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new r.e(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=c.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let i=null;this._register(s.o(t.domNode,"keydown",e=>{(109===e.keyCode||this._isDoingComposition&&1===e.keyCode)&&e.stopPropagation(),e.equals(9)&&e.preventDefault(),i=e,this._onKeyDown.fire(e)})),this._register(s.o(t.domNode,"keyup",e=>{this._onKeyUp.fire(e)})),this._register(s.i(t.domNode,"compositionstart",e=>{if(c.c,!this._isDoingComposition){if(this._isDoingComposition=!0,d.f&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&0{var t=this._textAreaState,i=c.b.readFromTextArea(this._textArea);return[i,c.b.deduceInput(t,i,e)]},g=()=>{var e=this._textAreaState,t=c.b.readFromTextArea(this._textArea);return[t,c.b.deduceAndroidCompositionInput(e,t)]},p=e=>{var t=this._textAreaState;e=c.b.selectedText(e);return[e,{text:e.value,replacePrevCharCnt:t.selectionEnd-t.selectionStart,replaceNextCharCnt:0,positionDelta:0}]};this._register(s.i(t.domNode,"compositionupdate",e=>{if(c.c,o.e){const[t,i]=g();this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e)}else{const[t,i]=p(e.data||"");this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e)}})),this._register(s.i(t.domNode,"compositionend",e=>{if(c.c,this._isDoingComposition)if(this._isDoingComposition=!1,o.e){const[e,t]=g();this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire()}else{const[t,i]=p(e.data||"");this._textAreaState=t,this._onType.fire(i),(o.f||o.g)&&(this._textAreaState=c.b.readFromTextArea(this._textArea)),this._onCompositionEnd.fire()}})),this._register(s.i(t.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),!this._isDoingComposition){const[e,t]=l(d.f);0===t.replacePrevCharCnt&&1===t.text.length&&h.E(t.text.charCodeAt(0))||(this._textAreaState=e,0===this._nextCommand?""===t.text&&0===t.replacePrevCharCnt||this._onType.fire(t):(""===t.text&&0===t.replacePrevCharCnt||this._firePaste(t.text,null),this._nextCommand=0))}})),this._register(s.i(t.domNode,"cut",e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(s.i(t.domNode,"copy",e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(s.i(t.domNode,"paste",e=>{var t;this._textArea.setIgnoreSelectionChangeTime("received paste event"),_.canUseTextData(e)?([e,t]=_.getTextData(e),""!==e&&this._firePaste(e,t)):(this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",c.b.EMPTY),this._nextCommand=1)})),this._register(s.i(t.domNode,"focus",()=>{var e=this._hasFocus;this._setHasFocus(!0),o.h&&!e&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()})),this._register(s.i(t.domNode,"blur",()=>{this._isDoingComposition&&(this._isDoingComposition=!1,this.writeScreenReaderContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(s.i(t.domNode,n.Tap,()=>{o.e&&this._isDoingComposition&&(this._isDoingComposition=!1,this.writeScreenReaderContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return s.i(document,"selectionchange",t=>{var i,n;this._hasFocus&&!this._isDoingComposition&&o.f&&(n=(i=Date.now())-e,e=i,n<5||(n=i-this._textArea.getIgnoreSelectionChangeTime(),this._textArea.resetSelectionChangeTime(),n<100||this._textAreaState.selectionStartPosition&&this._textAreaState.selectionEndPosition&&(i=this._textArea.getValue(),this._textAreaState.value===i&&(n=this._textArea.getSelectionStart(),i=this._textArea.getSelectionEnd(),this._textAreaState.selectionStart===n&&this._textAreaState.selectionEnd===i||(n=this._textAreaState.deduceEditorPosition(n),n=this._host.deduceModelPosition(n[0],n[1],n[2]),i=this._textAreaState.deduceEditorPosition(i),i=this._host.deduceModelPosition(i[0],i[1],i[2]),n=new g.a(n.lineNumber,n.column,i.lineNumber,i.column),this._onSelectionChangeRequest.fire(n))))))})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){var e=s.F(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):s.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),(this._hasFocus?this._onFocus:this._onBlur).fire())}_setAndWriteTextAreaState(e,t){(t=this._hasFocus?t:t.collapseSelection()).writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(_.canUseTextData(e));var i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};m.INSTANCE.set(o.g?t.text.replace(/\r\n/g,"\n"):t.text,i),_.canUseTextData(e)?_.setTextData(e,t.text,t.html,i):this._setAndWriteTextAreaState("copy or cut",c.b.selectedText(t.text))}_firePaste(e,t){t=t||m.INSTANCE.get(e),this._onPaste.fire({text:e,metadata:t})}}class _{static canUseTextData(e){return!!e.clipboardData||!!window.clipboardData}static getTextData(t){if(t.clipboardData){t.preventDefault();var i=t.clipboardData.getData(l.a.text);let o=null;var n=t.clipboardData.getData("vscode-editor-data");if("string"==typeof n)try{1!==(o=JSON.parse(n)).version&&(o=null)}catch(e){}return[i,o]}if(window.clipboardData)return t.preventDefault(),[window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(e,t,i,n){if(e.clipboardData)e.clipboardData.setData(l.a.text,t),"string"==typeof i&&e.clipboardData.setData("text/html",i),e.clipboardData.setData("vscode-editor-data",JSON.stringify(n));else{if(!window.clipboardData)throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!");window.clipboardData.setData("Text",t)}e.preventDefault()}}class b extends t.a{constructor(e){super(),this._actual=e,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(e,t){const i=this._actual.domNode;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.domNode.selectionDirection?this._actual.domNode.selectionEnd:this._actual.domNode.selectionStart}getSelectionEnd(){return"backward"===this._actual.domNode.selectionDirection?this._actual.domNode.selectionStart:this._actual.domNode.selectionEnd}setSelectionRange(e,t,i){const n=this._actual.domNode;let r=null;var a=s.F(n),l=(a=(r=(a||document).activeElement)===n,n.selectionStart),d=n.selectionEnd;if(a&&l===t&&d===i)o.g&&window.parent!==window&&n.focus();else if(a)this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),o.g&&window.parent!==window&&n.focus();else try{var h=s.U(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),s.S(n,h)}catch(e){}}}},e58e:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("30db");const o=n.b.performance&&"function"==typeof n.b.performance.now;class s{constructor(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new s(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return(this._highResolution?n.b.performance:Date).now()}}},e679:function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("1e93"),o=i("7ab3");function s(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class r{constructor(e,t,i,n){this.oldPosition=e,this.oldText=t,this.newPosition=i,this.newText=n}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${s(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${s(this.oldText)}")`:`(replace@${this.oldPosition} "${s(this.oldText)}" with "${s(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,i){var o=t.length;n.f(e,o,i),i+=4;for(let s=0;s(t.hasOwnProperty(i)||(t[i]=e(i)),t[i])}(e=>new n(e))},e750:function(e,t,i){},e757:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));let n=!1,o=null;class s{static getSameOriginWindowChain(){if(!o){o=[];let t=window;for(var e;(e=function(e){if(!e.parent||e.parent===e)return null;try{var t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&(t.protocol!==i.protocol||t.hostname!==i.hostname||t.port!==i.port))return n=!0,null}catch(e){return n=!0,null}return e.parent}(t))?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e;);}return o.slice(0)}static hasDifferentOriginAncestor(){return o||this.getSameOriginWindowChain(),n}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,n=0;for(const s of this.getSameOriginWindowChain()){if(i+=s.window.scrollY,n+=s.window.scrollX,s.window===t)break;if(!s.iframeElement)break;var o=s.iframeElement.getBoundingClientRect();i+=o.top,n+=o.left}return{top:i,left:n}}}},e75b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i("f0b2");const n="monaco-mouse-cursor-text"},e8cb:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:function(){return i.e("chunk-2d0b21d7").then(i.bind(null,"2377"))}})},e8e3:function(e,t,i){"use strict";function n(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function s(e,t,i=((e,t)=>e===t)){if(e!==t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let n=0,o=e.length;n=t.length)throw new TypeError("invalid index");var n,o=t[Math.floor(t.length*Math.random())];let s=[],r=[],a=[];for(n of t){var d=i(n,o);(d<0?s:0!!e)}function c(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&0e.indexOf(t)===i);const i=Object.create(null);return e.filter(e=>(e=t(e),!i[e]&&(i[e]=!0)))}function p(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function m(e,t){return 0t;o--)n.push(o);return n}function b(e,t,i){const n=e.slice(0,t);return e=e.slice(t),n.concat(i,e)}function v(e,t){var i=e.indexOf(t);-1=r;l--)o[l+a]=o[l];for(let l=0;ls(t,e),n)):(i=e,n=r(181387,n=t),Object.keys(i).sort().reduce((e,t)=>(e=a(t,e),s(i[t],e)),n));case"string":return a(e,t);case"boolean":return r(e?433:863,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}var i,n}function r(e,t){return(t<<5)-t+e|0}function a(e,t){t=r(149417,t);for(let i=0,n=e.length;i>>i)>>>0}function d(e,t=0,i=e.byteLength,n=0){for(let o=0;oe.toString(16).padStart(2,"0")).join("");for(var[i,n,o="0"]=[(e>>>0).toString(16),t/4];i.length>>6:(i<65536?e[t++]=224|(61440&i)>>>12:(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12),e[t++]=128|(4032&i)>>>6),e[t++]=128|(63&i)>>>0),64<=t&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,d(this._buff,this._buffLen),56{i="\r\n"===e?-1:0,o+=n;for(const n of t)n.end<=o||(n.start>=o&&(n.start+=i),n.end>=o&&(n.end+=i));return n+=i,"⏎"})}}},ef37:function(e,t,i){},ef8e9:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function s(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function r(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function d(e){return l(e)||null===e}function h(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function c(e){if(d(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function g(e,t){var i=Math.min(e.length,t.length);for(let n=0;nfunction(){var i=Array.prototype.slice.call(arguments,0);return t(e,i)})(n);return i}function f(e){return null===e?void 0:e}function _(e,t="Unreachable"){throw new Error(t)}i.d(t,"f",(function(){return n})),i.d(t,"k",(function(){return o})),i.d(t,"j",(function(){return s})),i.d(t,"i",(function(){return r})),i.d(t,"g",(function(){return a})),i.d(t,"l",(function(){return l})),i.d(t,"m",(function(){return d})),i.d(t,"c",(function(){return h})),i.d(t,"a",(function(){return c})),i.d(t,"h",(function(){return u})),i.d(t,"n",(function(){return g})),i.d(t,"e",(function(){return p})),i.d(t,"d",(function(){return m})),i.d(t,"o",(function(){return f})),i.d(t,"b",(function(){return _}))},efdb:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("markerDecorationsService")},eff2:function(e,t,i){"use strict";i.d(t,"b",(function(){return c})),i.d(t,"a",(function(){return u}));var n=i("0f70"),o=i("650e"),s=i("11f7"),r=i("a60f"),a=i("f070"),l=(t=i("a666"),i("30db")),d=i("ef8e9"),h=(i("c84a"),i("dff7"));class c extends t.a{constructor(e,t,i={}){super(),this.options=i,this._context=e||this,(this._action=t)instanceof a.a&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new a.b)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e,i=(this._register(r.b.addTarget(e)),this.options&&this.options.draggable);i&&(e.draggable=!0,n.g&&this._register(Object(s.i)(e,s.d.DRAG_START,e=>null==(e=e.dataTransfer)?void 0:e.setData(o.a.TEXT,this._action.label)))),this._register(Object(s.i)(t,r.a.Tap,e=>this.onClick(e,!0))),this._register(Object(s.i)(t,s.d.MOUSE_DOWN,e=>{i||s.c.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),l.f&&this._register(Object(s.i)(t,s.d.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register(Object(s.i)(t,s.d.CLICK,e=>{s.c.stop(e,!0),this.options&&this.options.isMenu||l.j(()=>this.onClick(e))})),this._register(Object(s.i)(t,s.d.DBLCLICK,e=>{s.c.stop(e,!0)})),[s.d.MOUSE_UP,s.d.MOUSE_OUT].forEach(e=>{this._register(Object(s.i)(t,e,e=>{s.c.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){s.c.stop(e,!0);var i=d.m(this._context)?null!=(i=this.options)&&i.useEventAsContext?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,i)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class u extends c{constructor(e,t,i={}){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=Object(s.q)(this.element,Object(s.a)("a.action-label"))),this.label&&(this._action.id===a.d.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(Object(s.q)(this.element,Object(s.a)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=h.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):this.label&&this.label.classList.remove("codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),this.element&&this.element.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),this.element&&this.element.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},f004:function(e,t,i){},f070:function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"d",(function(){return l})),i.d(t,"e",(function(){return d})),i.d(t,"c",(function(){return h}));var n=i("308f"),o=(t=i("a666"),i("dff7")),s=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class r extends t.a{constructor(e,t="",i="",o=!0,s){super(),this._onDidChange=this._register(new n.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=i,this._enabled=o,this._actionCallback=s}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return s(this,void 0,void 0,(function*(){this._actionCallback&&(yield this._actionCallback(e))}))}}class a extends t.a{constructor(){super(...arguments),this._onBeforeRun=this._register(new n.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new n.b),this.onDidRun=this._onDidRun.event}run(e,t){return s(this,void 0,void 0,(function*(){if(e.enabled){this._onBeforeRun.fire({action:e});let i=void 0;try{yield this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}))}runAction(e,t){return s(this,void 0,void 0,(function*(){yield e.run(t)}))}}class l extends r{constructor(e){super(l.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}l.ID="vs.actions.separator";class d{constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=e,this.label=t,this.class=n,this._actions=i}get actions(){return this._actions}dispose(){}run(){return s(this,void 0,void 0,(function*(){}))}}class h extends r{constructor(){super(h.ID,o.a("submenu.empty","(empty)"),void 0,!1)}}h.ID="vs.actions.empty"},f07b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(...e){for(var[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){var i=this._entries.get(e);return this._entries.set(e,t),i}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}},f0b2:function(e,t,i){},f17c:function(e,t,i){"use strict";i.r(t),i.d(t,"InsertCursorAbove",(function(){return w})),i.d(t,"InsertCursorBelow",(function(){return y})),i.d(t,"MultiCursorSessionResult",(function(){return k})),i.d(t,"MultiCursorSession",(function(){return D})),i.d(t,"MultiCursorSelectionController",(function(){return N})),i.d(t,"MultiCursorSelectionControllerAction",(function(){return O})),i.d(t,"AddSelectionToNextFindMatchAction",(function(){return E})),i.d(t,"AddSelectionToPreviousFindMatchAction",(function(){return I})),i.d(t,"MoveSelectionToNextFindMatchAction",(function(){return M})),i.d(t,"MoveSelectionToPreviousFindMatchAction",(function(){return T})),i.d(t,"SelectHighlightsAction",(function(){return A})),i.d(t,"CompatChangeAll",(function(){return R})),i.d(t,"SelectionHighlighter",(function(){return F}));var n=i("dff7"),o=i("5fe7"),s=i("fe45"),r=i("a666"),a=i("3813"),l=(t=i("b2cc"),i("a007")),d=i("6a89"),h=i("8025"),c=i("c101"),u=i("3352"),g=i("b57f"),p=i("b707"),m=i("a106"),f=i("7e32"),_=i("303e"),b=i("b7d0"),v=i("4fc3");function C(e,t){const i=t.filter(t=>!e.find(e=>e.equals(t)));1<=i.length&&(t=i.map(e=>`line ${e.viewState.position.lineNumber} column `+e.viewState.position.column).join(", "),t=1===i.length?n.a("cursorAdded","Cursor added: {0}",t):n.a("cursorsAdded","Cursors added: {0}",t),Object(a.c)(t))}class w extends t.b{constructor(){super({id:"editor.action.insertCursorAbove",label:n.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,i){if(t.hasModel()){var n=i&&!0===i.logicalLine;const e=t._getViewModel();e.cursorConfig.readOnly||(e.pushStackElement(),t=e.getCursorStates(),e.setCursorStates(i.source,3,l.b.addCursorUp(e,t,n)),e.revealTopMostCursor(i.source),C(t,e.getCursorStates()))}}}class y extends t.b{constructor(){super({id:"editor.action.insertCursorBelow",label:n.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,i){if(t.hasModel()){var n=i&&!0===i.logicalLine;const e=t._getViewModel();e.cursorConfig.readOnly||(e.pushStackElement(),t=e.getCursorStates(),e.setCursorStates(i.source,3,l.b.addCursorDown(e,t,n)),e.revealBottomMostCursor(i.source),C(t,e.getCursorStates()))}}}class S extends t.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:n.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let o=e.startLineNumber;othis.getCursorsForSelection(t,e,s)),0{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}}_endSession(){var e;this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController&&(e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0},this._session.findController.getState().change(e,!1)),this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){var i;return t.isEmpty()&&(i=this._editor.getConfiguredWordAtPosition(t.getStartPosition()))?new h.a(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){var t=this._editor.getSelections();if(1{e.forEach(e=>{t.range.endLineNumber<=e.endLineNumber&&t.range.startLineNumber>=e.startLineNumber&&i.push(t)})}),n=i}if(0new h.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}}N.ID="editor.contrib.multiCursorController";class O extends t.b{run(e,t){var i=N.get(t);if(i){var n=m.CommonFindController.get(t);if(n){const e=t._getViewModel();e&&(t=e.getCursorStates(),this._run(i,n),C(t,e.getCursorStates()))}}}}class E extends O{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:n.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:2082,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class I extends O{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:n.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class M extends O{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:n.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:Object(s.a)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class T extends O{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:n.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}class A extends O{constructor(){super({id:"editor.action.selectHighlights",label:n.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:3114,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}class R extends O{constructor(){super({id:"editor.action.changeAll",label:n.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:v.a.and(c.a.writable,c.a.editorTextFocus),kbOpts:{kbExpr:c.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}class P{constructor(e,t,i,n){this.searchText=e,this.matchCase=t,this.wordSeparators=i,this.modelVersionId=n}static softEquals(e,t){return!e&&!t||!(!e||!t)&&e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId}}class F extends r.a{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(97),this.decorations=[],this.updateSoon=this._register(new o.e(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(97)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(m.CommonFindController.get(e).getState().onFindReplaceStateChange(e=>{this._update()}))}_update(){this._setState(F._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e)return null;if(!t.hasModel())return null;if(e=t.getSelection(),e.startLineNumber!==e.endLineNumber)return null;const i=N.get(t);if(!i)return null;const n=m.CommonFindController.get(t);if(!n)return null;let o=i.getSession(n);if(!o){if(e=t.getSelections(),1e.range),r=(s.sort(d.a.compareRangesUsingStarts),this.editor.getSelections()),a=(r.sort(d.a.compareRangesUsingStarts),[]);for(let e=0,n=0,l=s.length,h=r.length;e=h?(a.push(i),e++):(t=d.a.compareRangesUsingStarts(i,r[n]))<0?(!r[n].isEmpty()&&d.a.areIntersecting(i,r[n])||a.push(i),e++):(0({range:e,options:o?F._SELECTION_HIGHLIGHT:F._SELECTION_HIGHLIGHT_OVERVIEW})),this.decorations=this.editor.deltaDecorations(this.decorations,e)}}}else this.decorations=this.editor.deltaDecorations(this.decorations,[])}dispose(){this._setState(null),super.dispose()}}function B(e,t,i){var n=j(e,t[0],!i);for(let o=1,s=t.length;o{if(!this._ignoreEditorChange){const e=this._editorService.getActiveCodeEditor();if(e){var i=e.getModel(),n=e.getPosition();if(i&&n){let e=!1,o=!1;for(const s of t.references)if(Object(I.f)(s.uri,i.uri))e=!0,o=o||h.a.containsPosition(s.range,n);else if(e)break;e&&o||this.reset()}}}}),this._currentState=Object(N.e)(i,e)}}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;var t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:h.a.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){null!=(t=this._currentMessage)&&t.dispose();const e=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult");var t=e?Object(_.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,e.getLabel()):Object(_.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(t)}};P=M([T(0,v.b),T(1,l.a),T(2,C.a),T(3,E.a)],P);Object(k.b)(R,P,!0),Object(a.k)(new class extends a.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:A,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(R).revealNext(t)}}),D.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:A,primary:9,handler(e){e.get(R).reset()}});let F=class{constructor(e){this._listener=new Map,this._disposables=new N.b,this._onDidChange=new O.b,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(N.f)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,Object(N.e)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null!=(t=this._listener.get(e))&&t.dispose(),this._listener.delete(e)}};F=M([T(0,l.a)],F);E=i("0f70");var B=i("6d8e"),j=i("ef8e9"),W=i("d379"),V=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};b.d.appendMenuItem(b.b.EditorContext,{submenu:b.b.EditorContextPeek,title:_.a("peek.submenu","Peek"),group:"navigation",order:100});const H=new Set;function z(e){e=new e,Object(a.m)(e),H.add(e.id)}class U extends a.b{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);const i=e.get(C.a),s=e.get(l.a),r=e.get(w.a),a=e.get(R),d=t.getModel(),h=t.getPosition(),c=new L.b(t,5);return e=Object(o.l)(this._getLocationModel(d,h,c.token),c.token).then(e=>V(this,void 0,void 0,(function*(){if(e&&!c.token.isCancellationRequested){let r;Object(n.a)(e.ariaMessage),!e.referenceAt(d.uri,h)||(o=this._getAlternativeCommand(t))!==this.id&&H.has(o)&&(r=t.getAction(o));var i,o=e.references.length;if(0===o)this._configuration.muteMessage||(i=d.getWordAtPosition(h),g.a.get(t).showMessage(this._getNoResultFoundMessage(i),h));else{if(1!==o||!r)return this._onResult(s,a,t,e);r.run()}}})),e=>{i.error(e)}).finally(()=>{c.dispose()}),r.showWhile(e,250),e}_onResult(e,t,i,n){return V(this,void 0,void 0,(function*(){var o,s,r,a=this._getGoToPreference(i);i instanceof W.a||!(this._configuration.openInPeek||"peek"===a&&1{r.getModel()===e&&r.deltaDecorations(t,[])},350)}return r}}}))}_openInPeek(e,t){let i=m.a.get(e);i&&e.hasModel()?i.toggleWidget(e.getSelection(),Object(o.h)(e=>Promise.resolve(t)),this._configuration.openInPeek):t.dispose()}}class K extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.b)(e,t,i),_.a("def.title","Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("noResultWord","No definition found for '{0}'",e.word):_.a("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(49).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(49).multipleDefinitions}}const q=t.h&&!E.i?2118:70;z(((k=class e extends K{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:v.a.and(c.a.hasDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:q,weight:100},contextMenuOpts:{group:"navigation",order:1.1}}),S.a.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",k)),z(((P=class e extends K{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:v.a.and(c.a.hasDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:Object(s.a)(2089,q),weight:100}}),S.a.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",P)),z(((D=class e extends K{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:_.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:v.a.and(c.a.hasDefinitionProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:2}}),S.a.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",D));class $ extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.a)(e,t,i),_.a("decl.title","Declarations"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("decl.noResultWord","No declaration found for '{0}'",e.word):_.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(49).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(49).multipleDeclarations}}z(((M=class e extends ${constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:v.a.and(c.a.hasDeclarationProvider,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3}})}_getNoResultFoundMessage(e){return e&&e.word?_.a("decl.noResultWord","No declaration found for '{0}'",e.word):_.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",M)),z(class extends ${constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:_.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:v.a.and(c.a.hasDeclarationProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:3}})}});class G extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.e)(e,t,i),_.a("typedef.title","Type Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):_.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(49).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(49).multipleTypeDefinitions}}z(((T=class e extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:_.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:v.a.and(c.a.hasTypeDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4}})}}).ID="editor.action.goToTypeDefinition",T)),z(((i=class e extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:_.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:v.a.and(c.a.hasTypeDefinitionProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",i));class Z extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.c)(e,t,i),_.a("impl.title","Implementations"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):_.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(49).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(49).multipleImplementations}}z(((t=class e extends Z{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:_.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:v.a.and(c.a.hasImplementationProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",t)),z(((E=class e extends Z{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:_.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:v.a.and(c.a.hasImplementationProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",E));class Y extends U{_getNoResultFoundMessage(e){return e?_.a("references.no","No references found for '{0}'",e.word):_.a("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(49).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(49).multipleReferences}}z(class extends Y{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:_.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:v.a.and(c.a.hasReferenceProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.d)(e,t,!0,i),_.a("ref.title","References"))}))}}),z(class extends Y{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:_.a("references.action.label","Peek References"),alias:"Peek References",precondition:v.a.and(c.a.hasReferenceProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.d)(e,t,!1,i),_.a("ref.title","References"))}))}});class X extends U{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",label:_.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:v.a.and(p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(this._references,_.a("generic.title","Locations"))}))}_getNoResultFoundMessage(e){return e&&_.a("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!=(t=this._gotoMultipleBehaviour)?t:e.getOption(49).multipleReferences}_getAlternativeCommand(){return""}}S.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:B.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,i,n,o,s,a)=>V(void 0,void 0,void 0,(function*(){Object(j.c)(B.a.isUri(t)),Object(j.c)(d.a.isIPosition(i)),Object(j.c)(Array.isArray(n)),Object(j.c)(void 0===o||"string"==typeof o),Object(j.c)(void 0===a||"boolean"==typeof a);const h=e.get(l.a),c=yield h.openCodeEditor({resource:t},h.getFocusedCodeEditor());if(Object(r.b)(c))return c.setPosition(i),c.revealPositionInCenterIfOutsideViewport(i,0),c.invokeWithinContext(e=>{const t=new class extends X{_getNoResultFoundMessage(e){return s||super._getNoResultFoundMessage(e)}}({muteMessage:!Boolean(s),openInPeek:Boolean(a),openToSide:!1},n,o);e.get(x.a).invokeFunction(t.run.bind(t),c)})}))}),S.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:B.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,i,n,o)=>V(void 0,void 0,void 0,(function*(){e.get(S.b).executeCommand("editor.action.goToLocations",t,i,n,o,void 0,!0)}))}),S.a.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{Object(j.c)(B.a.isUri(t)),Object(j.c)(d.a.isIPosition(i));const n=e.get(l.a);return n.openCodeEditor({resource:t},n.getFocusedCodeEditor()).then(e=>{if(Object(r.b)(e)&&e.hasModel()){const s=m.a.get(e);var t,n;if(s)return t=Object(o.h)(t=>Object(y.d)(e.getModel(),d.a.lift(i),!1,t).then(e=>new f.c(e,_.a("ref.title","References")))),n=new h.a(i.lineNumber,i.column,i.lineNumber,i.column),Promise.resolve(s.toggleWidget(n,t,!1))}})}}),S.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),b.d.appendMenuItems([{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.revealDefinition",title:_.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},group:"4_symbol_nav",order:2}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.revealDeclaration",title:_.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},group:"4_symbol_nav",order:3}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToTypeDefinition",title:_.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},group:"4_symbol_nav",order:3}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToImplementation",title:_.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},group:"4_symbol_nav",order:4}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToReferences",title:_.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},group:"4_symbol_nav",order:5}}])},f20b:function(e,t,i){},f2d2:function(e,t,i){},f33e:function(e,t,i){"use strict";i.r(t),i.d(t,"CancellationTokenSource",(function(){return xa})),i.d(t,"Emitter",(function(){return ka})),i.d(t,"KeyCode",(function(){return Da})),i.d(t,"KeyMod",(function(){return Na})),i.d(t,"Position",(function(){return Oa})),i.d(t,"Range",(function(){return Ea})),i.d(t,"Selection",(function(){return Ia})),i.d(t,"SelectionDirection",(function(){return Ma})),i.d(t,"MarkerSeverity",(function(){return Ta})),i.d(t,"MarkerTag",(function(){return Aa})),i.d(t,"Uri",(function(){return Ra})),i.d(t,"Token",(function(){return Pa})),i.d(t,"editor",(function(){return Fa})),i.d(t,"languages",(function(){return Ba}));t=i("fd49");var n,o,s,r,a,l,d,h,c,u,g,p,m,f,_,b,v,C,w,y,S,L,x,k,D,N,O,E,I,M,T,A,R,P,F,B=i("2504"),j=i("308f"),W=i("fe45"),V=i("6d8e"),H=i("7061"),z=i("6a89"),U=i("8025"),K=i("4dc7");(oe=n=n||{})[oe.Unknown=0]="Unknown",oe[oe.Disabled=1]="Disabled",oe[oe.Enabled=2]="Enabled",(oe=o=o||{})[oe.KeepWhitespace=1]="KeepWhitespace",oe[oe.InsertAsSnippet=4]="InsertAsSnippet",(oe=s=s||{})[oe.Method=0]="Method",oe[oe.Function=1]="Function",oe[oe.Constructor=2]="Constructor",oe[oe.Field=3]="Field",oe[oe.Variable=4]="Variable",oe[oe.Class=5]="Class",oe[oe.Struct=6]="Struct",oe[oe.Interface=7]="Interface",oe[oe.Module=8]="Module",oe[oe.Property=9]="Property",oe[oe.Event=10]="Event",oe[oe.Operator=11]="Operator",oe[oe.Unit=12]="Unit",oe[oe.Value=13]="Value",oe[oe.Constant=14]="Constant",oe[oe.Enum=15]="Enum",oe[oe.EnumMember=16]="EnumMember",oe[oe.Keyword=17]="Keyword",oe[oe.Text=18]="Text",oe[oe.Color=19]="Color",oe[oe.File=20]="File",oe[oe.Reference=21]="Reference",oe[oe.Customcolor=22]="Customcolor",oe[oe.Folder=23]="Folder",oe[oe.TypeParameter=24]="TypeParameter",oe[oe.User=25]="User",oe[oe.Issue=26]="Issue",oe[oe.Snippet=27]="Snippet",r=r||{},r[r.Deprecated=1]="Deprecated",(oe=a=a||{})[oe.Invoke=0]="Invoke",oe[oe.TriggerCharacter=1]="TriggerCharacter",oe[oe.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(oe=l=l||{})[oe.EXACT=0]="EXACT",oe[oe.ABOVE=1]="ABOVE",oe[oe.BELOW=2]="BELOW",(oe=d=d||{})[oe.NotSet=0]="NotSet",oe[oe.ContentFlush=1]="ContentFlush",oe[oe.RecoverFromMarkers=2]="RecoverFromMarkers",oe[oe.Explicit=3]="Explicit",oe[oe.Paste=4]="Paste",oe[oe.Undo=5]="Undo",oe[oe.Redo=6]="Redo",(oe=h=h||{})[oe.LF=1]="LF",oe[oe.CRLF=2]="CRLF",(oe=c=c||{})[oe.Text=0]="Text",oe[oe.Read=1]="Read",oe[oe.Write=2]="Write",(oe=u=u||{})[oe.None=0]="None",oe[oe.Keep=1]="Keep",oe[oe.Brackets=2]="Brackets",oe[oe.Advanced=3]="Advanced",oe[oe.Full=4]="Full",(oe=g=g||{})[oe.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",oe[oe.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",oe[oe.accessibilitySupport=2]="accessibilitySupport",oe[oe.accessibilityPageSize=3]="accessibilityPageSize",oe[oe.ariaLabel=4]="ariaLabel",oe[oe.autoClosingBrackets=5]="autoClosingBrackets",oe[oe.autoClosingDelete=6]="autoClosingDelete",oe[oe.autoClosingOvertype=7]="autoClosingOvertype",oe[oe.autoClosingQuotes=8]="autoClosingQuotes",oe[oe.autoIndent=9]="autoIndent",oe[oe.automaticLayout=10]="automaticLayout",oe[oe.autoSurround=11]="autoSurround",oe[oe.bracketPairColorization=12]="bracketPairColorization",oe[oe.codeLens=13]="codeLens",oe[oe.codeLensFontFamily=14]="codeLensFontFamily",oe[oe.codeLensFontSize=15]="codeLensFontSize",oe[oe.colorDecorators=16]="colorDecorators",oe[oe.columnSelection=17]="columnSelection",oe[oe.comments=18]="comments",oe[oe.contextmenu=19]="contextmenu",oe[oe.copyWithSyntaxHighlighting=20]="copyWithSyntaxHighlighting",oe[oe.cursorBlinking=21]="cursorBlinking",oe[oe.cursorSmoothCaretAnimation=22]="cursorSmoothCaretAnimation",oe[oe.cursorStyle=23]="cursorStyle",oe[oe.cursorSurroundingLines=24]="cursorSurroundingLines",oe[oe.cursorSurroundingLinesStyle=25]="cursorSurroundingLinesStyle",oe[oe.cursorWidth=26]="cursorWidth",oe[oe.disableLayerHinting=27]="disableLayerHinting",oe[oe.disableMonospaceOptimizations=28]="disableMonospaceOptimizations",oe[oe.domReadOnly=29]="domReadOnly",oe[oe.dragAndDrop=30]="dragAndDrop",oe[oe.emptySelectionClipboard=31]="emptySelectionClipboard",oe[oe.extraEditorClassName=32]="extraEditorClassName",oe[oe.fastScrollSensitivity=33]="fastScrollSensitivity",oe[oe.find=34]="find",oe[oe.fixedOverflowWidgets=35]="fixedOverflowWidgets",oe[oe.folding=36]="folding",oe[oe.foldingStrategy=37]="foldingStrategy",oe[oe.foldingHighlight=38]="foldingHighlight",oe[oe.foldingImportsByDefault=39]="foldingImportsByDefault",oe[oe.unfoldOnClickAfterEndOfLine=40]="unfoldOnClickAfterEndOfLine",oe[oe.fontFamily=41]="fontFamily",oe[oe.fontInfo=42]="fontInfo",oe[oe.fontLigatures=43]="fontLigatures",oe[oe.fontSize=44]="fontSize",oe[oe.fontWeight=45]="fontWeight",oe[oe.formatOnPaste=46]="formatOnPaste",oe[oe.formatOnType=47]="formatOnType",oe[oe.glyphMargin=48]="glyphMargin",oe[oe.gotoLocation=49]="gotoLocation",oe[oe.hideCursorInOverviewRuler=50]="hideCursorInOverviewRuler",oe[oe.highlightActiveIndentGuide=51]="highlightActiveIndentGuide",oe[oe.hover=52]="hover",oe[oe.inDiffEditor=53]="inDiffEditor",oe[oe.inlineSuggest=54]="inlineSuggest",oe[oe.letterSpacing=55]="letterSpacing",oe[oe.lightbulb=56]="lightbulb",oe[oe.lineDecorationsWidth=57]="lineDecorationsWidth",oe[oe.lineHeight=58]="lineHeight",oe[oe.lineNumbers=59]="lineNumbers",oe[oe.lineNumbersMinChars=60]="lineNumbersMinChars",oe[oe.linkedEditing=61]="linkedEditing",oe[oe.links=62]="links",oe[oe.matchBrackets=63]="matchBrackets",oe[oe.minimap=64]="minimap",oe[oe.mouseStyle=65]="mouseStyle",oe[oe.mouseWheelScrollSensitivity=66]="mouseWheelScrollSensitivity",oe[oe.mouseWheelZoom=67]="mouseWheelZoom",oe[oe.multiCursorMergeOverlapping=68]="multiCursorMergeOverlapping",oe[oe.multiCursorModifier=69]="multiCursorModifier",oe[oe.multiCursorPaste=70]="multiCursorPaste",oe[oe.occurrencesHighlight=71]="occurrencesHighlight",oe[oe.overviewRulerBorder=72]="overviewRulerBorder",oe[oe.overviewRulerLanes=73]="overviewRulerLanes",oe[oe.padding=74]="padding",oe[oe.parameterHints=75]="parameterHints",oe[oe.peekWidgetDefaultFocus=76]="peekWidgetDefaultFocus",oe[oe.definitionLinkOpensInPeek=77]="definitionLinkOpensInPeek",oe[oe.quickSuggestions=78]="quickSuggestions",oe[oe.quickSuggestionsDelay=79]="quickSuggestionsDelay",oe[oe.readOnly=80]="readOnly",oe[oe.renameOnType=81]="renameOnType",oe[oe.renderControlCharacters=82]="renderControlCharacters",oe[oe.renderIndentGuides=83]="renderIndentGuides",oe[oe.renderFinalNewline=84]="renderFinalNewline",oe[oe.renderLineHighlight=85]="renderLineHighlight",oe[oe.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",oe[oe.renderValidationDecorations=87]="renderValidationDecorations",oe[oe.renderWhitespace=88]="renderWhitespace",oe[oe.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",oe[oe.roundedSelection=90]="roundedSelection",oe[oe.rulers=91]="rulers",oe[oe.scrollbar=92]="scrollbar",oe[oe.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",oe[oe.scrollBeyondLastLine=94]="scrollBeyondLastLine",oe[oe.scrollPredominantAxis=95]="scrollPredominantAxis",oe[oe.selectionClipboard=96]="selectionClipboard",oe[oe.selectionHighlight=97]="selectionHighlight",oe[oe.selectOnLineNumbers=98]="selectOnLineNumbers",oe[oe.showFoldingControls=99]="showFoldingControls",oe[oe.showUnused=100]="showUnused",oe[oe.snippetSuggestions=101]="snippetSuggestions",oe[oe.smartSelect=102]="smartSelect",oe[oe.smoothScrolling=103]="smoothScrolling",oe[oe.stickyTabStops=104]="stickyTabStops",oe[oe.stopRenderingLineAfter=105]="stopRenderingLineAfter",oe[oe.suggest=106]="suggest",oe[oe.suggestFontSize=107]="suggestFontSize",oe[oe.suggestLineHeight=108]="suggestLineHeight",oe[oe.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",oe[oe.suggestSelection=110]="suggestSelection",oe[oe.tabCompletion=111]="tabCompletion",oe[oe.tabIndex=112]="tabIndex",oe[oe.unusualLineTerminators=113]="unusualLineTerminators",oe[oe.useShadowDOM=114]="useShadowDOM",oe[oe.useTabStops=115]="useTabStops",oe[oe.wordSeparators=116]="wordSeparators",oe[oe.wordWrap=117]="wordWrap",oe[oe.wordWrapBreakAfterCharacters=118]="wordWrapBreakAfterCharacters",oe[oe.wordWrapBreakBeforeCharacters=119]="wordWrapBreakBeforeCharacters",oe[oe.wordWrapColumn=120]="wordWrapColumn",oe[oe.wordWrapOverride1=121]="wordWrapOverride1",oe[oe.wordWrapOverride2=122]="wordWrapOverride2",oe[oe.wrappingIndent=123]="wrappingIndent",oe[oe.wrappingStrategy=124]="wrappingStrategy",oe[oe.showDeprecated=125]="showDeprecated",oe[oe.inlayHints=126]="inlayHints",oe[oe.editorClassName=127]="editorClassName",oe[oe.pixelRatio=128]="pixelRatio",oe[oe.tabFocusMode=129]="tabFocusMode",oe[oe.layoutInfo=130]="layoutInfo",oe[oe.wrappingInfo=131]="wrappingInfo",(oe=p=p||{})[oe.TextDefined=0]="TextDefined",oe[oe.LF=1]="LF",oe[oe.CRLF=2]="CRLF",(oe=m=m||{})[oe.LF=0]="LF",oe[oe.CRLF=1]="CRLF",(oe=f=f||{})[oe.None=0]="None",oe[oe.Indent=1]="Indent",oe[oe.IndentOutdent=2]="IndentOutdent",oe[oe.Outdent=3]="Outdent",(oe=_=_||{})[oe.Other=0]="Other",oe[oe.Type=1]="Type",oe[oe.Parameter=2]="Parameter",(oe=b=b||{})[oe.Automatic=0]="Automatic",oe[oe.Explicit=1]="Explicit",(oe=v=v||{})[oe.DependsOnKbLayout=-1]="DependsOnKbLayout",oe[oe.Unknown=0]="Unknown",oe[oe.Backspace=1]="Backspace",oe[oe.Tab=2]="Tab",oe[oe.Enter=3]="Enter",oe[oe.Shift=4]="Shift",oe[oe.Ctrl=5]="Ctrl",oe[oe.Alt=6]="Alt",oe[oe.PauseBreak=7]="PauseBreak",oe[oe.CapsLock=8]="CapsLock",oe[oe.Escape=9]="Escape",oe[oe.Space=10]="Space",oe[oe.PageUp=11]="PageUp",oe[oe.PageDown=12]="PageDown",oe[oe.End=13]="End",oe[oe.Home=14]="Home",oe[oe.LeftArrow=15]="LeftArrow",oe[oe.UpArrow=16]="UpArrow",oe[oe.RightArrow=17]="RightArrow",oe[oe.DownArrow=18]="DownArrow",oe[oe.Insert=19]="Insert",oe[oe.Delete=20]="Delete",oe[oe.KEY_0=21]="KEY_0",oe[oe.KEY_1=22]="KEY_1",oe[oe.KEY_2=23]="KEY_2",oe[oe.KEY_3=24]="KEY_3",oe[oe.KEY_4=25]="KEY_4",oe[oe.KEY_5=26]="KEY_5",oe[oe.KEY_6=27]="KEY_6",oe[oe.KEY_7=28]="KEY_7",oe[oe.KEY_8=29]="KEY_8",oe[oe.KEY_9=30]="KEY_9",oe[oe.KEY_A=31]="KEY_A",oe[oe.KEY_B=32]="KEY_B",oe[oe.KEY_C=33]="KEY_C",oe[oe.KEY_D=34]="KEY_D",oe[oe.KEY_E=35]="KEY_E",oe[oe.KEY_F=36]="KEY_F",oe[oe.KEY_G=37]="KEY_G",oe[oe.KEY_H=38]="KEY_H",oe[oe.KEY_I=39]="KEY_I",oe[oe.KEY_J=40]="KEY_J",oe[oe.KEY_K=41]="KEY_K",oe[oe.KEY_L=42]="KEY_L",oe[oe.KEY_M=43]="KEY_M",oe[oe.KEY_N=44]="KEY_N",oe[oe.KEY_O=45]="KEY_O",oe[oe.KEY_P=46]="KEY_P",oe[oe.KEY_Q=47]="KEY_Q",oe[oe.KEY_R=48]="KEY_R",oe[oe.KEY_S=49]="KEY_S",oe[oe.KEY_T=50]="KEY_T",oe[oe.KEY_U=51]="KEY_U",oe[oe.KEY_V=52]="KEY_V",oe[oe.KEY_W=53]="KEY_W",oe[oe.KEY_X=54]="KEY_X",oe[oe.KEY_Y=55]="KEY_Y",oe[oe.KEY_Z=56]="KEY_Z",oe[oe.Meta=57]="Meta",oe[oe.ContextMenu=58]="ContextMenu",oe[oe.F1=59]="F1",oe[oe.F2=60]="F2",oe[oe.F3=61]="F3",oe[oe.F4=62]="F4",oe[oe.F5=63]="F5",oe[oe.F6=64]="F6",oe[oe.F7=65]="F7",oe[oe.F8=66]="F8",oe[oe.F9=67]="F9",oe[oe.F10=68]="F10",oe[oe.F11=69]="F11",oe[oe.F12=70]="F12",oe[oe.F13=71]="F13",oe[oe.F14=72]="F14",oe[oe.F15=73]="F15",oe[oe.F16=74]="F16",oe[oe.F17=75]="F17",oe[oe.F18=76]="F18",oe[oe.F19=77]="F19",oe[oe.NumLock=78]="NumLock",oe[oe.ScrollLock=79]="ScrollLock",oe[oe.US_SEMICOLON=80]="US_SEMICOLON",oe[oe.US_EQUAL=81]="US_EQUAL",oe[oe.US_COMMA=82]="US_COMMA",oe[oe.US_MINUS=83]="US_MINUS",oe[oe.US_DOT=84]="US_DOT",oe[oe.US_SLASH=85]="US_SLASH",oe[oe.US_BACKTICK=86]="US_BACKTICK",oe[oe.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",oe[oe.US_BACKSLASH=88]="US_BACKSLASH",oe[oe.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",oe[oe.US_QUOTE=90]="US_QUOTE",oe[oe.OEM_8=91]="OEM_8",oe[oe.OEM_102=92]="OEM_102",oe[oe.NUMPAD_0=93]="NUMPAD_0",oe[oe.NUMPAD_1=94]="NUMPAD_1",oe[oe.NUMPAD_2=95]="NUMPAD_2",oe[oe.NUMPAD_3=96]="NUMPAD_3",oe[oe.NUMPAD_4=97]="NUMPAD_4",oe[oe.NUMPAD_5=98]="NUMPAD_5",oe[oe.NUMPAD_6=99]="NUMPAD_6",oe[oe.NUMPAD_7=100]="NUMPAD_7",oe[oe.NUMPAD_8=101]="NUMPAD_8",oe[oe.NUMPAD_9=102]="NUMPAD_9",oe[oe.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",oe[oe.NUMPAD_ADD=104]="NUMPAD_ADD",oe[oe.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",oe[oe.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",oe[oe.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",oe[oe.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",oe[oe.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",oe[oe.ABNT_C1=110]="ABNT_C1",oe[oe.ABNT_C2=111]="ABNT_C2",oe[oe.MAX_VALUE=112]="MAX_VALUE",(oe=C=C||{})[oe.Hint=1]="Hint",oe[oe.Info=2]="Info",oe[oe.Warning=4]="Warning",oe[oe.Error=8]="Error",(oe=w=w||{})[oe.Unnecessary=1]="Unnecessary",oe[oe.Deprecated=2]="Deprecated",(oe=y=y||{})[oe.Inline=1]="Inline",oe[oe.Gutter=2]="Gutter",(oe=S=S||{})[oe.UNKNOWN=0]="UNKNOWN",oe[oe.TEXTAREA=1]="TEXTAREA",oe[oe.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",oe[oe.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",oe[oe.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",oe[oe.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",oe[oe.CONTENT_TEXT=6]="CONTENT_TEXT",oe[oe.CONTENT_EMPTY=7]="CONTENT_EMPTY",oe[oe.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",oe[oe.CONTENT_WIDGET=9]="CONTENT_WIDGET",oe[oe.OVERVIEW_RULER=10]="OVERVIEW_RULER",oe[oe.SCROLLBAR=11]="SCROLLBAR",oe[oe.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",oe[oe.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(oe=L=L||{})[oe.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",oe[oe.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",oe[oe.TOP_CENTER=2]="TOP_CENTER",(oe=x=x||{})[oe.Left=1]="Left",oe[oe.Center=2]="Center",oe[oe.Right=4]="Right",oe[oe.Full=7]="Full",(oe=k=k||{})[oe.Off=0]="Off",oe[oe.On=1]="On",oe[oe.Relative=2]="Relative",oe[oe.Interval=3]="Interval",oe[oe.Custom=4]="Custom",(oe=D=D||{})[oe.None=0]="None",oe[oe.Text=1]="Text",oe[oe.Blocks=2]="Blocks",(oe=N=N||{})[oe.Smooth=0]="Smooth",oe[oe.Immediate=1]="Immediate",(oe=O=O||{})[oe.Auto=1]="Auto",oe[oe.Hidden=2]="Hidden",oe[oe.Visible=3]="Visible",(oe=E=E||{})[oe.LTR=0]="LTR",oe[oe.RTL=1]="RTL",(oe=I=I||{})[oe.Invoke=1]="Invoke",oe[oe.TriggerCharacter=2]="TriggerCharacter",oe[oe.ContentChange=3]="ContentChange",(oe=M=M||{})[oe.File=0]="File",oe[oe.Module=1]="Module",oe[oe.Namespace=2]="Namespace",oe[oe.Package=3]="Package",oe[oe.Class=4]="Class",oe[oe.Method=5]="Method",oe[oe.Property=6]="Property",oe[oe.Field=7]="Field",oe[oe.Constructor=8]="Constructor",oe[oe.Enum=9]="Enum",oe[oe.Interface=10]="Interface",oe[oe.Function=11]="Function",oe[oe.Variable=12]="Variable",oe[oe.Constant=13]="Constant",oe[oe.String=14]="String",oe[oe.Number=15]="Number",oe[oe.Boolean=16]="Boolean",oe[oe.Array=17]="Array",oe[oe.Object=18]="Object",oe[oe.Key=19]="Key",oe[oe.Null=20]="Null",oe[oe.EnumMember=21]="EnumMember",oe[oe.Struct=22]="Struct",oe[oe.Event=23]="Event",oe[oe.Operator=24]="Operator",oe[oe.TypeParameter=25]="TypeParameter",T=T||{},T[T.Deprecated=1]="Deprecated",(oe=A=A||{})[oe.Hidden=0]="Hidden",oe[oe.Blink=1]="Blink",oe[oe.Smooth=2]="Smooth",oe[oe.Phase=3]="Phase",oe[oe.Expand=4]="Expand",oe[oe.Solid=5]="Solid",(oe=R=R||{})[oe.Line=1]="Line",oe[oe.Block=2]="Block",oe[oe.Underline=3]="Underline",oe[oe.LineThin=4]="LineThin",oe[oe.BlockOutline=5]="BlockOutline",oe[oe.UnderlineThin=6]="UnderlineThin",(oe=P=P||{})[oe.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",oe[oe.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",oe[oe.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",oe[oe.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(oe=F=F||{})[oe.None=0]="None",oe[oe.Same=1]="Same",oe[oe.Indent=2]="Indent",oe[oe.DeepIndent=3]="DeepIndent";class q{static chord(e,t){return Object(W.a)(e,t)}}function $(){return{editor:void 0,languages:void 0,CancellationTokenSource:B.b,Emitter:j.b,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:E,MarkerSeverity:C,MarkerTag:w,Uri:V.a,Token:K.a}}q.CtrlCmd=2048,q.Shift=1024,q.Alt=512,q.WinCtrl=256,i("b223");var G,Z=i("5717"),Y=i("11f7"),X=i("db88"),Q=i("40355"),J=i("438a"),ee=i("b589"),te=i("82c9"),ie=i("9e74"),ne=((oe=G=G||{})[oe.API=0]="API",oe[oe.USER=1]="USER",i("5bd7")),oe=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new X.a,this._defaultExternalOpener={openExternal:e=>re(this,void 0,void 0,(function*(){return Object(ne.c)(e,ee.c.http)||Object(ne.c)(e,ee.c.https)?Y.Z(e):window.location.href=e,!0}))},this._openers.push({open:(e,t)=>re(this,void 0,void 0,(function*(){return!!(null!=t&&t.openExternal||Object(ne.c)(e,ee.c.mailto)||Object(ne.c)(e,ee.c.http)||Object(ne.c)(e,ee.c.https))&&(yield this._doOpenExternal(e,t),!0)}))}),this._openers.push(new ae(t)),this._openers.push(new le(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var i;return re(this,void 0,void 0,(function*(){var n="string"==typeof e?V.a.parse(e):e,o=null!=(i=this._resolvedUriTargets.get(n))?i:e;for(const e of this._validators)if(!(yield e.shouldOpen(o)))return!1;for(const i of this._openers)if(yield i.open(e,t))return!0;return!1}))}resolveExternalUri(e,t){return re(this,void 0,void 0,(function*(){for(const n of this._resolvers)try{var i=yield n.resolveExternalUri(e,t);if(i)return this._resolvedUriTargets.has(i.resolved)||this._resolvedUriTargets.set(i.resolved,e),i}catch(i){}throw new Error("Could not resolve external URI: "+e.toString())}))}_doOpenExternal(e,t){return re(this,void 0,void 0,(function*(){const i="string"==typeof e?V.a.parse(e):e;let n,o;try{n=(yield this.resolveExternalUri(i,t)).resolved}catch(o){n=i}if(o="string"==typeof e&&i.toString()===n.toString()?e:encodeURI(n.toString(!0)),null!=t&&t.allowContributedOpeners){var s="string"!=typeof(null==t?void 0:t.allowContributedOpeners)||null==t?void 0:t.allowContributedOpeners;for(const e of this._externalOpeners)if(yield e.openExternal(o,{sourceUri:i,preferredOpenerId:s},B.a.None))return!0}return this._defaultExternalOpener.openExternal(o,{sourceUri:i},B.a.None)}))}dispose(){this._validators.clear()}});de=oe([se(0,Z.a),se(1,ie.b)],de);var he=i("d0b6"),ce=(oe=i("fb71"),i("8ae8")),ue=i("3352"),ge=i("b707"),pe=i("8bf1"),me=i("a40b"),fe=i("5818"),_e=i("b78f"),be=i("5fe7"),ve=i("a666"),Ce=i("fdcc"),we=i("30db"),ye=i("ef8e9");const Se="$initialize";let Le=!1;function xe(){we.h&&(Le=Le||!0)}class ke{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,o)=>{this._pendingReplies[i]={resolve:n,reject:o},this._send({vsWorker:this._workerId,req:i,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){var t=e;if(!this._pendingReplies[t.seq])return;let i=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&((e=new Error).name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void i.reject(e)}i.resolve(t.res)}else{let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send({vsWorker:this._workerId,seq:t,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(Ce.h)(e.detail)),this._send({vsWorker:this._workerId,seq:t,res:void 0,err:Object(Ce.h)(e)})})}}_send(e){let t=[];if(e.req){var i=e;for(let e=0;e{this._protocol.handleMessage(e)},e=>{n&&n(e)})),this._protocol=new ke({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId()),null);void 0!==self.require&&"function"==typeof self.require.getConfig?o=self.require.getConfig():void 0!==self.requirejs&&(o=self.requirejs.s.contexts._.config),e=ye.e(i),this._onModuleLoaded=this._protocol.sendMessage(Se,[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,e]);const s=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(ye.d(t,s))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){}}const Ne=null==(se=window.trustedTypes)?void 0:se.createPolicy("defaultWorkerFactory",{createScriptURL:e=>e});class Oe{constructor(e,t,i,n,o){this.id=t,t=function(e,t){if(we.b.MonacoEnvironment){if("function"==typeof we.b.MonacoEnvironment.getWorker)return we.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof we.b.MonacoEnvironment.getWorkerUrl)return e=we.b.MonacoEnvironment.getWorkerUrl(e,t),new Worker(Ne?Ne.createScriptURL(e):e,{name:t})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",i),"function"==typeof t.then?this.worker=t:this.worker=Promise.resolve(t),this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(i=>i.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class Ee{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){var n=++Ee.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Oe(e,n,this._label||"anonymous"+n,t,e=>{xe(),this._webWorkerFailedBeforeError=e,i(e)})}}Ee.LAST_WORKER_ID=0;var Ie=i("70cb"),Me=i("1b0e"),Te=i("3742");function Ae(e,t,i,n){const o=new Me.a(e,t,i);return o.ComputeDiff(n)}class Re{constructor(e){const t=[],i=[];for(let n=0,o=e.length;n!0;const t=Date.now();return()=>Date.now()-tt&&(t=o),s>(i=n>i?n:i)&&(i=s)}t++,i++;let r=new qe(i,t,0);for(let h=0,c=e.length;h=this._maxCharCode?0:this._states.get(e,t)}}let Ge=null,Ze=null;class Ye{static _createLink(e,t,i,n,o){let s=o-1;do{var r=t.charCodeAt(s);if(2!==e.get(r))break}while(--s>n);var a;return 0this._lines.length?(t=this._lines.length,i=this._lines[t-1].length+1,n=!0):(o=this._lines[t-1].length+1,i<1?(i=1,n=!0):i>o&&(i=o,n=!0)),n?{lineNumber:t,column:i}:e}}class tt{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new et(V.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(this._models[e]){let i=this._models[e];i.onEvents(t)}}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,i,n){return Je(this,void 0,void 0,(function*(){const o=this._getModel(e),s=this._getModel(t);if(!o||!s)return null;var r=o.getLinesContent(),a=s.getLinesContent();const l=new je(r,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:i,shouldMakePrettyDiff:!0,maxComputationTime:n});return r=l.computeDiff(),a=!(0e.range&&t.range?z.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)))if("number"==typeof a&&(o=a),(!z.a.isEmpty(s)||r)&&(a=i.getValueInRange(s),a!==(r=r.replace(/\r\n|\n|\r/g,i.eol))))if(Math.max(r.length,a.length)>tt._diffLimit)n.push({range:s,text:r});else{var a=Object(Me.b)(a,r,!1),l=i.offsetAt(z.a.lift(s).getStartPosition());for(const e of a){var d=i.positionAt(l+e.originalStart),h=i.positionAt(l+e.originalStart+e.originalLength);d={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:d.lineNumber,startColumn:d.column,endLineNumber:h.lineNumber,endColumn:h.column}};i.getValueInRange(d.range)!==d.text&&n.push(d)}}return"number"==typeof o&&n.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),n}))}computeLinks(e){return Je(this,void 0,void 0,(function*(){var t=this._getModel(e);return t?(t=t)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?Ye.computeLinks(t):[]:null}))}textualSuggest(e,t,i,n){return Je(this,void 0,void 0,(function*(){const o=new Qe.a(!0);var s=new RegExp(i,n);const r=new Set;e:for(var a of e){const e=this._getModel(a);if(e)for(var l of e.words(s))if(l!==t&&isNaN(Number(l))&&(r.add(l),r.size>tt._suggestionsLimit))break e}return{words:Array.from(r),duration:o.elapsed()}}))}computeWordRanges(e,t,i,n){return Je(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return Object.create(null);var s=new RegExp(i,n);const r=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t)),this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:i,getMirrorModels:()=>this._getModels()},t),Promise.resolve(ye.e(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}tt._diffLimit=1e5,tt._suggestionsLimit=1e4,"function"==typeof importScripts&&(we.b.monaco=$());var it=i("1b69"),nt=(se=i("7b4a"),i("e8e3")),ot=i("d3d7"),st=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3lt(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(ge.d.register("*",new ht(this._workerManager,t,this._modelService)))}dispose(){super.dispose()}canComputeDiff(e,t){return lt(this._modelService,e)&<(this._modelService,t)}computeDiff(e,t,i,n){return this._workerManager.withWorker().then(o=>o.computeDiff(e,t,i,n))}computeMoreMinimalEdits(e,t){if(Object(nt.n)(t)){if(!lt(this._modelService,e))return Promise.resolve(t);const i=Qe.a.create(!0),n=this._workerManager.withWorker().then(i=>i.computeMoreMinimalEdits(e,t));return n.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),i.elapsed())),Promise.race([n,Object(be.n)(1e3).then(()=>t)])}return Promise.resolve(void 0)}canNavigateValueSet(e){return lt(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return lt(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}};dt=st([rt(0,it.a),rt(1,se.a),rt(2,ot.b)],dt);class ht{constructor(e,t,i){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}provideCompletionItems(e,t){return at(this,void 0,void 0,(function*(){var i=this._configurationService.getValue(e.uri,t,"editor");if(i.wordBasedSuggestions){const s=[];if("currentDocument"===i.wordBasedSuggestionsMode)lt(this._modelService,e.uri)&&s.push(e.uri);else for(const t of this._modelService.getModels())lt(this._modelService,t.uri)&&(t===e?s.unshift(t.uri):"allDocuments"!==i.wordBasedSuggestionsMode&&t.getLanguageIdentifier().id!==e.getLanguageIdentifier().id||s.push(t.uri));if(0!==s.length){var n=Ie.a.getWordDefinition(e.getLanguageIdentifier().id),o=e.getWordAtPosition(t);const i=o?new z.a(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):z.a.fromPositions(t),r=i.setEndPosition(t.lineNumber,t.column),a=yield this._workerManager.withWorker(),l=yield a.textualSuggest(s,null==o?void 0:o.word,n);if(l)return{duration:l.duration,suggestions:l.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:r,replace:i}}))}}}}))}}class ct extends ve.a{constructor(e){super(),this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime();let t=this._register(new be.c);t.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){this._editorWorkerClient&&0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){this._editorWorkerClient&&3e5<(new Date).getTime()-this._lastWorkerUsedTime&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new mt(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class ut extends ve.a{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let e=new be.c;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(var e in this._syncedModels)Object(ve.f)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e){for(const i of e){var t=i.toString();this._syncedModels[t]||this._beginModelSync(i),this._syncedModels[t]&&(this._syncedModelsLastUsedTime[t]=(new Date).getTime())}}_checkStopModelSync(){var e,t=(new Date).getTime();let i=[];for(e in this._syncedModelsLastUsedTime)6e4{this._proxy.acceptModelChanged(i.toString(),e)})),n.add(t.onWillDispose(()=>{this._stopModelSync(i)})),n.add(Object(ve.i)(()=>{this._proxy.acceptRemovedModel(i)})),this._syncedModels[i]=n}}_stopModelSync(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(ve.f)(t)}}class gt{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class pt{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class mt extends ve.a{constructor(e,t,i){super(),this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new Ee(i),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new De(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new pt(this)))}catch(t){xe(),this._worker=new gt(new tt(new pt(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(xe(),this._worker=new gt(new tt(new pt(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new ut(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e){return this._disposed?Promise.reject(Object(Ce.b)()):this._getProxy().then(t=>(this._getOrCreateModelManager(t).ensureSyncedResources(e),t))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t]).then(o=>o.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(i=>i.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t,i){return at(this,void 0,void 0,(function*(){const n=yield this._withSyncedResources(e);var o=i.source,s=Object(Te.M)(i);return n.textualSuggest(e.map(e=>e.toString()),t,o,s)}))}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);var o,s;return n?(o=(s=Ie.a.getWordDefinition(n.getLanguageIdentifier().id)).source,s=Object(Te.M)(s),i.computeWordRanges(e.toString(),t,o,s)):Promise.resolve(null)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let o=this._modelService.getModel(e);var s,r;return o?(s=(r=Ie.a.getWordDefinition(o.getLanguageIdentifier().id)).source,r=Object(Te.M)(r),n.navigateValueSet(e.toString(),t,i,s,r)):null})}dispose(){super.dispose(),this._disposed=!0}}class ft extends mt{constructor(e,t){super(e,t.keepIdleModels||!1,t.label),this._foreignModuleId=t.moduleId,this._foreignModuleCreateData=t.createData||null,this._foreignModuleHost=t.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{var t=this._foreignModuleHost?ye.e(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;var i=(t,i)=>e.fmr(t,i);let n={};for(const e of t)n[e]=((e,t)=>function(){var i=Array.prototype.slice.call(arguments,0);return t(e,i)})(e,i);return n})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var _t=i("e1b5"),bt=i("6da2"),vt=i("a8d0");function Ct(e){return!Array.isArray(e)}function wt(e){return"string"==typeof e}function yt(e){return!wt(e)}function St(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Lt(e){return e.replace(/[&<>'"_]/g,"-")}function xt(e,t){return new Error(e.languageId+": "+t)}function kt(e,t,i,n,o){let s=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,r,a,l,d,h,c,u,g){return a?"$":l?St(e,i):d&&d=this._maxCacheDepth)return new Ot(e,t);let i=Ot.getStackElementId(e),n=(0=this._maxCacheDepth)return new Mt(e,t);t=Ot.getStackElementId(e);let i=this._entries[t];return i||(i=new Mt(e,null),this._entries[t]=i),i}}It._INSTANCE=new It(5);class Mt{constructor(e,t){this.stack=e,this.embeddedModeData=t}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:It.create(this.stack,this.embeddedModeData)}equals(e){return e instanceof Mt&&!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData))}}class Tt{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(e,t){this._language=t}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new K.a(e,t,this._language)))}nestedModeTokenize(e,t,i,n){var o=i.modeId;i=i.state;const s=ge.F.get(o);return s?(e=s.tokenize(e,t,i,n),this._tokens=this._tokens.concat(e.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,e.endState):(this.enterMode(n,o),this.emit(n,""),i)}finalize(e){return new K.b(this._tokens,e)}}class At{constructor(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id}emit(e,t){t=this._theme.match(this._currentLanguageId,t),this._lastTokenMetadata!==t&&(this._lastTokenMetadata=t,this._tokens.push(e),this._tokens.push(t))}static _merge(e,t,i){var n=null!==e?e.length:0,o=t.length,s=null!==i?i.length:0;if(0===n&&0===o&&0===s)return new Uint32Array(0);if(0===n&&0===o)return i;if(0===o&&0===s)return e;let r=new Uint32Array(n+o+s);null!==e&&r.set(e);for(let a=0;a{if(!o){let i=!1;for(let n=0,o=e.changedLanguages.length;n{})}}getInitialState(){var e=Nt.create(null,this._lexer.start);return It.create(e,null)}tokenize(e,t,i,n){let o=new Tt;return e=this._tokenize(e,t,i,n,o),o.finalize(e)}tokenize2(e,t,i,n){let o=new At(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme);return e=this._tokenize(e,t,i,n,o),o.finalize(e)}_tokenize(e,t,i,n,o){return i.embeddedModeData?this._nestedTokenize(e,t,i,n,o):this._myTokenize(e,t,i,n,o)}_findLeavingNestedModeOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=Dt(this._lexer,t.stack.state)))throw xt(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,o=!1;for(const r of i)if(yt(r.action)&&"@pop"===r.action.nextEmbedded){o=!0;let t=r.regex,i=r.regex.source;"^(?:"===i.substr(0,4)&&")"===i.substr(i.length-1,1)&&(s=(t.ignoreCase?"i":"")+(t.unicode?"u":""),t=new RegExp(i.substr(4,i.length-5),s));var s=e.search(t);-1===s||0!==s&&r.matchOnlyAtLineStart||(-1===n||s=a)break;u=!1;let e=this._lexer.tokenizer[f];if(!e&&!(e=Dt(this._lexer,f)))throw xt(this._lexer,"tokenizer state is not defined: "+f);let t=r.substr(h);for(const n of e)if((0===h||!n.matchOnlyAtLineStart)&&(i=t.match(n.regex))){b=i[0],v=n.action;break}}if(i||(i=[""],b=""),v||(h=this._lexer.maxStack)throw xt(this._lexer,"maximum tokenizer stack size reached: ["+d.state+","+d.parent.state+",...]");d=d.push(f)}else if("@pop"===v.next){if(d.depth<=1)throw xt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(C));d=d.pop()}else if("@popall"===v.next)d=d.popall();else{let e=kt(this._lexer,v.next,b,i,f);if("@"===e[0]&&(e=e.substr(1)),!Dt(this._lexer,e))throw xt(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(C));d=d.push(e)}}v.log&&"string"==typeof v.log&&(this._lexer,this._lexer.languageId,kt(this._lexer,v.log,b,i,f))}if(null===y)throw xt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(C));if(_=i=>{var s=this._modeService.getModeIdForLanguageName(i);s=this._getNestedEmbeddedModeData(i=s||i);return he});class Ft{static colorizeElement(e,t,i,n){var o=(n=n||{}).theme||"vs",s=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");return s?(e.setTheme(o),e=i.firstChild?i.firstChild.nodeValue:"",i.className+=" "+o,this.colorize(t,e||"",s,n).then(e=>{var t=null!=(t=null===Pt||void 0===Pt?void 0:Pt.createHTML(e))?t:e;i.innerHTML=t},e=>{})):Promise.resolve()}static colorize(e,t,i,n){let o=4,s=(n&&"number"==typeof n.tabSize&&(o=n.tabSize),Te.S(t)&&(t=t.substr(1)),Te.Q(t)),r=e.getModeId(i);if(!r)return Promise.resolve(jt(s,o));if(e.triggerMode(r),n=ge.F.get(r),n)return Bt(s,o,n);const a=ge.F.getPromise(r);return new Promise(a?(e,t)=>{a.then(i=>{Bt(s,o,i).then(e,t)},t)}:(e,t)=>{let i=null,n=null;const a=()=>{i&&(i.dispose(),i=null),n&&(n.dispose(),n=null);var a=ge.F.get(r);a?Bt(s,o,a).then(e,t):e(jt(s,o))};(n=new be.g).cancelAndSet(a,500),i=ge.F.onDidChange(e=>{0<=e.changedLanguages.indexOf(r)&&a()})})}static colorizeLine(e,t,i,n,o=4){return t=vt.f.isBasicASCII(e,t),i=vt.f.containsRTL(e,t,i),Object(bt.e)(new bt.c(!1,!0,e,!1,t,i,0,n,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,i=4){var n=e.getLineContent(t);e.forceTokenization(t);let o=e.getLineTokens(t);return t=o.inflate(),this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),t,i)}}function Bt(e,t,i){return new Promise((n,o)=>{const s=()=>{var r=function(e,t,i){let n=[],o=i.getInitialState();for(let d=0,h=e.length;d"),o=r.endState}return n.join("")}(e,t,i);if(i instanceof Rt){const e=i.getLoadStatus();if(!1===e.loaded)return void e.promise.then(s,o)}n(r)};s()})}function jt(e,t){let i=[];const n=new Uint32Array(2);n[0]=0,n[1]=16793600;for(let l=0,d=e.length;l")}return i.join("")}var Wt=i("b835"),Vt=i("4b76"),Ht=i("b055"),zt=i("c7f5"),Ut=i("8830"),Kt=i("d3f4"),qt=i("fbba"),$t=i("aa3d"),Gt=i("0910");class Zt{constructor(e={},t=[],i=[]){this._contents=e,this._keys=t,this._overrides=i,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?Object(qt.d)(this.contents,e):this.contents}override(e){var t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let i={};for(const o of nt.f([...Object.keys(this.contents),...Object.keys(t)])){let e=this.contents[o];var n=t[o];n&&("object"==typeof e&&"object"==typeof n?(e=$t.b(e),this.mergeContents(e,n)):e=n),i[o]=e}return new Zt(i,this.keys,this.overrides)}merge(...e){var t=$t.b(this.contents);const i=$t.b(this.overrides),n=[...this.keys];for(const s of e){this.mergeContents(t,s.contents);for(const e of s.overrides){var[o]=i.filter(t=>nt.h(t.identifiers,e.identifiers));o?this.mergeContents(o.contents,e.contents):i.push($t.b(e))}for(const e of s.keys)-1===n.indexOf(e)&&n.push(e)}return new Zt(t,n,i)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const i of Object.keys(t))i in e&&ye.j(e[i])&&ye.j(t[i])?this.mergeContents(e[i],t[i]):e[i]=$t.b(t[i])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?$t.c(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),Object(qt.b)(this.contents,e,t,e=>{throw new Error(e)})}removeValue(e){this.removeKey(e)&&Object(qt.f)(this.contents,e)}addKey(e){let t=this.keys.length;for(let i=0;i{})});super(e,t,i)}}class Xt{constructor(e,t,i=new Zt,n=new Zt,o=new Q.b,s=new Zt,r=new Q.b,a=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=i,this._workspaceConfiguration=n,this._folderConfigurations=o,this._memoryConfiguration=s,this._memoryConfigurationByResource=r,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Q.b,this._userConfiguration=null}getValue(e,t,i){const n=this.getConsolidateConfigurationModel(t,i);return n.getValue(e)}updateValue(e,t,i={}){let n;i.resource?(n=this._memoryConfigurationByResource.get(i.resource))||(n=new Zt,this._memoryConfigurationByResource.set(i.resource,n)):n=this._memoryConfiguration,void 0===t?n.removeValue(e):n.setValue(e,t),i.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let i=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?i.override(e.overrideIdentifier):i}getConsolidatedConfigurationModelForResource({resource:e},t){let i=this.getWorkspaceConsolidatedConfiguration();return t&&e&&((t=t.getFolder(e))&&(i=this.getFolderConsolidatedConfiguration(t.uri)||i),(t=this._memoryConfigurationByResource.get(e))&&(i=i.merge(t))),i}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration();var i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{var{contents:i,overrides:n,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:i,overrides:n,keys:o}]),e},[])}}static parse(e){var t=this.parseConfigurationModel(e.defaults),i=this.parseConfigurationModel(e.user),n=this.parseConfigurationModel(e.workspace);e=e.folders.reduce((e,t)=>(e.set(V.a.revive(t[0]),this.parseConfigurationModel(t[1])),e),new Q.b);return new Xt(t,i,new Zt,n,e,new Zt,new Q.b,!1)}static parseConfigurationModel(e){return new Zt(e.contents,e.keys,e.overrides).freeze()}}class Qt{constructor(e,t,i,n){this.change=e,this.previous=t,this.currentConfiguraiton=i,this.currentWorkspace=n,this._previousConfiguration=void 0;const o=new Set,s=(e.keys.forEach(e=>o.add(e)),e.overrides.forEach(([,e])=>e.forEach(e=>o.add(e))),this.affectedKeys=[...o.values()],new Zt);this.affectedKeys.forEach(e=>s.setValue(e,{})),this.affectedKeysTree=s.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=Xt.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var i;return!!this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)&&(!t||(i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null==(i=this.previous)?void 0:i.workspace):void 0,e=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace),!$t.d(i,e)))}doesAffectedKeysTreeContains(e,t){let i,n=Object(qt.g)({[t]:!0},()=>{});for(;"object"==typeof n&&(i=Object.keys(n)[0]);){if(!(e=e[i]))return!1;n=n[i]}return!0}}var Jt=i("dff7");class ei extends ve.a{constructor(e,t,i,n,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=o,this._onDidUpdateKeybindings=this._register(new j.b),this._currentChord=null,this._currentChordChecker=new be.c,this._currentChordStatusMessage=null,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new be.g,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:j.c.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info("[KeybindingService]: "+e)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){if(e=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService),e)return e.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const i=this.resolveKeyboardEvent(e);var n;return i.isChord()||([e]=i.getDispatchParts(),null===e)?null:(t=this._contextKeyService.getContext(t),n=this._currentChord?this._currentChord.keypress:null,this._getResolver().resolve(t,n,e))}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Jt.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const i=Date.now();this._currentChordChecker.cancelAndSet(()=>{(!this._documentHasFocus()||5e3{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300);else{if(null!==e&&e===this._currentSingleModifier)return this._log(`/ Dispatching single modifier chord ${e} `+e),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0);this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null}return!1}_doDispatch(e,t,i=!1){let n=!1;if(e.isChord())return!1;let o=null,s=null;return s=i?([i]=e.getSingleModifierDispatchParts(),o=i):([o]=e.getDispatchParts(),this._currentChord?this._currentChord.keypress:null),null===o?this._log("\\ Keyboard event cannot be dispatched in keydown phase."):(i=this._contextKeyService.getContext(t),t=e.getLabel(),e=this._getResolver().resolve(i,s,o),this._logService.trace("KeybindingService#dispatch",t,null==e?void 0:e.commandId),e&&e.enterChord?(n=!0,this._enterChordMode(o,t)):(!this._currentChord||e&&e.commandId||(this._notificationService.status(Jt.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,t),{hideAfter:1e4}),n=!0),this._leaveChordMode(),e&&e.commandId&&(e.bubble||(n=!0),void 0===e.commandArgs?this._commandService.executeCommand(e.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(e.commandId,e.commandArgs).then(void 0,e=>this._notificationService.warn(e)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:e.commandId,from:"keybinding"})))),n}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30)}}var ti=i("4fc3");class ii{constructor(e,t,i){this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let s=0,r=e.length;sthis._getLabel(e))}getAriaLabel(){return li.a.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}isChord(){return 1this._getPart(e))}_getPart(e){return new W.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}getSingleModifierDispatchParts(){return this._parts.map(e=>this._getSingleModifierDispatchPart(e))}}class hi extends di{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return W.b.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":W.b.toString(e.keyCode)}_getDispatchPart(e){return hi.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+W.b.toString(e.keyCode)}_getSingleModifierDispatchPart(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}}var ci=i("b0cd"),ui=i("1165"),gi=i("03d9"),pi=(rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.findModel(t,e),o=t=>this.findModel(t.getOriginalEditor(),e)||this.findModel(t.getModifiedEditor(),e),(Object(Ht.b)(i)?n:o)(i)):t)?Promise.resolve(new ve.c(new mi(t))):Promise.reject(new Error("Model not found"))}findModel(e,t){let i=this.modelService.getModel(t);return i&&i.uri.toString()!==t.toString()?null:i}};fi=rt([st(0,it.a)],fi);class _i{show(){return _i.NULL_PROGRESS_RUNNER}showWhile(e,t){return pi(this,void 0,void 0,(function*(){yield e}))}}_i.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class bi{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,i,n){return Promise.resolve({choice:0})}}class vi{info(e){return this.notify({severity:Vt.a.Info,message:e})}warn(e){return this.notify({severity:Vt.a.Warning,message:e})}error(e){return this.notify({severity:Vt.a.Error,message:e})}notify(e){switch(e.severity){case Vt.a.Error:case Vt.a.Warning:}return vi.NO_OP}status(e,t){return ve.a.None}}vi.NO_OP=new ci.b;class Ci{constructor(e){this._onWillExecuteCommand=new j.b,this._onDidExecuteCommand=new j.b,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){var i=ie.a.getCommand(e);if(!i)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});var n=this._instantiationService.invokeFunction.apply(this._instantiationService,[i.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(e){return Promise.reject(e)}}}class wi extends ei{constructor(e,t,i,n,o,s){super(e,t,i,n,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(Y.i(s,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())})),this._register(Y.i(window,Y.d.KEY_UP,e=>{const t=new Wt.a(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()}))}addDynamicKeybinding(e,t,i,n){t=Object(W.f)(t,we.a);const o=new ve.b;return t&&(this._dynamicKeybindings.push({keybinding:t,command:e,when:n,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),o.add(Object(ve.i)(()=>{for(let t=0;tthis._log(e))),this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){let i=[],n=0;for(const r of e){var o=r.when||void 0,s=r.keybinding;if(s)for(const e of this.resolveKeybinding(s))i[n++]=new ri(e,r.command,r.commandArgs,o,t,null,!1);else i[n++]=new ri(void 0,r.command,r.commandArgs,o,t,null,!1)}return i}resolveKeybinding(e){return[new hi(e,we.a)]}resolveKeyboardEvent(e){return e=new W.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord(),new hi(e,we.a)}}function yi(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof V.a)}class Si{constructor(){this._onDidChangeConfiguration=new j.b,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new Xt(new Yt,new Zt)}getValue(e,t){var i="string"==typeof e?e:void 0;e=yi(e)?e:yi(t)?t:{};return this._configuration.getValue(i,e,void 0)}updateValues(e){var t={data:this._configuration.toData()};let i=[];for(const s of e){var[n,o]=s;this.getValue(n)!==o&&(this._configuration.updateValue(n,o),i.push(n))}if(0{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,i)=>e.affectsConfiguration(i)})})}getValue(e,t,i){return i=H.a.isIPosition(t)&&t?"string"==typeof i?i:void 0:"string"==typeof t?t:void 0,void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)}}let xi=class{constructor(e){this.configurationService=e}getEOL(e,t){return t=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e}),t&&"string"==typeof t&&"auto"!==t?t:we.d||we.f?"\n":"\r\n"}};xi=rt([st(0,qt.a)],xi);class ki{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class Di{constructor(){var e=V.a.from({scheme:Di.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new ui.b({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}}function Ni(e,t,i){if(t&&e instanceof Si){let n=[];Object.keys(t).forEach(e=>{Object(Ut.d)(e)&&n.push(["editor."+e,t[e]]),i&&Object(Ut.c)(e)&&n.push(["diffEditor."+e,t[e]])}),0[]),e.pushStackElement(),o+=1,n+=s.length;return{ariaSummary:Te.v(gi.g.bulkEditServiceSummary,n,o)}}))}}class Ei{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}class Ii{constructor(e,t){this._codeEditorService=e,this._container=t,this.onDidLayout=j.c.None}get dimension(){return this._dimension||(this._dimension=Y.z(window.document.body)),this._dimension}get container(){return this._container}focus(){var e;null!=(e=this._codeEditorService.getFocusedCodeEditor())&&e.focus()}}var Mi=i("3813"),Ti=(rt=i("9c1d"),st=i("4a64"),i("f58f")),Ai=i("b1ca"),Ri=i("7e32"),Pi=i("533b"),Fi=i("0a0f"),Bi=i("6dec"),ji=i("b7d0"),Wi=i("4779"),Vi=i("f577"),Hi=i("b539");class zi extends ve.a{constructor(){super(),this._onCodeEditorAdd=this._register(new j.b),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new j.b),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new j.b),this._onDiffEditorRemove=this._register(new j.b),this._onDecorationTypeRegistered=this._register(new j.b),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;for(const t of this.listCodeEditors()){if(t.hasTextFocus())return t;t.hasWidgetFocus()&&(e=t)}return e}setModelProperty(e,t,i){let n;e=e.toString(),this._modelProperties.has(e)?n=this._modelProperties.get(e):(n=new Map,this._modelProperties.set(e,n)),n.set(t,i)}getModelProperty(e,t){if(e=e.toString(),this._modelProperties.has(e)){const i=this._modelProperties.get(e);return i.get(t)}}}class Ui{constructor(e,t,i){this._parent=e,this._editorId=t,this._styleSheet=i,this._refCount=0}ref(){this._refCount++}unref(){var e;this._refCount--,0===this._refCount&&(null!=(e=this._styleSheet.parentNode)&&e.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(e,t){const i=this._styleSheet.sheet;i.insertRule(e,t)}removeRulesContainingSelector(e){Y.Q(e,this._styleSheet)}}class Ki{constructor(e){this._styleSheet=e}ref(){}unref(){}insertRule(e,t){const i=this._styleSheet.sheet;i.insertRule(e,t)}removeRulesContainingSelector(e){Y.Q(e,this._styleSheet)}}var qi=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.removeDecorations(e))))}resolveDecorationOptions(e,t){const i=this._decorationOptionProviders.get(e);if(i)return i.getOptions(this,t);throw new Error("Unknown decoration type key: "+e)}});class $i{constructor(e,t,i){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=i.parentTypeKey,this.refCount=0,this._beforeContentRules=new Yi(3,i,e),this._afterContentRules=new Yi(4,i,e)}getOptions(e,t){const i=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(i.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(i.afterContentClassName=this._afterContentRules.className),i}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class Gi{constructor(e,t,i,n){this._disposables=new ve.b,this.description=e,this._styleSheet=i,this._styleSheet.ref(),this.refCount=0;e=e=>{if(e=new Yi(e,n,t),this._disposables.add(e),e.hasContent)return e.className},i=e=>(e=new Yi(e,n,t),this._disposables.add(e),e.hasContent?{className:e.className,hasLetterSpacing:e.hasLetterSpacing}:null);var o=(this.className=e(0),i(1));o&&(this.inlineClassName=o.className,this.inlineClassNameAffectsLetterSpacing=o.hasLetterSpacing),this.beforeContentClassName=e(3),this.afterContentClassName=e(4),n.options.beforeInjectedText&&n.options.beforeInjectedText.contentText&&(o=i(5),this.beforeInjectedText={content:n.options.beforeInjectedText.contentText,inlineClassName:null==o?void 0:o.className,inlineClassNameAffectsLetterSpacing:(null==o?void 0:o.hasLetterSpacing)||n.options.beforeInjectedText.affectsLetterSpacing}),n.options.afterInjectedText&&n.options.afterInjectedText.contentText&&(o=i(6),this.afterInjectedText={content:n.options.afterInjectedText.contentText,inlineClassName:null==o?void 0:o.className,inlineClassNameAffectsLetterSpacing:(null==o?void 0:o.hasLetterSpacing)||n.options.afterInjectedText.affectsLetterSpacing}),this.glyphMarginClassName=e(2),i=n.options,this.isWholeLine=Boolean(i.isWholeLine),this.stickiness=i.rangeBehavior,o=i.light&&i.light.overviewRulerColor||i.overviewRulerColor,e=i.dark&&i.dark.overviewRulerColor||i.overviewRulerColor;void 0===o&&void 0===e||(this.overviewRuler={color:o||e,darkColor:e||o,position:i.overviewRulerLane||ue.d.Center})}getOptions(e,t){return t?{description:this.description,inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness,before:this.beforeInjectedText}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const Zi={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",fontSize:"font-size:{0};",fontFamily:"font-family:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",padding:"padding:{0};",width:"width:{0};",height:"height:{0};",verticalAlign:"vertical-align:{0};"};class Yi{constructor(e,t,i){this._theme=i.getColorTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let n=Xi.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(n=n+" "+Xi.getClassName(this._providerArgs.parentTypeKey,e)),this._className=n,this._unThemedSelector=Xi.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=i.onDidColorThemeChange(e=>{this._theme=i.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){var e=this._providerArgs.options;let t,i,n;switch(this._ruleType){case 0:t=this.getCSSTextForModelDecorationClassName(e),i=this.getCSSTextForModelDecorationClassName(e.light),n=this.getCSSTextForModelDecorationClassName(e.dark);break;case 1:t=this.getCSSTextForModelDecorationInlineClassName(e),i=this.getCSSTextForModelDecorationInlineClassName(e.light),n=this.getCSSTextForModelDecorationInlineClassName(e.dark);break;case 2:t=this.getCSSTextForModelDecorationGlyphMarginClassName(e),i=this.getCSSTextForModelDecorationGlyphMarginClassName(e.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(e.dark);break;case 3:t=this.getCSSTextForModelDecorationContentClassName(e.before),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.before),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.before);break;case 4:t=this.getCSSTextForModelDecorationContentClassName(e.after),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.after),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.after);break;case 5:t=this.getCSSTextForModelDecorationContentClassName(e.beforeInjectedText),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.beforeInjectedText),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.beforeInjectedText);break;case 6:t=this.getCSSTextForModelDecorationContentClassName(e.afterInjectedText),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.afterInjectedText),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.afterInjectedText);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const o=this._providerArgs.styleSheet;let s=!1;0this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=t.createKey("editorIsOpen",!1),this._activeCodeEditor=null}_checkContextKey(){let e=!1;for(const t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}openCodeEditor(e,t,i){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(this.findModel(e,t.resource))return(i=t.options?t.options.selection:null)&&("number"==typeof i.endLineNumber&&"number"==typeof i.endColumn?(e.setSelection(i),e.revealRangeInCenter(i,1)):(i={lineNumber:i.startLineNumber,column:i.startColumn},e.setPosition(i),e.revealPositionInCenter(i,1))),e;if(t.resource){var i=t.resource.scheme;if(i===ee.c.http||i===ee.c.https)return Object(Y.Z)(t.resource.toString()),e}return null}findModel(e,t){const i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};Ji=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3Promise.resolve(e.run(this,...i));const d=new ve.b;var h=this.getId()+":"+t;if(d.add(ie.a.registerCommand(h,l)),r&&d.add(Ri.d.appendMenuItem(Ri.b.EditorContext,{command:{id:h,title:i},when:n,group:r,order:a})),Array.isArray(o))for(const c of o)d.add(this._standaloneKeybindingService.addDynamicKeybinding(h,c,l,s));return r=new Ti.a(h,i,i,n,l,this._contextKeyService),this._actions[t]=r,d.add(Object(ve.i)(()=>{delete this._actions[t]})),d}_triggerCommand(e,t){if(this._codeEditorService instanceof Ji)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}},sn=class extends(on=qi([Qi(2,Fi.a),Qi(3,Z.a),Qi(4,ie.b),Qi(5,ti.b),Qi(6,Bi.a),Qi(7,ji.b),Qi(8,ci.a),Qi(9,Wi.b)],on)){constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){const m=Object.assign({},t);Ni(c,m,!1);t=d.registerEditorContainer(e);var f=("string"==typeof m.theme&&d.setTheme(m.theme),void 0!==m.autoDetectHighContrast&&d.setAutoDetectHighContrast(Boolean(m.autoDetectHighContrast)),m.model);let _;delete m.model,super(e,m,n,o,s,r,a,d,h,u),this._contextViewService=l,this._configurationService=c,this._standaloneThemeService=d,this._register(i),this._register(t),void 0===f?(_=an(g,p,m.value||"",m.language||en.a.text,void 0),this._ownsModel=!0):(_=f,this._ownsModel=!1),this._attachModel(_),_&&(e={oldModelUrl:null,newModelUrl:_.uri},this._onDidChangeModel.fire(e))}dispose(){super.dispose()}updateOptions(e){Ni(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_attachModel(e){super._attachModel(e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}},rn=(sn=qi([Qi(3,Fi.a),Qi(4,Z.a),Qi(5,ie.b),Qi(6,ti.b),Qi(7,Bi.a),Qi(8,Pi.b),Qi(9,Ai.a),Qi(10,ci.a),Qi(11,qt.a),Qi(12,Wi.b),Qi(13,it.a),Qi(14,fe.a)],sn),class extends st.a{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){t=Object.assign({},t);var m=(Ni(c,t,!0),d.registerEditorContainer(e));"string"==typeof t.theme&&d.setTheme(t.theme),void 0!==t.autoDetectHighContrast&&d.setAutoDetectHighContrast(Boolean(t.autoDetectHighContrast)),super(e,t,{},p,a,o,n,l,d,h,u,g),this._contextViewService=r,this._configurationService=c,this._standaloneThemeService=d,this._register(i),this._register(m),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(e){Ni(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(on,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}});function an(e,t,i,n,o){if(i=i||"",n)return ln(e,i,t.create(n),o);{n=i.indexOf("\n");let s=i;return-1!==n&&(s=i.substring(0,n)),ln(e,i,t.createByFilepathOrFirstLine(o||null,s),o)}}function ln(e,t,i,n){return e.createModel(t,i,n)}rn=qi([Qi(3,Fi.a),Qi(4,ti.b),Qi(5,Bi.a),Qi(6,Pi.b),Qi(7,me.a),Qi(8,Z.a),Qi(9,Ai.a),Qi(10,ci.a),Qi(11,qt.a),Qi(12,Pi.a),Qi(13,Hi.a),Qi(14,Vi.a)],rn);class dn{constructor(e){this._languageIdentifier=e}getId(){return this._languageIdentifier.language}}var hn=i("32a4"),cn=i("89cd");const un=Object.prototype.hasOwnProperty;class gn extends ve.a{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new j.b),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=t,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(hn.a.onDidChangeLanguages(e=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=hn.a.getLanguages();this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),cn.a.as(Gt.a.Configuration).registerOverrideIdentifiers(hn.a.getLanguages().map(e=>e.id)),this._onDidChange.fire()}_getLanguageId(e){var t;return this._languageToLanguageId[e]||(t=this._nextLanguageId2++,this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t)}_registerLanguage(e){var t,i=e.id;let n;un.call(this._languages,i)?n=this._languages[i]:(t=this._getLanguageId(i),n={identifier:new ge.u(i,t),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[i]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){var i=t.id;let n=null;if(Array.isArray(t.mimetypes)&&0e.trim()).map(e=>un.call(this._mimeTypesMap,e)?this._mimeTypesMap[e].language:e).filter(e=>un.call(this._languages,e)):[]}getLanguageIdentifier(e){if(e===pe.b||0===e)return pe.a;let t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return un.call(this._languages,t)?this._languages[t].identifier:null}getModeIdsFromFilepathOrFirstLine(e,t){if(!e&&!t)return[];let i=en.b(e,t);return this.extractModeIds(i.join(","))}}class pn{constructor(e,t){let i;this._selector=t,this.languageIdentifier=this._selector(),this._onDidChange=new j.b({onFirstListenerAdd:()=>{i=e(()=>this._evaluate())},onLastListenerRemove:()=>{i.dispose()}}),this.onDidChange=this._onDidChange.event}_evaluate(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))}}class mn extends ve.a{constructor(e=!1){super(),this._onDidCreateMode=this._register(new j.b),this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=this._register(new j.b({leakWarningThreshold:200})),this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=this._register(new gn(!0,e)),this._register(this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire()))}isRegisteredMode(e){return this._registry.isRegisteredMode(e)}getModeIdForLanguageName(e){return this._registry.getModeIdForLanguageNameLowercase(e)}getModeIdByFilepathOrFirstLine(e,t){return e=this._registry.getModeIdsFromFilepathOrFirstLine(e,t),Object(nt.j)(e,null)}getModeId(e){return e=this._registry.extractModeIds(e),Object(nt.j)(e,null)}getLanguageIdentifier(e){return this._registry.getLanguageIdentifier(e)}create(e){return new pn(this.onLanguagesMaybeChanged,()=>{var t=this.getModeId(e);return this._createModeAndGetLanguageIdentifier(t)})}createByFilepathOrFirstLine(e,t){return new pn(this.onLanguagesMaybeChanged,()=>{var i=this.getModeIdByFilepathOrFirstLine(e,t);return this._createModeAndGetLanguageIdentifier(i)})}_createModeAndGetLanguageIdentifier(e){return e=this.getLanguageIdentifier(e||"plaintext")||pe.a,this._getOrCreateMode(e.language),e}triggerMode(e){e=this.getModeId(e),this._getOrCreateMode(e||"plaintext")}_getOrCreateMode(e){var t;return this._instantiatedModes.hasOwnProperty(e)||(t=this.getLanguageIdentifier(e)||pe.a,this._instantiatedModes[e]=new dn(t),this._onDidCreateMode.fire(this._instantiatedModes[e])),this._instantiatedModes[e]}}var fn=i("d1a7"),_n=i("ceb8");class bn{constructor(e,t,i,n,o){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=o}}function vn(e,t){e.sort((e,t)=>{var i=function(e,t){return e>>0,this._cache.set(t,i)),(i|e<<0)>>>0}}const Sn=/\b(comment|string|regex|regexp)\b/;class Ln{constructor(e,t,i){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=i,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new Ln(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,i){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==i&&(this._background=i),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class xn{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;var t=e.indexOf(".");let i,n,o=(n=-1===t?(i=e,""):(i=e.substring(0,t),e.substring(t+1)),this._children.get(i));return void 0!==o?o.match(n):this._mainRule}insert(e,t,i,n){if(""===e)this._mainRule.acceptOverwrite(t,i,n);else{var o=e.indexOf(".");let s,r,a=(r=-1===o?(s=e,""):(s=e.substring(0,o),e.substring(o+1)),this._children.get(s));void 0===a&&(a=new xn(this._mainRule.clone()),this._children.set(s,a)),a.insert(r,t,i,n)}}}var kn=i("918c"),Dn=i("303e");const Nn={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[Dn.r]:"#FFFFFE",[Dn.B]:"#000000",[Dn.J]:"#E5EBF1",[kn.o]:"#D3D3D3",[kn.a]:"#939393",[Dn.T]:"#ADD6FF4D"}},On={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Dn.r]:"#1E1E1E",[Dn.B]:"#D4D4D4",[Dn.J]:"#3A3D41",[kn.o]:"#404040",[kn.a]:"#707070",[Dn.T]:"#ADD6FF26"}},En={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Dn.r]:"#000000",[Dn.B]:"#FFFFFF",[kn.o]:"#FFFFFF",[kn.a]:"#FFFFFF"}};var In=i("9c41"),Mn=i("bf5b");function Tn(){const e=new j.b,t=Object(Mn.a)();return t.onDidChange(()=>e.fire()),{onDidChange:e.event,getCSS(){const e={};var i,n;const o=[];for(i of t.getIcons()){var s=(i=>{let n=i.defaults;for(;ji.d.isThemeIcon(n);){var o=t.getIcon(n.id);if(!o)return;n=o.defaults}var s=n.fontId;if(s){var r=t.getIconFont(s);if(r)return e[s]=r,`.codicon-${i.id}:before { content: '${n.fontCharacter}'; font-family: ${Object(Y.r)(s)}; }`}return`.codicon-${i.id}:before { content: '${n.fontCharacter}'; }`})(i);s&&o.push(s)}for(n in e){const t=e[n];var r=t.definition.src.map(e=>`${Object(Y.s)(e.location)} format('${e.format}')`).join(", ");o.push(`@font-face { src: ${r}; font-family: ${Object(Y.r)(n)}; font-display: block; }`)}return o.join("\n")}}}const An="vs-dark",Rn="hc-black",Pn=cn.a.as(Dn.a.ColorContribution),Fn=cn.a.as(ji.a.ThemingContribution);class Bn{constructor(e,t){this.semanticHighlighting=!1,t=(this.themeData=t).base,0{this._codiconCSS=e.getCSS(),this._updateCSS()}),Y.m("(forced-colors: active)",()=>{this._updateActualTheme()})}registerEditorContainer(e){return Y.O(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=Y.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),ve.a.None}_registerShadowDomContainer(e){const t=Y.w(e);return t.className="monaco-colors",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._desiredTheme=t,this._updateActualTheme()}_updateActualTheme(){var e=this._autoDetectHighContrast&&window.matchMedia("(forced-colors: active)").matches?this._knownThemes.get(Rn):this._desiredTheme;this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._updateActualTheme()}_updateThemeOrColorMap(){let e=[],t={},i={addRule:i=>{t[i]||(e.push(i),t[i]=!0)}};Fn.getThemingParticipants().forEach(e=>e(this._theme,i,this._environment));var n=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(function(e){let t=[];for(let n=1,o=e.length;ne.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var zn=i("258a");rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{if(6===e.source){var t=Array.from(zn.a.map(this._values,([e])=>e));this._values.clear(),i.fire(new Yn(t))}else{const t=[];for(const i of e.affectedKeys){var n="config."+i,o=this._values.findSuperstr(n);void 0!==o&&(t.push(...zn.a.map(o,([e])=>e)),this._values.deleteSuperstr(n)),this._values.has(n)&&(t.push(n),this._values.delete(n))}i.fire(new Yn(t))}})}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf($n._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);var t=e.substr($n._keyPrefix.length),i=this._configurationService.getValue(t);let n=void 0;switch(typeof i){case"number":case"boolean":case"string":n=i;break;default:n=Array.isArray(i)?JSON.stringify(i):i}return this._values.set(e,n),n}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}$n._keyPrefix="config.";class Gn{constructor(e,t,i){this._service=e,this._key=t,this._defaultValue=i,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Zn{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class Yn{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class Xn{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class Qn{constructor(e){this._onDidChangeContext=new j.e({merge:e=>new Xn(e)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Gn(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new eo(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId);return ii.contextMatchesRules(t,e)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(!this._isDisposed){const i=this.getContextValuesContainer(this._myContextId);i&&i.setValue(e,t)&&this._onDidChangeContext.fire(new Zn(e))}}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Zn(e))}getContext(e){return this._isDisposed?qn.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){var t;if(e.hasAttribute(Un))return(t=e.getAttribute(Un))?parseInt(t,10):NaN;e=e.parentElement}return 0}(e))}}let Jn=class extends Qn{constructor(e){super(0),this._contexts=new Map,this._toDispose=new ve.b,this._lastContextId=0,e=new $n(this._myContextId,e,this._onDidChangeContext),this._contexts.set(this._myContextId,e),this._toDispose.add(e)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return!this._isDisposed&&this._contexts.get(e)||qn.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new Kn(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};Jn=rt([st(0,qt.a)],Jn);class eo extends Qn{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new ve.d,this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(Un)){let e="";this._domNode.classList&&(e=Array.from(this._domNode.classList.values()).join(", "))}this._domNode.setAttribute(Un,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(Un),this._isDisposed=!0)}getContextValuesContainer(e){return this._isDisposed?qn.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}ie.a.registerCommand(ti.d,(function(e,t,i){e.get(ti.b).createKey(String(t),i)})),ie.a.registerCommand({id:"getContextKeyInfo",handler(){return[...ti.c.all()].sort((e,t)=>e.key.localeCompare(t.key))},description:{description:Object(Jt.a)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),ie.a.registerCommand("_generateContextKeyInfo",(function(){const e=[],t=new Set;for(var i of ti.c.all())t.has(i.key)||(t.add(i.key),e.push(i));e.sort((e,t)=>e.key.localeCompare(t.key))}));var to,io=i("5d75"),no=i("5d28"),oo=i("0f70"),so=i("a60f"),ro=i("5aa5"),ao=(qi=i("eff2"),Qi=i("b9db"),i("0a31")),lo=i("9ee1");function ho(e,t,i){var n=i.mode===to.ALIGN?i.offset:i.offset+i.size,o=i.mode===to.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=o?o-t:Math.max(e-t,0):t<=o?o-t:t<=e-n?n:0}i("4d3d"),(rt=to=to||{})[rt.AVOID=0]="AVOID",rt[rt.ALIGN=1]="ALIGN";class co extends ve.a{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=ve.a.None,this.toDisposeOnSetContainer=ve.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=Y.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,Y.K(this.view),this.setContainer(e,t),this._register(Object(ve.i)(()=>this.setContainer(null,1)))}setContainer(e,t){var i;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),(this.shadowRoot=null)!=(i=this.shadowRootHostElement)&&i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM){this.shadowRootHostElement=Y.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent=uo,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(Y.a("slot"))}else this.container.appendChild(this.view);const i=new ve.b;co.BUBBLE_UP_EVENTS.forEach(e=>{i.add(Y.o(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),co.BUBBLE_DOWN_EVENTS.forEach(e=>{i.add(Y.o(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=i}}show(e){this.isVisible()&&this.hide(),Y.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",Y.W(this.view),this.toDisposeOnClean=e.render(this.view)||ve.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||we.c&&ao.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(this.isVisible()){var e=this.delegate.getAnchor();let s;s=Y.M(e)?{top:(t=Y.D(e)).top,left:t.left,width:t.width,height:t.height}:{top:e.y,left:e.x,width:e.width||1,height:e.height||2};var t=Y.I(this.view),i=(e=Y.H(this.view),this.delegate.anchorPosition||0),n=this.delegate.anchorAlignment||0;let r,a;if(0===(this.delegate.anchorAxisAlignment||0)){var o={offset:s.top-window.pageYOffset,size:s.height,position:0===i?0:1};const l={offset:s.left,size:s.width,position:0===n?0:1,mode:to.ALIGN};r=ho(window.innerHeight,e,o)+window.pageYOffset,lo.a.intersects({start:r,end:r+e},{start:o.offset,end:o.offset+o.size})&&(l.mode=to.AVOID),a=ho(window.innerWidth,t,l)}else{o={offset:s.left,size:s.width,position:0===n?0:1};const l={offset:s.top,size:s.height,position:0===i?0:1,mode:to.ALIGN};a=ho(window.innerWidth,t,o),lo.a.intersects({start:a,end:a+t},{start:o.offset,end:o.offset+o.size})&&(l.mode=to.AVOID),r=ho(window.innerHeight,e,l)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===i?"bottom":"top"),this.view.classList.add(0===n?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition),t=Y.D(this.container),this.view.style.top=r-(this.useFixedPosition?Y.D(this.view):t).top+"px",this.view.style.left=a-(this.useFixedPosition?Y.D(this.view):t).left+"px",this.view.style.width="initial"}}hide(e){const t=this.delegate;(this.delegate=null)!==t&&void 0!==t&&t.onHide&&t.onHide(e),this.toDisposeOnClean.dispose(),Y.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Y.L(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}co.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],co.BUBBLE_DOWN_EVENTS=["click"];let uo='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tfont-display: block;\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n';var go,po=i("1898"),mo=i("f070"),fo=i("561a"),_o=i("1097");const bo=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,vo=/(&)?(&)([^\s&])/g,Co=Object(fo.e)("menu-selection",fo.b.check),wo=Object(fo.e)("menu-submenu",fo.b.chevronRight);(st=go=go||{})[st.Right=0]="Right",st[st.Left=1]="Left";class yo extends ro.a{constructor(e,t,i={}){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");const n=document.createElement("div");n.classList.add("monaco-menu"),n.setAttribute("role","presentation"),super(n,{orientation:1,actionViewItemProvider:e=>this.doGetActionViewItem(e,i,o),context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...we.f||we.d?[10]:[]],keyDown:!0}}),this.menuElement=n,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new ve.b),this.initializeStyleSheet(e),this._register(so.b.addTarget(n)),Object(Y.i)(n,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);t.equals(2)&&e.preventDefault()}),i.enableMnemonics&&this.menuDisposables.add(Object(Y.i)(n,Y.d.KEY_DOWN,e=>{var t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){Y.c.stop(e,!0);const i=this.mnemonics.get(t);1===i.length&&(i[0]instanceof Lo&&i[0].container&&this.focusItemByElement(i[0].container),i[0].onClick(e)),1{const t=new Wt.a(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),Y.c.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),Y.c.stop(e,!0))})),this._register(Object(Y.i)(this.domNode,Y.d.MOUSE_OUT,e=>{var t=e.relatedTarget;Object(Y.L)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register(Object(Y.i)(this.actionsList,Y.d.MOUSE_OVER,e=>{let t=e.target;if(t&&Object(Y.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;t.classList.contains("action-item")&&(e=this.focusedItem,this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus())}})),this._register(so.b.addTarget(this.actionsList)),this._register(Object(Y.i)(this.actionsList,so.a.Tap,e=>{let t=e.initialTarget;if(t&&Object(Y.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;t.classList.contains("action-item")&&(e=this.focusedItem,this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus())}}));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new po.a(n,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const s=this.scrollableElement.getDomNode();s.style.position="",this._register(Object(Y.i)(n,so.a.Change,e=>{Y.c.stop(e,!0);var t=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:t-e.translationY})})),this._register(Object(Y.i)(s,Y.d.MOUSE_UP,e=>{e.preventDefault()})),n.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)+"px",t=t.filter(e=>{var t;return null==(t=i.submenuIds)||!t.has(e.id)}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof xo)).forEach((e,t,i)=>{e.updatePositionInSet(t+1,i.length)})}initializeStyleSheet(e){Object(Y.O)(e)?(this.styleSheet=Object(Y.w)(e),this.styleSheet.textContent=ko):(yo.globalStyleSheet||(yo.globalStyleSheet=Object(Y.w)(),yo.globalStyleSheet.textContent=ko),this.styleSheet=yo.globalStyleSheet)}style(e){const t=this.getContainer();var i=e.foregroundColor?""+e.foregroundColor:"",n=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",s=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=i,this.domNode.style.backgroundColor=n,t.style.boxShadow=s,this.viewItems&&this.viewItems.forEach(t=>{(t instanceof So||t instanceof xo)&&t.style(e)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t{this.element&&(this._register(Object(Y.i)(this.element,Y.d.MOUSE_UP,e=>{Y.c.stop(e,!0),oo.g?new no.a(e).rightButton||this.onClick(e):setTimeout(()=>{this.onClick(e)},0)})),this._register(Object(Y.i)(this.element,Y.d.CONTEXT_MENU,e=>{Y.c.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Object(Y.q)(this.element,Object(Y.a)("a.action-menu-item")),this._action.id===mo.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(Y.q)(this.item,Object(Y.a)("span.menu-item-check"+Co.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(Y.q)(this.item,Object(Y.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(Y.q)(this.item,Object(Y.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))}updateLabel(){if(this.label&&this.options.label){Object(Y.t)(this.label);let t=Object(_o.e)(this.getAction().label);if(t){const i=function(e){const t=bo,i=t.exec(e);if(!i)return e;var n=!i[1];return e.replace(t,n?"$2$3":"").trim()}(t),n=(this.options.enableMnemonics||(t=i),this.label.setAttribute("aria-label",i.replace(/&&/g,"&")),bo.exec(t));if(n){t=Te.s(t),vo.lastIndex=0;let i=vo.exec(t);for(;i&&i[1];)i=vo.exec(t);var e=e=>e.replace(/&&/g,"&");i?this.label.append(Te.J(e(t.substr(0,i.index))," "),Object(Y.a)("u",{"aria-hidden":"true"},i[3]),Te.O(e(t.substr(i.index+i[0].length))," ")):this.label.innerText=e(t).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]||n[3]).toLocaleLowerCase())}else this.label.innerText=t.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Jt.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.getAction().enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){this.item&&(this.getAction().checked?(this.item.classList.add("checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(this.item.classList.remove("checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(this.menuStyle){var e=this.element&&this.element.classList.contains("focused");const t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,i=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0;e=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"",this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=i?i.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=e)}}style(e){this.menuStyle=e,this.applyStyle()}}class Lo extends So{constructor(e,t,i,n){super(e,e,n),this.submenuActions=t,this.parentData=i,this.submenuOptions=n,this.mysubmenu=null,this.submenuDisposables=this._register(new ve.b),this.mouseOver=!1,this.expandDirection=n&&void 0!==n.expandDirection?n.expandDirection:go.Right,this.showScheduler=new be.e(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new be.e(()=>{this.element&&!Object(Y.L)(Object(Y.y)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(Y.q)(this.item,Object(Y.a)("span.submenu-indicator"+wo.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(Y.i)(this.element,Y.d.KEY_UP,e=>{let t=new Wt.a(e);(t.equals(17)||t.equals(3))&&(Y.c.stop(e,!0),this.createSubmenu(!0))})),this._register(Object(Y.i)(this.element,Y.d.KEY_DOWN,e=>{let t=new Wt.a(e);Object(Y.y)()===this.item&&(t.equals(17)||t.equals(3))&&Y.c.stop(e,!0)})),this._register(Object(Y.i)(this.element,Y.d.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(Y.i)(this.element,Y.d.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register(Object(Y.i)(this.element,Y.d.FOCUS_OUT,e=>{this.element&&!Object(Y.L)(Object(Y.y)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}updateEnabled(){}onClick(e){Y.c.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,i,n){const o={top:0,left:0};return o.left=ho(e.width,t.width,{position:n===go.Right?0:1,offset:i.left,size:i.width}),o.left>=i.left&&o.left{let t=new Wt.a(e);t.equals(15)&&(Y.c.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(Y.i)(this.submenuContainer,Y.d.KEY_DOWN,e=>{let t=new Wt.a(e);t.equals(15)&&Y.c.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu))}updateAriaExpanded(e){var t;this.item&&null!=(t=this.item)&&t.setAttribute("aria-expanded",e)}applyStyle(){var e;super.applyStyle(),this.menuStyle&&(e=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,this.submenuIndicator&&(this.submenuIndicator.style.color=e?""+e:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle))}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class xo extends qi.a{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")}}let ko=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${Object(Qi.a)(Co)}\n${Object(Qi.a)(wo)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`;i("7a2c");var Do=i("a6d7");class No{constructor(e,t,i,n,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=i,this.keybindingService=n,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(t.length){let n;this.focusToReturn=document.activeElement;var i=Object(Y.M)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:i=>{var o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild(Object(Y.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(Y.i)(this.block,Y.d.MOUSE_DOWN,e=>e.stopPropagation()));const s=new ve.b,r=e.actionRunner||new mo.b;return r.onBeforeRun(this.onActionRun,this,s),r.onDidRun(this.onDidActionRun,this,s),n=new yo(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:r,getKeyBinding:e.getKeyBinding||(e=>this.keybindingService.lookupKeybinding(e.id))}),s.add(Object(Do.c)(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,s),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,s),s.add(Object(Y.i)(window,Y.d.BLUR,()=>this.contextViewService.hideContextView(!0))),s.add(Object(Y.i)(window,Y.d.MOUSE_DOWN,e=>{if(!e.defaultPrevented){e=new no.a(e);let t=e.target;if(!e.rightButton){for(;t;){if(t===i)return;t=t.parentElement}this.contextViewService.hideContextView(!0)}}})),Object(ve.e)(s,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(this.block.remove(),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}}onActionRun(e){this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&!Object(Ce.e)(e.error)&&this.notificationService.error(e.error)}}rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,i){t?t!==this.container&&(this.container=t,this.setContainer(t,i?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const n=Object(ve.i)(()=>{this.currentViewDisposable===n&&this.hideContextView()});return this.currentViewDisposable=n}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};Io=qi([Qi(0,Eo)],Io);rt=i("eafb");var Mo=i("af40");class To{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class Ao{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(var t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const i=this.lookupOrInsertNode(e),n=this.lookupOrInsertNode(t);i.outgoing.set(this._hashFn(t),n),n.incoming.set(this._hashFn(e),i)}removeNode(e){var t,i=this._hashFn(e);for(t of(this._nodes.delete(i),this._nodes.values()))t.outgoing.delete(i),t.incoming.delete(i)}lookupOrInsertNode(e){var t=this._hashFn(e);let i=this._nodes.get(t);return i||(i=new To(e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(var[t,i]of this._nodes)e.push(`${t}, (incoming)[${[...i.incoming.keys()].join(", ")}], (outgoing)[${[...i.outgoing.keys()].join(",")}]`);return e.join("\n")}findCycleSlow(){for(var[e,t]of this._nodes)if(e=new Set([e]),t=this._findCycle(t,e),t)return t}_findCycle(e,t){for(var[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");if(t.add(i),n=this._findCycle(n,t),n)return n;t.delete(i)}}}var Ro=i("f07b");class Po extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!=(t=e.findCycleSlow())?t:"UNABLE to detect cycle, dumping graph: \n"+e.toString()}}class Fo{constructor(e=new Ro.a,t=!1,i){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=i,this._services.set(Fi.a,this)}createChild(e){return new Fo(e,this._strict,this)}invokeFunction(e,...t){let i=Bo.traceInvocation(e),n=!1;try{return e({get:(e,t)=>{if(n)throw Object(Ce.d)("service accessor is only valid during the invocation of its target method");var o=this._getOrCreateServiceInstance(e,i);if(o||t===Fi.d)return o;throw new Error(`[invokeFunction] unknown service '${e}'`)}},...t)}finally{n=!0,i.stop()}}createInstance(e,...t){let i,n;return n=e instanceof Mo.a?(i=Bo.traceCreation(e.ctor),this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=Bo.traceCreation(e),this._createInstance(e,t,i)),i.stop(),n}_createInstance(e,t=[],i){var n=Fi.b.getServiceDependencies(e).sort((e,t)=>e.index-t.index);let o=[];for(const a of n){var s=this._getOrCreateServiceInstance(a.id,i);if(!s&&this._strict&&!a.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${a.id}.`);o.push(s)}var r;n=0e.id.toString());let o=0;const s=[{id:e,desc:t,_trace:i}];for(;s.length;){const e=s.pop();if(n.lookupOrInsertNode(e),1e3this._createInstance(e,t,n));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];var n=i.value;let o=n[t];return"function"==typeof o&&(o=o.bind(n),e[t]=o),o},set(e,t,n){return i.value[t]=n,!0}})}return this._createInstance(e,t,n)}}class Bo{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return Bo._None}static traceCreation(e){return Bo._None}branch(e,t){var i=new Bo(2,e.toString());return this._dep.push([e,t,i]),i}stop(){let e=Date.now()-this._start,t=(Bo._totals+=e,!1);this.type,this.name,function e(i,n){let o=[];var s,r,a,l,d=new Array(i+1).join("\t");for([s,r,a]of n._dep)r&&a?(t=!0,o.push(d+"CREATES -> "+s),(l=e(i+1,a))&&o.push(l)):o.push(d+"uses -> "+s);return o.join("\n")}(1,this),e.toFixed(2),Bo._totals.toFixed(2)}}Bo._None=new class extends Bo{constructor(){super(-1,null)}stop(){}branch(){return this}},Bo._totals=0;st=i("47cb");var jo=i("93d9"),Wo=i("b400");class Vo{constructor(){this._byResource=new Q.b,this._byOwner=new Map}set(e,t,i){let n=this._byResource.get(e),o=(n||(n=new Map,this._byResource.set(e,n)),n.set(t,i),this._byOwner.get(t));o||(o=new Q.b,this._byOwner.set(t,o)),o.set(e,i)}get(e,t){let i=this._byResource.get(e);return null===i||void 0===i?void 0:i.get(t)}delete(e,t){let i=!1,n=!1,o=this._byResource.get(e),s=(o&&(i=o.delete(t)),this._byOwner.get(t));if(s&&(n=s.delete(e)),i!==n)throw new Error("illegal state");return i&&n}values(e){var t;return"string"==typeof e?null!=(t=null==(t=this._byOwner.get(e))?void 0:t.values())?t:zn.a.empty():V.a.isUri(e)?null!=(e=null==(t=this._byResource.get(e))?void 0:t.values())?e:zn.a.empty():zn.a.map(zn.a.concat(...this._byOwner.values()),e=>e[1])}}class Ho{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Q.b,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const i of e){var t=this._data.get(i);t=(t&&this._substract(t),this._resourceStats(i));this._add(t),this._data.set(i,t)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme!==ee.c.inMemory&&e.scheme!==ee.c.walkThrough&&e.scheme!==ee.c.walkThroughSnippet)for(var{severity:i}of this._service.read({resource:e}))i===Wo.c.Error?t.errors+=1:i===Wo.c.Warning?t.warnings+=1:i===Wo.c.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class zo{constructor(){this._onMarkerChanged=new j.a({delay:0,merge:zo._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new Vo,this._stats=new Ho(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if(Object(nt.m)(i))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const o=[];for(const s of i){var n=zo._toMarker(e,t,s);n&&o.push(n)}this._data.set(t,e,o),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:n,severity:o,message:s,source:r,startLineNumber:a,startColumn:l,endLineNumber:d,endColumn:h,relatedInformation:c,tags:u}=i;if(s)return a=0=a?d:a,h=0{this._build(),this._onDidChange.fire(this)},t.eventDebounceDelay),r=(this._disposables.add(s),this._disposables.add(Ri.d.onDidChangeMenu(t=>{t.has(e)&&s.schedule()})),this._disposables.add(new ve.b));this._onDidChange=new j.b({onFirstListenerAdd:()=>{const e=new be.e(()=>this._onDidChange.fire(this),t.eventDebounceDelay);r.add(e),r.add(n.onDidChangeContext(t=>{t.affectsSome(this._contextKeys)&&e.schedule()}))},onLastListenerRemove:r.clear.bind(r)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=Ri.d.getMenuItems(this._id);let i;t.sort(e._compareMenuItems);for(const e of t){var n=e.group||"";i&&i[0]===n||(i=[n,[]],this._menuGroups.push(i)),i[1].push(e),this._collectContextKeys(e)}}_collectContextKeys(t){var i;e._fillInKbExprKeys(t.when,this._contextKeys),Object(Ri.f)(t)?(t.command.precondition&&e._fillInKbExprKeys(t.command.precondition,this._contextKeys),t.command.toggled&&(i=t.command.toggled.condition||t.command.toggled,e._fillInKbExprKeys(i,this._contextKeys))):this._options.emitEventsForSubmenuChanges&&Ri.d.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}getActions(e){const t=[];for(var i of this._menuGroups){var n,[i,o]=i;const s=[];for(const t of o)this._contextKeyService.contextMatchesRules(t.when)&&(n=Object(Ri.f)(t)?new Ri.c(t.command,t.alt,e,this._contextKeyService,this._commandService):new Ri.e(t,this._menuService,this._contextKeyService,e),s.push(n));0{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){var i=[...this._markersData.keys()],n=(this._markersData.clear(),this.model.deltaDecorations(i,t));for(let o=0;othis._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const i=this._markerDecorations.get(e);return i&&i.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{e=this._markerDecorations.get(e),e&&this._updateDecorations(e)})}_onModelAdded(e){var t=new Go(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),e.uri.scheme!==ee.c.inMemory&&e.uri.scheme!==ee.c.internal&&e.uri.scheme!==ee.c.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});var i=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,i)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let i=z.a.lift(t);var n;return t.severity!==Wo.c.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(i=i.setEndPosition(i.startLineNumber,i.startColumn+2)),(i=e.validateRange(i)).isEmpty()?(n=e.getWordAtPosition(i.getStartPosition()))?i=new z.a(i.startLineNumber,n.startColumn,i.endLineNumber,n.endColumn):1!==(n=e.getLineLastNonWhitespaceColumn(i.startLineNumber)||e.getLineMaxColumn(i.startLineNumber))&&(i=i.endColumn>=n?new z.a(i.startLineNumber,n-1,i.endLineNumber,n):new z.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn+1)):t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&i.startLineNumber===i.endLineNumber&&(n=e.getLineFirstNonWhitespaceColumn(t.startLineNumber))this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(i(),this._onDidChangeScreenReaderOptimized.fire())})),i(),this.onDidChangeScreenReaderOptimized(()=>i())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};Xo=Qi([$o(0,ti.b),$o(1,qt.a)],Xo);var Qo=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class Jo{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,i){return Qo(this,void 0,void 0,(function*(){if(i)this.mapTextToType.set(i,e);else{try{return yield navigator.clipboard.writeText(e)}catch(t){}const i=document.activeElement,n=document.body.appendChild(Object(Y.a)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=e,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)}}))}readText(e){return Qo(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return""}}))}readFindText(){return Qo(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return Qo(this,void 0,void 0,(function*(){this.findText=e}))}}var es=i("3803"),ts=(Qi=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=t||s.id!==e.elements[n])&&(i=!1,o=0),i||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let s=-1;for(let r=this._future.length-1;0<=r;r--,n++){const o=this._future[r];i&&(n>=t||o.id!==e.elements[n])&&(i=!1,s=r),i||1!==o.type||o.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==s&&(this._future=this._future.slice(s+1)),this.versionId++}getElements(){const e=[],t=[];for(const i of this._past)e.push(i.actual);for(const i of this._future)t.push(i.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return 0t.sourceOrder)&&(t=o,i=n);return[t,i]}canUndo(e){if(e instanceof es.d)return[,t]=this._findClosestUndoElementWithSource(e.id),!!t;var t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){Object(Ce.f)(e);for(const i of t.strResources)this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,o){const s=this._acquireLocks(i);let r;try{r=t()}catch(t){return s(),n.dispose(),this._onError(t,e)}return r?r.then(()=>(s(),n.dispose(),o()),t=>(s(),n.dispose(),this._onError(t,e))):(s(),n.dispose(),o())}_invokeWorkspacePrepare(e){return ts(this,void 0,void 0,(function*(){var t;return void 0===e.actual.prepareUndoRedo||void 0===(t=e.actual.prepareUndoRedo())?ve.a.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(ve.a.None);const i=e.actual.prepareUndoRedo();return i?Object(ve.g)(i)?t(i):i.then(e=>t(e)):t(ve.a.None)}_getAffectedEditStacks(e){const t=[];for(const i of e.strResources)t.push(this._editStacks.get(i)||hs);return new ds(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new us(this._undo(e,0,!0));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(n),new us}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,Jt.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,Jt.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const r of i.editStacks)r.getClosestPastElement()!==t&&o.push(r.resourceLabel);if(0 1"]},"Undo in {0} Files",i.editStacks.length),Jt.a("nok","Undo this File"),Jt.a("cancel","Cancel")],{cancelId:2});if(2===o.choice)return;if(1===o.choice)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);if(o=this._checkWorkspaceUndo(e,t,i,!1),o)return o.returnValue;n=!0}let s;try{s=yield this._invokeWorkspacePrepare(t)}catch(o){return this._onError(o,t)}if(o=this._checkWorkspaceUndo(e,t,i,!0),o)return s.dispose(),o.returnValue;for(const e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,s,()=>this._continueUndoInGroup(t.groupId,n))}))}_resourceUndo(e,t,i){if(t.isValid){var n;if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new ds([e]),n,()=>this._continueUndoInGroup(t.groupId,i))));n=Jt.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label),this._notificationService.warn(n)}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestPastElement(),o&&o.groupId===e&&(!t||o.groupOrder>t.groupOrder)&&(t=o,i=n);return[t,i]}_continueUndoInGroup(e,t){if(e)return[,e]=this._findClosestUndoElementInGroup(e),e?this._undo(e,0,t):void 0}undo(e){var t;return e instanceof es.d?([,t]=this._findClosestUndoElementWithSource(e.id),t?this._undo(t,e.id,!1):void 0):"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(this._editStacks.has(e)){const r=this._editStacks.get(e);var n=r.getClosestPastElement();if(n){if(n.groupId){var[o,s]=this._findClosestUndoElementInGroup(n.groupId);if(n!==o&&s)return this._undo(s,t,i)}return n.sourceId===t&&!n.confirmBeforeUndo||i?1===n.type?this._workspaceUndo(e,n,i):this._resourceUndo(r,n,i):this._confirmAndContinueUndo(e,t,n)}}}_confirmAndContinueUndo(e,t,i){return ts(this,void 0,void 0,(function*(){var n=yield this._dialogService.show(Vt.a.Info,Jt.a("confirmDifferentSource","Would you like to undo '{0}'?",i.label),[Jt.a("confirmDifferentSource.yes","Yes"),Jt.a("cancel","Cancel")],{cancelId:1});if(1!==n.choice)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestFutureElement(),o&&o.sourceId===e&&(!t||o.sourceOrdert.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}))}_resourceRedo(e,t){if(t.isValid){var i;if(!e.locked)return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new ds([e]),i,()=>this._continueRedoInGroup(t.groupId))));i=Jt.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label),this._notificationService.warn(i)}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestFutureElement(),o&&o.groupId===e&&(!t||o.groupOrder{this._register(Object(Y.i)(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):Y.c.stop(e)}))}),this._register(Object(Y.i)(this._element,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);let i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._element.blur(),i=!0),i&&Y.c.stop(t,!0)})),this._register(Object(Y.i)(this._element,Y.d.MOUSE_OVER,e=>{this._element.classList.contains("disabled")||this.setHoverBackground()})),this._register(Object(Y.i)(this._element,Y.d.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(Object(Y.Y)(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;(e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null)&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let t,i;t=this.options.secondary?(i=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(i=this.buttonForeground?this.buttonForeground.toString():"",this.buttonBackground?this.buttonBackground.toString():"");var e=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=i,this._element.style.backgroundColor=t,this._element.style.borderWidth=e?"1px":"",this._element.style.borderStyle=e?"solid":"",this._element.style.borderColor=e}}get element(){return this._element}set label(e){this._element.classList.add("monaco-text-button"),this.options.supportIcons?Object(Y.R)(this._element,...Object(gs.a)(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}var fs=i("3bfb");i("1f26");const _s="infinite",bs={progressBarBackground:_n.a.fromHex("#0E70C0")};class vs extends ve.a{constructor(e,t){super(),this.options=t||Object.create(null),Object($t.f)(this.options,bs,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new be.e(()=>Object(Y.W)(this.element),0)),this.create(e)}create(e){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove("active",_s,"discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add("done"),this.element.classList.contains(_s)?this.bit.style.opacity="0":this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off(),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove("discrete","done"),this.element.classList.add("active",_s),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){var e;this.bit&&(e=this.progressBarBackground?this.progressBarBackground.toString():"",this.bit.style.backgroundColor=e)}}$o=i("9c3e"),i("0836");const Cs={},ws=new $o.a("quick-input-button-icon-");function ys(e){if(e){let i;var t=e.dark.toString();return Cs[t]?i=Cs[t]:(i=ws.nextId(),Y.v("."+i,"background-image: "+Y.s(e.light||e.dark)),Y.v(`.vs-dark .${i}, .hc-black .`+i,"background-image: "+Y.s(e.dark)),Cs[t]=i),i}}var Ss=i("cdd6"),Ls=i("d3ef");const xs=Y.a;class ks extends ve.a{constructor(e){super(),this.parent=e,this.onKeyDown=e=>Y.i(this.inputBox.inputElement,Y.d.KEY_DOWN,t=>{e(new Wt.a(t))}),this.onMouseDown=e=>Y.i(this.inputBox.inputElement,Y.d.MOUSE_DOWN,t=>{e(new no.a(t))}),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=Y.q(this.parent,xs(".quick-input-box")),this.inputBox=this._register(new Ls.b(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Vt.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Vt.a.Info?1:e===Vt.a.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===Vt.a.Info?1:e===Vt.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}var Ds=i("ee56"),Ns=i("c4e3");i("abf2");const Os=Y.a;class Es{constructor(e,t,i){this.os=t,this.keyElements=new Set,this.options=i||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=Y.q(e,Os(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&Es.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e,t;this.clear(),this.keybinding?([e,t]=this.keybinding.getParts(),e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(Y.q(this.domNode,Os("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""):this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode),this.applyStyles(),this.didEverRender=!0}clear(){Y.t(this.domNode),this.keyElements.clear()}renderPart(e,t,i){var n=li.b.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,n.ctrlKey,Boolean(null==i?void 0:i.ctrlKey),n.separator),t.shiftKey&&this.renderKey(e,n.shiftKey,Boolean(null==i?void 0:i.shiftKey),n.separator),t.altKey&&this.renderKey(e,n.altKey,Boolean(null==i?void 0:i.altKey),n.separator),t.metaKey&&this.renderKey(e,n.metaKey,Boolean(null==i?void 0:i.metaKey),n.separator),n=t.keyLabel;n&&this.renderKey(e,n,Boolean(null==i?void 0:i.keyCode),"")}renderKey(e,t,i,n){Y.q(e,this.createKeyElement(t,i?".highlight":"")),n&&Y.q(e,Os("span.monaco-keybinding-key-separator",void 0,n))}renderUnbound(e){Y.q(e,this.createKeyElement(Object(Jt.a)("unbound","Unbound")))}createKeyElement(e,t=""){return t=Os("span.monaco-keybinding-key"+t,void 0,e),this.keyElements.add(t),t}style(e){this.labelBackground=e.keybindingLabelBackground,this.labelForeground=e.keybindingLabelForeground,this.labelBorder=e.keybindingLabelBorder,this.labelBottomBorder=e.keybindingLabelBottomBorder,this.labelShadow=e.keybindingLabelShadow,this.applyStyles()}applyStyles(){var e;if(this.element){for(const t of this.keyElements)this.labelBackground&&(t.style.backgroundColor=null==(e=this.labelBackground)?void 0:e.toString()),this.labelBorder&&(t.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(t.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(t.style.boxShadow="inset 0 -1px 0 "+this.labelShadow);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&Object($t.d)(e.firstPart,t.firstPart)&&Object($t.d)(e.chordPart,t.chordPart)}}const Is=new be.b(()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});function Ms(e,t,i){const n=e.toLowerCase(),o=t.toLowerCase();e=function(e,t,i){const n=e.toLowerCase(),o=t.toLowerCase(),s=n.startsWith(i),r=o.startsWith(i);if(s!==r)return s?-1:1;if(s&&r){if(n.lengtho.length)return 1}return 0}(e,t,i);return e||((t=n.endsWith(i))!==o.endsWith(i)?t?-1:1:(e=n,i=o,e=e||"",i=i||"",t=Is.value.collator.compare(e,i),0!==(e=Is.value.collatorIsNumeric&&0===t&&e!==i?e{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=Y.q(e,Ps("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(Y.o(t.checkbox,Y.d.CHANGE,e=>{t.element.checked=t.checkbox.checked})),e=Y.q(e,Ps(".quick-input-list-rows"));var i=Y.q(e,Ps(".quick-input-list-row"));e=Y.q(e,Ps(".quick-input-list-row")),t.label=new Ns.a(i,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),i=Y.q(i,Ps(".quick-input-list-entry-keybinding")),t.keybinding=new Es(i,we.a),i=Y.q(e,Ps(".quick-input-list-label-meta"));return t.detail=new Ds.a(i,!0),t.separator=Y.q(t.entry,Ps(".quick-input-list-separator")),t.actionBar=new ro.a(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,i){i.toDisposeElement=Object(ve.f)(i.toDisposeElement),i.element=e,i.checkbox.checked=e.checked,i.toDisposeElement.push(e.onChecked(e=>i.checkbox.checked=e));var{labelHighlights:n,descriptionHighlights:o,detailHighlights:s}=e;const r=Object.create(null),a=(r.matches=n||[],r.descriptionTitle=e.saneDescription,r.descriptionMatches=o||[],r.extraClasses=e.item.iconClasses,r.italic=e.item.italic,r.strikethrough=e.item.strikethrough,i.label.setLabel(e.saneLabel,e.saneDescription,r),i.keybinding.set(e.item.keybinding),i.detail.set(e.saneDetail,s),e.separator&&e.separator.label?(i.separator.textContent=e.separator.label,i.separator.style.display=""):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!e.separator),i.actionBar.clear(),e.item.buttons);a&&a.length?(i.actionBar.push(a.map((t,i)=>{let n=t.iconClass||(t.iconPath?ys(t.iconPath):void 0);t.alwaysVisible&&(n=n?n+" always-visible":"always-visible");const o=new mo.a("id-"+i,"",n,!0,()=>Rs(this,void 0,void 0,(function*(){e.fireButtonTriggered({button:t,item:e.item})})));return o.tooltip=t.tooltip||"",o}),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(e,t,i){i.toDisposeElement=Object(ve.f)(i.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=Object(ve.f)(e.toDisposeElement),e.toDisposeTemplate=Object(ve.f)(e.toDisposeTemplate)}}Bs.ID="listelement";class js{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Bs.ID}}(Xs=Ts=Ts||{})[Xs.First=1]="First",Xs[Xs.Second=2]="Second",Xs[Xs.Last=3]="Last",Xs[Xs.Next=4]="Next",Xs[Xs.Previous=5]="Previous",Xs[Xs.NextPage=6]="NextPage",Xs[Xs.PreviousPage=7]="PreviousPage";class Ws{constructor(e,t,i){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new j.b,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new j.b,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new j.b,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new j.b,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new j.b,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new j.b,this.onKeyDown=this._onKeyDown.event,this._onLeave=new j.b,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=Y.q(this.parent,Ps(".quick-input-list"));e=new js;var n=new Vs;this.list=i.createList("QuickInput",this.container,e,[new Bs],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:n}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(e=>{var t=new Wt.a(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(we.f?e.metaKey:e.ctrlKey)&&this.list.setFocus(Object(nt.r)(this.list.length));break;case 16:var i=this.list.getFocus();1===i.length&&0===i[0]&&this._onLeave.fire();break;case 18:i=this.list.getFocus(),1===i.length&&i[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(t)})),this.disposables.push(this.list.onMouseDown(e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()})),this.disposables.push(Y.i(this.container,Y.d.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(e=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return j.c.map(this.list.onDidChangeFocus,e=>e.elements.map(e=>e.item))}get onDidChangeSelection(){return j.c.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(e=>e.item),event:e.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,o=e.length;n{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=Object(ve.f)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce((i,n,o)=>{if("separator"!==n.type){var s=o&&e[o-1];const l=n.label&&n.label.replace(/\r?\n/g," ");var r=n.meta&&n.meta.replace(/\r?\n/g," ");const d=n.description&&n.description.replace(/\r?\n/g," "),h=n.detail&&n.detail.replace(/\r?\n/g," ");var a=n.ariaLabel||[l,d,h].map(e=>Object(fo.c)(e)).filter(e=>!!e).join(", ");i.push(new Fs({index:o,item:n,saneLabel:l,saneMeta:r,saneAriaLabel:a,saneDescription:d,saneDetail:h,labelHighlights:null==(o=n.highlights)?void 0:o.label,descriptionHighlights:null==(r=n.highlights)?void 0:r.description,detailHighlights:null==(a=n.highlights)?void 0:a.detail,checked:!1,separator:s&&"separator"===s.type?s:void 0,fireButtonTriggered:t}))}return i},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(e=>e.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((e,t,i)=>(e.set(t.item,i),e),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){this.list.setFocus(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e))),0this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const i of e)t.add(i);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(this.list.length){switch(e=(e=(e=e===Ts.Next&&this.list.getFocus()[0]===this.list.length-1?Ts.First:e)===Ts.Previous&&0===this.list.getFocus()[0]?Ts.Last:e)===Ts.Second&&this.list.length<2?Ts.First:e){case Ts.First:this.list.focusFirst();break;case Ts.Second:this.list.focusNth(1);break;case Ts.Last:this.list.focusLast();break;case Ts.Next:this.list.focusNext();break;case Ts.Previous:this.list.focusPrevious();break;case Ts.NextPage:this.list.focusNextPage();break;case Ts.PreviousPage:this.list.focusPreviousPage()}e=this.list.getFocus()[0],"number"==typeof e&&this.list.reveal(e)}}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if((e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let t;this.elements.forEach(i=>{var n=this.matchOnLabel?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneLabel))):void 0,o=this.matchOnDescription?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneDescription||""))):void 0,s=this.matchOnDetail?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneDetail||""))):void 0,r=this.matchOnMeta?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneMeta||""))):void 0;n||o||s||r?(i.labelHighlights=n,i.descriptionHighlights=o,i.detailHighlights=s,i.hidden=!1):(i.labelHighlights=void 0,i.descriptionHighlights=void 0,i.detailHighlights=void 0,i.hidden=!i.item.alwaysShow),i.separator=void 0,this.sortByLabel||(r=i.index&&this.inputElements[i.index-1],(t=r&&"separator"===r.type?r:t)&&!i.hidden&&(i.separator=t,t=void 0))})}else this.elements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;var t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0});const t=this.elements.filter(e=>!e.hidden);if(this.sortByLabel&&e){const i=e.toLowerCase();t.sort((e,t)=>{return e=e,t=t,n=i,o=e.labelHighlights||[],s=t.labelHighlights||[],!o.length||s.length?o.length||!s.length?0!==o.length||0!==s.length?Ms(e.saneLabel,t.saneLabel,n):0:1:-1;var n,o,s})}return this.elementsToIndexes=t.reduce((e,t,i)=>(e.set(t.item,i),e),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;var e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const i of e)i.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=Object(ve.f)(this.elementDisposables),this.disposables=Object(ve.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}As([$o.a],Ws.prototype,"onDidChangeFocus",null),As([$o.a],Ws.prototype,"onDidChangeSelection",null);class Vs{getWidgetAriaLabel(){return Object(Jt.a)("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var Hs=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};const zs=Y.a,Us={iconClass:Object(fo.e)("quick-input-back",fo.b.arrowLeft).classNames,tooltip:Object(Jt.a)("quickInput.back","Back"),handle:-1};class Ks extends ve.a{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=Ks.noPromptMessage,this._severity=Vt.a.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new j.b),this.onDidHideEmitter=this._register(new j.b),this.onDisposeEmitter=this._register(new j.b),this.visibleDisposables=this._register(new ve.b),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){var t=this._ignoreFocusOut!==e&&!we.c;this._ignoreFocusOut=e&&!we.c,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=Ss.c.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){if(this.visible){var e=this.getTitle();e=(e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" "),this.getDescription());if(this.ui.description1.textContent!==e&&(this.ui.description1.textContent=e),this.ui.description2.textContent!==e&&(this.ui.description2.textContent=e),this.busy&&!this.busyDelay&&(this.busyDelay=new be.g,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter(e=>e===Us),t=(this.ui.leftActionBar.push(e.map((e,t)=>{const i=new mo.a("id-"+t,"",e.iconClass||ys(e.iconPath),!0,()=>Hs(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return i.tooltip=e.tooltip||"",i}),{icon:!0,label:!1}),this.ui.rightActionBar.clear(),this.buttons.filter(e=>e!==Us));this.ui.rightActionBar.push(t.map((e,t)=>{const i=new mo.a("id-"+t,"",e.iconClass||ys(e.iconPath),!0,()=>Hs(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return i.tooltip=e.tooltip||"",i}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey),e=this.validationMessage||this.noValidationMessage,this._lastValidationMessage!==e&&(this._lastValidationMessage=e,Y.R(this.ui.message,...Object(gs.a)(e))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title||(this.step?this.getSteps():"")}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(Jt.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){this.ui.inputBox.showDecoration(e),e!==Vt.a.Ignore?(e=this.ui.inputBox.stylesForType(e),this.ui.message.style.color=e.foreground?""+e.foreground:"",this.ui.message.style.backgroundColor=e.background?""+e.background:"",this.ui.message.style.border=e.border?"1px solid "+e.border:"",this.ui.message.style.paddingBottom="4px"):(this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom="")}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}Ks.noPromptMessage=Object(Jt.a)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class qs extends Ks{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new j.b),this.onWillAcceptEmitter=this._register(new j.b),this.onDidAcceptEmitter=this._register(new j.b),this.onDidCustomEmitter=this._register(new j.b),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Ss.a.NONE:Ss.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new j.b),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new j.b),this.onDidTriggerItemButtonEmitter=this._register(new j.b),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e||"",this.update(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Ss.b:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){!this.autoFocusOnList||this.canSelectMany||this.ui.list.focus(Ts.First)}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{e!==this.value&&(this._value=e,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e))})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(Ts.Next),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Ts.Previous):this.ui.list.focus(Ts.Last),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 12:this.ui.list.focus(Ts.NextPage),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 11:this.ui.list.focus(Ts.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 17:this._canAcceptInBackground&&this.ui.inputBox.isSelectionAtEnd()&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ts.First),Y.c.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ts.Last),Y.c.stop(e,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(nt.h)(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(nt.h)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&1===t.button))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{!this.canSelectMany||this.selectedItemsToConfirm!==this._selectedItems&&Object(nt.h)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return Y.i(this.ui.container,Y.d.KEY_UP,e=>{if(!this.canSelectMany&&this._quickNavigate){const t=new Wt.a(e),i=t.keyCode,n=this._quickNavigate.keybindings;n.some(e=>{var[e,n]=e.getParts();return!n&&(e.shiftKey&&4===i?!(t.ctrlKey||t.altKey||t.metaKey):!(!e.altKey||6!==i)||!(!e.ctrlKey||5!==i)||!(!e.metaKey||57!==i))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)}})}update(){if(this.visible){var e=!!this._hideInput&&0{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(Y.i(window,Y.d.KEY_DOWN,e,!0)),this._register(Y.i(window,Y.d.KEY_UP,e,!0)),this._register(Y.i(window,Y.d.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=Y.q(this.parentElement,zs(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";var t=Y.w(e),i=Y.q(e,zs(".quick-input-titlebar"));const n=this._register(new ro.a(i));n.domNode.classList.add("quick-input-left-action-bar");var o=Y.q(i,zs(".quick-input-title"));const s=this._register(new ro.a(i));s.domNode.classList.add("quick-input-right-action-bar");var r=Y.q(e,zs(".quick-input-description")),a=Y.q(e,zs(".quick-input-header"));const l=Y.q(a,zs("input.quick-input-check-all"));l.type="checkbox",this._register(Y.o(l,Y.d.CHANGE,e=>{var t=l.checked;C.setAllVisibleChecked(t)})),this._register(Y.i(l,Y.d.CLICK,e=>{(e.x||e.y)&&u.setFocus()}));var d=Y.q(a,zs(".quick-input-description")),h=Y.q(a,zs(".quick-input-and-message")),c=Y.q(h,zs(".quick-input-filter"));const u=this._register(new ks(c)),g=(u.setAttribute("aria-describedby",this.idPrefix+"message"),Y.q(c,zs(".quick-input-visible-count"))),p=(g.setAttribute("aria-live","polite"),g.setAttribute("aria-atomic","true"),new fs.a(g,{countFormat:Object(Jt.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")})),m=Y.q(c,zs(".quick-input-count")),f=(m.setAttribute("aria-live","polite"),new fs.a(m,{countFormat:Object(Jt.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}));var _=Y.q(a,zs(".quick-input-action"));const b=new ms(_);b.label=Object(Jt.a)("ok","OK"),this._register(b.onDidClick(e=>{this.onDidAcceptEmitter.fire()})),a=Y.q(a,zs(".quick-input-action"));const v=new ms(a);v.label=Object(Jt.a)("custom","Custom"),this._register(v.onDidClick(e=>{this.onDidCustomEmitter.fire()})),h=Y.q(h,zs(`#${this.idPrefix}message.quick-input-message`));const C=this._register(new Ws(e,this.idPrefix+"list",this.options)),w=(this._register(C.onChangedAllVisibleChecked(e=>{l.checked=e})),this._register(C.onChangedVisibleCount(e=>{p.setCount(e)})),this._register(C.onChangedCheckedCount(e=>{f.setCount(e)})),this._register(C.onLeave(()=>{setTimeout(()=>{u.setFocus(),this.controller instanceof qs&&this.controller.canSelectMany&&C.clearFocus()},0)})),this._register(C.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")})),new vs(e)),y=(w.getContainer().classList.add("quick-input-progress"),Y.Y(e));return this._register(y),this._register(Y.i(e,Y.d.FOCUS,e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0},!0)),this._register(y.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(Ss.c.Blur),this.previousFocusElement=void 0})),this._register(Y.i(e,Y.d.FOCUS,e=>{u.setFocus()})),this._register(Y.i(e,Y.d.KEY_DOWN,t=>{var i=new Wt.a(t);switch(i.keyCode){case 3:Y.c.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:Y.c.stop(t,!0),this.hide(Ss.c.Gesture);break;case 2:if(!i.altKey&&!i.ctrlKey&&!i.metaKey){const n=[".action-label.codicon"],o=(e.classList.contains("show-checkboxes")?n.push("input"):n.push("input[type=text]"),this.getUI().list.isDisplayed()&&n.push(".monaco-list"),e.querySelectorAll(n.join(", ")));i.shiftKey&&i.target===o[0]?(Y.c.stop(t,!0),o[o.length-1].focus()):i.shiftKey||i.target!==o[o.length-1]||(Y.c.stop(t,!0),o[0].focus())}}})),this.ui={container:e,styleSheet:t,leftActionBar:n,titleBar:i,title:o,description1:r,description2:d,rightActionBar:s,checkAll:l,filterContainer:c,inputBox:u,visibleCountContainer:g,visibleCount:p,countContainer:m,count:f,okContainer:_,ok:b,message:h,customButtonContainer:a,customButton:v,list:C,progressBar:w,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},i=B.a.None){return new Promise((n,o)=>{let s=e=>{s=n,t.onKeyMods&&t.onKeyMods(r.keyMods),n(e)};if(i.isCancellationRequested)return void s(void 0);const r=this.createQuickPick();let a;const l=[r,r.onDidAccept(()=>{var e;r.canSelectMany?(s(r.selectedItems.slice()),r.hide()):(e=r.activeItems[0])&&(s(e),r.hide())}),r.onDidChangeActive(e=>{e=e[0],e&&t.onDidFocus&&t.onDidFocus(e)}),r.onDidChangeSelection(e=>{r.canSelectMany||(e=e[0])&&(s(e),r.hide())}),r.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{var t=r.items.indexOf(e.item);if(-1!==t){const e=r.items.slice(),i=e.splice(t,1);t=r.activeItems.filter(e=>e!==i[0]),r.items=e,t&&(r.activeItems=t)}}}))),r.onDidChangeValue(e=>{!a||e||1===r.activeItems.length&&r.activeItems[0]===a||(r.activeItems=[a])}),i.onCancellationRequested(()=>{r.hide()}),r.onDidHide(()=>{Object(ve.f)(l),s(void 0)})];r.title=t.title,r.canSelectMany=!!t.canPickMany,r.placeholder=t.placeHolder,r.ignoreFocusOut=!!t.ignoreFocusLost,r.matchOnDescription=!!t.matchOnDescription,r.matchOnDetail=!!t.matchOnDetail,r.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,r.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,r.quickNavigate=t.quickNavigate,r.contextKey=t.contextKey,r.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{a=t,r.busy=!1,r.items=e,r.canSelectMany&&(r.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),a&&(r.activeItems=[a])}),r.show(),Promise.resolve(e).then(void 0,e=>{o(e),r.hide()})})}createQuickPick(){var e=this.getUI();return new qs(e)}show(e){const t=this.getUI(),i=(this.onShowEmitter.fire(),this.controller);this.controller=e,i&&i.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Vt.a.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),Y.R(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="",e=this.options.backKeybindingLabel(),Us.tooltip=e?Object(Jt.a)("quickInput.backWithKeybinding","Back ({0})",e):Object(Jt.a)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=!e.description||e.inputBox||e.checkAll?"none":"",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const i=this.controller;i&&(t=!(null!=(t=this.ui)&&t.container.contains(document.activeElement)),this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",t||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),i.didHide(e))}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const t=this.ui.container.style;var e=Math.min(.62*this.dimension.width,$s.MAX_WIDTH);t.width=e+"px",t.marginLeft="-"+e/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:t,quickInputBackground:i,quickInputForeground:n,contrastBorder:o,widgetShadow:s}=this.styles.widget,r=(this.ui.titleBar.style.backgroundColor=t?t.toString():"",this.ui.container.style.backgroundColor=i?i.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=o?"1px solid "+o:"",this.ui.container.style.boxShadow=s?"0 0 8px 2px "+s:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list),[]);this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push("}"));var e=r.join("\n");e!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=e)}}}$s.MAX_WIDTH=600;var Gs=i("0bfb"),Zs=i("2f1e"),Ys=i("66bd"),Xs=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.substring(o?o.prefix.length:0),null!==o&&void 0!==o&&o.placeholder&&(l.ariaLabel=null===o||void 0===o?void 0:o.placeholder);let d=void 0,h=void 0;t&&(d=new Promise(e=>h=e),a.add(Object(Gs.a)(l.onWillAccept)(e=>{e.veto(),l.hide()}))),a.add(this.registerPickerListeners(l,n,o,e));const c=a.add(new B.b);return n&&a.add(n.provide(l,c.token)),Object(Gs.a)(l.onDidHide)(()=>{0===l.selectedItems.length&&c.cancel(),a.dispose(),null!==h&&void 0!==h&&h(l.selectedItems)}),l.show(),t?d:void 0}e===o.prefix||null!=i&&i.preserveValue||(s.picker.value=e),this.adjustValueSelection(s.picker,o,i)}adjustValueSelection(e,t,i){let n;n=null!=i&&i.preserveValue?[e.value.length,e.value.length]:[null!=(i=null==t?void 0:t.prefix.length)?i:0,e.value.length],e.valueSelection=n}registerPickerListeners(e,t,i,n){const o=new ve.b,s=this.visibleQuickAccess={picker:e,descriptor:i,value:n};return o.add(Object(ve.i)(()=>{s===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(e=>{var[i]=this.getOrInstantiateProvider(e);i!==t?this.show(e,{preserveValue:!0}):s.value=e})),i&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),o}getOrInstantiateProvider(e){if(e=this.registry.getQuickAccessProvider(e),!e)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(e);return t||(t=this.instantiationService.createInstance(e.ctor),this.mapProviderToDescriptor.set(e,t)),[t,e]}};Qs=Xs([As(0,Ys.a),As(1,Fi.a)],Qs);$o=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,i,n,o)=>this.instantiationService.createInstance(jo.d,e,t,i,n,o),styles:this.computeStyles()};const n=this._register(new $s(Object.assign(Object.assign({},i),t)));return n.layout(e.dimension,null!=(t=null==(i=e.offset)?void 0:i.top)?t:0),this._register(e.onDidLayout(t=>n.layout(t,null!=(t=null==(t=e.offset)?void 0:t.top)?t:0))),this._register(n.onShow(()=>this.resetContextKeys())),this._register(n.onHide(()=>this.resetContextKeys())),n}setContextKey(e){let t;e&&!(t=this.contexts.get(e))&&(t=new ti.c(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t)),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=B.a.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Do.d)(this.theme,{quickInputBackground:Dn.qc,quickInputForeground:Dn.rc,quickInputTitleBackground:Dn.vc,contrastBorder:Dn.h,widgetShadow:Dn.Nc})),inputBox:Object(Do.d)(this.theme,{inputForeground:Dn.lb,inputBackground:Dn.jb,inputBorder:Dn.kb,inputValidationInfoBackground:Dn.pb,inputValidationInfoForeground:Dn.rb,inputValidationInfoBorder:Dn.qb,inputValidationWarningBackground:Dn.sb,inputValidationWarningForeground:Dn.ub,inputValidationWarningBorder:Dn.tb,inputValidationErrorBackground:Dn.mb,inputValidationErrorForeground:Dn.ob,inputValidationErrorBorder:Dn.nb}),countBadge:Object(Do.d)(this.theme,{badgeBackground:Dn.c,badgeForeground:Dn.d,badgeBorder:Dn.h}),button:Object(Do.d)(this.theme,{buttonForeground:Dn.f,buttonBackground:Dn.e,buttonHoverBackground:Dn.g,buttonBorder:Dn.h}),progressBar:Object(Do.d)(this.theme,{progressBarBackground:Dn.pc}),keybindingLabel:Object(Do.d)(this.theme,{keybindingLabelBackground:Dn.vb,keybindingLabelForeground:Dn.yb,keybindingLabelBorder:Dn.wb,keybindingLabelBottomBorder:Dn.xb,keybindingLabelShadow:Dn.Nc}),list:Object(Do.d)(this.theme,{listBackground:Dn.qc,listInactiveFocusForeground:Dn.tc,listInactiveSelectionIconForeground:Dn.uc,listInactiveFocusBackground:Dn.sc,listFocusOutline:Dn.b,listInactiveFocusOutline:Dn.b,pickerGroupBorder:Dn.kc,pickerGroupForeground:Dn.lc})}}};var Js,er=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.focus()}}createController(){return super.createController(this.host)}},nr=(ir=er([tr(1,Fi.a),tr(2,ti.b),tr(3,ji.b),tr(4,Wi.b),tr(5,Eo)],ir),class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const i=t=this.instantiationService.createInstance(ir,e);this.mapEditorToService.set(e,t),Object(Gs.a)(e.onDidDispose)(()=>{i.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},i=B.a.None){return this.activeService.pick(e,t,i)}createQuickPick(){return this.activeService.createQuickPick()}});nr=er([tr(0,Fi.a),tr(1,Z.a)],nr);class or{constructor(e){this.editor=e,this.widget=new sr(this.editor)}static get(e){return e.getContribution(or.ID)}dispose(){this.widget.dispose()}}or.ID="editor.controller.quickInput";class sr{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return sr.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}sr.ID="editor.contrib.quickInputWidget",Object(Qi.l)(or.ID,or);{var rr=Js=Js||{};const e=new Ro.a;class t{constructor(e,t){this._serviceId=e,this._factory=t,this._value=null}get id(){return this._serviceId}get(t){if(!this._value){if(t&&(this._value=t[this._serviceId.toString()]),this._value||(this._value=this._factory(t)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");e.set(this._serviceId,this._value)}return this._value}}rr.LazyStaticService=t;let i=[];function ar(e,n){return e=new t(e,n),i.push(e),e}rr.init=function(e){let t=new Ro.a;for(var[n,o]of Object(Yo.a)())t.set(n,o);for(var s in e)e.hasOwnProperty(s)&&t.set(Object(Fi.c)(s),e[s]);i.forEach(i=>t.set(i.id,i.get(e)));var r=new Fo(t,!0);return t.set(Fi.a,r),[t,r]},rr.instantiationService=ar(Fi.a,()=>new Fo(e,!0));const n=new Si;rr.configurationService=ar(qt.a,()=>n),rr.resourceConfigurationService=ar(se.a,()=>new Li(n)),rr.resourcePropertiesService=ar(se.b,()=>new xi(n)),rr.contextService=ar(ui.a,()=>new Di),rr.labelService=ar(st.a,()=>new Ei),rr.telemetryService=ar(io.a,()=>new ki),rr.dialogService=ar(rt.a,()=>new bi),rr.notificationService=ar(ci.a,()=>new vi),rr.markerService=ar(Wo.b,()=>new zo),rr.modeService=ar(fe.a,e=>new mn),rr.standaloneThemeService=ar(Ai.a,()=>new Hn),rr.logService=ar(ot.b,()=>new ot.d(new ot.a)),rr.undoRedoService=ar(es.a,e=>new cs(rr.dialogService.get(e),rr.notificationService.get(e))),rr.modelService=ar(it.a,e=>new fn.a(rr.configurationService.get(e),rr.resourcePropertiesService.get(e),rr.standaloneThemeService.get(e),rr.logService.get(e),rr.undoRedoService.get(e))),rr.markerDecorationsService=ar(qi.a,e=>new Zo(rr.modelService.get(e),rr.markerService.get(e))),rr.contextKeyService=ar(ti.b,e=>new Jn(rr.configurationService.get(e))),rr.codeEditorService=ar(Z.a,e=>new Ji(null,rr.contextKeyService.get(e),rr.standaloneThemeService.get(e))),rr.editorProgressService=ar(Hi.a,()=>new _i),rr.storageService=ar(Uo.a,()=>new Uo.b),rr.editorWorkerService=ar(me.a,e=>new dt(rr.modelService.get(e),rr.resourceConfigurationService.get(e),rr.logService.get(e)))}class lr extends ve.a{constructor(e,t){super();const[i,n]=Js.init(t),o=(this._serviceCollection=i,this._instantiationService=n,this.get(qt.a)),s=this.get(ci.a),r=this.get(io.a),a=this.get(ji.b),l=this.get(ot.b),d=this.get(ti.b);var h=(e,i)=>{let n=null;return n=(n=t?t[e.toString()]:n)||i(),this._serviceCollection.set(e,n),n};h(Wi.b,()=>new Xo(d,o)),h(jo.a,()=>new jo.b(a));let c=h(ie.b,()=>new Ci(this._instantiationService)),u=h(Bi.a,()=>this._register(new wi(d,c,r,s,l,e))),g=h(Eo,()=>new Ii(Js.codeEditorService.get(Z.a),e)),p=(h(Ys.a,()=>new nr(n,Js.codeEditorService.get(Z.a))),h(Pi.b,()=>this._register(new Io(g))));h(Vi.a,()=>new Jo),h(Pi.a,()=>{const e=new Oo(r,s,p,u,a);return e.configure({blockMouse:!1}),this._register(e)}),h(Ri.a,()=>new Ko(c)),h(zt.a,()=>new Oi(Js.modelService.get(it.a)))}get(e){var t=this._serviceCollection.get(e);if(t)return t;throw new Error("Missing service "+e)}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}var dr=i("1ddc");function hr(e,t,i){let n=new lr(e,t),o=null;return n.has(_e.a)||(o=new fi(Js.modelService.get()),n.set(_e.a,o)),n.has(ne.a)||n.set(ne.a,new de(n.get(Z.a),n.get(ie.b))),e=i(n),o&&o.setEditor(e),e}function cr(e,t,i){return hr(e,i||{},i=>new sn(e,t,i,i.get(Fi.a),i.get(Z.a),i.get(ie.b),i.get(ti.b),i.get(Bi.a),i.get(Pi.b),i.get(Ai.a),i.get(ci.a),i.get(qt.a),i.get(Wi.b),i.get(it.a),i.get(fe.a)))}function ur(e){return Js.codeEditorService.get().onCodeEditorAdd(t=>{e(t)})}function gr(e,t,i){return hr(e,i||{},i=>new rn(e,t,i,i.get(Fi.a),i.get(ti.b),i.get(Bi.a),i.get(Pi.b),i.get(me.a),i.get(Z.a),i.get(Ai.a),i.get(ci.a),i.get(qt.a),i.get(Pi.a),i.get(Hi.a),i.get(Vi.a)))}function pr(e,t){return new he.a(e,t)}function mr(e,t,i){return an(Js.modelService.get(),Js.modeService.get(),e,t,i)}function fr(e,t){Js.modelService.get().setMode(e,Js.modeService.get().create(t))}function _r(e,t,i){e&&Js.markerService.get().changeOne(t,e.uri,i)}function br(e){return Js.markerService.get().read(e)}function vr(e){return Js.markerService.get().onMarkerChanged(e)}function Cr(e){return Js.modelService.get().getModel(e)}function wr(){return Js.modelService.get().getModels()}function yr(e){return Js.modelService.get().onModelAdded(e)}function Sr(e){return Js.modelService.get().onModelRemoved(e)}function Lr(e){return Js.modelService.get().onModelModeChanged(t=>{e({model:t.model,oldLanguage:t.oldModeId})})}function xr(e){return t=Js.modelService.get(),e=e,new ft(t,e);var t}function kr(e,t){const i=Js.standaloneThemeService.get();return i.registerEditorContainer(e),Ft.colorizeElement(i,Js.modeService.get(),e,t)}function Dr(e,t,i){const n=Js.standaloneThemeService.get();return n.registerEditorContainer(document.body),Ft.colorize(Js.modeService.get(),e,t,i)}function Nr(e,t,i=4){const n=Js.standaloneThemeService.get();return n.registerEditorContainer(document.body),Ft.colorizeModelLine(e,t,i)}function Or(e,t){let i=Js.modeService.get(),n=(i.triggerMode(t),o=t,ge.F.get(o)||{getInitialState:()=>pe.c,tokenize:(e,t,i,n)=>Object(pe.d)(o,e,i,n)});var o,s=Object(Te.Q)(e);let r=[],a=n.getInitialState();for(let d=0,h=s.length;d",token:"delimiter.angle"}];let r=[];for(var a of t.brackets){let e=a;if((e=e&&Array.isArray(e)&&3===e.length?{token:e[2],open:e[0],close:e[1]}:e).open===e.close)throw xt(i,"open and close brackets in a 'brackets' attribute must be different: "+e.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof e.open||"string"!=typeof e.token||"string"!=typeof e.close)throw xt(i,"every element in the 'brackets' array must be a '{open,close,token}' object or array");r.push({token:e.token+i.tokenPostfix,open:St(i,e.open),close:St(i,e.close)})}return i.brackets=r,i.noThrow=!0,i}function Hr(e){hn.a.registerLanguage(e)}function zr(){let e=[];return e.concat(hn.a.getLanguages())}function Ur(e){return e=Js.modeService.get().getLanguageIdentifier(e),e?e.id:0}function Kr(e,t){let i=Js.modeService.get().onDidCreateMode(n=>{n.getId()===e&&(i.dispose(),t())});return i}function qr(e,t){var i=Js.modeService.get().getLanguageIdentifier(e);if(i)return Ie.a.register(i,t,100);throw new Error("Cannot set configuration for unknown language "+e)}class $r{constructor(e,t){this._languageIdentifier=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i,n){if("function"==typeof this._actual.tokenize)return Gr.adaptTokenize(this._languageIdentifier.language,this._actual,e,i,n);throw new Error("Not supported!")}tokenize2(e,t,i){return e=this._actual.tokenizeEncoded(e,i),new K.c(e.tokens,e.endState)}}class Gr{constructor(e,t,i){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=i}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t,i){let n=[],o=0;for(let r=0,a=e.length;r"tokenizeEncoded"in e?new $r(i,e):new Gr(Js.standaloneThemeService.get(),i,e);return Zr(t)?ge.F.registerPromise(e,t.then(e=>n(e))):ge.F.register(e,n(t))}function Qr(e,t){const i=t=>{return i=Js.modeService.get(),n=Js.standaloneThemeService.get(),o=e,t=Vr(e,t),new Rt(i,n,o,t);var i,n,o};return Zr(t)?ge.F.registerPromise(e,t.then(e=>i(e))):ge.F.register(e,i(t))}function Jr(e,t){return ge.y.register(e,t)}function ea(e,t){return ge.z.register(e,t)}function ta(e,t){return ge.B.register(e,t)}function ia(e,t){return ge.p.register(e,{provideHover:(e,i,n)=>{let o=e.getWordAtPosition(i);return Promise.resolve(t.provideHover(e,i,n)).then(e=>{if(e)return!e.range&&o&&(e.range=new z.a(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),e.range||(e.range=new z.a(i.lineNumber,i.column,i.lineNumber,i.column)),e})}})}function na(e,t){return ge.m.register(e,t)}function oa(e,t){return ge.i.register(e,t)}function sa(e,t){return ge.w.register(e,t)}function ra(e,t){return ge.f.register(e,t)}function aa(e,t){return ge.q.register(e,t)}function la(e,t){return ge.G.register(e,t)}function da(e,t){return ge.b.register(e,t)}function ha(e,t,i){return ge.a.register(e,{providedCodeActionKinds:null==i?void 0:i.providedCodeActionKinds,provideCodeActions:(e,i,n,o)=>{var s=Js.markerService.get().read({resource:e.uri}).filter(e=>z.a.areIntersectingOrTouching(e,i));return t.provideCodeActions(e,i,{markers:s,only:n.only},o)}})}function ca(e,t){return ge.g.register(e,t)}function ua(e,t){return ge.j.register(e,t)}function ga(e,t){return ge.x.register(e,t)}function pa(e,t){return ge.v.register(e,t)}function ma(e,t){return ge.d.register(e,t)}function fa(e,t){return ge.c.register(e,t)}function _a(e,t){return ge.o.register(e,t)}function ba(e,t){return ge.e.register(e,t)}function va(e,t){return ge.A.register(e,t)}function Ca(e,t){return ge.l.register(e,t)}function wa(e,t){return ge.k.register(e,t)}function ya(e,t){return ge.t.register(e,t)}function Sa(e,t){return ge.r.register(e,t)}$o=i("84df"),t.g.wrappingIndent.defaultValue=0,t.g.glyphMargin.defaultValue=!1,t.g.autoIndent.defaultValue=3,t.g.overviewRulerLanes.defaultValue=2,$o.a.setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));const La=$(),xa=(La.editor={create:cr,onDidCreateEditor:ur,createDiffEditor:gr,createDiffNavigator:pr,createModel:mr,setModelLanguage:fr,setModelMarkers:_r,getModelMarkers:br,onDidChangeMarkers:vr,getModels:wr,getModel:Cr,onDidCreateModel:yr,onWillDisposeModel:Sr,onDidChangeModelLanguage:Lr,createWebWorker:xr,colorizeElement:kr,colorize:Dr,colorizeModelLine:Nr,tokenize:Or,defineTheme:Er,setTheme:Ir,remeasureFonts:Mr,registerCommand:Tr,AccessibilitySupport:n,ContentWidgetPositionPreference:l,CursorChangeReason:d,DefaultEndOfLine:h,EditorAutoIndentStrategy:u,EditorOption:g,EndOfLinePreference:p,EndOfLineSequence:m,MinimapPosition:y,MouseTargetType:S,OverlayWidgetPositionPreference:L,OverviewRulerLane:x,RenderLineNumbersType:k,RenderMinimap:D,ScrollbarVisibility:O,ScrollType:N,TextEditorCursorBlinkingStyle:A,TextEditorCursorStyle:R,TrackedRangeStickiness:P,WrappingIndent:F,ConfigurationChangedEvent:t.b,BareFontInfo:oe.a,FontInfo:oe.b,TextModelResolvedOptions:ue.e,FindMatch:ue.b,EditorType:ce.a,EditorOptions:t.g},La.languages={register:Hr,getLanguages:zr,onLanguage:Kr,getEncodedLanguageId:Ur,setLanguageConfiguration:qr,setColorMap:Yr,setTokensProvider:Xr,setMonarchTokensProvider:Qr,registerReferenceProvider:Jr,registerRenameProvider:ea,registerCompletionItemProvider:ma,registerSignatureHelpProvider:ta,registerHoverProvider:ia,registerDocumentSymbolProvider:na,registerDocumentHighlightProvider:oa,registerLinkedEditingRangeProvider:sa,registerDefinitionProvider:ra,registerImplementationProvider:aa,registerTypeDefinitionProvider:la,registerCodeLensProvider:da,registerCodeActionProvider:ha,registerDocumentFormattingEditProvider:ca,registerDocumentRangeFormattingEditProvider:ua,registerOnTypeFormattingEditProvider:ga,registerLinkProvider:pa,registerColorProvider:fa,registerFoldingRangeProvider:_a,registerDeclarationProvider:ba,registerSelectionRangeProvider:va,registerDocumentSemanticTokensProvider:Ca,registerDocumentRangeSemanticTokensProvider:wa,registerInlineCompletionsProvider:ya,registerInlayHintsProvider:Sa,DocumentHighlightKind:c,CompletionItemKind:s,CompletionItemTag:r,CompletionItemInsertTextRule:o,SymbolKind:M,SymbolTag:T,IndentAction:f,CompletionTriggerKind:a,SignatureHelpTriggerKind:I,InlayHintKind:_,InlineCompletionTriggerKind:b,FoldingRangeKind:ge.n},La.CancellationTokenSource),ka=La.Emitter,Da=La.KeyCode,Na=La.KeyMod,Oa=La.Position,Ea=La.Range,Ia=La.Selection,Ma=La.SelectionDirection,Ta=La.MarkerSeverity,Aa=La.MarkerTag,Ra=La.Uri,Pa=La.Token,Fa=La.editor,Ba=La.languages;(null!=(Xs=we.b.MonacoEnvironment)&&Xs.globalAPI||"function"==typeof define&&i("3c35"))&&(self.monaco=La),void 0!==self.require&&"function"==typeof self.require.config&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},f41d:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return i.e("chunk-2d21b84a").then(i.bind(null,"bfb2"))}})},f570:function(e,t,i){"use strict";i.r(t),i.d(t,"cssDefaults",(function(){return a})),i.d(t,"scssDefaults",(function(){return l})),i.d(t,"lessDefaults",(function(){return d})),i("33f9");var n=i("0b3c");Object.defineProperty(o.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"diagnosticsOptions",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),o.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},o.prototype.setDiagnosticsOptions=function(e){this.setOptions(e)},o.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},t=o;function o(e,t,i){this._onDidChange=new n.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}var s={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0}},r={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},a=new t("css",s,r),l=new t("scss",s,r),d=new t("less",s,r);function h(){return i.e("chunk-0b65ffb6").then(i.bind(null,"db4f"))}n.languages.css={cssDefaults:a,lessDefaults:d,scssDefaults:l},n.languages.onLanguage("less",(function(){h().then((function(e){return e.setupMode(d)}))})),n.languages.onLanguage("scss",(function(){h().then((function(e){return e.setupMode(l)}))})),n.languages.onLanguage("css",(function(){h().then((function(e){return e.setupMode(a)}))}))},f577:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("clipboardService")},f58f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t,i,n,o,s){this.id=e,this.label=t,this.alias=i,this._precondition=n,this._run=o,this._contextKeyService=s}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},f5ba:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return i.e("chunk-2d0de971").then(i.bind(null,"85fd"))}})},f5f3:function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("af40");const o=[];function s(e,t,i){t instanceof n.a||(t=new n.a(t,[],i)),o.push([e,t])}function r(){return o}},f68e:function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return m})),i.d(t,"c",(function(){return f}));var n=i("dff7"),o=i("308f"),s=i("82c9"),r=i("a666"),a=i("3742"),l=i("9c3e"),d=i("6a89"),h=i("40355"),c=i("fdcc"),u=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class g{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=l.b.nextId()}get uri(){return this.link.uri}get range(){var e;return null!=(e=null!=(e=this._range)?e:this.link.targetSelectionRange)?e:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e=null==(e=this.parent.getPreview(this))?void 0:e.preview(this.range);return e?Object(n.a)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",Object(s.b)(this.uri),this.range.startLineNumber,this.range.startColumn,e.value):Object(n.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(s.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class p{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const i=this._modelReference.object.textEditorModel;var n,o,s,r;if(i)return({startLineNumber:o,startColumn:s,endLineNumber:n,endColumn:r}=e),t=i.getWordUntilPosition({lineNumber:o,column:s-t}),t=new d.a(o,t.startColumn,o,s),o=new d.a(n,r,n,1073741824),{value:(s=i.getValueInRange(t).replace(/^\s+/,""))+(r=i.getValueInRange(e))+i.getValueInRange(o).replace(/\s+$/,""),highlight:{start:s.length,end:s.length+r.length}}}}class m{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new h.b}dispose(){Object(r.f)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){var e=this.children.length;return 1===e?Object(n.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(s.b)(this.uri),this.uri.fsPath):Object(n.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(s.b)(this.uri),this.uri.fsPath)}resolve(e){return u(this,void 0,void 0,(function*(){if(0===this._previews.size)for(var t of this.children)if(!this._previews.has(t.uri))try{var i=yield e.createModelReference(t.uri);this._previews.set(t.uri,new p(i))}catch(t){Object(c.f)(t)}return this}))}}class f{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new o.b,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;var i,n,[r]=e;let a;for(i of(e.sort(f._compareReferences),e))a&&s.e.isEqual(a.uri,i.uri,!0)||(a=new m(this,i.uri),this.groups.push(a)),0!==a.children.length&&0===f._compareReferences(i,a.children[a.children.length-1])||(n=new g(r===i,a,i,e=>this._onDidChangeReferenceRange.fire(e)),this.references.push(n),a.children.push(n))}dispose(){Object(r.f)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new f(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?Object(n.a)("aria.result.0","No results found"):1===this.references.length?Object(n.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object(n.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(n.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let i=e["parent"],n=i.children.indexOf(e);e=i.children.length;var o=i.parent.groups.length;return 1===o||t&&n+1({idx:n,prefixLen:a.d(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(const i of this.references)if(i.uri.toString()===e.toString()&&d.a.containsPosition(i.range,t))return i}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return s.e.compare(e.uri,t.uri)||d.a.compareRangesUsingStarts(e.range,t.range)}}},f85a:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("2e5d"),o=i("7061"),s=i("6a89"),r=i("3742"),a=i("708a");class l{constructor(e,t,i){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=i}}class d{static leftPosition(e,t){var i;return t.column>e.getLineMinColumn(t.lineNumber)?t.delta(void 0,-r.L(e.getLineContent(t.lineNumber),t.column-1)):1{})}return t}},fd11:function(e,t,i){"use strict";i.r(t),i.d(t,"DragAndDropController",(function(){return h})),i("3a19");t=i("a666");var n=i("30db"),o=i("b2cc"),s=i("7061"),r=i("6a89"),a=i("8025");class l{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){e=e.getValueInRange(this.selection),this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new r.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),e),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new a.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new a.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(30)&&!this._editor.getOption(17)&&(d(e)&&(this._modifierPressed=!0),this._mouseDown&&d(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(30)&&!this._editor.getOption(17)&&(d(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===h.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){const e=this._editor.getSelections()||[];var i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}d(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let n=new s.a(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let o=null;var t,i;e.event.shiftKey?(t=this._editor.getSelection())&&(({selectionStartLineNumber:t,selectionStartColumn:i}=t),o=[new a.a(t,i,n.lineNumber,n.column)]):o=(this._editor.getSelections()||[]).map(e=>e.containsPosition(n)?new a.a(n.lineNumber,n.column,n.lineNumber,n.column):e),this._editor.setSelections(o||[],"mouse",3)}else this._dragSelection.containsPosition(n)&&(!d(e.event)&&!this._modifierPressed||!this._dragSelection.getEndPosition().equals(n)&&!this._dragSelection.getStartPosition().equals(n))||(this._editor.pushUndoStop(),this._editor.executeCommand(h.ID,new l(this._dragSelection,n,d(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){var t=[{range:new r.a(e.lineNumber,e.column,e.lineNumber,e.column),options:h._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}h.ID="editor.contrib.dragAndDrop",h.TRIGGER_KEY_VALUE=n.f?6:5,h._DECORATION_OPTIONS=i.a.register({description:"dnd-target",className:"dnd-target"}),Object(o.l)(h.ID,h)},fd49:function(e,t,i){"use strict";i.d(t,"h",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"j",(function(){return l})),i.d(t,"a",(function(){return d})),i.d(t,"k",(function(){return g})),i.d(t,"n",(function(){return b})),i.d(t,"i",(function(){return n})),i.d(t,"e",(function(){return x})),i.d(t,"f",(function(){return I})),i.d(t,"m",(function(){return V})),i.d(t,"c",(function(){return X})),i.d(t,"d",(function(){return Q})),i.d(t,"l",(function(){return J})),i.d(t,"g",(function(){return te}));var n,o=i("dff7"),s=i("30db");t=i("d093");const r=8;class a{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class l{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class d{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}compute(e,t,i){return i}}class c{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class u{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,i){return i}}function g(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}class p extends u{constructor(e,t,i,n){void 0!==n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return g(e,this.defaultValue)}}class m extends u{constructor(e,t,i,n,o,s){void 0!==s&&(s.type="integer",s.default=i,s.minimum=n,s.maximum=o),super(e,t,i,s),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return void 0===e||(e=parseInt(e,10),isNaN(e))?t:(e=Math.max(i,e),0|(e=Math.min(n,e)))}validate(e){return m.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class f extends u{constructor(e,t,i,n,o){void 0!==o&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return eC),"fill"!==g&&!i||(y=!0,N=c,L=Math.min(a*o,Math.max(1,Math.floor(1/D))),b&&s&&_<=t.stableFitRemainingWidth&&(r=t.stableFitMaxMinimapScale),(c=Math.min(r,Math.max(1,Math.floor(L/v))))>N&&(k=Math.min(2,c/N)),x=c/o/k,C=Math.ceil(Math.max(d,f+n)*L),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_,t.stableFitMaxMinimapScale=c):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0))}}return g=Math.floor(u*x),a=Math.min(g,Math.max(0,Math.floor((_-m-2)*x/(l+x)))+r),s=(D=Math.floor(o*a))/o,D=Math.floor(D*k),{renderMinimap:h?1:2,minimapLeft:"left"===p?0:i-a-m,minimapWidth:a,minimapHeightIsEditorHeight:y,minimapIsSampling:S,minimapScale:c,minimapLineHeight:L,minimapCanvasInnerWidth:D,minimapCanvasInnerHeight:C,minimapCanvasOuterWidth:s,minimapCanvasOuterHeight:w}}static computeLayout(e,t){var i=0|t.outerWidth,n=0|t.outerHeight,o=0|t.lineHeight,s=0|t.lineNumbersDigitCount,r=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,h=t.viewLineCount,c=e.get(122),u=(c="inherit"===c?e.get(121):c,"inherit"===c?e.get(117):c),g=e.get(120),p=e.get(2),f=t.isDominatedByLongLines,_=e.get(48),b=0!==e.get(59).renderType,v=e.get(60),C=e.get(94),w=e.get(64),y=e.get(92),S=y.verticalScrollbarSize,L=y.verticalHasArrows,x=y.arrowSize;y=y.horizontalScrollbarSize;const k=e.get(57);e=e.get(36);let D,N=(D="string"==typeof k&&/^\d+(\.\d+)?ch$/.test(k)?(B=parseFloat(k.substr(0,k.length-2)),m.clampedInt(B*r,0,0,1e3)):m.clampedInt(k,0,0,1e3),e&&(D+=16),0),O=(b&&(B=Math.max(s,v),N=Math.round(B*a)),0),E=(_&&(O=o),0),M=E+O,T=M+N,A=T+D;e=i-O-N-D;let R=!1,P=!1,F=-1;2!==p&&("inherit"===c&&f?(R=!0,P=!0):"on"===u||"bounded"===u?P=!0:"wordWrapColumn"===u&&(F=g));b=I._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:r,pixelRatio:l,scrollBeyondLastLine:C,minimap:w,verticalScrollbarWidth:S,viewLineCount:h,remainingWidth:e,isViewportWrapping:P},t.memory||new d),0!==b.renderMinimap&&0===b.minimapLeft&&(E+=b.minimapWidth,M+=b.minimapWidth,T+=b.minimapWidth,A+=b.minimapWidth),s=e-b.minimapWidth,v=Math.max(1,Math.floor((s-S-2)/r));var B=L?x:0;return P&&(F=Math.max(1,v),"bounded"===u&&(F=Math.min(F,g))),{width:i,height:n,glyphMarginLeft:E,glyphMarginWidth:O,lineNumbersLeft:M,lineNumbersWidth:N,decorationsLeft:T,decorationsWidth:D,contentLeft:A,contentWidth:s,minimap:b,viewportColumn:v,isWordWrapMinified:R,isViewportWrapping:P,wrappingColumn:F,verticalScrollbarWidth:S,horizontalScrollbarHeight:y,overviewRuler:{top:B,width:S,height:n-2*B,right:0}}}}class M extends h{constructor(){var e={enabled:!0};super(56,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:o.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:g(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}class T extends h{constructor(){var e={enabled:!0,fontSize:0,fontFamily:""};super(126,"inlayHints",e,{"editor.inlayHints.enabled":{type:"boolean",default:e.enabled,description:o.a("inlayHints.enable","Enables the inlay hints in the editor.")},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:o.a("inlayHints.fontSize","Controls font size of inlay hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,description:o.a("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),fontSize:m.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:_.string(e.fontFamily,this.defaultValue.fontFamily)}:this.defaultValue}}class A extends f{constructor(){super(58,"lineHeight",X.lineHeight,e=>f.clamp(e,0,150),{markdownDescription:o.a("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}class R extends h{constructor(){var e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(64,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:o.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[o.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),o.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),o.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:o.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:o.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:o.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:o.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:o.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:o.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),size:b(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:b(e.side,this.defaultValue.side,["right","left"]),showSlider:b(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:g(e.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(e.scale,1,1,3),maxColumn:m.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4)}:this.defaultValue}}class P extends h{constructor(){super(74,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:o.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:o.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?(e=e,{top:m.clampedInt(e.top,0,0,1e3),bottom:m.clampedInt(e.bottom,0,0,1e3)}):this.defaultValue}}class F extends h{constructor(){var e={enabled:!0,cycle:!1};super(75,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:o.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:o.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),cycle:g(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}class B extends c{constructor(){super(128)}compute(e,t,i){return e.pixelRatio}}class j extends h{constructor(){var e={other:!0,comments:!1,strings:!1};super(78,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:o.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:o.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:o.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:o.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){return"boolean"==typeof e?e:e&&"object"==typeof e?!!((e={other:g((e=e).other,this.defaultValue.other),comments:g(e.comments,this.defaultValue.comments),strings:g(e.strings,this.defaultValue.strings)}).other&&e.comments&&e.strings)||!!(e.other||e.comments||e.strings)&&e:this.defaultValue}}class W extends h{constructor(){super(59,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[o.a("lineNumbers.off","Line numbers are not rendered."),o.a("lineNumbers.on","Line numbers are rendered as absolute number."),o.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),o.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:o.a("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}function V(e){var t=e.get(87);return"editable"===t?e.get(80):"on"!==t}class H extends h{constructor(){var e=[],t={type:"number",description:o.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(91,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:o.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:o.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let i=[];for(var t of e)"number"==typeof t?i.push({column:m.clampedInt(t,0,0,1e4),color:null}):t&&"object"==typeof t&&(t=t,i.push({column:m.clampedInt(t.column,0,0,1e4),color:t.color}));return i.sort((e,t)=>e.column-t.column),i}return this.defaultValue}}function z(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}class U extends h{constructor(){var e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(92,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[o.a("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),o.a("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),o.a("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:o.a("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[o.a("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),o.a("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),o.a("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:o.a("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:o.a("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:o.a("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:o.a("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){var t,i;return e&&"object"==typeof e?(e=e,t=m.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3),{arrowSize:m.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:z(e.vertical,this.defaultValue.vertical),horizontal:z(e.horizontal,this.defaultValue.horizontal),useShadows:g(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:g(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:g(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:g(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:g(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:m.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(e.verticalSliderSize,i,0,1e3),scrollByPage:g(e.scrollByPage,this.defaultValue.scrollByPage)}):this.defaultValue}}class K extends h{constructor(){var e={enabled:!0,mode:"subwordSmart"};super(54,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:o.a("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.mode":{type:"string",enum:["prefix","subword","subwordSmart"],enumDescriptions:[o.a("inlineSuggest.mode.prefix","Only render an inline suggestion if the replace text is a prefix of the insert text."),o.a("inlineSuggest.mode.subword","Only render an inline suggestion if the replace text is a subword of the insert text."),o.a("inlineSuggest.mode.subwordSmart","Only render an inline suggestion if the replace text is a subword of the insert text, but the subword must start after the cursor.")],default:e.mode,description:o.a("inlineSuggest.mode","Controls which mode to use for rendering inline suggestions.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),mode:b(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}:this.defaultValue}}class q extends h{constructor(){var e={enabled:Q.bracketPairColorizationOptions.enabled};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,description:o.a("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.")}})}validate(e){return e&&"object"==typeof e?{enabled:g(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}class $ extends h{constructor(){var e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(106,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[o.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),o.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:o.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:o.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:o.a("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:o.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:o.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:o.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:o.a("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:o.a("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.previewMode":{type:"string",enum:["prefix","subword","subwordSmart"],enumDescriptions:[o.a("suggest.previewMode.prefix","Only render a preview if the replace text is a prefix of the insert text."),o.a("suggest.previewMode.subword","Only render a preview if the replace text is a subword of the insert text."),o.a("suggest.previewMode.subwordSmart","Render a preview if the replace text is a subword of the insert text, or if it is a prefix of the insert text.")],default:e.previewMode,description:o.a("suggest.previewMode","Controls which mode to use for rendering the suggest preview.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:o.a("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:o.a("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:o.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:b((e=e).insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:g(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:g(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:g(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:g(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:g(e.showIcons,this.defaultValue.showIcons),showStatusBar:g(e.showStatusBar,this.defaultValue.showStatusBar),preview:g(e.preview,this.defaultValue.preview),previewMode:b(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:g(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:g(e.showMethods,this.defaultValue.showMethods),showFunctions:g(e.showFunctions,this.defaultValue.showFunctions),showConstructors:g(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:g(e.showDeprecated,this.defaultValue.showDeprecated),showFields:g(e.showFields,this.defaultValue.showFields),showVariables:g(e.showVariables,this.defaultValue.showVariables),showClasses:g(e.showClasses,this.defaultValue.showClasses),showStructs:g(e.showStructs,this.defaultValue.showStructs),showInterfaces:g(e.showInterfaces,this.defaultValue.showInterfaces),showModules:g(e.showModules,this.defaultValue.showModules),showProperties:g(e.showProperties,this.defaultValue.showProperties),showEvents:g(e.showEvents,this.defaultValue.showEvents),showOperators:g(e.showOperators,this.defaultValue.showOperators),showUnits:g(e.showUnits,this.defaultValue.showUnits),showValues:g(e.showValues,this.defaultValue.showValues),showConstants:g(e.showConstants,this.defaultValue.showConstants),showEnums:g(e.showEnums,this.defaultValue.showEnums),showEnumMembers:g(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:g(e.showKeywords,this.defaultValue.showKeywords),showWords:g(e.showWords,this.defaultValue.showWords),showColors:g(e.showColors,this.defaultValue.showColors),showFiles:g(e.showFiles,this.defaultValue.showFiles),showReferences:g(e.showReferences,this.defaultValue.showReferences),showFolders:g(e.showFolders,this.defaultValue.showFolders),showTypeParameters:g(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:g(e.showSnippets,this.defaultValue.showSnippets),showUsers:g(e.showUsers,this.defaultValue.showUsers),showIssues:g(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}class G extends h{constructor(){super(102,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:o.a("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:g(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}class Z extends c{constructor(){super(129,[80])}compute(e,t,i){return!!t.get(80)||e.tabFocusMode}}class Y extends c{constructor(){super(131,[130])}compute(e,t,i){return t=t.get(130),{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:t.isWordWrapMinified,isViewportWrapping:t.isViewportWrapping,wrappingColumn:t.wrappingColumn}}}const X={fontFamily:s.f?"Menlo, Monaco, 'Courier New', monospace":s.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:s.f?12:14,lineHeight:0,letterSpacing:0},Q={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}},J=[];function ee(e){return J[e.id]=e}const te={acceptSuggestionOnCommitCharacter:ee(new p(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:o.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ee(new v(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",o.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:o.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ee(new w),accessibilityPageSize:ee(new m(3,"accessibilityPageSize",10,1,1073741824,{description:o.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:ee(new _(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:ee(new v(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),o.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:ee(new v(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ee(new v(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ee(new v(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),o.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ee(new C(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[o.a("editor.autoIndent.none","The editor will not insert indentation automatically."),o.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),o.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),o.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),o.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:o.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ee(new p(10,"automaticLayout",!1)),autoSurround:ee(new v(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[o.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),o.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),o.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:o.a("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ee(new q),stickyTabStops:ee(new p(104,"stickyTabStops",!1,{description:o.a("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ee(new p(13,"codeLens",!0,{description:o.a("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ee(new _(14,"codeLensFontFamily","",{description:o.a("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ee(new m(15,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:o.a("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.")})),colorDecorators:ee(new p(16,"colorDecorators",!0,{description:o.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:ee(new p(17,"columnSelection",!1,{description:o.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ee(new y),contextmenu:ee(new p(19,"contextmenu",!0)),copyWithSyntaxHighlighting:ee(new p(20,"copyWithSyntaxHighlighting",!0,{description:o.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ee(new C(21,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:o.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ee(new p(22,"cursorSmoothCaretAnimation",!1,{description:o.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ee(new C(23,"cursorStyle",n.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return n.Line;case"block":return n.Block;case"underline":return n.Underline;case"line-thin":return n.LineThin;case"block-outline":return n.BlockOutline;case"underline-thin":return n.UnderlineThin}}),{description:o.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ee(new m(24,"cursorSurroundingLines",0,0,1073741824,{description:o.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ee(new v(25,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[o.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),o.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:o.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:ee(new m(26,"cursorWidth",0,0,1073741824,{markdownDescription:o.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ee(new p(27,"disableLayerHinting",!1)),disableMonospaceOptimizations:ee(new p(28,"disableMonospaceOptimizations",!1)),domReadOnly:ee(new p(29,"domReadOnly",!1)),dragAndDrop:ee(new p(30,"dragAndDrop",!0,{description:o.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ee(new class extends p{constructor(){super(31,"emptySelectionClipboard",!0,{description:o.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),extraEditorClassName:ee(new _(32,"extraEditorClassName","")),fastScrollSensitivity:ee(new f(33,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:o.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ee(new L),fixedOverflowWidgets:ee(new p(35,"fixedOverflowWidgets",!1)),folding:ee(new p(36,"folding",!0,{description:o.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ee(new v(37,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[o.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),o.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:o.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ee(new p(38,"foldingHighlight",!0,{description:o.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ee(new p(39,"foldingImportsByDefault",!1,{description:o.a("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),unfoldOnClickAfterEndOfLine:ee(new p(40,"unfoldOnClickAfterEndOfLine",!1,{description:o.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ee(new _(41,"fontFamily",X.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:ee(new k),fontLigatures2:ee(new x),fontSize:ee(new D),fontWeight:ee(new N),formatOnPaste:ee(new p(46,"formatOnPaste",!1,{description:o.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ee(new p(47,"formatOnType",!1,{description:o.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ee(new p(48,"glyphMargin",!0,{description:o.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ee(new O),hideCursorInOverviewRuler:ee(new p(50,"hideCursorInOverviewRuler",!1,{description:o.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:ee(new p(51,"highlightActiveIndentGuide",!0,{description:o.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:ee(new E),inDiffEditor:ee(new p(53,"inDiffEditor",!1)),letterSpacing:ee(new f(55,"letterSpacing",X.letterSpacing,e=>f.clamp(e,-5,20),{description:o.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ee(new M),lineDecorationsWidth:ee(new u(57,"lineDecorationsWidth",10)),lineHeight:ee(new A),lineNumbers:ee(new W),lineNumbersMinChars:ee(new m(60,"lineNumbersMinChars",5,1,300)),linkedEditing:ee(new p(61,"linkedEditing",!1,{description:o.a("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:ee(new p(62,"links",!0,{description:o.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ee(new v(63,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:ee(new R),mouseStyle:ee(new v(65,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ee(new f(66,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:o.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ee(new p(67,"mouseWheelZoom",!1,{markdownDescription:o.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ee(new p(68,"multiCursorMergeOverlapping",!0,{description:o.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ee(new C(69,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?s.f?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[o.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),o.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:o.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ee(new v(70,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[o.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),o.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:o.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:ee(new p(71,"occurrencesHighlight",!0,{description:o.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:ee(new p(72,"overviewRulerBorder",!0,{description:o.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ee(new m(73,"overviewRulerLanes",3,0,3)),padding:ee(new P),parameterHints:ee(new F),peekWidgetDefaultFocus:ee(new v(76,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[o.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),o.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:o.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ee(new p(77,"definitionLinkOpensInPeek",!1,{description:o.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ee(new j),quickSuggestionsDelay:ee(new m(79,"quickSuggestionsDelay",10,0,1073741824,{description:o.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ee(new p(80,"readOnly",!1)),renameOnType:ee(new p(81,"renameOnType",!1,{description:o.a("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:o.a("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ee(new p(82,"renderControlCharacters",!1,{description:o.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:ee(new p(83,"renderIndentGuides",!0,{description:o.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:ee(new p(84,"renderFinalNewline",!0,{description:o.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ee(new v(85,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",o.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:o.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ee(new p(86,"renderLineHighlightOnlyWhenFocus",!1,{description:o.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ee(new v(87,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ee(new v(88,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",o.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),o.a("renderWhitespace.selection","Render whitespace characters only on selected text."),o.a("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:o.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ee(new m(89,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:ee(new p(90,"roundedSelection",!0,{description:o.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ee(new H),scrollbar:ee(new U),scrollBeyondLastColumn:ee(new m(93,"scrollBeyondLastColumn",5,0,1073741824,{description:o.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ee(new p(94,"scrollBeyondLastLine",!0,{description:o.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ee(new p(95,"scrollPredominantAxis",!0,{description:o.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ee(new p(96,"selectionClipboard",!0,{description:o.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:s.d})),selectionHighlight:ee(new p(97,"selectionHighlight",!0,{description:o.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ee(new p(98,"selectOnLineNumbers",!0)),showFoldingControls:ee(new v(99,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[o.a("showFoldingControls.always","Always show the folding controls."),o.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:o.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ee(new p(100,"showUnused",!0,{description:o.a("showUnused","Controls fading out of unused code.")})),showDeprecated:ee(new p(125,"showDeprecated",!0,{description:o.a("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ee(new T),snippetSuggestions:ee(new v(101,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[o.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),o.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),o.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),o.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:o.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ee(new G),smoothScrolling:ee(new p(103,"smoothScrolling",!1,{description:o.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ee(new m(105,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ee(new $),inlineSuggest:ee(new K),suggestFontSize:ee(new m(107,"suggestFontSize",0,0,1e3,{markdownDescription:o.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:ee(new m(108,"suggestLineHeight",0,0,1e3,{markdownDescription:o.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:ee(new p(109,"suggestOnTriggerCharacters",!0,{description:o.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ee(new v(110,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[o.a("suggestSelection.first","Always select the first suggestion."),o.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),o.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:o.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ee(new v(111,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[o.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),o.a("tabCompletion.off","Disable tab completions."),o.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:o.a("tabCompletion","Enables tab completions.")})),tabIndex:ee(new m(112,"tabIndex",0,-1,1073741824)),unusualLineTerminators:ee(new v(113,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[o.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),o.a("unusualLineTerminators.off","Unusual line terminators are ignored."),o.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:o.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ee(new p(114,"useShadowDOM",!0)),useTabStops:ee(new p(115,"useTabStops",!0,{description:o.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:ee(new _(116,"wordSeparators",t.b,{description:o.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ee(new v(117,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[o.a("wordWrap.off","Lines will never wrap."),o.a("wordWrap.on","Lines will wrap at the viewport width."),o.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),o.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:o.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ee(new _(118,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ee(new _(119,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ee(new m(120,"wordWrapColumn",80,1,1073741824,{markdownDescription:o.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ee(new v(121,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ee(new v(122,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:ee(new C(123,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[o.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),o.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),o.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),o.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:o.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:ee(new v(124,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[o.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),o.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:o.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:ee(new S),pixelRatio:ee(new B),tabFocusMode:ee(new Z),layoutInfo:ee(new I),wrappingInfo:ee(new Y)}},fdc0:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return i.e("chunk-2d22c171").then(i.bind(null,"f26e"))}})},fdcc:function(e,t,i){"use strict";i.d(t,"f",(function(){return o})),i.d(t,"g",(function(){return s})),i.d(t,"h",(function(){return r})),i.d(t,"e",(function(){return l})),i.d(t,"b",(function(){return d})),i.d(t,"c",(function(){return h})),i.d(t,"d",(function(){return c})),i.d(t,"a",(function(){return u}));const n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){l(e)||n.onUnexpectedError(e)}function s(e){l(e)||n.onUnexpectedExternalError(e)}function r(e){var t,i;return e instanceof Error?(({name:t,message:i}=e),{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack}):e}const a="Canceled";function l(e){return e instanceof Error&&e.name===a&&e.message===a}function d(){const e=new Error(a);return e.name=e.message,e}function h(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function c(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}class u extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}},fe45:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return h})),i.d(t,"f",(function(){return c})),i.d(t,"e",(function(){return g})),i.d(t,"d",(function(){return m})),i.d(t,"c",(function(){return f}));var n,o=i("fdcc");class s{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const r=new s,a=new s,l=new s;function d(e,t,i=t,n=i){r.define(e,t),a.define(e,i),l.define(e,n)}function h(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){var i;return 0===e?null:(i=(65535&e)>>>0,0!=(e=(4294901760&e)>>>16)?new p([u(i,t),u(e,t)]):new p([u(i,t)]))}function u(e,t){var i=!!(2048&e),n=!!(256&e),o=2===t?n:i,s=!!(1024&e),r=!!(512&e);t=2===t?i:n,i=255&e;return new g(o,s,r,t,i)}d(0,"unknown"),d(1,"Backspace"),d(2,"Tab"),d(3,"Enter"),d(4,"Shift"),d(5,"Ctrl"),d(6,"Alt"),d(7,"PauseBreak"),d(8,"CapsLock"),d(9,"Escape"),d(10,"Space"),d(11,"PageUp"),d(12,"PageDown"),d(13,"End"),d(14,"Home"),d(15,"LeftArrow","Left"),d(16,"UpArrow","Up"),d(17,"RightArrow","Right"),d(18,"DownArrow","Down"),d(19,"Insert"),d(20,"Delete"),d(21,"0"),d(22,"1"),d(23,"2"),d(24,"3"),d(25,"4"),d(26,"5"),d(27,"6"),d(28,"7"),d(29,"8"),d(30,"9"),d(31,"A"),d(32,"B"),d(33,"C"),d(34,"D"),d(35,"E"),d(36,"F"),d(37,"G"),d(38,"H"),d(39,"I"),d(40,"J"),d(41,"K"),d(42,"L"),d(43,"M"),d(44,"N"),d(45,"O"),d(46,"P"),d(47,"Q"),d(48,"R"),d(49,"S"),d(50,"T"),d(51,"U"),d(52,"V"),d(53,"W"),d(54,"X"),d(55,"Y"),d(56,"Z"),d(57,"Meta"),d(58,"ContextMenu"),d(59,"F1"),d(60,"F2"),d(61,"F3"),d(62,"F4"),d(63,"F5"),d(64,"F6"),d(65,"F7"),d(66,"F8"),d(67,"F9"),d(68,"F10"),d(69,"F11"),d(70,"F12"),d(71,"F13"),d(72,"F14"),d(73,"F15"),d(74,"F16"),d(75,"F17"),d(76,"F18"),d(77,"F19"),d(78,"NumLock"),d(79,"ScrollLock"),d(80,";",";","OEM_1"),d(81,"=","=","OEM_PLUS"),d(82,",",",","OEM_COMMA"),d(83,"-","-","OEM_MINUS"),d(84,".",".","OEM_PERIOD"),d(85,"/","/","OEM_2"),d(86,"`","`","OEM_3"),d(110,"ABNT_C1"),d(111,"ABNT_C2"),d(87,"[","[","OEM_4"),d(88,"\\","\\","OEM_5"),d(89,"]","]","OEM_6"),d(90,"'","'","OEM_7"),d(91,"OEM_8"),d(92,"OEM_102"),d(93,"NumPad0"),d(94,"NumPad1"),d(95,"NumPad2"),d(96,"NumPad3"),d(97,"NumPad4"),d(98,"NumPad5"),d(99,"NumPad6"),d(100,"NumPad7"),d(101,"NumPad8"),d(102,"NumPad9"),d(103,"NumPad_Multiply"),d(104,"NumPad_Add"),d(105,"NumPad_Separator"),d(106,"NumPad_Subtract"),d(107,"NumPad_Decimal"),d(108,"NumPad_Divide"),(t=n=n||{}).toString=function(e){return r.keyCodeToStr(e)},t.fromString=function(e){return r.strToKeyCode(e)},t.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},t.toUserSettingsGeneral=function(e){return l.keyCodeToStr(e)},t.fromUserSettings=function(e){return a.strToKeyCode(e)||l.strToKeyCode(e)};class g{constructor(e,t,i,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(o.c)("parts");this.parts=e}}class m{constructor(e,t,i,n,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyLabel=o,this.keyAriaLabel=s}}class f{}},fe86:function(e,t,i){},ffac:function(e,t,i){}}]); \ No newline at end of file diff --git a/crmeb/public/admin/js/chunk-31fa1d86.03ffc6b1.js.gz b/crmeb/public/admin/js/chunk-31fa1d86.03ffc6b1.js.gz new file mode 100644 index 000000000..b6b8a2682 Binary files /dev/null and b/crmeb/public/admin/js/chunk-31fa1d86.03ffc6b1.js.gz differ diff --git a/crmeb/public/admin/js/chunk-32aa440a.a8aefe8d.js b/crmeb/public/admin/js/chunk-32aa440a.74acc9b2.js similarity index 100% rename from crmeb/public/admin/js/chunk-32aa440a.a8aefe8d.js rename to crmeb/public/admin/js/chunk-32aa440a.74acc9b2.js diff --git a/crmeb/public/admin/js/chunk-32aa440a.a8aefe8d.js.gz b/crmeb/public/admin/js/chunk-32aa440a.74acc9b2.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-32aa440a.a8aefe8d.js.gz rename to crmeb/public/admin/js/chunk-32aa440a.74acc9b2.js.gz diff --git a/crmeb/public/admin/js/chunk-337e7306.b603b000.js b/crmeb/public/admin/js/chunk-337e7306.acb03096.js similarity index 100% rename from crmeb/public/admin/js/chunk-337e7306.b603b000.js rename to crmeb/public/admin/js/chunk-337e7306.acb03096.js diff --git a/crmeb/public/admin/js/chunk-337e7306.b603b000.js.gz b/crmeb/public/admin/js/chunk-337e7306.acb03096.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-337e7306.b603b000.js.gz rename to crmeb/public/admin/js/chunk-337e7306.acb03096.js.gz diff --git a/crmeb/public/admin/js/chunk-33cdb792.5e7beef1.js b/crmeb/public/admin/js/chunk-33cdb792.5e7beef1.js deleted file mode 100644 index e7dc355e7..000000000 --- a/crmeb/public/admin/js/chunk-33cdb792.5e7beef1.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-33cdb792"],{"2dc4":function(t,i,e){"use strict";var a=e("e9e6");e.n(a).a},8084:function(t,i,e){"use strict";e.r(i);var a={components:{uploadFile:e("b0e7").a},name:"system_file",data:function(){return{pageLimit:30,uploadShow:!1}},mounted:function(){var t=this,i=this.$refs.picBox.clientWidth;i<1018?this.pageLimit=12:i<1185?this.pageLimit=21:i<1327?this.pageLimit=24:i<1475?this.pageLimit=27:1483>>1])<0?l=a:s=1+a;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);a(t,e[n+c])<0?l=c:r=c+1}return l}function l(t,e){var n,o,a=i,l=0,u=(t.length,[]);function c(c){var h=n[c],d=o[c],p=n[c+1],f=o[c+1];o[c]=d+f,c===l-3&&(n[c+1]=n[c+2],o[c+1]=o[c+2]),l--,c=s(t[p],t,h,d,0,e);if(h+=c,0!=(d-=c)&&0!==(f=r(t[h+d-1],t,p,f,f-1,e)))if(d<=f){var g=h,m=d,y=(c=p,f),v=0;for(v=0;vo[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;1>=1;return t+e}(s);do{}while((u=o(t,i,r,e))e);n++);n=Math.min(n-1,x-2)}F=e;var i,o=A[(G=n)+1]-A[n];if(0!=o)if(R=(e-A[n])/o,v)if(N=T[n],E=T[0===n?n:n-1],z=T[x-2e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;es&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:e,outerColors:n};function l(i,a){var r=o.getRepresentValue({interval:i});a=a||o.getValueState(r),r=t(r,a);i[0]===-1/0?n[0]=r:i[1]===1/0?n[1]=r:e.push({value:i[0],color:r},{value:i[1],color:r})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),o=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1);t.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;t.precision=n,r=+r.toFixed(n),t.minOpen&&e.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,e)}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},"07d7":function(t,e,n){var i=n("6d8b"),o=n("41ef"),a=n("607d"),r=n("65ed"),s=n("22d1"),l=n("eda2"),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"];function d(t){var e,n,a,r,d=[],p=t.get("transitionDuration"),f=t.get("backgroundColor"),g=t.getModel("textStyle"),m=t.get("padding");return p&&d.push((e="left "+p+"s "+(r="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+p+"s "+r,i.map(h,(function(t){return t+"transition:"+e})).join(";"))),f&&(s.canvasSupported?d.push("background-Color:"+f):(d.push("background-Color:#"+o.toHex(f)),d.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(e){var n="border-"+e,i=c(n);i=t.get(i);null!=i&&d.push(n+":"+i+("color"===e?"":"px"))})),d.push((a=[],p=(n=g).get("fontSize"),(r=n.getTextColor())&&a.push("color:"+r),a.push("font:"+n.getFont()),p&&a.push("line-height:"+Math.round(3*p/2)+"px"),u(["decoration","align"],(function(t){var e=n.get(t);e&&a.push("text-"+t+":"+e)})),a.join(";"))),null!=m&&d.push("padding:"+l.normalizeCssArray(m).join("px ")+"px"),d.join(";")+";"}function p(t,e,n,i,o){e=e&&e.painter,n?(n=e&&e.getViewportRoot())&&r.transformLocalCoord(t,n,document.body,i,o):(t[0]=i,t[1]=o,(n=e&&e.getViewportRootOffset())&&(t[0]+=n.offsetLeft,t[1]+=n.offsetTop))}function f(t,e,n){if(s.wxa)return null;var i=document.createElement("div"),o=(i.domBelongToZr=!0,this.el=i,this._zr=e.getZr()),r=(n=this._appendToBody=n&&n.appendToBody,this._styleCoord=[0,0],p(this._styleCoord,o,n,e.getWidth()/2,e.getHeight()/2),(n?document.body:t).appendChild(i),this._container=t,this._show=!1,this._hideTimeout,this);i.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(t){var e,n;t=t||window.event,r._enterable||(e=o.handler,n=o.painter.getViewportRoot(),a.normalizeEvent(n,t,!0),e.dispatch("mousemove",t))},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t);t=t.style;"absolute"!==t.position&&"absolute"!==e.position&&(t.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e),t=this.el.style;t.left=n[0]+"px",t.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t,e=this.el.clientWidth,n=this.el.clientHeight;return document.defaultView&&document.defaultView.getComputedStyle&&(t=document.defaultView.getComputedStyle(this.el))&&(e+=parseInt(t.borderLeftWidth,10)+parseInt(t.borderRightWidth,10),n+=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10)),{width:e,height:n}}},t.exports=f},"07e6":function(t,e,n){n("4d85"),n("a753")},"0817":function(t,e,n){var i=n("3eba");n("f306"),n("0046"),n("60d7"),n=n("ab71");i.registerVisual(n)},"085d":function(t,e,n){var i=n("3eba"),o=(n("bd92"),n("19e2"),n("eabf")),a=n("4c99");n=n("09b1");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(n)},"08c3":function(t,e,n){function i(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this.model=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},o.inherits(i,a),t.exports=i},"09b1":function(t,e,n){var i=n("2306").subPixelOptimize,o=n("cccd"),a=n("3842").parsePercent,r=n("6d8b").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array;n={seriesType:"candlestick",plan:o(),reset:function(t){var e,n,o=t.coordinateSystem,u=t.getData(),c=(e=u,p="category"===(p=(h=t).getBaseAxis()).type?p.getBandWidth():(p=p.getExtent(),Math.abs(p[1]-p[0])/e.count()),e=a(r(h.get("barMaxWidth"),p),p),n=a(r(h.get("barMinWidth"),1),p),null!=(h=h.get("barWidth"))?a(h,p):Math.max(Math.min(p/2,e),n)),h=["x","y"],d=u.mapDimension(h[0]),p=u.mapDimension(h[1],!0),f=p[0],g=p[1],m=p[2],y=p[3];if(u.setLayout({candleWidth:c,isSimpleBox:c<=1.3}),!(null==d||p.length<4))return{progress:t.pipelineContext.large?function(t,e){for(var n,i=new s(4*t.count),a=0,r=[],u=[];null!=(n=t.next());){var c=e.get(d,n),h=e.get(f,n),p=e.get(g,n),v=e.get(m,n),x=e.get(y,n);isNaN(c)||isNaN(v)||isNaN(x)?(i[a++]=NaN,a+=3):(i[a++]=l(e,n,h,p,g),r[0]=c,r[1]=v,n=o.dataToPoint(r,null,u),i[a++]=n?n[0]:NaN,i[a++]=n?n[1]:NaN,r[1]=x,n=o.dataToPoint(r,null,u),i[a++]=n?n[1]:NaN)}e.setLayout("largePoints",i)}:function(t,e){for(var n;null!=(n=t.next());){var a=e.get(d,n),r=e.get(f,n),s=e.get(g,n),u=e.get(m,n),h=e.get(y,n),p=Math.min(r,s),v=Math.max(r,s),x=(p=w(p,a),v=w(v,a),w(u,a)),_=w(h,a),b=[];S(b,v,0),S(b,p,1),b.push(M(_),M(v),M(x),M(p)),e.setItemLayout(n,{sign:l(e,n,r,s,g),initBaseline:(s=o&&a<=n+1){for(var u=[],c=0;c=o&&a<=h+1){for(var f=s.components,g=0,m=f.length,y=0,v=0;gn[s],m=[-p.x,-p.y],y=(e=(e||(m[r]=c.position[r]),[0,0]),[-f.x,-f.y]),v=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[r]+=n[s]-f[s]:e[r]+=f[s]+v),y[1-r]+=p[l]/2-f[l]/2,c.attr("position",m),h.attr("position",e),d.attr("position",y),m={x:0,y:0},m[s]=(g?n:p)[s],m[l]=Math.max(p[l],f[l]),m[u]=Math.min(0,f[u]+y[1-r]),h.__rectSize=n[s],g?((e={x:0,y:0})[s]=Math.max(n[s]-f[s]-v,0),e[l]=m[l],h.setClipPath(new o.Rect({shape:e})),h.__rectSize=e[s]):d.eachChild((function(t){t.attr({invisible:!0,silent:!0})})),p=this._getPageInfo(t);return null!=p.pageIndex&&o.updateProps(c,{position:p.contentPosition},g&&t),this._updatePageInfoView(t,p),m},_pageGo:function(t,e,n){t=this._getPageInfo(e)[t],null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup,o=(i.each(["pagePrev","pageNext"],(function(i){var o=null!=e[i+"DataIndex"];i=n.childOfName(i);i&&(i.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),i.cursor=o?"pointer":"default")})),n.childOfName("pageText")),a=t.get("pageFormatter"),r=e.pageIndex,s=(r=null!=r?r+1:0,e.pageCount);o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",r).replace("{total}",s):a({current:r,total:s}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,a=s[o],r=l[o],u=(t=this._findTargetItemIndex(e),n.children()),c=(e=u[t],u.length),h=c?1:0,d={contentPosition:n.position.slice(),pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(e){n=y(e),d.contentPosition[o]=-n.s;for(var p=t+1,f=n,g=n,m=null;p<=c;++p)(!(m=y(u[p]))&&g.e>f.s+i||m&&!v(m,f.s))&&(f=g.i>f.i?g:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),g=m;for(p=t-1,f=n,g=n,m=null;-1<=p;--p)(m=y(u[p]))&&v(g,m.s)||!(f.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){var e,n;return this._showController?(this.getContentGroup().eachChild((function(i,o){i=i.__legendDataIndex,null==n&&null!=i&&(n=o),i===t&&(e=o)})),null!=e?e:n):0}});t.exports=u},"0f55":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=o}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},o.inherits(i,a),t.exports=i},"0f99":function(t,e,n){n("4e08").__DEV__;var i=n("e0d3"),o=i.makeInner,a=i.getDataItemValue,r=(i=n("6d8b"),i.createHashMap),s=i.each,l=i.map,u=i.isArray,c=i.isString,h=i.isObject,d=i.isTypedArray,p=i.isArrayLike,f=i.extend,g=(i.assert,n("ec6f")),m=(i=n("93d0"),i.SOURCE_FORMAT_ORIGINAL),y=i.SOURCE_FORMAT_ARRAY_ROWS,v=i.SOURCE_FORMAT_OBJECT_ROWS,x=i.SOURCE_FORMAT_KEYED_COLUMNS,_=i.SOURCE_FORMAT_UNKNOWN,b=i.SOURCE_FORMAT_TYPED_ARRAY,w=i.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},M=o();function I(t){var e;if(t)return e=r(),l(t,(function(t,n){var i;return null!=(t=f({},h(t)?t:{name:t})).name&&(t.name+="",null==t.displayName&&(t.displayName=t.name),(i=e.get(t.name))?t.name+="-"+i.count++:e.set(t.name,{count:1})),t}))}function A(t,e,n,i){if(null==i&&(i=1/0),e===w)for(var o=0;oo[0][1]&&(o[0][1]=a[0]),a[1]o[1][1]&&(o[1][1]=a[1])}return o&&v(o)}};function v(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},1111:function(t,e,n){var i=n("3eba"),o=(n("67a8"),n("4784"),n("7f96"));n=n("87c3");i.registerVisual(o("effectScatter","circle")),i.registerLayout(n("effectScatter"))},"133d":function(t,e,n){var i=n("6d8b"),o=n("e0d3");t.exports=function(t,e){var n,a,r=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||(n=e.getData(),null==(s=o.queryDataIndex(n,t))||s<0||i.isArray(s))?{point:[]}:(t=n.getItemGraphicEl(s),a=e.coordinateSystem,e.getTooltipPosition?r=e.getTooltipPosition(s)||[]:a&&a.dataToPoint?r=a.dataToPoint(n.getValues(i.map(a.dimensions,(function(t){return n.mapDimension(t)})),s,!0))||[]:t&&((e=t.getBoundingRect().clone()).applyTransform(t.transform),r=[e.x+e.width/2,e.y+e.height/2]),{point:r,el:t})}},"1418d":function(t,e,n){var i=n("6d8b"),o=n("a15a").createSymbol,a=n("2306"),r=n("3842").parsePercent,s=n("c775f").getDefaultLabel;function l(t,e,n){a.Group.call(this),this.updateData(t,e,n)}n=l.prototype;var u=l.getSymbolSize=function(t,e){return t=t.getItemVisual(e,"symbolSize"),t instanceof Array?t.slice():[+t,+t]};function c(t){return[t[0]/2,t[1]/2]}function h(t,e){this.parent.drift(t,e)}n._createSymbol=function(t,e,n,i,a){this.removeAll(),e=e.getItemVisual(n,"color"),n=o(t,-1,-1,2,2,e,a),n.attr({z2:100,culling:!0,scale:c(i)}),n.drift=h,this._symbolType=t,this.add(n)},n.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},n.updateData=function(t,e,n){this.silent=!1;var i,o,r=t.getItemVisual(e,"symbol")||"circle",s=t.hostModel,l=u(t,e),h=r!==this._symbolType;h?(o=t.getItemVisual(e,"symbolKeepAspect"),this._createSymbol(r,t,e,l,o)):((i=this.childAt(0)).silent=!1,a.updateProps(i,{scale:c(l)},s,e)),this._updateCommon(t,e,l,n),h&&(i=this.childAt(0),r=n&&n.fadeIn,o={scale:i.scale.slice()},r&&(o.style={opacity:i.style.opacity}),i.scale=[0,0],r&&(i.style.opacity=0),a.initProps(i,o,s,e)),this._seriesModel=s};var d=["itemStyle"],p=["emphasis","itemStyle"],f=["label"],g=["emphasis","label"];function m(t,e){var n,i;this.incremental||this.useHoverLayer||("emphasis"===e?(n=(i=this.__symbolOriginalScale)[1]/i[0],i={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]},this.animateTo(i,400,"elasticOut")):"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut"))}n._updateCommon=function(t,e,n,o){var l=this.childAt(0),u=t.hostModel,h=t.getItemVisual(e,"color"),y=("image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null}),o&&o.itemStyle),v=o&&o.hoverItemStyle,x=o&&o.symbolOffset,_=o&&o.labelModel,b=o&&o.hoverLabelModel,w=o&&o.hoverAnimation,S=o&&o.cursorStyle,M=(!o||t.hasItemOption?(y=(M=o&&o.itemModel?o.itemModel:t.getItemModel(e)).getModel(d).getItemStyle(["color"]),v=M.getModel(p).getItemStyle(),x=M.getShallow("symbolOffset"),_=M.getModel(f),b=M.getModel(g),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")):v=i.extend({},v),l.style),I=t.getItemVisual(e,"symbolRotate"),A=(I=(l.attr("rotation",(I||0)*Math.PI/180||0),x&&l.attr("position",[r(x[0],n[0]),r(x[1],n[1])]),S&&l.attr("cursor",S),l.setColor(h,o&&o.symbolInnerColor),l.setStyle(y),t.getItemVisual(e,"opacity")),x=(null!=I&&(M.opacity=I),t.getItemVisual(e,"liftZ")),S=l.__z2Origin,null!=x?null==S&&(l.__z2Origin=l.z2,l.z2+=x):null!=S&&(l.z2=S,l.__z2Origin=null),o&&o.useNameLabel);a.setLabelStyle(M,v,_,b,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return A?t.getName(e):s(t,e)},isRectText:!0,autoColor:h}),l.__symbolOriginalScale=c(n),l.hoverStyle=v,l.highDownOnUpdate=w&&u.isAnimationEnabled()?m:null,a.setHoverStyle(l)},n.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(l,a.Group),t.exports=l},1466:function(t,e,n){var i=n("3eba"),o=n("2306"),a=n("6d8b"),r=n("a15a");n=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n)return t=t.getItemVisual(e,"symbolSize"),e=t=a.isArray(t)?t:[+t,+t],(t=r.createSymbol(n,-1,-1,2,2,i)).attr({style:{strokeNoScale:!0},z2:100,scale:[e[0]/2,e[1]/2]}),t}function h(e,n,i,a,r,s){i.removeAll();for(var l=0;l=e.r0}});t.exports=l},"1c5f":function(t,e,n){var i=n("401b");function o(t){t.eachEdge((function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=i.clone(t.node1.getLayout()),o=i.clone(t.node2.getLayout()),a=[n,o];+e&&a.push([(n[0]+o[0])/2-(n[1]-o[1])*e,(n[1]+o[1])/2-(o[0]-n[0])*e]),t.setLayout(a)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;e&&"view"!==e.type||((e=t.getGraph()).eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),o(e))},e.simpleLayoutEdge=o},"1ccf":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("fd27"),a=n("3842").parsePercent,r=n("697e"),s=r.createScaleByModel,l=r.niceScaleExtent,u=(r=n("2039"),n("ee1aa").getStackedDimension);function c(t,e){var n,o=this,a=o.getAngleAxis(),r=o.getRadiusAxis();a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){var e;t.coordinateSystem===o&&(e=t.getData(),i.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,u(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){a.scale.unionExtentFromData(e,u(e,t))})))})),l(a.scale,a.model),l(r.scale,r.model),"category"!==a.type||a.onBand||(t=a.getExtent(),n=360/a.scale.count(),a.inverse?t[1]+=n:t[1]-=n,a.setExtent(t[0],t[1]))}function h(t,e){var n;t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse^=e.get("clockwise"),n=e.get("startAngle"),t.setExtent(n,n+(t.inverse?-360:360))),(e.axis=t).model=e}n("78f0"),n={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){r=new o(r);var s,l=(r.update=c,r.getRadiusAxis()),u=r.getAngleAxis(),d=t.findAxisModel("radiusAxis"),p=t.findAxisModel("angleAxis");h(l,d),h(u,p),l=r,d=e,p=(u=t).get("center"),s=d.getWidth(),d=d.getHeight(),l.cx=a(p[0],s),l.cy=a(p[1],d),p=l.getRadiusAxis(),l=Math.min(s,d)/2,null==(s=u.get("radius"))?s=[0,"100%"]:i.isArray(s)||(s=[0,s]),s=[a(s[0],l),a(s[1],l)],p.inverse?p.setExtent(s[1],s[0]):p.setExtent(s[0],s[1]),n.push(r),(t.coordinateSystem=r).model=t})),t.eachSeries((function(e){var n;"polar"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],e.coordinateSystem=n.coordinateSystem)})),n}},r.register("polar",n)},"1e32":function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=n("ee1aa").isDimensionStacked;function r(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}t.exports=function(t,e,n){var l,u,c,h={},d=(l=i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})),u={},i.each(l,(function(t,e){var n=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),l=(i=s(i,a),a.getExtent()),c=(a="category"===a.type?a.getBandWidth():Math.abs(l[1]-l[0])/n.count(),l=u[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},n=l.stacks,i=(u[i]=l,r(t)),n[i]||l.autoWidthCount++,n[i]=n[i]||{width:0,maxWidth:0},o(t.get("barWidth"),a)),h=(a=o(t.get("barMaxWidth"),a),t.get("barGap"));t=t.get("barCategoryGap");c&&!n[i].width&&(c=Math.min(l.remainedWidth,c),n[i].width=c,l.remainedWidth-=c),a&&(n[i].maxWidth=a),null!=h&&(l.gap=h),null!=t&&(l.categoryGap=t)})),c={},i.each(u,(function(t,e){c[e]={};var n,a=t.stacks,r=t.bandWidth,s=(r=o(t.categoryGap,r),o(t.gap,1)),l=t.remainedWidth,u=t.autoWidthCount,h=(l-r)/(u+(u-1)*s),d=(h=Math.max(h,0),i.each(a,(function(t,e){var n=t.maxWidth;n&&nthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,o,a){return this.addData(u.C,t,e,n,i,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,o,a):this._ctx.bezierCurveTo(t,e,n,i,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(u.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,o,a){return this.addData(u.A,t,e,n,n,i,o-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,a),this._xi=m(o)*n+t,this._yi=y(o)*n+e,this},arcTo:function(t,e,n,i,o){return this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(u.R,t,e,n,i),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t;for(var e=this._dashIdx=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;nr||x(p-o)>s||c===l-1)&&(t.lineTo(d,p),i=d,o=p);break;case u.C:t.bezierCurveTo(a[c++],a[c++],a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.Q:t.quadraticCurveTo(a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.A:var d=a[c++],p=a[c++],f=a[c++],g=a[c++],v=a[c++],_=a[c++],b=a[c++],w=a[c++],S=gs&&(s=t.depth)}));var l=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:s;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),o=(e=i.getValue(),i.name);i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(e)||null==e?"":" : "+e))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=n},"216a":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("eda2"),r=n("944e"),s=(n=n("89e3"),n.prototype),l=Math.ceil,u=Math.floor,c=36e5,h=864e5,d=n.extend({type:"time",getLabel:function(t){var e=this._stepLvl;t=new Date(t);return a.formatTime(e[0],t,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent,n=(e[0]===e[1]&&(e[0]-=h,e[1]+=h),e[1]===-1/0&&e[0]===1/0&&(n=new Date,e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval),this._interval);t.fixMin||(e[0]=o.round(u(e[0]/n)*n)),t.fixMax||(e[1]=o.round(l(e[1]/n)*n))},niceTicks:function(t,e,n){var i=this._extent,a=i[1]-i[0],s=a/(t=t||10);null!=e&&s>>1;t[o][1]Math.abs(i[1])?0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&this._dispatchZoomAction())},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t,e,n;return g(this.getTargetCoordInfo(),(function(t){!n&&t.length&&(t=t[0].model.coordinateSystem,n=t.getRect&&t.getRect())})),n||(t=this.api.getWidth(),e=this.api.getHeight(),n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}),n}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=x},"237f":function(t,e,n){var i=n("6d8b"),o=n("6179"),a=n("7368"),r=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");t.exports=function(t,e,n,c,h){for(var d=new a(c),p=0;p "+_)),y++)}return"cartesian2d"===(c=n.get("coordinateSystem"))||"polar"===c?f=u(t,n):(c=(c=l.get(c))&&"view"!==c.type&&c.dimensions||[],i.indexOf(c,"value")<0&&c.concat(["value"]),c=s(t,{coordDimensions:c}),(f=new o(c,n)).initData(t)),(c=new o(["value"],n)).initData(m,g),h&&h(f,c),r({mainData:f,struct:d,structAttr:"graph",datas:{node:f,edge:c},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},"23e0":function(t,e,n){var i=n("6d8b"),o=n("7887"),a=n("89e3"),r=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=(s=n("2039"),n("8c2a"));function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){e="indicator_"+e;var n=new o(e,new("log"===t.get("axisType")?c:a));return n.name=t.get("name"),(n.model=t).axis=n,this.dimensions.push(e),n}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){return e=this._indicatorAxes[e].angle,[this.cx+t*Math.cos(e),this.cy-t*Math.sin(e)]},h.prototype.pointToData=function(t){for(var e,n=t[0]-this.cx,i=(t=t[1]-this.cy,Math.sqrt(n*n+t*t)),o=(n/=i,t/=i,Math.atan2(-t,n)),a=1/0,r=-1,s=0;sn[0]&&isFinite(f)&&isFinite(n[0]););else{t=o.getTicks().length-1;var p=(a"),e&&(t+=u(e),null!=n&&(t+=" : ")),null!=n&&(t+=u(i)),t},getData:function(){return this._data},setData:function(t){this._data=t}}),o.mixin(s,n),t.exports=s},"24b9":function(t,e,n){var i=n("f934"),o=(n=n("3842"),n.parsePercent),a=n.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){function n(t,e){t=r.get(s,t)||0;var n,i=a(t,[p,f],h,!0);switch(g){case"left":n=u.x;break;case"center":n=u.x+(u.width-i)/2;break;case"right":n=u.x+u.width-i}return[[n,e],[n+i,e]]}var r=t.getData(),s=r.mapDimension("value"),l=t.get("sort"),u=(d=e,i.getLayoutRect(t.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})),c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),o=[],a="ascending"===e,r=0,s=t.count();re[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){t=this.option.controller[t].symbolSize,t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),i=[];function o(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,r=0,s=n.length,u=e.length;r=e.r0}});t.exports=n},"342d":function(t,e,n){function i(t,e){return(t[0]*e[1]n[1]?n[1]:t)=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/o*a+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=(t=t.toString()).indexOf("e");return 0c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){var n,i,o,a;this._useHandle&&(n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels,p([0,1],(function(r){var l=o[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r],l=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:l[0],y:l[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this))},_showIndicator:function(t,e,n,i){var o,a=this.visualMapModel,r=a.getExtent(),l=a.itemSize,u=[0,l[1]],c=(r=d(t,r,u,!0),u=this._shapes,u.indicator);c&&(c.position[1]=r,c.attr("invisible",!1),c.setShape("points",(o=!!n,i=i,r=r,l=l[1],o?[[0,-f(i,g(r,0))],[6,0],[0,f(i,g(l-r,0))]]:[[0,0],[5,-5],[5,5]])),o=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c.setStyle("fill",o),i=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),(l=u.indicatorLabel).attr("invisible",!1),r=this._applyTransform("left",u.barGroup),t=this._orient,l.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===t?r:"middle",textAlign:"horizontal"===t?"center":r,x:i[0],y:i[1]}))},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){var n;t._hovering=!0,t._dragging||(n=t.visualMapModel.itemSize,(e=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0))[1]=f(g(0,e[1]),n[1]),t._doHoverLinkToSeries(e[1],0<=e[0]&&e[0]<=n[0]))})).on("mouseout",(function(){t._hovering=!1,t._dragging||t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n,i,o,a=this.visualMapModel,r=a.itemSize;a.option.hoverLink&&(r=[0,r[1]],i=a.getExtent(),o=[(t=f(g(r[0],t),r[1]))-(n=function(t,e,n){var i=6;t=t.get("hoverLinkDataSize");return t&&(i=d(t,e,n,!0)/2),i}(a,i,r)),t+n],t=d(t,r,i,!0),i=[d(o[0],r,i,!0),d(o[1],r,i,!0)],o[0] ",n):this._showIndicator(t,t,"≈ ",n)),r=this._hoverLinkDataIndices,o=[],(e||v(a))&&(o=this._hoverLinkDataIndices=a.findTargetDataIndices(i)),t=h.compressBatches(r,o),this._dispatchHighDown("downplay",c.makeHighDownBatch(t[0],a)),this._dispatchHighDown("highlight",c.makeHighDownBatch(t[1],a)))},_hoverLinkFromSeriesMouseOver:function(t){t=t.target;var e,n=this.visualMapModel;t&&null!=t.dataIndex&&(e=this.ecModel.getSeriesByIndex(t.seriesIndex),n.isTargetSeries(e)&&(n=(e=e.getData(t.dataType)).get(n.getDataDimension(e),t.dataIndex,!0),isNaN(n)||this._showIndicator(n,n)))},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,o){return e=s.getTransform(e,o?null:this.group),s[i.isArray(t)?"applyTransform":"transformDirection"](t,e,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){a.stop(t.event)},ondragend:i})}function v(t){var e=t.get("hoverLinkOnHandle");return null==e?t.get("realtime"):e}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},"3eba":function(t,e,n){n("4e08").__DEV__;var i=n("697e7"),o=n("6d8b"),a=n("41ef"),r=n("22d1"),s=n("04f6"),l=n("1fab"),u=n("7e63"),c=n("843e"),h=n("2039"),d=n("ca98"),p=n("fb05"),f=n("d15d"),g=n("6cb7"),m=n("4f85"),y=n("b12f"),v=n("e887"),x=n("2306"),_=n("e0d3"),b=n("88b3").throttle,w=n("fd63"),S=n("b809"),M=n("998c"),I=n("69ff"),A=n("c533"),T=n("f219"),C=(n("0352"),n("ec34")),D=o.assert,L=o.each,P=o.isFunction,k=o.isObject,O=g.parseClassType,R={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},E="__flagInMainProcess",N="__optionUpdated",z=/^[a-zA-Z0-9_]+$/;function B(t,e){return function(n,i,o){!e&&this._disposed?this.id:(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,i,o))}}function V(){l.call(this)}function G(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t,t=this._zr=i.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height}),this._throttledZrFlush=b(o.bind(t.flush,t),17),(e=o.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var a,r,u;e=this._api=(n=(a=this)._coordSysMgr,o.extend(new c(a),{getCoordinateSystems:o.bind(n.getCoordinateSystems,n),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function d(t,e){return t.__prio-e.__prio}s(ut,d),s(rt,d),this._scheduler=new I(this,e,rt,ut),l.call(this,this._ecEventProcessor=new it),this._messageCenter=new V,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],t.animation.on("frame",this._onframe,this),u=this,(r=t).on("rendered",(function(){u.trigger("rendered"),!r.animation.isFinished()||u[N]||u._scheduler.unfinished||u._pendingActions.length||u.trigger("finished")})),o.setAsPrimitive(this)}V.prototype.on=B("on",!0),V.prototype.off=B("off",!0),V.prototype.one=B("one",!0),o.mixin(V,l);var F=G.prototype;function H(t,e,n){if(this._disposed)this.id;else{var i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a'+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()):(t.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),L(d,(function(t){t=new x.Image({style:{x:t.left*p-l,y:t.top*p-u,image:t.dom}}),y.add(t)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png")))):this.getDataURL(t)},F.convertToPixel=o.curry(H,"convertToPixel"),F.convertFromPixel=o.curry(H,"convertFromPixel"),F.containPixel=function(t,e){var n,i;if(!this._disposed)return n=this._model,t=_.parseFinder(n,t),o.each(t,(function(t,n){0<=n.indexOf("Models")&&o.each(t,(function(t){var o=t.coordinateSystem;o&&o.containPoint?i|=!!o.containPoint(e):"seriesModels"===n&&(o=this._chartsMap[t.__viewId])&&o.containPoint&&(i|=o.containPoint(e,t))}),this)}),this),!!i;this.id},F.getVisual=function(t,e){var n=this._model;n=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=t?n.getItemVisual(t,e):n.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var W={prepareAndUpdate:function(t){U(this),W.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,o=this._coordSysMgr,s=this._scheduler;e&&(s.restoreData(e,t),s.performSeriesTasks(e),o.create(e,n),s.performDataProcessorTasks(e,t),Y(this,e),o.update(e,n),$(e),s.performVisualTasks(e,t),J(this,e,n,t),o=e.get("backgroundColor")||"transparent",r.canvasSupported?i.setBackgroundColor(o):(s=a.parse(o),o=a.stringify(s,"rgb"),0===s[3]&&(o="transparent")),tt(e,n))},updateTransform:function(t){var e,n,i=this._model,a=this,r=this._api;i&&(e=[],i.eachComponent((function(n,o){var s=a.getViewOfComponentModel(o);s&&s.__alive&&(!s.updateTransform||(o=s.updateTransform(o,i,r,t))&&o.update)&&e.push(s)})),n=o.createHashMap(),i.eachSeries((function(e){var o=a._chartsMap[e.__viewId];(!o.updateTransform||(o=o.updateTransform(e,i,r,t))&&o.update)&&n.set(e.uid,1)})),$(i),this._scheduler.performVisualTasks(i,t,{setDirty:!0,dirtyMap:n}),Q(a,i,0,t,n),tt(i,this._api))},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),J(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){W.update.call(this,t)},updateLayout:function(t){W.update.call(this,t)}};function U(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function Z(t,e,n,i,a){var r,s,l=t._model;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,l,t._api,n)}i?((r={})[i+"Id"]=n[i+"Id"],r[i+"Index"]=n[i+"Index"],r[i+"Name"]=n[i+"Name"],r={mainType:i,query:r},a&&(r.subType=a),null!=(s=n.excludeSeriesId)&&(s=o.createHashMap(_.normalizeToArray(s))),l&&l.eachComponent(r,(function(e){s&&null!=s.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)):L(t._componentsViews.concat(t._chartsViews),u)}function Y(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function j(t,e){var n,i=t.type,a=t.escapeConnect,r=ot[i],s=r.actionInfo,l=(u=(s.update||"update").split(":")).pop(),u=null!=u[0]&&O(u[0]),c=(this[E]=!0,[t]),h=!1,d=(t.batch&&(h=!0,c=o.map(t.batch,(function(e){return(e=o.defaults(o.extend({},e),t)).batch=null,e}))),[]),p="highlight"===i||"downplay"===i;L(c,(function(t){(n=(n=r.action(t,this._model,this._api))||o.extend({},t)).type=s.event||n.type,d.push(n),p?Z(this,l,t,"series"):u&&Z(this,l,t,u.main,u.sub)}),this),"none"===l||p||u||(this[N]?(U(this),W.update.call(this,t),this[N]=!1):W[l].call(this,t)),n=h?{type:s.event||i,escapeConnect:a,batch:d}:d[0],this[E]=!1,e||this._messageCenter.trigger(n.type,n)}function X(t){for(var e=this._pendingActions;e.length;){var n=e.shift();j.call(this,n,t)}}function q(t){t||this.trigger("updated")}function K(t,e,n,i){for(var o="component"===e,a=o?t._componentsViews:t._chartsViews,r=o?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ul.get("hoverLayerThreshold")&&!r.node&&l.eachSeries((function(t){t.preventUsingHoverLayer||(t=s._chartsMap[t.__viewId]).__alive&&t.group.traverse((function(t){t.useHoverLayer=!0}))})),S(t._zr.dom,e)}function tt(t,e){L(lt,(function(n){n(t,e)}))}F.resize=function(t){var e;this._disposed?this.id:(this._zr.resize(t),e=this._model,this._loadingFX&&this._loadingFX.resize(),e&&(e=e.resetOption("media"),t=t&&t.silent,this[E]=!0,e&&U(this),W.update.call(this),this[E]=!1,X.call(this,t),q.call(this,t)))},F.showLoading=function(t,e){this._disposed?this.id:(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]&&(t=ht[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=o.extend({},t);return e.type=at[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(k(e)||(e={silent:!!e}),ot[t.type]&&this._model&&(this[E]?this._pendingActions.push(t):(j.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),X.call(this,e.silent),q.call(this,e.silent))))},F.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0)},F.on=B("on",!1),F.off=B("off",!1),F.one=B("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function it(){this.eventInfo}F._initEvents=function(){L(et,(function(t){function e(e){var n,i,a,r=this.getModel(),s=e.target;"globalout"===t?n={}:s&&null!=s.dataIndex?n=(a=s.dataModel||r.getSeriesByIndex(s.seriesIndex))&&a.getDataParams(s.dataIndex,s.dataType,s)||{}:s&&s.eventData&&(n=o.extend({},s.eventData)),n&&(a=n.componentType,i=n.componentIndex,"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",i=n.seriesIndex),a=(r=a&&null!=i&&r.getComponent(a,i))&&this["series"===r.mainType?"_chartsMap":"_componentsMap"][r.__viewId],n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:s,packedEvent:n,model:r,view:a},this.trigger(t,n))}e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),L(at,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){var t,e;this._disposed?this.id:(this._disposed=!0,_.setAttribute(this.getDom(),mt,""),t=this._api,e=this._model,L(this._componentsViews,(function(n){n.dispose(e,t)})),L(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete dt[this.id])},o.mixin(G,l),it.prototype={constructor:it,normalizeQuery:function(t){var e,n,i,a={},r={},s={};return o.isString(t)?(e=O(t),a.mainType=e.main||null,a.subType=e.sub||null):(n=["Index","Name","Id"],i={name:1,dataIndex:1,dataType:1},o.each(t,(function(t,e){for(var o=!1,l=0;l>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),f(t,e),e):void c(e,0,0,0,1):7===n.length?0<=(o=parseInt(n.substr(1),16))&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),f(t,e),e):void c(e,0,0,0,1):void 0;var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var l=n.substr(0,o),u=n.substr(o+1,a-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(e,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(e,0,0,0,1):(c(e,r(u[0]),r(u[1]),r(u[2]),p),f(t,e),e);case"hsla":return 4!==u.length?void c(e,0,0,0,1):(u[3]=s(u[3]),m(u,e),f(t,e),e);case"hsl":return 3!==u.length?void c(e,0,0,0,1):(m(u,e),f(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),a=s(t[2]);i=a<=.5?a*(i+1):a+i-a*i,a=2*a-i;return c(e=e||[],o(255*l(a,i,n+1/3)),o(255*l(a,i,n)),o(255*l(a,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){var i,r,s;if(e&&e.length&&0<=t&&t<=1)return n=n||[],t*=e.length-1,i=Math.floor(t),s=Math.ceil(t),r=e[i],e=e[s],n[0]=o(u(r[0],e[0],s=t-i)),n[1]=o(u(r[1],e[1],s)),n[2]=o(u(r[2],e[2],s)),n[3]=a(u(r[3],e[3],s)),n}function v(t,e,n){var i,r,s,l;if(e&&e.length&&0<=t&&t<=1)return t*=e.length-1,i=Math.floor(t),r=Math.ceil(t),l=g(e[i]),e=g(e[r]),l=_([o(u(l[0],e[0],s=t-i)),o(u(l[1],e[1],s)),o(u(l[2],e[2],s)),a(u(l[3],e[3],s))],"rgba"),n?{color:l,leftIndex:i,rightIndex:r,value:t}:l}n=y;var x=v;function _(t,e){var n;if(t&&t.length)return n=t[0]+","+t[1]+","+t[2],"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}e.parse=g,e.lift=function(t,e){var n=g(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255=p[0]&&t<=p[1]}):(s=e,l=n.getPieceList(),u=n.option.selected,c=s[1]-s[0],h=(l=r.map(l,(function(t){return{interval:[(t.interval[0]-s[0])/c,(t.interval[1]-s[0])/c]}}))).length,d=0,function(t){for(var e=d;e=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=0==o?n.y+n.height/2:n.x+n.width/2,i}},t.exports=s},"4c86":function(t,e,n){var i=n("6d8b").each,o=n("bda7"),a=n("e0d3").makeInner,r=n("320a"),s=n("1792"),l=n("6bd4"),u=n("a7f2"),c=a();t.exports={load:function(t,e,n){var a=c(e).parsed;if(a)return a;var h,d=e.specialAreas||{};a=e.geoJSON;try{h=a?o(a,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(t,h),i(h,(function(e){var n=e.name;s(t,e),l(t,e),u(t,e),n=d[n];n&&e.transformTo(n.left,n.top,n.width,n.height)})),c(e).parsed={regions:h,boundingRect:function(t){for(var e,n=0;n"+s(i+" : "+n)},getTooltipPosition:function(t){var e;if(null!=t)return t=this.getData().getName(t),(t=(e=this.coordinateSystem).getRegion(t))&&e.dataToPoint(t.center)},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(n,r),t.exports=n},"4e47":function(t,e,n){var i=n("6d8b"),o=n("2306"),a="none",r="ancestor",s="self";function l(t,e,n){o.Group.call(this);var i=new o.Sector({z2:2}),a=(i.seriesIndex=e.seriesIndex,new o.Text({z2:4,silent:t.getModel("label").get("silent")}));function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}n=l.prototype,n.updateData=function(t,e,n,a,r){(this.node=e).piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s,l=this.childAt(0),u=(l.dataIndex=e.dataIndex,e.getModel()),c=e.getLayout(),h=i.extend({},c),d=(h.label=null,function(t,e){var n=t.getVisual("color"),o=t.getVisual("visualMeta");if(o&&0!==o.length||(n=null),o=t.getModel("itemStyle").get("color"),!o){if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length,o=e.option.color[function(t){for(var e=t;1Math.PI/2?"right":"left"):p&&"center"!==p?"left"===p?(a=n.r0+d,u>Math.PI/2&&(p="right")):"right"===p&&(a=n.r-d,u>Math.PI/2&&(p="left")):(a=(n.r+n.r0)/2,p="center"),c.attr("style",{text:t,textAlign:p,textVerticalAlign:f("verticalAlign")||"middle",opacity:f("opacity")}),h=a*r+n.cx,d=a*e+n.cy,c.attr("position",[h,d]),t=f("rotate"),p=0;function f(t){var e=l.get(t);return null==e?s.get(t):e}"radial"===t?(p=-u)<-Math.PI/2&&(p+=Math.PI):"tangential"===t?(p=Math.PI/2-u)>Math.PI/2?p-=Math.PI:p<-Math.PI/2&&(p+=Math.PI):"number"==typeof t&&(p=t*Math.PI/180),c.attr("rotation",p)},n._initEvents=function(t,e,n,i){function o(){r.onEmphasis(i)}function a(){r.onNormal()}t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this;n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){r.onDownplay()})).on("highlight",(function(){r.onHighlight()}))},i.inherits(l,o.Group),t.exports=l},"4e9f":function(t,e,n){var i=n("22d1"),o=n("29a8");n=n("2145"),o=o.toolbox.saveAsImage;function a(t){this.model=t}a.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},a.prototype.unusable=!i.canvasSupported,a.prototype.onclick=function(t,e){var n=this.model,o=n.get("name")||t.get("title.0.text")||"echarts",a="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png";e=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var r=atob(e.split(",")[1]),s=r.length,l=new Uint8Array(s);s--;)l[s]=r.charCodeAt(s);t=new Blob([l]),window.navigator.msSaveOrOpenBlob(t,o+"."+a)}else t=n.get("lang"),n='',window.open().document.write(n);else t=document.createElement("a"),t.download=o+"."+a,t.target="_blank",t.href=e,n=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1}),t.dispatchEvent(n)},n.register("saveAsImage",a),t.exports=a},"4f85":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("22d1"),a=n("eda2"),r=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n("e0d3"),h=n("6cb7"),d=n("e47b"),p=(a=n("38a2"),n("f934")),f=p.getLayoutParams,g=p.mergeLayoutParam,m=n("f47d").createTask,y=(p=n("0f99"),p.prepareSource),v=p.getSource,x=n("2b17").retrieveRawValue,_=c.makeInner();p=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=m({count:w,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),y(this),t=this.getInitialData(t,n),I(t,this),this.dataTask.context.data=t,_(this).dataBeforeProcessed=t,b(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,o=n?f(t):{},a=this.subType;h.hasClass(a),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&g(t,o,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&g(this.option,t,n),y(this),n=this.getInitialData(t,e);I(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,_(this).dataBeforeProcessed=n,b(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===o,p={},f=0;function g(t){return{renderMode:o,content:s(l(t)),style:p}}var m,y,v=this.getData(),_=v.mapDimension("defaultedTooltip",!0),b=_.length,w=this.getRawValue(t),S=i.isArray(w),M=v.getItemVisual(t,"color");function I(t,n){var i,c,h;n=v.getDimensionInfo(n);n&&!1!==n.otherDims.tooltip&&(i=n.type,c="sub"+a.seriesIndex+"at"+f,h="string"==typeof(h=u({color:M,type:"subItem",renderMode:o,markerId:c}))?h:h.content,(h=(m?h+s(n.displayName||"-")+": ":"")+s("ordinal"===i?t+"":"time"===i?e?"":r("yyyy/MM/dd hh:mm:ss",t):l(t)))&&y.push(h),d&&(p[c]=M,++f))}M=(M=i.isObject(M)&&M.colorStops?(M.colorStops[0]||{}).color:M)||"transparent";var A=(1":"",A+=y.join(A||", "),{renderMode:o,content:A,style:p}):g(b?x(v,t,_[0]):S?w[0]:w)).content;b=a.seriesIndex+"at"+f,_=u({color:M,type:"item",renderMode:o,markerId:b}),p[b]=M,++f,S=v.getName(t),w=this.name,w=(w=c.isNameSpecified(this)?w:"")?s(w)+(e?": ":h):"",b="string"==typeof _?_:_.content;return{html:e?b+w+A:w+b+(S?s(S)+": "+A:A),markers:p}},isAnimationEnabled:function(){var t;return!o.node&&!((t=this.getShallow("animation"))&&this.getData().count()>this.getShallow("animationThreshold"))&&t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel;return d.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function b(t){var e,n,o=t.name;c.isNameSpecified(t)||(t.name=(t=(e=(t=t).getRawData()).mapDimension("seriesName",!0),n=[],i.each(t,(function(t){t=e.getDimensionInfo(t),t.displayName&&n.push(t.displayName)})),n.join(" ")||o))}function w(t){return t.model.getRawData().count()}function S(t){return t=t.model,t.setData(t.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(A,e))}))}function A(t){t=T(t),t&&t.setOutputEnd(this.count())}function T(t){var e,n=(t.ecModel||{}).scheduler;n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}i.mixin(p,a),i.mixin(p,d),t.exports=p},"4fac":function(t,e,n){var i=n("620b"),o=n("9c2c");e.buildPath=function(t,e,n){var a=e.points,r=e.smooth;if(a&&2<=a.length){if(r&&"spline"!==r)for(var s=o(a,r,n,e.smoothConstraint),l=(t.moveTo(a[0][0],a[0][1]),a.length),u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}else{"spline"===r&&(a=i(a,n)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;ux[1]&&(x[1]=v)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},S(this)},n._initDataFromProvider=function(t,e){if(!(e<=t)){for(var n,i=this._chunkSize,o=this._rawData,a=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;fT[1]&&(T[1]=C)}o.pure||(v=u[y],m&&null==v&&(null!=m.name?u[y]=v=m.name:null!=n&&(x=a[_=r[n]][b])&&(v=x[M],(x=l[_].ordinalMeta)&&x.categories.length&&(v=x.categories[v]))),null==(_=null==m?null:m.id)&&null!=v&&(d[v]=d[v]||0,0=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;o=a-1}}}return-1},n.indicesOfNearest=function(t,e,n){var i=[];if(this._storage[t]){null==n&&(n=1/0);for(var o=1/0,a=-1,r=0,s=0,l=this.count();st[C][1])&&(T=!1)}T&&(a[r++]=this.getRawIndex(m))}return rb[1]&&(b[1]=_)}}}return o},n.downSample=function(t,e,n,i){for(var o=D(this,[t]),a=o._storage,r=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=o._rawExtent[t],d=new(y(this))(u),p=0,f=0;fh[1]&&(h[1]=x),d[p++]=_}return o._count=p,o._indices=d,o.getRawIndex=A,o},n.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},n.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return T(t,e)}),(function(t){return T(e,t)}))},n.getVisual=function(t){var e=this._visual;return e&&e[t]},n.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},n.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},n.getLayout=function(t){return this._layout[t]},n.getItemLayout=function(t){return this._itemLayouts[t]},n.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},n.clearItemLayouts=function(){this._itemLayouts.length=0},n.getItemVisual=function(t,e,n){return t=this._itemVisuals[t],t=t&&t[e],null!=t||n?t:this.getVisual(e)},n.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],o[a]=!0);else i[e]=n,o[e]=!0},n.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}},n.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(P,e)),this._graphicEls[t]=e},n.getItemGraphicEl=function(t){return this._graphicEls[t]},n.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},n.cloneShallow=function(t){var e;return t||(e=i.map(this.dimensions,this.getDimensionInfo,this),t=new b(e,this.hostModel)),t._storage=this._storage,_(t,this),this._indices?(e=this._indices.constructor,t._indices=new e(this._indices)):t._indices=null,t.getRawIndex=t._indices?A:I,t},n.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},n.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],n.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=b},"620b":function(t,e,n){var i=n("401b").distance;function o(t,e,n,i,o,a,r){return t=.5*(n-t),i=.5*(i-e),(2*(e-n)+t+i)*r+(-3*(e-n)-2*t-i)*a+t*o+e}t.exports=function(t,e){for(var n=t.length,a=[],r=0,s=1;s>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(r),n.push(r)}}return n}(e,u),u,s);if(e)return e(t,n,r),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,o){return s(r,e,i,o,!0)&&s(t,n,r[0],r[1])},e.transformCoordWithViewport=s,e.isCanvasEl=l},6679:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("cd33"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),r(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,o){r(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function r(t,e,n,i,r,l){var u,c=a.getAxisPointerClass(t.axisPointerClass);c&&((u=o.getAxisPointerModel(e))?(t._axisPointer||(t._axisPointer=new c)).render(e,u,i,l):s(t,i))}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]},t.exports=a},"66a4":function(t,e,n){var i=n("6d8b");function o(t){var e=t.itemStyle||(t.itemStyle={}),n=(e=e.emphasis||(e.emphasis={}),t=t.label||t.label||{},t.normal||(t.normal={})),o={normal:1,emphasis:1};i.each(t,(function(t,e){o[e]||a(n,e)||(n[e]=t)})),e.label&&!a(t,"emphasis")&&(t.emphasis=e.label,delete e.label)}function a(t,e){return t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.timeline,i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(t){var e,n;t&&(e=(t=t).type,(n={number:"value",time:"time"})[e]&&(t.axisType=n[e],delete t.type),o(t),a(t,"controlPosition")&&(a(n=t.controlStyle||(t.controlStyle={}),"position")||(n.position=t.controlPosition),"none"!==n.position||a(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition),i.each(t.data||[],(function(t){i.isObject(t)&&!i.isArray(t)&&(!a(t,"value")&&a(t,"name")&&(t.value=t.name),o(t))})))}))}},"66fc":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},o.inherits(i,a),t.exports=i},"675a":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,o=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var a=0;an.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},n.getPipeline=function(t){return this._pipelineMap.get(t)},n.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),o=(e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,t.get("large")&&i>=t.get("largeThreshold"));i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},n.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),o=t.uid;n.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(e,t,t.dataTask)}))},n.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;o(this._allHandlers,(function(i){var a,r,l,c,h,d,p,f,g,v,w,S,A,T,C,D=t.get(i.uid)||t.set(i.uid,[]);function L(t){var e=t.uid;e=h.get(e)||h.set(e,u({plan:_,reset:b,count:M}));e.context={model:t,ecModel:l,api:c,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:a},I(a,t,e)}function P(t){var e=t.uid,n=w.get(e);n||(n=w.set(e,u({reset:y,onDirty:x})),v.dirty()),n.context={model:t,overallProgress:A,modifyOutputEnd:T},n.agent=v,n.__block=A,I(p,t,n)}i.reset&&(a=this,r=i,l=e,c=n,h=(f=D).seriesTaskMap||(f.seriesTaskMap=s()),f=r.seriesType,g=r.getTargetSeries,r.createOnAllSeries?l.eachRawSeries(L):f?l.eachRawSeriesByType(f,L):g&&g(l,c).each(L),d=a._pipelineMap,h.each((function(t,e){d.get(e)||(t.dispose(),h.removeKey(e))}))),i.overallReset&&(p=this,f=i,g=e,i=n,(v=(D=D).overallTask=D.overallTask||u({reset:m})).context={ecModel:g,api:i,overallReset:f.overallReset,scheduler:p},w=v.agentStubMap=v.agentStubMap||s(),D=f.seriesType,S=f.getTargetSeries,A=!0,T=f.modifyOutputEnd,D?g.eachRawSeriesByType(D,P):S?S(g,i).each(P):(A=!1,o(g.getSeries(),P)),C=p._pipelineMap,w.each((function(t,e){C.get(e)||(t.dispose(),v.dirty(),w.removeKey(e))})))}),this)},n.prepareView=function(t,e,n,i){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=n,a.api=i,o.__block=!t.incrementalPrepareRender,I(this,e,o)},n.performDataProcessorTasks=function(t,e){f(this,this._dataProcessorHandlers,t,e,{block:!0})},n.performVisualTasks=function(t,e,n){f(this,this._visualHandlers,t,e,n)},n.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},n.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())}))};var g=n.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function m(t){t.overallReset(t.ecModel,t.api,t.payload)}function y(t,e){return t.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function _(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function b(t){return t.useClearVisual&&t.data.clearAllVisual(),t=t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload)),1e);s++);s=Math.min(s-1,o-2)}r.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s])),a=n[s+1][0]-n[s][0],n=n[s+1][1]-n[s][1],t.rotation=-Math.atan2(n,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},o.inherits(s,a),t.exports=s},"6acf":function(t,e,n){var i=n("eda2"),o=n("dcb3"),a=n("2306"),r=n("ff2e"),s=n("1687"),l=n("fab2"),u=(n=n("6679"),o=o.extend({makeElOption:function(t,e,n,o,c){var h,d=n.axis,p=("angle"===d.dim&&(this.animationThreshold=Math.PI/18),d.polar),f=p.getOtherAxis(d).getExtent(),g=d["dataTo"+i.capitalFirst(d.dim)](e),m=o.get("type");m&&"none"!==m&&(h=r.buildElStyle(o),(m=u[m](d,p,g,f,h)).style=h,t.graphicKey=m.type,t.pointer=m),d=function(t,e,n,i){var o,r,u,c=e.axis,h=(t=c.dataToCoord(t),u=(u=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());return h="radius"===c.dim?(c=s.create(),s.rotate(c,c,u),s.translate(c,c,[n.cx,n.cy]),o=a.applyTransform([t,-i],c),c=e.getModel("axisLabel").get("rotate")||0,e=l.innerTextLayout(u,c*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(u=h[1],o=n.coordToPoint([u+i,t]),c=n.cx,e=n.cy,r=Math.abs(o[0]-c)/u<.3?"center":o[0]>c?"left":"right",Math.abs(o[1]-e)/u<.3?"middle":o[1]>e?"top":"bottom"),{position:o,align:r,verticalAlign:h}}(e,n,p,o.get("label.margin")),r.buildLabelElOption(t,n,o,c,d)}}),{line:function(t,e,n,i,o){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}});n.registerAxisPointerClass("PolarAxisPointer",o),t.exports=o},"6bd4":function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){"world"===t&&(t=n[e.name])&&((e=e.center)[0]=t[0],e[1]=t[1])}},"6c12":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("fab2"),r=n("2306"),s=["axisLine","axisTickLabel","axisName"];n=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem;t=e.getIndicatorAxes(),t=o.map(t,(function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));o.each(t,(function(t){o.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),a=t.getModel("splitLine"),s=(t=t.getModel("splitArea"),a.getModel("lineStyle")),l=t.getModel("areaStyle"),u=a.get("show"),c=t.get("show"),h=s.get("color"),d=l.get("color"),p=(h=o.isArray(h)?h:[h],d=o.isArray(d)?d:[d],[]),f=[];if("circle"===i)for(var g=n[0].getTicksCoords(),m=e.cx,y=e.cy,v=0;ve.x)||(_-=Math.PI)),t=y?"left":"right",e=(v=l.labelModel.get("rotate"))*(Math.PI/180),u.setStyle({textPosition:l.labelModel.get("position")||t,textRotation:null==v?-_:e,textOrigin:"center",verticalAlign:"middle"})),s),v=(u=c,t=h,n),_=p;e=d,s=g,c=r,h=l,n=h.edgeShape,p=v.__edge;if("curve"===n)u.parentNode&&u.parentNode!==t&&(p=p||(v.__edge=new o.BezierCurve({shape:x(h,_,_),style:i.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),o.updateProps(p,{shape:x(h,e,s),style:{opacity:1}},y));else if("polyline"===n&&"orthogonal"===h.layout&&u!==t&&u.children&&0!==u.children.length&&!0===u.isExpand){for(var b=u.children,w=[],S=0;S ")))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});t.exports=p},"72b6":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("f934"),l=n("5f14");n=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){!1===(this.visualMapModel=t).get("show")?this.group.removeAll():this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,n=r.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};function s(t){return r[t]}function u(t,e){r[t]=e}"symbol"===e&&(r.symbol=a.get("itemSymbol")),"color"===e&&(h=a.get("contentColor"),r.color=h);var c=a.controllerVisuals[i||a.getValueState(t)],h=l.prepareVisualTypes(c);return o.each(h,(function(i){var o=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=c.__alphaForOpacity),l.dependsOn(i,e)&&o&&o.applyVisual(t,s,u)})),r[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});t.exports=n},7368:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b");n=n("625e").enableClassCheck;function o(t){return"_EC_"+t}function a(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}var r=a.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}function u(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){0<=this.dataIndex&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){0<=this.dataIndex&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)])return((e=new s(t,e)).hostGraph=this).nodes.push(e),n[o(t)]=e},r.getNodeByIndex=function(t){return t=this.data.getRawIndex(t),this.nodes[t]},r.getNodeById=function(t){return this._nodesMap[o(t)]},r.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),s.isInstance(t)||(t=i[o(t)]),s.isInstance(e)||(e=i[o(e)]),t&&e&&(i=t.id+"-"+e.id,!a[i]))return((n=new l(t,e,n)).hostGraph=this)._directed&&(t.outEdges.push(n),e.inEdges.push(n)),t.edges.push(n),t!==e&&e.edges.push(n),this.edges.push(n),a[i]=n},r.getEdgeByIndex=function(t){return t=this.edgeData.getRawIndex(t),this.edges[t]},r.getEdge=function(t,e){s.isInstance(t)&&(t=t.id),s.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;oO&&(O=N.depth),E.setLayout({depth:z?N.depth:P},!0),"vertical"===A?E.setLayout({dy:M},!0):E.setLayout({dx:M},!0);for(var B=0;Bd[1],f(n[0].coord,d[0])&&(t?n[0].coord=d[0]:n.shift()),t&&f(d[0],n[0].coord)&&n.unshift({coord:d[0]}),f(d[1],i.coord)&&(t?i.coord=d[1]:n.pop()),t&&f(i.coord,d[1])&&n.push({coord:d[1]})),p},getMinorTicksCoords:function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),t=this.scale.getMinorTicks(t=0 ")),i.value&&(r+=" : "+l(i.value)),r):h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],(function(t){return null!=t.value?t:a.extend({value:0},t)})),e=new o(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}});t.exports=h},"87b1":function(t,e,n){var i=n("cbe5"),o=n("4fac");n=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){o.buildPath(t,e,!0)}});t.exports=n},"87c3":function(t,e,n){var i=n("6d8b").map,o=n("cccd"),a=n("ee1aa").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:o(),reset:function(t){var e,n,o=t.getData(),r=t.coordinateSystem,s=t.pipelineContext.large;if(r)return e=i(r.dimensions,(function(t){return o.mapDimension(t)})).slice(0,2),n=e.length,t=o.getCalculationInfo("stackResultDimension"),a(o,e[0])&&(e[0]=t),a(o,e[1])&&(e[1]=t),n&&{progress:function(t,i){for(var o,a,l=t.end-t.start,u=s&&new Float32Array(l*n),c=t.start,h=0,d=[],p=[];ce[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(e){n[0]l&&(t?a.push(s(l+e,o)):a.push(n[1]))}return a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],o=this.getExtent(),a=1;ao[0]&&hn[1]&&(n[1]=s),a=e.get("colorMappingBy"),"color"!==(s={type:r.name,dataExtent:n,visual:r.range}).type||"index"!==a&&"id"!==a?s.mappingMethod="linear":(s.mappingMethod="category",s.loop=!0),(e=new i(s)).__drColorMappingBy=a,e}}function p(t,e){return t=t.get(e),r(t)&&t.length?{name:e,range:t}:null}function f(t,e,n,i,o,r){var s,l;e=a.extend({},e);return o&&(i="index"===(l="color"===(s=o.type)&&o.__drColorMappingBy)?i:"id"===l?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension")),e[s]=o.mapValueToVisual(i)),e}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree,r=o.root,h=t.getModel(s);r.isRemoved()||function t(e,n,i,o,r,h){var p=e.getModel(),g=e.getLayout();if(g&&!g.invisible&&g.isInView){var m,y,v=e.getModel(s),x=i[e.depth],_=l(v,n,x,o);n=v.get("borderColor"),x=v.get("borderColorSaturation"),null!=x&&(m=u(_),n=c(x,m)),e.setVisual("borderColor",n),x=e.viewChildren,x&&x.length?(y=d(0,p,g,0,_,x),a.each(x,(function(e,n){(e.depth>=r.length||e===r[e.depth])&&(n=f(p,_,e,n,y,h),t(e,n,i,o,r,h))}))):(m=u(_),e.setVisual("color",m))}}(r,{},a.map(o.levelModels,(function(t){return t?t.get(s):null})),h,t.getViewRoot().getAncestors(),t)}}},"923d":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("ee1aa").isDimensionStacked,r=i.indexOf;function s(t,e,n,i,r,s){var l=[],u=a(e,i)?e.getCalculationInfo("stackResultDimension"):i;t=c(e,u,t),t=e.indicesOfNearest(u,t)[0],l[r]=e.get(n,t),l[s]=e.get(u,t),r=e.get(i,t),n=o.getPrecision(e.get(i,t));return 0<=(n=Math.min(n,20))&&(l[s]=+l[s].toFixed(n)),[l,r]}n=i.curry;var l={min:n(s,"min"),max:n(s,"max"),average:n(s,"average")};function u(t,e,n,i){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var o=0;ot[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,r){var l={},u=t[1]-t[0];u=l.interval=i.nice(u/e,!0),null!=n&&u=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},"98b7":function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"98e7":function(t,e,n){var i=n("6d8b").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},o=i();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,o.set(t.uid,t)})),o},reset:function(t,e){var n=t.getRawData(),i={},o=t.getData();o.each((function(t){var e=o.getRawIndex(t);i[e]=t})),n.each((function(e){var a,r=i[e],s=null!=r&&o.getItemVisual(r,"color",!0),l=null!=r&&o.getItemVisual(r,"borderColor",!0);s&&l||(a=n.getItemModel(e)),s||(s=a.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count()),null!=r&&o.setItemVisual(r,"color",s)),l||(e=a.get("itemStyle.borderColor"),null!=r&&o.setItemVisual(r,"borderColor",e))}))}}}},"998c":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("e86a"),r=Math.PI;t.exports=function(t,e){e=e||{},i.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n,s=new o.Group,l=new o.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),u=(s.add(l),e.fontSize+" sans-serif"),c=new o.Rect({style:{fill:"none",text:e.text,font:u,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});return s.add(c),e.showSpinner&&((n=new o.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut"),s.add(n)),s.resize=function(){var i=a.getWidth(e.text,u),o=e.showSpinner?e.spinnerRadius:0,r=(i=(t.getWidth()-2*o-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),t.getHeight()/2);e.showSpinner&&n.setShape({cx:i,cy:r}),c.setShape({x:i-o,y:r-o,width:2*o,height:2*o}),l.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},s.resize(),s}},"9bdb7":function(t,e,n){var i=n("282b")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},"9c2c":function(t,e,n){n=n("401b");var i=n.min,o=n.max,a=n.scale,r=n.distance,s=n.add,l=n.clone,u=n.sub;t.exports=function(t,e,n,c){var h,d,p=[],f=[],g=[],m=[];if(c){for(var y=[1/0,1/0],v=[-1/0,-1/0],x=0,_=t.length;x<_;x++)i(y,y,t[x]),o(v,v,t[x]);i(y,y,c[0]),o(v,v,c[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){p.push(l(t[x]));continue}h=t[x-1],d=t[x+1]}u(f,d,h),a(f,f,e);var w=r(b,h),S=r(b,d),M=w+S;M=(0!==M&&(w/=M,S/=M),a(g,f,-w),a(m,f,S),s([],b,g)),w=s([],b,m);c&&(o(M,M,y),i(M,M,v),o(w,w,y),i(w,w,v)),p.push(M),p.push(w)}return n&&p.push(p.shift()),p}},"9ca8":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("3842"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("f934"),u=n("55ac"),c=Math.max,h=Math.min,d=i.retrieve,p=i.each,f=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],y=["upperLabel","height"];function v(t,e,n,o,a,r){var s,l=t.children||[],u=o.sort;"asc"!==u&&"desc"!==u&&(u=null),o=null!=o.leafDepth&&o.leafDepth<=r;if(a&&!o)return t.viewChildren=[];l=i.filter(l,(function(t){return!t.isRemoved()})),r=l,(s=u)&&r.sort((function(t,e){var n="asc"===s?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===s?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n}));var c=function(t,e,n){for(var i=0,o=0,a=e.length;or[1]&&(r[1]=t)}))):r=[NaN,NaN],{sum:i,dataExtent:r}}(e,l,u);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,o){if(i){for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;0<=l;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*en[l[r]])&&(d=n[l[r]]);for(var p=0,f=t.length;p"+a.map(n,(function(n,i){var o=e.get(e.mapDimension(n.dim),t);return r(n.name+" : "+o)})).join("
    ")},getTooltipPosition:function(t){if(null!=t)for(var e,n=this.getData(),i=this.coordinateSystem,o=n.getValues(a.map(i.dimensions,(function(t){return n.mapDimension(t)})),t,!0),r=0,s=o.length;r=t&&(0===e?0:i[e-1][0])e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]);t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function c(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}n=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){var n,o,a,r,s,u;this.group.removeAll(),t.get("show")&&(n=t.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),h(u=i.map(n.getViewLabels(),(function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t}))),h(r),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,r,s,a,u)}),this))},_axisLine:function(t,e,n,i,a){t=t.getModel("axisLine.lineStyle");var r=c(e),s=r?0:1;e=0===a[s]?new o.Circle({shape:{cx:e.cx,cy:e.cy,r:a[r]},style:t.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:e.cx,cy:e.cy,r:a[r],r0:a[s]},style:t.getLineStyle(),z2:1,silent:!0});e.style.fill=null,this.group.add(e)},_axisTick:function(t,e,n,a,r){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=r[c(e)];r=i.map(n,(function(t){return new o.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(o.mergePath(r,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,r){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=r[c(e)],p=[],f=0;fy?"left":"right",g=Math.abs(m[1]-v)/g<.3?"middle":m[1]>v?"top":"bottom",h&&h[u]&&h[u].textStyle&&(r=new a(h[u].textStyle,d,d.ecModel)),v=new o.Text({silent:s.isLabelSilent(t)});this.group.add(v),o.setTextStyle(v.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:y,textVerticalAlign:g}),f&&(v.eventData=s.makeAxisEventDataBase(t),v.eventData.targetType="axisLabel",v.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,r){for(var s=t.getModel("splitLine").getModel("lineStyle"),l=0,c=(c=s.get("color"))instanceof Array?c:[c],h=[],d=0;dr?e+=h(d("data.partialData"),{displayCnt:r}):e+=d("data.allData"),[]),g=0;gt[i-1].y+t[i-1].height));i--);}function h(t,e,n,i,o,a){for(var r,s,l,u=e?Number.MAX_VALUE:0,c=0,h=t.length;cl+r);o++)if(t[o].y+=i,et[o].y+t[o].height)return c(o,i/2);c(n-1,i/2)}(y,f,-d),p=t[y].y+t[y].height;for(r-p<0&&c(f-1,p-r),y=0;y=n?m:g).push(t[y]);h(g,!1,e,n,i,o),h(m,!0,e,n,i,o)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,d,p=t.getData(),f=[],g=!1,m=(t.get("minShowLabelAngle")||0)*a;if(p.each((function(a){var r,s,l,c,y,v,x,_,b,w,S,M,I=p.getItemLayout(a),A=p.getItemModel(a),T=A.getModel("label"),C=T.get("position")||A.get("emphasis.label.position"),D=T.get("distanceToLabelLine"),L=T.get("alignTo"),P=o(T.get("margin"),n),k=T.get("bleedMargin"),O=T.getFont(),R=(A=A.getModel("labelLine"),A.get("length"));R=o(R,n),A=A.get("length2"),A=o(A,n);I.anglet[1]&&t.reverse(),t}function f(t,e){return a.parseFinder(t,e,{includeMainTypes:c})}d.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){(t.coordRanges||(t.coordRanges=[])).push(e),t.coordRange||(t.coordRange=e,n=v[t.brushType](0,n,e),t.__rangeOffset={offset:_[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax})}))},d.matchOutputRanges=function(t,e,n){s(t,(function(t){var o=this.findTargetInfo(t,e);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=v[t.brushType](1,i,t.range);n(t,o.values,i,e)}))}),this)},d.setInputRanges=function(t,e){s(t,(function(t){var n,i=this.findTargetInfo(t,e);t.range=t.range||[],i&&!0!==i&&(t.panelId=i.panelId,i=v[t.brushType](0,i.coordSys,t.coordRange),n=t.__rangeOffset,t.range=n?_[t.brushType](i.values,n.offset,function(t,e){return t=w(t),e=w(e),t=[t[0]/e[0],t[1]/e[1]],isNaN(t[0])&&(t[0]=1),isNaN(t[1])&&(t[1]=1),t}(i.xyMinMax,n.xyMinMax)):i.values)}),this)},d.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},d.controlSeries=function(t,e,n){return t=this.findTargetInfo(t,n),!0===t||t&&0<=l(t.coordSyses,e.coordinateSystem)},d.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=f(e,t),o=0;o>1^-(1&s),l=(l=t.charCodeAt(r+1)-64)>>1^-(1&l);s+=o,l+=a,i.push([(o=s)/n,(a=l)/n])}return i}t.exports=function(t,e){var n=t;if(n.UTF8Encoding){for(var r=n.UTF8Scale,s=(null==r&&(r=1024),n.features),l=0;lm.getLayout().x&&(m=t),t.depth>y.depth&&(y=t)})),n=g===m?1:f(g,m)/2,v=n-g.getLayout().x,w=b=_=x=0,"radial"===i?(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w=(t.depth-1)*_;var e=c(b,w);t.setLayout({x:e.x,y:e.y,rawX:b,rawY:w},!0)}))):"RL"===(S=t.getOrient())||"LR"===S?(_=p/(m.getLayout().x+n+v),x=d/(y.depth-1||1),a(M,(function(t){w=(t.getLayout().x+v)*_,b="LR"===S?(t.depth-1)*x:d-(t.depth-1)*x,t.setLayout({x:b,y:w},!0)}))):"TB"!==S&&"BT"!==S||(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w="TB"===S?(t.depth-1)*_:p-(t.depth-1)*_,t.setLayout({x:b,y:w},!0)}))))}))}},ca98:function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=n("6cb7"),r=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(o.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n,c=this._optionBackup;t=function(t,e,n){var o,a,s,l=[],u=[],c=t.timeline;return t.baseOption&&(a=t.baseOption),(c||t.options)&&(a=a||{},l=(t.options||[]).slice()),t.media&&(a=a||{},s=t.media,r(s,(function(t){t&&t.option&&(t.query?u.push(t):o=o||t)}))),a=a||t,a.timeline||(a.timeline=c),r([a].concat(l).concat(i.map(u,(function(t){return t.option}))),(function(t){r(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:l,mediaDefault:o,mediaList:u}}.call(this,t,e,!c);this._newBaseOption=t.baseOption,c?(n=c.baseOption,e=t.baseOption,r(e=e||{},(function(t,e){var i,r;null!=t&&(i=n[e],a.hasClass(e)?(t=o.normalizeToArray(t),i=o.normalizeToArray(i),r=o.mappingToExists(i,t),n[e]=l(r,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))):n[e]=u(i,t,!0))})),t.timelineOptions.length&&(c.timelineOptions=t.timelineOptions),t.mediaList.length&&(c.mediaList=t.mediaList),t.mediaDefault&&(c.mediaDefault=t.mediaDefault)):this._optionBackup=t},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;return n.length&&(t=t.getComponent("timeline"))?s(n[t.getCurrentIndex()],!0):e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,r=[],u=[];if(o.length||a){for(var h,d,p=0,f=o.length;pi[1]&&(i[1]=t[1])}))})),i[1]a[1];if(u&&!c&&!l)return!0;u&&(r=!0),c&&(n=!0),l&&(o=!0)}return r&&n&&o})):l(i,(function(n){var i;"empty"===o?t.setData(e=e.map(n,(function(t){return(e=t)>=a[0]&&e<=a[1]?t:NaN;var e}))):((i={})[n]=a,e.selectRange(i))})),l(i,(function(t){e.setApproximateExtent(a,t)})))})))}},t.exports=i},cccd:function(t,e,n){var i=n("e0d3").makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=(e=e.pipelineContext,n.large),o=n.progressiveRender,a=n.large=e&&e.large;n=n.progressiveRender=e&&e.progressiveRender;return!!(i^a||o^n)&&"reset"}}},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var i=n("6d8b"),o=n("4319"),a=i.each,r=i.curry;function s(t,e){return"all"===t||i.isArray(t)&&0<=i.indexOf(t,e)||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n,l,h,d,p,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,e=e,h=(l=t).getComponent("tooltip"),d=l.getComponent("axisPointer"),p=d.get("link",!0)||[],f=[],a(e.getCoordinateSystems(),(function(t){var e,g,m,y,v;function x(r,h,m){var y,v=m.model.getModel("axisPointer",d),x=v.get("show");x&&("auto"!==x||r||u(v))&&(null==h&&(h=v.get("triggerTooltip")),x=(v=r?function(t,e,n,r,s,l){var u=e.getModel("axisPointer"),c={};return a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line"),e=c.label||(c.label={}),null==e.show&&(e.show=!1),"cross"===s&&(s=u.get("label.show"),e.show=null==s||s,l||(s=c.lineStyle=u.get("crossStyle"))&&i.defaults(e,s.textStyle)),t.model.getModel("axisPointer",new o(c,n,r))}(m,g,d,l,r,h):v).get("snap"),r=c(m.model),y=h||x||"category"===m.type,h=n.axesInfo[r]={key:r,axis:m,coordSys:t,axisPointerModel:v,triggerTooltip:h,involveSeries:y,snap:x,useHandle:u(v),seriesModels:[]},e[r]=h,n.seriesInvolved|=y,null!=(x=function(t,e){for(var n=e.model,i=e.dim,o=0;oa[1]&&a.reverse(),(i=null==i||i>a[1]?a[1]:i)=n.start.time&&t.timeo.end.time&&e.reverse(),e},_getRangeInfo:function(t){(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var e,n,i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,o=new Date(t[0].time),a=o.getDate(),r=t[1].date.getDate();if(o.setDate(a+i-1),o.getDate()!==r)for(var s=0n.weeks||0===t&&en.lweek)&&(t=7*(t-1)-n.fweek+e,(e=new Date(n.start.time)).setDate(n.start.d+t),this.getDateInfo(e))}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new r(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},n.register("calendar",r),t.exports=r},d15d:function(t,e,n){n=n("6d8b");var i=n.createHashMap,o=n.each;function a(t){o(t,(function(e,n){var i=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex;a=r.map(a,(function(a,l,u){var c,h,d=r.get(e.stackedDimension,u);if(isNaN(d))return o;s?h=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var p=NaN,f=n-1;0<=f;f--){var g=t[f];if(0<=(h=s?h:g.data.rawIndexOf(g.stackedByDimension,c))&&(g=g.data.getByRawIndex(g.stackResultDimension,h),0<=d&&0t.getWidth()||n<0||n>t.getHeight()}h.prototype={constructor:h,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=p(this,e,n),o=this._hovered,a=o.target;a&&!a.__zr&&(a=(o=this.findHover(o.x,o.y)).target),i=this._hovered=i?{x:e,y:n}:this.findHover(e,n),e=i.target,n=this.proxy;n.setCursor&&n.setCursor(e?e.cursor:"default"),a&&e!==a&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(i,"mousemove",t),e&&e!==a&&this.dispatchToElement(i,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"===e||n||this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){t=this[t],t&&t.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var o="on"+e,a={type:e,event:n,target:(t=t).target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u};i&&(i[o]&&(a.cancelBubble=i[o].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var i,o=this.storage.getDisplayList(),a={x:t,y:e},r=o.length-1;0<=r;r--)if(o[r]!==n&&!o[r].ignore&&(i=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,n))return!1;o.silent&&(i=!0),o=o.parent}return!i||"silent"}return!1}(o[r],t,e))&&(a.topTarget||(a.topTarget=o[r]),"silent"!==i)){a.target=o[r];break}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr,i=("start"===e&&n.clear(),n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom));"end"===e&&n.clear(),i&&(e=i.type,t.gestureEvent=e,this.dispatchToElement({target:i.target},e,i.event))}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(e){var n,i,a=e.zrX,r=e.zrY,s=p(this,a,r);if("mouseup"===t&&s||(i=(n=this.findHover(a,r)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||4')}}catch(t){i=function(t){return s.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=s,e.createNode=function(t){return i(t)},e.initVML=function(){var t;!r&&s&&(r=!0,((t=s.styleSheets).length<31?s.createStyleSheet():t[0]).addRule(".zrvml","behavior:url(#default#VML)"))}},d3f47:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n,i=e.findComponents({mainType:"legend"});i&&i.length&&(n=t.getData()).filterSelf((function(t){for(var e=n.getName(t),o=0;oi[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,o=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;0=this._maxSize&&0=f[i=0]+t&&r<=f[1]+t?h:0;(o=a?(e=i,i=l(o),l(e)):(i=l(i),l(o)))Math.PI/2&&p<1.5*Math.PI?-h:h))}return u}(A,T,D,L,L+P,k,E,g);_=Math.cos(L+P)*C+A,b=Math.sin(L+P)*D+T;break;case h.R:if(w=_=t[M++],S=b=t[M++],O=w+t[M++],R=S+t[M++],n){if(o.containStroke(w,S,O,S,e,i,g)||o.containStroke(O,S,O,R,e,i,g)||o.containStroke(O,R,w,R,e,i,g)||o.containStroke(w,R,w,S,e,i,g))return!0}else x=(x+=c(O,S,O,R,i,g))+c(w,R,w,S,i,g);break;case h.Z:if(n){if(o.containStroke(_,b,w,S,e,i,g))return!0}else x+=c(_,b,w,S,i,g);_=w,b=S}}return n||(y=b,v=S,Math.abs(y-v)l*(1-i[0])?(r="jump",e=t-l*(1-i[2])):0<=(e=t-l*i[1])&&(e=t-l*(1-i[1]))<=0&&(e=0),(e*=a.axisExpandWidth/n)?c(e,s,u,"all"):r="none"):(l=s[1]-s[0],(s=[p(0,u[1]*t/l-l/2)])[1]=d(u[1],s[0]+l),s[0]=s[1]-l),{axisExpandWindow:s,behavior:r}):{behavior:"none",axisExpandWindow:s}}},t.exports=v},d9f1:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47");n=n("2023"),o=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function r(t,e){return e.type||(e.data?"category":"value")}i.merge(o.prototype,n),i={splitNumber:5},a("angle",o,r,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",o,r,i)},d9fc:function(t,e,n){n=n("cbe5").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),t.exports=n},dae1:function(t,e,n){var i=n("3eba"),o=(n("928d"),n("b369"),n("4411"),n("90c2"));n=n("9ca8");i.registerVisual(o),i.registerLayout(n)},db0e:function(t,e,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e86a"),r=n("2145"),s=n("2306"),l=n("4319"),u=n("80f0"),c=n("7919");n=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h,d,p,f,g=this.group;function m(a,u){a=f[a],u=f[u];var c,m,y,v,x,_,b,w,S=d[a],M=new l(S,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===a&&(S.title=i.newTitle),a&&!u){if(0===a.indexOf("my"))c={model:M,onclick:M.option.onclick,featureName:a};else{S=r.get(a);if(!S)return;c=new S(M,e,n)}p[a]=c}else{if(!(c=p[u]))return;c.model=M,c.ecModel=e,c.api=n}!a&&u?c.dispose&&c.dispose(e,n):!M.get("show")||c.unusable?c.remove&&c.remove(e,n):(y=c,S=a,v=(m=M).getModel("iconStyle"),x=m.getModel("emphasis.iconStyle"),u=y.getIcons?y.getIcons():m.get("icon"),_=m.get("title")||{},"string"==typeof u&&(a=u,b=_,_={},(u={})[S]=a,_[S]=b),w=m.iconPaths={},o.each(u,(function(i,a){var r=s.createIcon(i,{},{x:-h/2,y:-h/2,width:h,height:h});r.setStyle(v.getItemStyle()),r.hoverStyle=x.getItemStyle(),r.setStyle({text:_[a],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null}),i=t.getModel("tooltip");i&&i.get("show")&&r.attr("tooltip",o.extend({content:_[a],formatter:i.get("formatter",!0)||function(){return _[a]},formatterParams:{componentType:"toolbox",name:a,title:_[a],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),s.setHoverStyle(r),t.get("showTitle")&&(r.__title=_[a],r.on("mouseover",(function(){var e=x.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";r.setStyle({textFill:x.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||n})})).on("mouseout",(function(){r.setStyle({textFill:null,textBackgroundColor:null})}))),r.trigger(m.get("iconStatus."+a)||"normal"),g.add(r),r.on("click",o.bind(y.onclick,y,e,n,a)),w[a]=r})),M.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(M,e,n,i))}g.removeAll(),t.get("show")&&(h=+t.get("itemSize"),d=t.get("feature")||{},p=this._features||(this._features={}),f=[],o.each(d,(function(t,e){f.push(e)})),new u(this._featureNames||[],f).add(m).update(m).remove(o.curry(m,null)).execute(),this._featureNames=f,c.layout(g,t,n),g.add(c.makeBackground(g.getBoundingRect(),t)),g.eachChild((function(t){var e,i,o=t.__title,r=t.hoverStyle;r&&o&&(o=a.getBoundingRect(o,a.makeFont(r)),e=t.position[0]+g.position[0],i=!1,t.position[1]+g.position[1]+h+o.height>n.getHeight()&&(r.textPosition="top",i=!0),t=i?-5-o.height:h+8,e+o.width/2>n.getWidth()?(r.textPosition=["100%",t],r.textAlign="right"):e-o.width/2<0&&(r.textPosition=[0,t],r.textAlign="left"))})))},updateView:function(t,e,n,i){o.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){o.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){o.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=n},dc20:function(t,e,n){var i=n("8727").createElement,o=n("6d8b"),a=n("4942"),r=n("cbe5"),s=n("0da8"),l=n("76a5"),u=n("0c12"),c=n("b16f"),h=n("9fa3"),d=n("bcaa"),p=(n=n("3f8e"),n.path),f=n.image,g=n.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){y(t,e)&&n&&((n=n.nextSibling)?t.insertBefore(e,n):t.appendChild(e))}function x(t,e){var n;y(t,e)&&((n=t.firstChild)?t.insertBefore(e,n):t.appendChild(e))}function _(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function b(t){return t.__textSvgEl}function w(t){return t.__svgEl}function S(t,e,n,a){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{}),(e=i("svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("version","1.1"),e.setAttribute("baseProfile","full"),e.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=i("g"),s=(e.appendChild(r),i("g"));e.appendChild(s),this.gradientManager=new c(a,s),this.clipPathManager=new h(a,s),this.shadowManager=new d(a,s),(a=document.createElement("div")).style.cssText="overflow:hidden;position:relative",this._svgDom=e,this._svgRoot=s,this._backgroundRoot=r,this._viewport=a,t.appendChild(a),a.appendChild(e),this.resize(n.width,n.height),this._visibleList=[]}S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=i("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();for(var e=this._svgRoot,n=this._visibleList,i=t.length,o=[],a=0;a\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;S.prototype[t]=(e=t,function(){a('In SVG mode painter not support method "'+e+'"')})})),t.exports=S},dc2f:function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},dcb3:function(t,e,n){var i=n("6d8b"),o=n("625e"),a=n("2306"),r=n("cd33"),s=n("607d"),l=n("88b3"),u=(0,n("e0d3").makeInner)(),c=i.clone,h=i.bind;function d(){}function p(t,e,n,o){!function t(e,n){var o;return i.isObject(e)&&i.isObject(n)?(o=!0,i.each(n,(function(n,i){o=o&&t(e[i],n)})),!!o):e===n}(u(n).lastProp,o)&&(u(n).lastProp=o,e?a.updateProps(n,o,t):(n.stopAnimation(),n.attr(o)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)}))}o.enableClassExtend((d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,o){var r,s,l=e.get("value"),u=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!o&&this._lastValue===l&&this._lastStatus===u||(this._lastValue=l,this._lastStatus=u,o=this._group,r=this._handle,u&&"hide"!==u?(o&&o.show(),r&&r.show(),this.makeElOption(u={},l,t,e,n),(s=u.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=s,s=this._moveAnimation=this.determineAnimation(t,e),o?(s=i.curry(p,e,s),this.updatePointerEl(o,u,s,e),this.updateLabelEl(o,u,s,e)):(o=this._group=new a.Group,this.createPointerEl(o,u,t,e),this.createLabelEl(o,u,t,e),n.getZr().add(o)),m(o,e,!0),this._renderHandle(l)):(o&&o.hide(),r&&r.hide()))},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n,i=e.get("animation"),o=t.axis,a="category"===o.type;e=e.get("snap");return!(!e&&!a)&&("auto"===i||null==i?(n=this.animationThreshold,a&&o.getBandWidth()>n||!!e&&(a=r.getAxisInfo(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/a>n)):!0===i)},makeElOption:function(t,e,n,i,o){},createPointerEl:function(t,e,n,i){var o=e.pointer;o&&(o=u(t).pointerEl=new a[o.type](c(e.pointer)),t.add(o))},createLabelEl:function(t,e,n,i){e.label&&(e=u(t).labelEl=new a.Rect(c(e.label)),t.add(e),f(e,i))},updatePointerEl:function(t,e,n){t=u(t).pointerEl,t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){t=u(t).labelEl,t&&(t.setStyle(e.label.style),n(t,{shape:e.label.shape,position:e.label.position}),f(t,i))},_renderHandle:function(t){var e,n,o,r,u,c;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),o=this._handle,r=e.getModel("handle"),c=e.get("status"),r.get("show")&&c&&"hide"!==c?(this._handle||(u=!0,o=this._handle=a.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),m(o,e,!1),o.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),c=r.get("size"),i.isArray(c)||(c=[c,c]),o.attr("scale",[c[0]/2,c[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,u)):(o&&n.remove(o),this._handle=null))},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(g(t)),u(n).lastProp=null,this._doDispatchAxisPointer())},_doDispatchAxisPointer:function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},_onHandleDragEnd:function(t){var e;this._dragging=!1,this._handle&&(e=this._axisPointerModel.get("value"),this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"}))},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;t=t.getZr();var e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d),t.exports=d},dcea:function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("2306"),r=(n=n("cbe5"),["itemStyle"]),s=["emphasis","itemStyle"],l=(o=o.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),o=this.group,a=this._data,r=(this._data||o.removeAll(),"horizontal"===t.get("layout")?1:0);i.diff(a).add((function(t){var e;i.hasValue(t)&&(e=u(i.getItemLayout(t),i,t,r,!0),i.setItemGraphicEl(t,e),o.add(e))})).update((function(t,e){var n;e=a.getItemGraphicEl(e);i.hasValue(t)?(n=i.getItemLayout(t),e?c(n,e,i,t):e=u(n,i,t,r),o.add(e),i.setItemGraphicEl(t,e)):o.remove(e)})).remove((function(t){t=a.getItemGraphicEl(t),t&&o.remove(t)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),n.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();a(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),a(t,(function(t,n){var o=t.option;i.assert(!o||null==o.id||!e.get(o.id)||e.get(o.id)===t,"id duplicates: "+(o&&o.id)),o&&null!=o.id&&e.set(o.id,t),t.keyInfo||(t.keyInfo={})})),a(t,(function(t,n){var i=t.exist,o=t.option,a=t.keyInfo;if(r(o)){if(a.name=null!=o.name?o.name+"":i?i.name:"series\0"+n,i)a.id=i.id;else if(null!=o.id)a.id=o.id+"";else for(var s=0;a.id="\0"+a.name+"\0"+s++,e.get(a.id););e.set(a.id,t)}}))},e.isNameSpecified=function(t){return!(!(t=t.name)||!t.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return o(t||[],n),o(e||[],i,n),[a(n),a(i)];function o(t,e,n){for(var i=0,o=t.length;i=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},e1fc:function(t,e,n){function i(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var o=n("6d8b"),a=n("d5b7"),r=n("9850");i.prototype={constructor:i,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;ne)return t[i];return t[n-1]}(r,n):i)||i)&&r.length?(n=r[s],t&&(l[t]=n),e.colorIdx=(s+1)%r.length,n):void 0)}}},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e6cd:function(t,e,n){var i=n("6d8b");e.createWrap=function(){var t,e=[],n={};return{add:function(t,o,a,r,s){return i.isString(r)&&(s=r,r=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:o,time:a,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,o=0,a=e.length;o=e.maxIterations){t+=e.ellipsis;break}var s=0===r?function(t,e,n,i){for(var o=0,a=0,r=t.length;av)return{lines:[],width:0,height:0};R.textWidth=m(R.text,D);var P,k=A.textWidth,O=null==k||"auto"===k;"string"==typeof k&&"%"===k.charAt(k.length-1)?(R.percentWidth=k,d.push(R),k=0):(O&&(k=R.textWidth,(P=(P=A.textBackgroundColor)&&P.image)&&(P=o.findExistImage(P),o.isImageReady(P)&&(k=Math.max(k,P.width*L/P.height)))),k+=L=C?C[1]+C[3]:0,null!=(P=null!=y?y-M:null)&&P"],o.isArray(t)&&(t=t.slice(),i=!0),e=e?t:i?[l(t[0]),l(t[1])]:l(t),o.isString(a)?a.replace("{value}",i?e[0]:e).replace("{value2}",i?e[1]:e):o.isFunction(a)?i?a(t[0],t[1]):a(t):i?t[0]===s[0]?n[0]+" "+e[1]:t[1]===s[1]?n[1]+" "+e[0]:e[0]+" - "+e[1]:e;function l(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(r,20))}},resetExtent:function(){var t=this.option;t=f([t.min,t.max]);this._dataExtent=t},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,o=i.length-1;0<=o;o--){var a=i[o];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),a=e.controller||(e.controller={}),l=(o.merge(i,n),o.merge(a,n),this.isCategory());function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e,i=n[t];o.isString(i)&&((e=r.get(i,"active",l))?(n[t]={},n[t][i]=e):delete n[t])}),this)}u.call(this,i),u.call(this,a),function(t,e,n){e=t[e];var i=t[n];e&&!i&&(i=t[n]={},p(e,(function(t,e){var n;!s.isValidType(e)||null!=(n=r.get(e,"inactive",l))&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(a){var r,s=this.itemSize,u=t[a];null==(u=u||(t[a]={color:l?i:[i]})).symbol&&(u.symbol=e&&o.clone(e)||(l?"roundRect":["roundRect"])),null==u.symbolSize&&(u.symbolSize=n&&o.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=c(u.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t})),a=u.symbolSize;null!=a&&(r=-1/0,h(a,(function(t){ra[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=e.dataToRadius(i[0]),a=(i=n.dataToAngle(i[1]),t.coordToPoint([o,i]));return a.push(o,i*Math.PI/180),a})),size:i.bind(o,t)}}}},eb6b:function(t,e,n){var i=n("6d8b"),o=n("e0d3").makeInner,a=n("cd33"),r=n("133d"),s=i.each,l=i.curry,u=o();function c(t,e,n,o,a){var r,l,u,c,h,d,p,f,g,m,y=t.axis;!y.scale.isBlank()&&y.containData(e)&&(t.involveSeries?(l=e,u=t.axis,c=u.dim,h=l,d=[],p=Number.MAX_VALUE,f=-1,s(t.seriesModels,(function(t,e){var n,i=t.getData().mapDimension(c,!0);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(i,l,u),a=o.dataIndices;o=o.nestestValue}else{if(!(a=t.getData().indicesOfNearest(i[0],l,"category"===u.type?.5:null)).length)return;o=t.getData().get(i[0],a[0])}null!=o&&isFinite(o)&&(i=l-o,(n=Math.abs(i))<=p&&((ne[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},o.inherits(i,a),t.exports=i},ec34:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.createHashMap,a=i.isString,r=i.isArray,s=i.each,l=(i.assert,n("3041").parseXML),u=o(),c={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports={registerMap:function(t,e,n){return e=r(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]),s(e,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)})),u.set(t,e)},retrieveMap:function(t){return u.get(t)}}},ec6f:function(t,e,n){var i=n("6d8b"),o=i.createHashMap,a=i.isTypedArray,r=(i=n("625e").enableClassCheck,n=n("93d0"),n.SOURCE_FORMAT_ORIGINAL),s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,c=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===c?{}:[]),this.sourceFormat=t.sourceFormat||l,this.seriesLayoutBy=t.seriesLayoutBy||s,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&o(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:a(t)?u:r,fromDataset:!1})},i(h),t.exports=h},ecf8:function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=i.each;t.exports=function(t){var e,n;e=[],n=[],t.eachSeriesByType("boxplot",(function(t){var o=t.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,e[a]={axis:o,seriesModels:[]}),e[a].seriesModels.push(t)})),a(e,(function(t){var e,n,r,s,l,u,c,h,d,p,f,g,m=t.seriesModels;m.length&&(d=(e=t).axis,r=e.seriesModels,s=r.length,l=e.boxWidthList=[],u=e.boxOffsetList=[],c=[],"category"===d.type?n=d.getBandWidth():(h=0,a(r,(function(t){h=Math.max(h,t.getData().count())})),e=d.getExtent(),Math.abs(e[1]-e[0])),a(r,(function(t){t=t.get("boxWidth"),i.isArray(t)||(t=[t,t]),c.push([o(t[0],n)||0,o(t[1],n)||0])})),p=(d=.8*n-2)/s*.3,g=(f=(d-p*(s-1))/s)/2-d/2,a(r,(function(t,e){u.push(g),g+=p+f,l.push(Math.min(Math.max(f,c[e][0]),c[e][1]))})),a(m,(function(e,n){var i=t.boxOffsetList[n],o=(n=t.boxWidthList[n],e.coordinateSystem),a=e.getData(),r=n/2,s="horizontal"===e.get("layout")?0:1,l=1-s,u=(n=["x","y"],a.mapDimension(n[s])),c=a.mapDimension(n[l],!0);if(!(null==u||c.length<5))for(var h=0;ho[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?u.insertBefore(e.dom,n.nextSibling):u.appendChild(e.dom):u.firstChild?u.insertBefore(e.dom,u.firstChild):u.appendChild(e.dom))}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){for(var n,i=this._zlevelList,o=0;o"'])/g),s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(t){return null==t?"":(t+"").replace(r,(function(t,e){return s[e]}))}function u(t,e){return"{"+t+(null==e?"":e)+"}"}var c=["a","b","c","d","e","f","g"];function h(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=o.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1':'':{renderMode:a,content:"{marker"+t+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=(e=a.parseDate(e))["get"+(n=n?"UTC":"")+"FullYear"](),o=e["get"+n+"Month"]()+1,r=e["get"+n+"Date"](),s=e["get"+n+"Hours"](),l=e["get"+n+"Minutes"](),u=e["get"+n+"Seconds"]();e=e["get"+n+"Milliseconds"]();return t.replace("MM",h(o,2)).replace("M",o).replace("yyyy",i).replace("yy",i%100).replace("dd",h(r,2)).replace("d",r).replace("hh",h(s,2)).replace("h",s).replace("mm",h(l,2)).replace("m",l).replace("ss",h(u,2)).replace("s",u).replace("SSS",h(e,3))},e.capitalFirst=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)},e.truncateText=d,e.getTextBoundingRect=function(t){return o.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,a,r,s,l){return o.getBoundingRect(t,e,n,i,a,l,r,s)},e.windowOpen=function(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location=t):window.open(t,e)}},edaf:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("6179"),r=n("e0d3"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t=e<=t?e-1:t)<0&&(t=0),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t,e=this.option,n=e.data||[],o=(e=e.axisType,this._names=[]);"category"===e&&(t=[],i.each(n,(function(e,n){var a,s=r.getDataItemValue(e);i.isObject(e)?(a=i.clone(e)).value=n:a=n,t.push(a),i.isString(s)||null!=s&&!isNaN(s)||(s=""),o.push(s+"")})),n=t),e={category:"ordinal",time:"time"}[e]||"number";(this._data=new a([{name:"value",type:e}],this)).initData(n,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},edb9:function(t,e,n){var i=n("6d8b");e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,o=t.axis,a={},r=o.position,s=(o=o.orient,{horizontal:{top:(n=[(n=n.getRect()).x,n.x+n.width,n.y,n.y+n.height])[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}});return a.position=["vertical"===o?s.vertical[r]:n[0],"horizontal"===o?s.horizontal[r]:n[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection),null==(s=e.rotate)&&(s=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-s:s,a.z2=1,a}},ee1aa:function(t,e,n){n=n("6d8b");var i=n.each,o=n.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var a,r,s,l,u,c,h=(n=n||{}).byIndex,d=n.stackedCoordDimension,p=!(!t||!t.get("stack"));return i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),p&&!t.isExtraCoord&&(h||a||!t.ordinalMeta||(a=t),r||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(r=t))})),!r||h||a||(h=!0),r&&(s="__\0ecstackresult",l="__\0ecstackedover",a&&(a.createInvertedIndices=!0),u=r.coordDim,n=r.type,c=0,i(e,(function(t){t.coordDim===u&&c++})),e.push({name:s,coordDim:u,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0}),c++,e.push({name:l,coordDim:l,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0})),{stackedDimension:r&&r.name,stackedByDimension:a&&a.name,isStackedByIndex:h,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee66:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};n=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group,o=(i.removeAll(),t.coordinateSystem),a=o.getRangeInfo();o=o.getOrient();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,a,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl;u=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(u)}},_renderLines:function(t,e,n,i){for(var o=this,a=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=r.lineWidth,u=(this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[],e.start),c=0;u.time<=e.end.time;c++){d(u.formatedDate);var h=(u=0===c?a.getDateInfo(e.start.y+"-"+e.start.m):u).date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(e){o._firstDayOfMonth.push(a.getDateInfo(e)),o._firstDayPoints.push(a.dataToRect([e],!1).tl),e=o._getLinePointsOfOneWeek(t,e,n),o._tlpoints.push(e[0]),o._blpoints.push(e[e.length-1]),s&&o._drawSplitline(e,r,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(t,e,n){return t=[t[0].slice(),t[t.length-1].slice()],n="horizontal"===n?0:1,t[0][n]=t[0][n]-e/2,t[1][n]=t[1][n]+e/2,t},_drawSplitline:function(t,e,n){t=new a.Polyline({z2:20,shape:{points:t},style:e}),n.add(t)},_getLinePointsOfOneWeek:function(t,e,n){for(var i=t.coordinateSystem,o=(e=i.getDateInfo(e),[]),a=0;a<7;a++){var r=i.getNextNDay(e.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(t,e){return"string"==typeof t&&t?r.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,o){e=e.slice();var a=["center","bottom"];"bottom"===i?(e[1]+=o,a=["center","top"]):"left"===i?e[0]-=o:"right"===i?(e[0]+=o,a=["center","top"]):e[1]-=o,o=0;return{rotation:o="left"!==i&&"right"!==i?o:Math.PI/2,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,n,i){var o,r,s,l,u,c;t=t.getModel("yearLabel");t.get("show")&&(o=t.get("margin"),r=(r=t.get("position"))||("horizontal"!==n?"top":"left"),s=((c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]])[0][0]+c[1][0])/2,u=(c[0][1]+c[1][1])/2,s={top:[s,c[l="horizontal"===n?0:1][1]],bottom:[s,c[1-l][1]],left:[c[1-l][0],u],right:[c[l][0],u]},c=e.start.y,+e.end.y>+e.start.y&&(c=c+"-"+e.end.y),l=t.get("formatter"),u={start:e.start.y,end:e.end.y,nameMap:c},e=this._formatterLabel(l,u),c=new a.Text({z2:30}),a.setTextStyle(c.style,t,{text:e}),c.attr(this._yearTextPositionControl(c,s[r],n,r,o)),i.add(c))},_monthTextPositionControl:function(t,e,n,i,o){var a="left",r="top",s=t[0];t=t[1];return"horizontal"===n?(t+=o,e&&(a="center"),"start"===i&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===i&&(a="right")),{x:s,y:t,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show"))for(var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=(t=i.get("align"),[this._tlpoints,this._blpoints]),h=(o.isString(r)&&(r=l[r.toUpperCase()]||[]),"start"===u?0:1),d="horizontal"===e?0:1,p=(s="start"===u?-s:s,"center"===t),f=0;fs&&(e[1-a]=e[a]+o.sign*s),e}},ef97:function(t,e,n){var i=n("3eba"),o=(n("217b"),n("f17f"),n("7f96")),a=n("87c3"),r=n("fdde");n("01ed"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(t,e,n){var i=n("3eba"),o=(n("2163"),n("6cd8"),n("bf9b"),n("7f96"));n=n("ca29");i.registerVisual(o("tree","circle")),i.registerLayout(n)},f123:function(t,e,n){n=n("9f82e");var i=n.prepareDataCoordInfo,o=n.getStackedOnPoint;t.exports=function(t,e,n,a,r,s,l,u){c=[],e.diff(t).add((function(t){c.push({cmd:"+",idx:t})})).update((function(t,e){c.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){c.push({cmd:"-",idx:t})})).execute();for(var c,h=c,d=[],p=[],f=[],g=[],m=[],y=[],v=[],x=i(r,e,l),_=i(s,t,u),b=0;bi)return;return 1}(t,e)))return a=e.mapDimension(t.dim),s={},i.each(t.getViewLabels(),(function(t){s[t.tickValue]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}function S(t,e,n){var i,o,a,r;return"cartesian2d"===t.type?(i=t.getBaseAxis().isHorizontal(),o=m(t,e,n),n.get("clip",!0)||(a=o.shape,r=Math.max(a.width,a.height),i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)),o):y(t,e,n)}n=p.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var o,a=t.coordinateSystem,r=this.group,s=t.getData(),u=t.getModel("lineStyle"),c=t.getModel("areaStyle"),h=s.mapArray(s.getItemLayout),d="polar"===a.type,p=this._coordSys,m=this._symbolDraw,y=this._polyline,x=this._polygon,M=this._lineGroup,I=t.get("animation"),A=!c.isEmpty(),T=c.get("origin"),C=function(t,e,n){if(!n.valueDim)return[];for(var i=[],o=0,a=e.count();oe[c-1].coord&&(e.reverse(),h.reverse()),e[0].coord-10),p=e[c-1].coord+10,f=p-d;return f<.001?"transparent":(i.each(e,(function(t){t.offset=(t.coord-d)/f})),e.push({offset:c?e[c-1].offset:.5,color:h[1]||"transparent"}),e.unshift({offset:c?e[0].offset:.5,color:h[0]||"transparent"}),c=new l.LinearGradient(0,0,0,0,e,!0),c[r]=d,c[r+"2"]=p,c)}}}(s,a)||s.getVisual("color"),y.useStyle(i.defaults(u.getLineStyle(),{fill:"none",stroke:p,lineJoin:"bevel"})),t.get("smooth"),n=_(t.get("smooth"));y.setShape({smooth:n,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x&&(D=s.getCalculationInfo("stackedOnSeries"),m=0,x.useStyle(i.defaults(c.getAreaStyle(),{fill:p,opacity:.7,lineJoin:"bevel"})),D&&(m=_(D.get("smooth"))),x.setShape({smooth:n,stackedOnSmooth:m,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})),this._data=s,this._coordSys=a,this._stackedOnPoints=C,this._points=h,this._step=d,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,i){var o=t.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&0<=a){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var o,a=t.getData(),r=u.queryDataIndex(a,i);null!=r&&0<=r?(o=a.getItemGraphicEl(r))&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay()):p.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,o,a){var r=this._polyline,u=this._polygon,c=t.hostModel,h=(e=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),a=e.current,e.stackedOnCurrent),d=e.next,p=e.stackedOnNext;if(o&&(a=b(e.current,n,o),h=b(e.stackedOnCurrent,n,o),d=b(e.next,n,o),p=b(e.stackedOnNext,n,o)),3e3y.width&&(v-=S-g,S=g,b=null),new i.Polygon({shape:{points:(u=f,c=0,M=S,h=m,d=_===x.length-1,p=void 0,p=[[d?u:u-5,c],[u+M,c],[u+M,c+h],[d?u:u-5,c+h]],0===_||p.splice(2,0,[u+M+5,c+h/2]),d||p.push([u,c+h/2]),p)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:a.curry(l,w)}));this.group.add(M),d=t,u=w,M.eventData={componentType:"series",componentSubType:"treemap",componentIndex:d.componentIndex,seriesIndex:d.componentIndex,seriesName:d.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:u&&u.dataIndex,name:u&&u.name},treePathInfo:u&&r(u,d)},f+=S+8}},remove:function(){this.group.removeAll()}},t.exports=s},f6ed:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel();n=n?"o"+n.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),i.each(e,(function(t,e){n=i.map(t,(function(t){return t.getData()})),o=t[0].get("mapValueCalculation"),a={},i.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){n="ec-"+t.getName(n),a[n]=a[n]||[],isNaN(e)||a[n].push(e)}))}));for(var n,o,a,r=n[0].map(n[0].mapDimension("value"),(function(t,e){for(var i="ec-"+n[0].getName(e),r=0,s=1/0,l=-1/0,u=a[i].length,c=0;cr[1]?-1:1,e=["start"===h?r[0]-e*l:"end"===h?r[1]+e*l:(r[0]+r[1])/2,I(h)?f.labelOffset+i*l:0],null!=(l=g.get("nameRotate"))&&(l=l*v/180),I(h)?n=b(f.rotation,null!=l?l:f.rotation,i):(n=function(t,e,n,i){var o;n=p(n-t.rotation),t=i[0]>i[1],i="start"===e&&!t||"start"!==e&&t;return e=d(n-v/2)?(o=i?"bottom":"top","center"):d(n-1.5*v)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*v&&v/2t.getWidth()||n<0||n>t.getHeight()}(t,e)){var i=t._zr,o=t._covers,a=C(t,e,n);if(!t._dragging)for(var r=0;re[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){t-=this.cx,e-=this.cy,t=t*t+e*e,e=this.r;var n=this.r0;return t<=e*e&&n*n<=t}}}},t.exports=i},fd63:function(t,e,n){var i=n("42e5"),o=n("6d8b").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a),s=!o(r)||r instanceof i?null:r,l=(r&&!s||(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r),(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."));r=t.get(l);if(n.setVisual("borderColor",r),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(a,!0);n=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=n&&t.setItemVisual(e,"borderColor",n)}:null}}}},fdde:function(t,e){function n(t,e){return Math.round(t.length/2)}var i={average:function(t){for(var e=0,n=0,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n>>1])<0?l=a:s=1+a;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0>>1);0>>1);a(t,e[n+c])<0?l=c:r=c+1}return l}function l(t,e){var n,o,a=i,l=0,u=(t.length,[]);function c(c){var h=n[c],d=o[c],p=n[c+1],f=o[c+1];o[c]=d+f,c===l-3&&(n[c+1]=n[c+2],o[c+1]=o[c+2]),l--,c=s(t[p],t,h,d,0,e);if(h+=c,0!=(d-=c)&&0!==(f=r(t[h+d-1],t,p,f,f-1,e)))if(d<=f){var g=h,m=d,y=(c=p,f),v=0;for(v=0;vo[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;1>=1;return t+e}(s);do{}while((u=o(t,i,r,e))e);n++);n=Math.min(n-1,x-2)}F=e;var i,o=A[(G=n)+1]-A[n];if(0!=o)if(R=(e-A[n])/o,v)if(N=T[n],E=T[0===n?n:n-1],z=T[x-2e&&(e=i.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;es&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:e,outerColors:n};function l(i,a){var r=o.getRepresentValue({interval:i});a=a||o.getValueState(r),r=t(r,a);i[0]===-1/0?n[0]=r:i[1]===1/0?n[1]=r:e.push({value:i[0],color:r},{value:i[1],color:r})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),o=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1);t.splitNumber=a;for(var r=(o[1]-o[0])/a;+r.toFixed(n)!==r&&n<5;)n++;t.precision=n,r=+r.toFixed(n),t.minOpen&&e.push({interval:[-1/0,o[0]],close:[0,0]});for(var l=0,u=o[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,e)}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},"07d7":function(t,e,n){var i=n("6d8b"),o=n("41ef"),a=n("607d"),r=n("65ed"),s=n("22d1"),l=n("eda2"),u=i.each,c=l.toCamelCase,h=["","-webkit-","-moz-","-o-"];function d(t){var e,n,a,r,d=[],p=t.get("transitionDuration"),f=t.get("backgroundColor"),g=t.getModel("textStyle"),m=t.get("padding");return p&&d.push((e="left "+p+"s "+(r="cubic-bezier(0.23, 1, 0.32, 1)")+",top "+p+"s "+r,i.map(h,(function(t){return t+"transition:"+e})).join(";"))),f&&(s.canvasSupported?d.push("background-Color:"+f):(d.push("background-Color:#"+o.toHex(f)),d.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(e){var n="border-"+e,i=c(n);i=t.get(i);null!=i&&d.push(n+":"+i+("color"===e?"":"px"))})),d.push((a=[],p=(n=g).get("fontSize"),(r=n.getTextColor())&&a.push("color:"+r),a.push("font:"+n.getFont()),p&&a.push("line-height:"+Math.round(3*p/2)+"px"),u(["decoration","align"],(function(t){var e=n.get(t);e&&a.push("text-"+t+":"+e)})),a.join(";"))),null!=m&&d.push("padding:"+l.normalizeCssArray(m).join("px ")+"px"),d.join(";")+";"}function p(t,e,n,i,o){e=e&&e.painter,n?(n=e&&e.getViewportRoot())&&r.transformLocalCoord(t,n,document.body,i,o):(t[0]=i,t[1]=o,(n=e&&e.getViewportRootOffset())&&(t[0]+=n.offsetLeft,t[1]+=n.offsetTop))}function f(t,e,n){if(s.wxa)return null;var i=document.createElement("div"),o=(i.domBelongToZr=!0,this.el=i,this._zr=e.getZr()),r=(n=this._appendToBody=n&&n.appendToBody,this._styleCoord=[0,0],p(this._styleCoord,o,n,e.getWidth()/2,e.getHeight()/2),(n?document.body:t).appendChild(i),this._container=t,this._show=!1,this._hideTimeout,this);i.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},i.onmousemove=function(t){var e,n;t=t||window.event,r._enterable||(e=o.handler,n=o.painter.getViewportRoot(),a.normalizeEvent(n,t,!0),e.dispatch("mousemove",t))},i.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}f.prototype={constructor:f,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t);t=t.style;"absolute"!==t.position&&"absolute"!==e.position&&(t.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el,n=this._styleCoord;e.style.cssText="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+d(t)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n=this._styleCoord;p(n,this._zr,this._appendToBody,t,e),t=this.el.style;t.left=n[0]+"px",t.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var t,e=this.el.clientWidth,n=this.el.clientHeight;return document.defaultView&&document.defaultView.getComputedStyle&&(t=document.defaultView.getComputedStyle(this.el))&&(e+=parseInt(t.borderLeftWidth,10)+parseInt(t.borderRightWidth,10),n+=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10)),{width:e,height:n}}},t.exports=f},"07e6":function(t,e,n){n("4d85"),n("a753")},"0817":function(t,e,n){var i=n("3eba");n("f306"),n("0046"),n("60d7"),n=n("ab71");i.registerVisual(n)},"085d":function(t,e,n){var i=n("3eba"),o=(n("bd92"),n("19e2"),n("eabf")),a=n("4c99");n=n("09b1");i.registerPreprocessor(o),i.registerVisual(a),i.registerLayout(n)},"08c3":function(t,e,n){function i(t,e,n,i){a.call(this,t,e,n),this.type=i||"value",this.model=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},o.inherits(i,a),t.exports=i},"09b1":function(t,e,n){var i=n("2306").subPixelOptimize,o=n("cccd"),a=n("3842").parsePercent,r=n("6d8b").retrieve2,s="undefined"!=typeof Float32Array?Float32Array:Array;n={seriesType:"candlestick",plan:o(),reset:function(t){var e,n,o=t.coordinateSystem,u=t.getData(),c=(e=u,p="category"===(p=(h=t).getBaseAxis()).type?p.getBandWidth():(p=p.getExtent(),Math.abs(p[1]-p[0])/e.count()),e=a(r(h.get("barMaxWidth"),p),p),n=a(r(h.get("barMinWidth"),1),p),null!=(h=h.get("barWidth"))?a(h,p):Math.max(Math.min(p/2,e),n)),h=["x","y"],d=u.mapDimension(h[0]),p=u.mapDimension(h[1],!0),f=p[0],g=p[1],m=p[2],y=p[3];if(u.setLayout({candleWidth:c,isSimpleBox:c<=1.3}),!(null==d||p.length<4))return{progress:t.pipelineContext.large?function(t,e){for(var n,i=new s(4*t.count),a=0,r=[],u=[];null!=(n=t.next());){var c=e.get(d,n),h=e.get(f,n),p=e.get(g,n),v=e.get(m,n),x=e.get(y,n);isNaN(c)||isNaN(v)||isNaN(x)?(i[a++]=NaN,a+=3):(i[a++]=l(e,n,h,p,g),r[0]=c,r[1]=v,n=o.dataToPoint(r,null,u),i[a++]=n?n[0]:NaN,i[a++]=n?n[1]:NaN,r[1]=x,n=o.dataToPoint(r,null,u),i[a++]=n?n[1]:NaN)}e.setLayout("largePoints",i)}:function(t,e){for(var n;null!=(n=t.next());){var a=e.get(d,n),r=e.get(f,n),s=e.get(g,n),u=e.get(m,n),h=e.get(y,n),p=Math.min(r,s),v=Math.max(r,s),x=(p=w(p,a),v=w(v,a),w(u,a)),_=w(h,a),b=[];S(b,v,0),S(b,p,1),b.push(M(_),M(v),M(x),M(p)),e.setItemLayout(n,{sign:l(e,n,r,s,g),initBaseline:(s=o&&a<=n+1){for(var u=[],c=0;c=o&&a<=h+1){for(var f=s.components,g=0,m=f.length,y=0,v=0;gn[s],m=[-p.x,-p.y],y=(e=(e||(m[r]=c.position[r]),[0,0]),[-f.x,-f.y]),v=i.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[r]+=n[s]-f[s]:e[r]+=f[s]+v),y[1-r]+=p[l]/2-f[l]/2,c.attr("position",m),h.attr("position",e),d.attr("position",y),m={x:0,y:0},m[s]=(g?n:p)[s],m[l]=Math.max(p[l],f[l]),m[u]=Math.min(0,f[u]+y[1-r]),h.__rectSize=n[s],g?((e={x:0,y:0})[s]=Math.max(n[s]-f[s]-v,0),e[l]=m[l],h.setClipPath(new o.Rect({shape:e})),h.__rectSize=e[s]):d.eachChild((function(t){t.attr({invisible:!0,silent:!0})})),p=this._getPageInfo(t);return null!=p.pageIndex&&o.updateProps(c,{position:p.contentPosition},g&&t),this._updatePageInfoView(t,p),m},_pageGo:function(t,e,n){t=this._getPageInfo(e)[t],null!=t&&n.dispatchAction({type:"legendScroll",scrollDataIndex:t,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup,o=(i.each(["pagePrev","pageNext"],(function(i){var o=null!=e[i+"DataIndex"];i=n.childOfName(i);i&&(i.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),i.cursor=o?"pointer":"default")})),n.childOfName("pageText")),a=t.get("pageFormatter"),r=e.pageIndex,s=(r=null!=r?r+1:0,e.pageCount);o&&a&&o.setStyle("text",i.isString(a)?a.replace("{current}",r).replace("{total}",s):a({current:r,total:s}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,a=s[o],r=l[o],u=(t=this._findTargetItemIndex(e),n.children()),c=(e=u[t],u.length),h=c?1:0,d={contentPosition:n.position.slice(),pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(e){n=y(e),d.contentPosition[o]=-n.s;for(var p=t+1,f=n,g=n,m=null;p<=c;++p)(!(m=y(u[p]))&&g.e>f.s+i||m&&!v(m,f.s))&&(f=g.i>f.i?g:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),g=m;for(p=t-1,f=n,g=n,m=null;-1<=p;--p)(m=y(u[p]))&&v(g,m.s)||!(f.i=e&&t.s<=e+i}},_findTargetItemIndex:function(t){var e,n;return this._showController?(this.getContentGroup().eachChild((function(i,o){i=i.__legendDataIndex,null==n&&null!=i&&(n=o),i===t&&(e=o)})),null!=e?e:n):0}});t.exports=u},"0f55":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.axisIndex=o}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},o.inherits(i,a),t.exports=i},"0f99":function(t,e,n){n("4e08").__DEV__;var i=n("e0d3"),o=i.makeInner,a=i.getDataItemValue,r=(i=n("6d8b"),i.createHashMap),s=i.each,l=i.map,u=i.isArray,c=i.isString,h=i.isObject,d=i.isTypedArray,p=i.isArrayLike,f=i.extend,g=(i.assert,n("ec6f")),m=(i=n("93d0"),i.SOURCE_FORMAT_ORIGINAL),y=i.SOURCE_FORMAT_ARRAY_ROWS,v=i.SOURCE_FORMAT_OBJECT_ROWS,x=i.SOURCE_FORMAT_KEYED_COLUMNS,_=i.SOURCE_FORMAT_UNKNOWN,b=i.SOURCE_FORMAT_TYPED_ARRAY,w=i.SERIES_LAYOUT_BY_ROW,S={Must:1,Might:2,Not:3},M=o();function I(t){var e;if(t)return e=r(),l(t,(function(t,n){var i;return null!=(t=f({},h(t)?t:{name:t})).name&&(t.name+="",null==t.displayName&&(t.displayName=t.name),(i=e.get(t.name))?t.name+="-"+i.count++:e.set(t.name,{count:1})),t}))}function A(t,e,n,i){if(null==i&&(i=1/0),e===w)for(var o=0;oo[0][1]&&(o[0][1]=a[0]),a[1]o[1][1]&&(o[1][1]=a[1])}return o&&v(o)}};function v(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=p},1111:function(t,e,n){var i=n("3eba"),o=(n("67a8"),n("4784"),n("7f96"));n=n("87c3");i.registerVisual(o("effectScatter","circle")),i.registerLayout(n("effectScatter"))},"133d":function(t,e,n){var i=n("6d8b"),o=n("e0d3");t.exports=function(t,e){var n,a,r=[],s=t.seriesIndex;return null==s||!(e=e.getSeriesByIndex(s))||(n=e.getData(),null==(s=o.queryDataIndex(n,t))||s<0||i.isArray(s))?{point:[]}:(t=n.getItemGraphicEl(s),a=e.coordinateSystem,e.getTooltipPosition?r=e.getTooltipPosition(s)||[]:a&&a.dataToPoint?r=a.dataToPoint(n.getValues(i.map(a.dimensions,(function(t){return n.mapDimension(t)})),s,!0))||[]:t&&((e=t.getBoundingRect().clone()).applyTransform(t.transform),r=[e.x+e.width/2,e.y+e.height/2]),{point:r,el:t})}},"1418d":function(t,e,n){var i=n("6d8b"),o=n("a15a").createSymbol,a=n("2306"),r=n("3842").parsePercent,s=n("c775f").getDefaultLabel;function l(t,e,n){a.Group.call(this),this.updateData(t,e,n)}n=l.prototype;var u=l.getSymbolSize=function(t,e){return t=t.getItemVisual(e,"symbolSize"),t instanceof Array?t.slice():[+t,+t]};function c(t){return[t[0]/2,t[1]/2]}function h(t,e){this.parent.drift(t,e)}n._createSymbol=function(t,e,n,i,a){this.removeAll(),e=e.getItemVisual(n,"color"),n=o(t,-1,-1,2,2,e,a),n.attr({z2:100,culling:!0,scale:c(i)}),n.drift=h,this._symbolType=t,this.add(n)},n.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},n.getSymbolPath=function(){return this.childAt(0)},n.getScale=function(){return this.childAt(0).scale},n.highlight=function(){this.childAt(0).trigger("emphasis")},n.downplay=function(){this.childAt(0).trigger("normal")},n.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},n.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},n.updateData=function(t,e,n){this.silent=!1;var i,o,r=t.getItemVisual(e,"symbol")||"circle",s=t.hostModel,l=u(t,e),h=r!==this._symbolType;h?(o=t.getItemVisual(e,"symbolKeepAspect"),this._createSymbol(r,t,e,l,o)):((i=this.childAt(0)).silent=!1,a.updateProps(i,{scale:c(l)},s,e)),this._updateCommon(t,e,l,n),h&&(i=this.childAt(0),r=n&&n.fadeIn,o={scale:i.scale.slice()},r&&(o.style={opacity:i.style.opacity}),i.scale=[0,0],r&&(i.style.opacity=0),a.initProps(i,o,s,e)),this._seriesModel=s};var d=["itemStyle"],p=["emphasis","itemStyle"],f=["label"],g=["emphasis","label"];function m(t,e){var n,i;this.incremental||this.useHoverLayer||("emphasis"===e?(n=(i=this.__symbolOriginalScale)[1]/i[0],i={scale:[Math.max(1.1*i[0],i[0]+3),Math.max(1.1*i[1],i[1]+3*n)]},this.animateTo(i,400,"elasticOut")):"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut"))}n._updateCommon=function(t,e,n,o){var l=this.childAt(0),u=t.hostModel,h=t.getItemVisual(e,"color"),y=("image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null}),o&&o.itemStyle),v=o&&o.hoverItemStyle,x=o&&o.symbolOffset,_=o&&o.labelModel,b=o&&o.hoverLabelModel,w=o&&o.hoverAnimation,S=o&&o.cursorStyle,M=(!o||t.hasItemOption?(y=(M=o&&o.itemModel?o.itemModel:t.getItemModel(e)).getModel(d).getItemStyle(["color"]),v=M.getModel(p).getItemStyle(),x=M.getShallow("symbolOffset"),_=M.getModel(f),b=M.getModel(g),w=M.getShallow("hoverAnimation"),S=M.getShallow("cursor")):v=i.extend({},v),l.style),I=t.getItemVisual(e,"symbolRotate"),A=(I=(l.attr("rotation",(I||0)*Math.PI/180||0),x&&l.attr("position",[r(x[0],n[0]),r(x[1],n[1])]),S&&l.attr("cursor",S),l.setColor(h,o&&o.symbolInnerColor),l.setStyle(y),t.getItemVisual(e,"opacity")),x=(null!=I&&(M.opacity=I),t.getItemVisual(e,"liftZ")),S=l.__z2Origin,null!=x?null==S&&(l.__z2Origin=l.z2,l.z2+=x):null!=S&&(l.z2=S,l.__z2Origin=null),o&&o.useNameLabel);a.setLabelStyle(M,v,_,b,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return A?t.getName(e):s(t,e)},isRectText:!0,autoColor:h}),l.__symbolOriginalScale=c(n),l.hoverStyle=v,l.highDownOnUpdate=w&&u.isAnimationEnabled()?m:null,a.setHoverStyle(l)},n.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,e&&e.keepLabel||(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},i.inherits(l,a.Group),t.exports=l},1466:function(t,e,n){var i=n("3eba"),o=n("2306"),a=n("6d8b"),r=n("a15a");n=i.extendChartView({type:"radar",render:function(t,e,n){var i=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n=t.getItemVisual(e,"symbol")||"circle",i=t.getItemVisual(e,"color");if("none"!==n)return t=t.getItemVisual(e,"symbolSize"),e=t=a.isArray(t)?t:[+t,+t],(t=r.createSymbol(n,-1,-1,2,2,i)).attr({style:{strokeNoScale:!0},z2:100,scale:[e[0]/2,e[1]/2]}),t}function h(e,n,i,a,r,s){i.removeAll();for(var l=0;l=e.r0}});t.exports=l},"1c5f":function(t,e,n){var i=n("401b");function o(t){t.eachEdge((function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=i.clone(t.node1.getLayout()),o=i.clone(t.node2.getLayout()),a=[n,o];+e&&a.push([(n[0]+o[0])/2-(n[1]-o[1])*e,(n[1]+o[1])/2-(o[0]-n[0])*e]),t.setLayout(a)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;e&&"view"!==e.type||((e=t.getGraph()).eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),o(e))},e.simpleLayoutEdge=o},"1ccf":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("fd27"),a=n("3842").parsePercent,r=n("697e"),s=r.createScaleByModel,l=r.niceScaleExtent,u=(r=n("2039"),n("ee1aa").getStackedDimension);function c(t,e){var n,o=this,a=o.getAngleAxis(),r=o.getRadiusAxis();a.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){var e;t.coordinateSystem===o&&(e=t.getData(),i.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,u(e,t))})),i.each(e.mapDimension("angle",!0),(function(t){a.scale.unionExtentFromData(e,u(e,t))})))})),l(a.scale,a.model),l(r.scale,r.model),"category"!==a.type||a.onBand||(t=a.getExtent(),n=360/a.scale.count(),a.inverse?t[1]+=n:t[1]-=n,a.setExtent(t[0],t[1]))}function h(t,e){var n;t.type=e.get("type"),t.scale=s(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType&&(t.inverse^=e.get("clockwise"),n=e.get("startAngle"),t.setExtent(n,n+(t.inverse?-360:360))),(e.axis=t).model=e}n("78f0"),n={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){r=new o(r);var s,l=(r.update=c,r.getRadiusAxis()),u=r.getAngleAxis(),d=t.findAxisModel("radiusAxis"),p=t.findAxisModel("angleAxis");h(l,d),h(u,p),l=r,d=e,p=(u=t).get("center"),s=d.getWidth(),d=d.getHeight(),l.cx=a(p[0],s),l.cy=a(p[1],d),p=l.getRadiusAxis(),l=Math.min(s,d)/2,null==(s=u.get("radius"))?s=[0,"100%"]:i.isArray(s)||(s=[0,s]),s=[a(s[0],l),a(s[1],l)],p.inverse?p.setExtent(s[1],s[0]):p.setExtent(s[0],s[1]),n.push(r),(t.coordinateSystem=r).model=t})),t.eachSeries((function(e){var n;"polar"===e.get("coordinateSystem")&&(n=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0],e.coordinateSystem=n.coordinateSystem)})),n}},r.register("polar",n)},"1e32":function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=n("ee1aa").isDimensionStacked;function r(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function s(t,e){return e.dim+t.model.componentIndex}t.exports=function(t,e,n){var l,u,c,h={},d=(l=i.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})),u={},i.each(l,(function(t,e){var n=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),l=(i=s(i,a),a.getExtent()),c=(a="category"===a.type?a.getBandWidth():Math.abs(l[1]-l[0])/n.count(),l=u[i]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},n=l.stacks,i=(u[i]=l,r(t)),n[i]||l.autoWidthCount++,n[i]=n[i]||{width:0,maxWidth:0},o(t.get("barWidth"),a)),h=(a=o(t.get("barMaxWidth"),a),t.get("barGap"));t=t.get("barCategoryGap");c&&!n[i].width&&(c=Math.min(l.remainedWidth,c),n[i].width=c,l.remainedWidth-=c),a&&(n[i].maxWidth=a),null!=h&&(l.gap=h),null!=t&&(l.categoryGap=t)})),c={},i.each(u,(function(t,e){c[e]={};var n,a=t.stacks,r=t.bandWidth,s=(r=o(t.categoryGap,r),o(t.gap,1)),l=t.remainedWidth,u=t.autoWidthCount,h=(l-r)/(u+(u-1)*s),d=(h=Math.max(h,0),i.each(a,(function(t,e){var n=t.maxWidth;n&&nthis._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,o,a){return this.addData(u.C,t,e,n,i,o,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,o,a):this._ctx.bezierCurveTo(t,e,n,i,o,a)),this._xi=o,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(u.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,o,a){return this.addData(u.A,t,e,n,n,i,o-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,o,a),this._xi=m(o)*n+t,this._yi=y(o)*n+e,this},arcTo:function(t,e,n,i,o){return this._ctx&&this._ctx.arcTo(t,e,n,i,o),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(u.R,t,e,n,i),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t;for(var e=this._dashIdx=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;nr||x(p-o)>s||c===l-1)&&(t.lineTo(d,p),i=d,o=p);break;case u.C:t.bezierCurveTo(a[c++],a[c++],a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.Q:t.quadraticCurveTo(a[c++],a[c++],a[c++],a[c++]),i=a[c-2],o=a[c-1];break;case u.A:var d=a[c++],p=a[c++],f=a[c++],g=a[c++],v=a[c++],_=a[c++],b=a[c++],w=a[c++],S=gs&&(s=t.depth)}));var l=t.expandAndCollapse&&0<=t.initialTreeDepth?t.initialTreeDepth:s;return a.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),a.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],i=e.getNodeByDataIndex(t),o=(e=i.getValue(),i.name);i&&i!==n;)o=i.parentNode.name+"."+o,i=i.parentNode;return a(o+(isNaN(e)||null==e?"":" : "+e))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=n},"216a":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("eda2"),r=n("944e"),s=(n=n("89e3"),n.prototype),l=Math.ceil,u=Math.floor,c=36e5,h=864e5,d=n.extend({type:"time",getLabel:function(t){var e=this._stepLvl;t=new Date(t);return a.formatTime(e[0],t,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent,n=(e[0]===e[1]&&(e[0]-=h,e[1]+=h),e[1]===-1/0&&e[0]===1/0&&(n=new Date,e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval),this._interval);t.fixMin||(e[0]=o.round(u(e[0]/n)*n)),t.fixMax||(e[1]=o.round(l(e[1]/n)*n))},niceTicks:function(t,e,n){var i=this._extent,a=i[1]-i[0],s=a/(t=t||10);null!=e&&s>>1;t[o][1]Math.abs(i[1])?0e[0]||t[1]<0||t[1]>e[1]||(e=((e=this._handleEnds)[0]+e[1])/2,t=this._updateInterval("all",t[0]-e),this._updateView(),t&&this._dispatchZoomAction())},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t,e,n;return g(this.getTargetCoordInfo(),(function(t){!n&&t.length&&(t=t[0].model.coordinateSystem,n=t.getRect&&t.getRect())})),n||(t=this.api.getWidth(),e=this.api.getHeight(),n={x:.2*t,y:.2*e,width:.6*t,height:.6*e}),n}});function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=x},"237f":function(t,e,n){var i=n("6d8b"),o=n("6179"),a=n("7368"),r=n("31d9"),s=n("b1d4"),l=n("2039"),u=n("3301");t.exports=function(t,e,n,c,h){for(var d=new a(c),p=0;p "+_)),y++)}return"cartesian2d"===(c=n.get("coordinateSystem"))||"polar"===c?f=u(t,n):(c=(c=l.get(c))&&"view"!==c.type&&c.dimensions||[],i.indexOf(c,"value")<0&&c.concat(["value"]),c=s(t,{coordDimensions:c}),(f=new o(c,n)).initData(t)),(c=new o(["value"],n)).initData(m,g),h&&h(f,c),r({mainData:f,struct:d,structAttr:"graph",datas:{node:f,edge:c},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},"23e0":function(t,e,n){var i=n("6d8b"),o=n("7887"),a=n("89e3"),r=n("3842"),s=n("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=(s=n("2039"),n("8c2a"));function h(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=i.map(t.getIndicatorModels(),(function(t,e){e="indicator_"+e;var n=new o(e,new("log"===t.get("axisType")?c:a));return n.name=t.get("name"),(n.model=t).axis=n,this.dimensions.push(e),n}),this),this.resize(t,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){return e=this._indicatorAxes[e].angle,[this.cx+t*Math.cos(e),this.cy-t*Math.sin(e)]},h.prototype.pointToData=function(t){for(var e,n=t[0]-this.cx,i=(t=t[1]-this.cy,Math.sqrt(n*n+t*t)),o=(n/=i,t/=i,Math.atan2(-t,n)),a=1/0,r=-1,s=0;sn[0]&&isFinite(f)&&isFinite(n[0]););else{t=o.getTicks().length-1;var p=(a"),e&&(t+=u(e),null!=n&&(t+=" : ")),null!=n&&(t+=u(i)),t},getData:function(){return this._data},setData:function(t){this._data=t}}),o.mixin(s,n),t.exports=s},"24b9":function(t,e,n){var i=n("f934"),o=(n=n("3842"),n.parsePercent),a=n.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){function n(t,e){t=r.get(s,t)||0;var n,i=a(t,[p,f],h,!0);switch(g){case"left":n=u.x;break;case"center":n=u.x+(u.width-i)/2;break;case"right":n=u.x+u.width-i}return[[n,e],[n+i,e]]}var r=t.getData(),s=r.mapDimension("value"),l=t.get("sort"),u=(d=e,i.getLayoutRect(t.getBoxLayoutParams(),{width:d.getWidth(),height:d.getHeight()})),c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),o=[],a="ascending"===e,r=0,s=t.count();re[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){o.prototype.completeVisualOption.apply(this,arguments),i.each(this.stateList,(function(t){t=this.option.controller[t].symbolSize,t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],o=n.getData();o.each(this.getDataDimension(o),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),i=[];function o(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,r=0,s=n.length,u=e.length;r=e.r0}});t.exports=n},"342d":function(t,e,n){function i(t,e){return(t[0]*e[1]n[1]?n[1]:t)=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/o*a+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=(t=t.toString()).indexOf("e");return 0c&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return-1e-4t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:o/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){var n,i,o,a;this._useHandle&&(n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,a=n.handleLabels,p([0,1],(function(r){var l=o[r];l.setStyle("fill",e.handlesColor[r]),l.position[1]=t[r],l=s.applyTransform(n.handleLabelPoints[r],s.getTransform(l,this.group));a[r].setStyle({x:l[0],y:l[1],text:i.formatValueText(this._dataInterval[r]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===r?"bottom":"top":"left",n.barGroup)})}),this))},_showIndicator:function(t,e,n,i){var o,a=this.visualMapModel,r=a.getExtent(),l=a.itemSize,u=[0,l[1]],c=(r=d(t,r,u,!0),u=this._shapes,u.indicator);c&&(c.position[1]=r,c.attr("invisible",!1),c.setShape("points",(o=!!n,i=i,r=r,l=l[1],o?[[0,-f(i,g(r,0))],[6,0],[0,f(i,g(l-r,0))]]:[[0,0],[5,-5],[5,5]])),o=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c.setStyle("fill",o),i=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),(l=u.indicatorLabel).attr("invisible",!1),r=this._applyTransform("left",u.barGroup),t=this._orient,l.setStyle({text:(n||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===t?r:"middle",textAlign:"horizontal"===t?"center":r,x:i[0],y:i[1]}))},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){var n;t._hovering=!0,t._dragging||(n=t.visualMapModel.itemSize,(e=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0))[1]=f(g(0,e[1]),n[1]),t._doHoverLinkToSeries(e[1],0<=e[0]&&e[0]<=n[0]))})).on("mouseout",(function(){t._hovering=!1,t._dragging||t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n,i,o,a=this.visualMapModel,r=a.itemSize;a.option.hoverLink&&(r=[0,r[1]],i=a.getExtent(),o=[(t=f(g(r[0],t),r[1]))-(n=function(t,e,n){var i=6;t=t.get("hoverLinkDataSize");return t&&(i=d(t,e,n,!0)/2),i}(a,i,r)),t+n],t=d(t,r,i,!0),i=[d(o[0],r,i,!0),d(o[1],r,i,!0)],o[0] ",n):this._showIndicator(t,t,"≈ ",n)),r=this._hoverLinkDataIndices,o=[],(e||v(a))&&(o=this._hoverLinkDataIndices=a.findTargetDataIndices(i)),t=h.compressBatches(r,o),this._dispatchHighDown("downplay",c.makeHighDownBatch(t[0],a)),this._dispatchHighDown("highlight",c.makeHighDownBatch(t[1],a)))},_hoverLinkFromSeriesMouseOver:function(t){t=t.target;var e,n=this.visualMapModel;t&&null!=t.dataIndex&&(e=this.ecModel.getSeriesByIndex(t.seriesIndex),n.isTargetSeries(e)&&(n=(e=e.getData(t.dataType)).get(n.getDataDimension(e),t.dataIndex,!0),isNaN(n)||this._showIndicator(n,n)))},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,o){return e=s.getTransform(e,o?null:this.group),s[i.isArray(t)?"applyTransform":"transformDirection"](t,e,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(t,e,n,i){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){a.stop(t.event)},ondragend:i})}function v(t){var e=t.get("hoverLinkOnHandle");return null==e?t.get("realtime"):e}function x(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},"3eba":function(t,e,n){n("4e08").__DEV__;var i=n("697e7"),o=n("6d8b"),a=n("41ef"),r=n("22d1"),s=n("04f6"),l=n("1fab"),u=n("7e63"),c=n("843e"),h=n("2039"),d=n("ca98"),p=n("fb05"),f=n("d15d"),g=n("6cb7"),m=n("4f85"),y=n("b12f"),v=n("e887"),x=n("2306"),_=n("e0d3"),b=n("88b3").throttle,w=n("fd63"),S=n("b809"),M=n("998c"),I=n("69ff"),A=n("c533"),T=n("f219"),C=(n("0352"),n("ec34")),D=o.assert,L=o.each,P=o.isFunction,k=o.isObject,O=g.parseClassType,R={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},E="__flagInMainProcess",N="__optionUpdated",z=/^[a-zA-Z0-9_]+$/;function B(t,e){return function(n,i,o){!e&&this._disposed?this.id:(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,i,o))}}function V(){l.call(this)}function G(t,e,n){n=n||{},"string"==typeof e&&(e=ct[e]),this.id,this.group,this._dom=t,t=this._zr=i.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height}),this._throttledZrFlush=b(o.bind(t.flush,t),17),(e=o.clone(e))&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var a,r,u;e=this._api=(n=(a=this)._coordSysMgr,o.extend(new c(a),{getCoordinateSystems:o.bind(n.getCoordinateSystems,n),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function d(t,e){return t.__prio-e.__prio}s(ut,d),s(rt,d),this._scheduler=new I(this,e,rt,ut),l.call(this,this._ecEventProcessor=new it),this._messageCenter=new V,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],t.animation.on("frame",this._onframe,this),u=this,(r=t).on("rendered",(function(){u.trigger("rendered"),!r.animation.isFinished()||u[N]||u._scheduler.unfinished||u._pendingActions.length||u.trigger("finished")})),o.setAsPrimitive(this)}V.prototype.on=B("on",!0),V.prototype.off=B("off",!0),V.prototype.one=B("one",!0),o.mixin(V,l);var F=G.prototype;function H(t,e,n){if(this._disposed)this.id;else{var i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a'+t.dom+""})),y.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()):(t.connectedBackgroundColor&&y.add(new x.Rect({shape:{x:0,y:0,width:f,height:g},style:{fill:t.connectedBackgroundColor}})),L(d,(function(t){t=new x.Image({style:{x:t.left*p-l,y:t.top*p-u,image:t.dom}}),y.add(t)})),y.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png")))):this.getDataURL(t)},F.convertToPixel=o.curry(H,"convertToPixel"),F.convertFromPixel=o.curry(H,"convertFromPixel"),F.containPixel=function(t,e){var n,i;if(!this._disposed)return n=this._model,t=_.parseFinder(n,t),o.each(t,(function(t,n){0<=n.indexOf("Models")&&o.each(t,(function(t){var o=t.coordinateSystem;o&&o.containPoint?i|=!!o.containPoint(e):"seriesModels"===n&&(o=this._chartsMap[t.__viewId])&&o.containPoint&&(i|=o.containPoint(e,t))}),this)}),this),!!i;this.id},F.getVisual=function(t,e){var n=this._model;n=(t=_.parseFinder(n,t,{defaultMainType:"series"})).seriesModel.getData(),t=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=t?n.getItemVisual(t,e):n.getVisual(e)},F.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},F.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var W={prepareAndUpdate:function(t){U(this),W.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,o=this._coordSysMgr,s=this._scheduler;e&&(s.restoreData(e,t),s.performSeriesTasks(e),o.create(e,n),s.performDataProcessorTasks(e,t),Y(this,e),o.update(e,n),$(e),s.performVisualTasks(e,t),J(this,e,n,t),o=e.get("backgroundColor")||"transparent",r.canvasSupported?i.setBackgroundColor(o):(s=a.parse(o),o=a.stringify(s,"rgb"),0===s[3]&&(o="transparent")),tt(e,n))},updateTransform:function(t){var e,n,i=this._model,a=this,r=this._api;i&&(e=[],i.eachComponent((function(n,o){var s=a.getViewOfComponentModel(o);s&&s.__alive&&(!s.updateTransform||(o=s.updateTransform(o,i,r,t))&&o.update)&&e.push(s)})),n=o.createHashMap(),i.eachSeries((function(e){var o=a._chartsMap[e.__viewId];(!o.updateTransform||(o=o.updateTransform(e,i,r,t))&&o.update)&&n.set(e.uid,1)})),$(i),this._scheduler.performVisualTasks(i,t,{setDirty:!0,dirtyMap:n}),Q(a,i,0,t,n),tt(i,this._api))},updateView:function(t){var e=this._model;e&&(v.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),J(this,this._model,this._api,t),tt(e,this._api))},updateVisual:function(t){W.update.call(this,t)},updateLayout:function(t){W.update.call(this,t)}};function U(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),K(t,"component",e,n),K(t,"chart",e,n),n.plan()}function Z(t,e,n,i,a){var r,s,l=t._model;function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,l,t._api,n)}i?((r={})[i+"Id"]=n[i+"Id"],r[i+"Index"]=n[i+"Index"],r[i+"Name"]=n[i+"Name"],r={mainType:i,query:r},a&&(r.subType=a),null!=(s=n.excludeSeriesId)&&(s=o.createHashMap(_.normalizeToArray(s))),l&&l.eachComponent(r,(function(e){s&&null!=s.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)):L(t._componentsViews.concat(t._chartsViews),u)}function Y(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))}function j(t,e){var n,i=t.type,a=t.escapeConnect,r=ot[i],s=r.actionInfo,l=(u=(s.update||"update").split(":")).pop(),u=null!=u[0]&&O(u[0]),c=(this[E]=!0,[t]),h=!1,d=(t.batch&&(h=!0,c=o.map(t.batch,(function(e){return(e=o.defaults(o.extend({},e),t)).batch=null,e}))),[]),p="highlight"===i||"downplay"===i;L(c,(function(t){(n=(n=r.action(t,this._model,this._api))||o.extend({},t)).type=s.event||n.type,d.push(n),p?Z(this,l,t,"series"):u&&Z(this,l,t,u.main,u.sub)}),this),"none"===l||p||u||(this[N]?(U(this),W.update.call(this,t),this[N]=!1):W[l].call(this,t)),n=h?{type:s.event||i,escapeConnect:a,batch:d}:d[0],this[E]=!1,e||this._messageCenter.trigger(n.type,n)}function X(t){for(var e=this._pendingActions;e.length;){var n=e.shift();j.call(this,n,t)}}function q(t){t||this.trigger("updated")}function K(t,e,n,i){for(var o="component"===e,a=o?t._componentsViews:t._chartsViews,r=o?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ul.get("hoverLayerThreshold")&&!r.node&&l.eachSeries((function(t){t.preventUsingHoverLayer||(t=s._chartsMap[t.__viewId]).__alive&&t.group.traverse((function(t){t.useHoverLayer=!0}))})),S(t._zr.dom,e)}function tt(t,e){L(lt,(function(n){n(t,e)}))}F.resize=function(t){var e;this._disposed?this.id:(this._zr.resize(t),e=this._model,this._loadingFX&&this._loadingFX.resize(),e&&(e=e.resetOption("media"),t=t&&t.silent,this[E]=!0,e&&U(this),W.update.call(this),this[E]=!1,X.call(this,t),q.call(this,t)))},F.showLoading=function(t,e){this._disposed?this.id:(k(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ht[t]&&(t=ht[t](this._api,e),e=this._zr,this._loadingFX=t,e.add(t)))},F.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},F.makeActionFromEvent=function(t){var e=o.extend({},t);return e.type=at[t.type],e},F.dispatchAction=function(t,e){this._disposed?this.id:(k(e)||(e={silent:!!e}),ot[t.type]&&this._model&&(this[E]?this._pendingActions.push(t):(j.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&r.browser.weChat&&this._throttledZrFlush(),X.call(this,e.silent),q.call(this,e.silent))))},F.appendData=function(t){var e;this._disposed?this.id:(e=t.seriesIndex,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0)},F.on=B("on",!1),F.off=B("off",!1),F.one=B("one",!1);var et=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function nt(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))}))}function it(){this.eventInfo}F._initEvents=function(){L(et,(function(t){function e(e){var n,i,a,r=this.getModel(),s=e.target;"globalout"===t?n={}:s&&null!=s.dataIndex?n=(a=s.dataModel||r.getSeriesByIndex(s.seriesIndex))&&a.getDataParams(s.dataIndex,s.dataType,s)||{}:s&&s.eventData&&(n=o.extend({},s.eventData)),n&&(a=n.componentType,i=n.componentIndex,"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",i=n.seriesIndex),a=(r=a&&null!=i&&r.getComponent(a,i))&&this["series"===r.mainType?"_chartsMap":"_componentsMap"][r.__viewId],n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:s,packedEvent:n,model:r,view:a},this.trigger(t,n))}e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),L(at,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},F.isDisposed=function(){return this._disposed},F.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},F.dispose=function(){var t,e;this._disposed?this.id:(this._disposed=!0,_.setAttribute(this.getDom(),mt,""),t=this._api,e=this._model,L(this._componentsViews,(function(n){n.dispose(e,t)})),L(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete dt[this.id])},o.mixin(G,l),it.prototype={constructor:it,normalizeQuery:function(t){var e,n,i,a={},r={},s={};return o.isString(t)?(e=O(t),a.mainType=e.main||null,a.subType=e.sub||null):(n=["Index","Name","Id"],i={name:1,dataIndex:1,dataType:1},o.each(t,(function(t,e){for(var o=!1,l=0;l>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,1),f(t,e),e):void c(e,0,0,0,1):7===n.length?0<=(o=parseInt(n.substr(1),16))&&o<=16777215?(c(e,(16711680&o)>>16,(65280&o)>>8,255&o,1),f(t,e),e):void c(e,0,0,0,1):void 0;var o=n.indexOf("("),a=n.indexOf(")");if(-1!==o&&a+1===n.length){var l=n.substr(0,o),u=n.substr(o+1,a-(o+1)).split(","),p=1;switch(l){case"rgba":if(4!==u.length)return void c(e,0,0,0,1);p=s(u.pop());case"rgb":return 3!==u.length?void c(e,0,0,0,1):(c(e,r(u[0]),r(u[1]),r(u[2]),p),f(t,e),e);case"hsla":return 4!==u.length?void c(e,0,0,0,1):(u[3]=s(u[3]),m(u,e),f(t,e),e);case"hsl":return 3!==u.length?void c(e,0,0,0,1):(m(u,e),f(t,e),e);default:return}}c(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),a=s(t[2]);i=a<=.5?a*(i+1):a+i-a*i,a=2*a-i;return c(e=e||[],o(255*l(a,i,n+1/3)),o(255*l(a,i,n)),o(255*l(a,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){var i,r,s;if(e&&e.length&&0<=t&&t<=1)return n=n||[],t*=e.length-1,i=Math.floor(t),s=Math.ceil(t),r=e[i],e=e[s],n[0]=o(u(r[0],e[0],s=t-i)),n[1]=o(u(r[1],e[1],s)),n[2]=o(u(r[2],e[2],s)),n[3]=a(u(r[3],e[3],s)),n}function v(t,e,n){var i,r,s,l;if(e&&e.length&&0<=t&&t<=1)return t*=e.length-1,i=Math.floor(t),r=Math.ceil(t),l=g(e[i]),e=g(e[r]),l=_([o(u(l[0],e[0],s=t-i)),o(u(l[1],e[1],s)),o(u(l[2],e[2],s)),a(u(l[3],e[3],s))],"rgba"),n?{color:l,leftIndex:i,rightIndex:r,value:t}:l}n=y;var x=v;function _(t,e){var n;if(t&&t.length)return n=t[0]+","+t[1]+","+t[2],"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}e.parse=g,e.lift=function(t,e){var n=g(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255=p[0]&&t<=p[1]}):(s=e,l=n.getPieceList(),u=n.option.selected,c=s[1]-s[0],h=(l=r.map(l,(function(t){return{interval:[(t.interval[0]-s[0])/c,(t.interval[1]-s[0])/c]}}))).length,d=0,function(t){for(var e=d;e=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),i=[],o="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[o]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-o]=0==o?n.y+n.height/2:n.x+n.width/2,i}},t.exports=s},"4c86":function(t,e,n){var i=n("6d8b").each,o=n("bda7"),a=n("e0d3").makeInner,r=n("320a"),s=n("1792"),l=n("6bd4"),u=n("a7f2"),c=a();t.exports={load:function(t,e,n){var a=c(e).parsed;if(a)return a;var h,d=e.specialAreas||{};a=e.geoJSON;try{h=a?o(a,n):[]}catch(e){throw new Error("Invalid geoJson format\n"+e.message)}return r(t,h),i(h,(function(e){var n=e.name;s(t,e),l(t,e),u(t,e),n=d[n];n&&e.transformTo(n.left,n.top,n.width,n.height)})),c(e).parsed={regions:h,boundingRect:function(t){for(var e,n=0;n"+s(i+" : "+n)},getTooltipPosition:function(t){var e;if(null!=t)return t=this.getData().getName(t),(t=(e=this.coordinateSystem).getRegion(t))&&e.dataToPoint(t.center)},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});i.mixin(n,r),t.exports=n},"4e47":function(t,e,n){var i=n("6d8b"),o=n("2306"),a="none",r="ancestor",s="self";function l(t,e,n){o.Group.call(this);var i=new o.Sector({z2:2}),a=(i.seriesIndex=e.seriesIndex,new o.Text({z2:4,silent:t.getModel("label").get("silent")}));function r(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(i),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",r).on("normal",s).on("mouseover",r).on("mouseout",s)}n=l.prototype,n.updateData=function(t,e,n,a,r){(this.node=e).piece=this,a=a||this._seriesModel,r=r||this._ecModel;var s,l=this.childAt(0),u=(l.dataIndex=e.dataIndex,e.getModel()),c=e.getLayout(),h=i.extend({},c),d=(h.label=null,function(t,e){var n=t.getVisual("color"),o=t.getVisual("visualMeta");if(o&&0!==o.length||(n=null),o=t.getModel("itemStyle").get("color"),!o){if(n)return n;if(0===t.depth)return e.option.color[0];n=e.option.color.length,o=e.option.color[function(t){for(var e=t;1Math.PI/2?"right":"left"):p&&"center"!==p?"left"===p?(a=n.r0+d,u>Math.PI/2&&(p="right")):"right"===p&&(a=n.r-d,u>Math.PI/2&&(p="left")):(a=(n.r+n.r0)/2,p="center"),c.attr("style",{text:t,textAlign:p,textVerticalAlign:f("verticalAlign")||"middle",opacity:f("opacity")}),h=a*r+n.cx,d=a*e+n.cy,c.attr("position",[h,d]),t=f("rotate"),p=0;function f(t){var e=l.get(t);return null==e?s.get(t):e}"radial"===t?(p=-u)<-Math.PI/2&&(p+=Math.PI):"tangential"===t?(p=Math.PI/2-u)>Math.PI/2?p-=Math.PI:p<-Math.PI/2&&(p+=Math.PI):"number"==typeof t&&(p=t*Math.PI/180),c.attr("rotation",p)},n._initEvents=function(t,e,n,i){function o(){r.onEmphasis(i)}function a(){r.onNormal()}t.off("mouseover").off("mouseout").off("emphasis").off("normal");var r=this;n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){r.onDownplay()})).on("highlight",(function(){r.onHighlight()}))},i.inherits(l,o.Group),t.exports=l},"4e9f":function(t,e,n){var i=n("22d1"),o=n("29a8");n=n("2145"),o=o.toolbox.saveAsImage;function a(t){this.model=t}a.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},a.prototype.unusable=!i.canvasSupported,a.prototype.onclick=function(t,e){var n=this.model,o=n.get("name")||t.get("title.0.text")||"echarts",a="svg"===e.getZr().painter.getType()?"svg":n.get("type",!0)||"png";e=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||i.browser.ie||i.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var r=atob(e.split(",")[1]),s=r.length,l=new Uint8Array(s);s--;)l[s]=r.charCodeAt(s);t=new Blob([l]),window.navigator.msSaveOrOpenBlob(t,o+"."+a)}else t=n.get("lang"),n='',window.open().document.write(n);else t=document.createElement("a"),t.download=o+"."+a,t.target="_blank",t.href=e,n=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1}),t.dispatchEvent(n)},n.register("saveAsImage",a),t.exports=a},"4f85":function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=n("22d1"),a=n("eda2"),r=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n("e0d3"),h=n("6cb7"),d=n("e47b"),p=(a=n("38a2"),n("f934")),f=p.getLayoutParams,g=p.mergeLayoutParam,m=n("f47d").createTask,y=(p=n("0f99"),p.prepareSource),v=p.getSource,x=n("2b17").retrieveRawValue,_=c.makeInner();p=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,i){this.seriesIndex=this.componentIndex,this.dataTask=m({count:w,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),y(this),t=this.getInitialData(t,n),I(t,this),this.dataTask.context.data=t,_(this).dataBeforeProcessed=t,b(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,o=n?f(t):{},a=this.subType;h.hasClass(a),i.merge(t,e.getTheme().get(this.subType)),i.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&g(t,o,n)},mergeOption:function(t,e){t=i.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&g(this.option,t,n),y(this),n=this.getInitialData(t,e);I(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,_(this).dataBeforeProcessed=n,b(this)},fillDataTextStyle:function(t){if(t&&!i.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===o,p={},f=0;function g(t){return{renderMode:o,content:s(l(t)),style:p}}var m,y,v=this.getData(),_=v.mapDimension("defaultedTooltip",!0),b=_.length,w=this.getRawValue(t),S=i.isArray(w),M=v.getItemVisual(t,"color");function I(t,n){var i,c,h;n=v.getDimensionInfo(n);n&&!1!==n.otherDims.tooltip&&(i=n.type,c="sub"+a.seriesIndex+"at"+f,h="string"==typeof(h=u({color:M,type:"subItem",renderMode:o,markerId:c}))?h:h.content,(h=(m?h+s(n.displayName||"-")+": ":"")+s("ordinal"===i?t+"":"time"===i?e?"":r("yyyy/MM/dd hh:mm:ss",t):l(t)))&&y.push(h),d&&(p[c]=M,++f))}M=(M=i.isObject(M)&&M.colorStops?(M.colorStops[0]||{}).color:M)||"transparent";var A=(1":"",A+=y.join(A||", "),{renderMode:o,content:A,style:p}):g(b?x(v,t,_[0]):S?w[0]:w)).content;b=a.seriesIndex+"at"+f,_=u({color:M,type:"item",renderMode:o,markerId:b}),p[b]=M,++f,S=v.getName(t),w=this.name,w=(w=c.isNameSpecified(this)?w:"")?s(w)+(e?": ":h):"",b="string"==typeof _?_:_.content;return{html:e?b+w+A:w+b+(S?s(S)+": "+A:A),markers:p}},isAnimationEnabled:function(){var t;return!o.node&&!((t=this.getShallow("animation"))&&this.getData().count()>this.getShallow("animationThreshold"))&&t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel;return d.getColorFromPalette.call(this,t,e,n)||i.getColorFromPalette(t,e,n)},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function b(t){var e,n,o=t.name;c.isNameSpecified(t)||(t.name=(t=(e=(t=t).getRawData()).mapDimension("seriesName",!0),n=[],i.each(t,(function(t){t=e.getDimensionInfo(t),t.displayName&&n.push(t.displayName)})),n.join(" ")||o))}function w(t){return t.model.getRawData().count()}function S(t){return t=t.model,t.setData(t.getRawData().cloneShallow()),M}function M(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function I(t,e){i.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,i.curry(A,e))}))}function A(t){t=T(t),t&&t.setOutputEnd(this.count())}function T(t){var e,n=(t.ecModel||{}).scheduler;n=n&&n.getPipeline(t.uid);if(n)return(n=n.currentTask)&&(e=n.agentStubMap)?e.get(t.uid):n}i.mixin(p,a),i.mixin(p,d),t.exports=p},"4fac":function(t,e,n){var i=n("620b"),o=n("9c2c");e.buildPath=function(t,e,n){var a=e.points,r=e.smooth;if(a&&2<=a.length){if(r&&"spline"!==r)for(var s=o(a,r,n,e.smoothConstraint),l=(t.moveTo(a[0][0],a[0][1]),a.length),u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}else{"spline"===r&&(a=i(a,n)),t.moveTo(a[0][0],a[0][1]);u=1;for(var p=a.length;ux[1]&&(x[1]=v)}e&&(this._nameList[d]=e[p])}this._rawCount=this._count=l,this._extent={},S(this)},n._initDataFromProvider=function(t,e){if(!(e<=t)){for(var n,i=this._chunkSize,o=this._rawData,a=this._storage,r=this.dimensions,s=r.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},p=this._chunkCount,f=0;fT[1]&&(T[1]=C)}o.pure||(v=u[y],m&&null==v&&(null!=m.name?u[y]=v=m.name:null!=n&&(x=a[_=r[n]][b])&&(v=x[M],(x=l[_].ordinalMeta)&&x.categories.length&&(v=x.categories[v]))),null==(_=null==m?null:m.id)&&null!=v&&(d[v]=d[v]||0,0=this._rawCount||t<0)){if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;o=a-1}}}return-1},n.indicesOfNearest=function(t,e,n){var i=[];if(this._storage[t]){null==n&&(n=1/0);for(var o=1/0,a=-1,r=0,s=0,l=this.count();st[C][1])&&(T=!1)}T&&(a[r++]=this.getRawIndex(m))}return rb[1]&&(b[1]=_)}}}return o},n.downSample=function(t,e,n,i){for(var o=D(this,[t]),a=o._storage,r=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=o._rawExtent[t],d=new(y(this))(u),p=0,f=0;fh[1]&&(h[1]=x),d[p++]=_}return o._count=p,o._indices=d,o.getRawIndex=A,o},n.getItemModel=function(t){var e=this.hostModel;return new o(this.getRawDataItem(t),e,e&&e.ecModel)},n.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return T(t,e)}),(function(t){return T(e,t)}))},n.getVisual=function(t){var e=this._visual;return e&&e[t]},n.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},n.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},n.getLayout=function(t){return this._layout[t]},n.getItemLayout=function(t){return this._itemLayouts[t]},n.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?i.extend(this._itemLayouts[t]||{},e):e},n.clearItemLayouts=function(){this._itemLayouts.length=0},n.getItemVisual=function(t,e,n){return t=this._itemVisuals[t],t=t&&t[e],null!=t||n?t:this.getVisual(e)},n.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},o=this.hasItemVisual;if(this._itemVisuals[t]=i,d(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],o[a]=!0);else i[e]=n,o[e]=!0},n.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}},n.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(P,e)),this._graphicEls[t]=e},n.getItemGraphicEl=function(t){return this._graphicEls[t]},n.eachItemGraphicEl=function(t,e){i.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},n.cloneShallow=function(t){var e;return t||(e=i.map(this.dimensions,this.getDimensionInfo,this),t=new b(e,this.hostModel)),t._storage=this._storage,_(t,this),this._indices?(e=this._indices.constructor,t._indices=new e(this._indices)):t._indices=null,t.getRawIndex=t._indices?A:I,t},n.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(i.slice(arguments)))})},n.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],n.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=b},"620b":function(t,e,n){var i=n("401b").distance;function o(t,e,n,i,o,a,r){return t=.5*(n-t),i=.5*(i-e),(2*(e-n)+t+i)*r+(-3*(e-n)-2*t-i)*a+t*o+e}t.exports=function(t,e){for(var n=t.length,a=[],r=0,s=1;s>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",o[u]+":0",i[1-l]+":auto",o[1-u]+":auto",""].join("!important;"),t.appendChild(r),n.push(r)}}return n}(e,u),u,s);if(e)return e(t,n,r),!0}return!1}function l(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,i,o){return s(r,e,i,o,!0)&&s(t,n,r[0],r[1])},e.transformCoordWithViewport=s,e.isCanvasEl=l},6679:function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("cd33"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&o.fixValue(t),a.superApply(this,"render",arguments),r(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,i,o){r(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function r(t,e,n,i,r,l){var u,c=a.getAxisPointerClass(t.axisPointerClass);c&&((u=o.getAxisPointerModel(e))?(t._axisPointer||(t._axisPointer=new c)).render(e,u,i,l):s(t,i))}function s(t,e,n){var i=t._axisPointer;i&&i.dispose(e,n),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]},t.exports=a},"66a4":function(t,e,n){var i=n("6d8b");function o(t){var e=t.itemStyle||(t.itemStyle={}),n=(e=e.emphasis||(e.emphasis={}),t=t.label||t.label||{},t.normal||(t.normal={})),o={normal:1,emphasis:1};i.each(t,(function(t,e){o[e]||a(n,e)||(n[e]=t)})),e.label&&!a(t,"emphasis")&&(t.emphasis=e.label,delete e.label)}function a(t,e){return t.hasOwnProperty(e)}t.exports=function(t){t=t&&t.timeline,i.isArray(t)||(t=t?[t]:[]),i.each(t,(function(t){var e,n;t&&(e=(t=t).type,(n={number:"value",time:"time"})[e]&&(t.axisType=n[e],delete t.type),o(t),a(t,"controlPosition")&&(a(n=t.controlStyle||(t.controlStyle={}),"position")||(n.position=t.controlPosition),"none"!==n.position||a(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition),i.each(t.data||[],(function(t){i.isObject(t)&&!i.isArray(t)&&(!a(t,"value")&&a(t,"name")&&(t.value=t.name),o(t))})))}))}},"66fc":function(t,e,n){function i(t,e,n,i,o){a.call(this,t,e,n),this.type=i||"value",this.position=o||"bottom",this.orient=null}var o=n("6d8b"),a=n("84ce");i.prototype={constructor:i,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},o.inherits(i,a),t.exports=i},"675a":function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,o=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=o[n]);for(var a=0;an.blockIndex?n.step:null,modBy:null!=(t=i&&i.modDataCount)?Math.ceil(t/e):null,modDataCount:t}},n.getPipeline=function(t){return this._pipelineMap.get(t)},n.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),o=(e=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,t.get("large")&&i>=t.get("largeThreshold"));i="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:e,modDataCount:i,large:o}},n.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var i=t.getProgressive(),o=t.uid;n.set(o,{id:o,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),I(e,t,t.dataTask)}))},n.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;o(this._allHandlers,(function(i){var a,r,l,c,h,d,p,f,g,v,w,S,A,T,C,D=t.get(i.uid)||t.set(i.uid,[]);function L(t){var e=t.uid;e=h.get(e)||h.set(e,u({plan:_,reset:b,count:M}));e.context={model:t,ecModel:l,api:c,useClearVisual:r.isVisual&&!r.isLayout,plan:r.plan,reset:r.reset,scheduler:a},I(a,t,e)}function P(t){var e=t.uid,n=w.get(e);n||(n=w.set(e,u({reset:y,onDirty:x})),v.dirty()),n.context={model:t,overallProgress:A,modifyOutputEnd:T},n.agent=v,n.__block=A,I(p,t,n)}i.reset&&(a=this,r=i,l=e,c=n,h=(f=D).seriesTaskMap||(f.seriesTaskMap=s()),f=r.seriesType,g=r.getTargetSeries,r.createOnAllSeries?l.eachRawSeries(L):f?l.eachRawSeriesByType(f,L):g&&g(l,c).each(L),d=a._pipelineMap,h.each((function(t,e){d.get(e)||(t.dispose(),h.removeKey(e))}))),i.overallReset&&(p=this,f=i,g=e,i=n,(v=(D=D).overallTask=D.overallTask||u({reset:m})).context={ecModel:g,api:i,overallReset:f.overallReset,scheduler:p},w=v.agentStubMap=v.agentStubMap||s(),D=f.seriesType,S=f.getTargetSeries,A=!0,T=f.modifyOutputEnd,D?g.eachRawSeriesByType(D,P):S?S(g,i).each(P):(A=!1,o(g.getSeries(),P)),C=p._pipelineMap,w.each((function(t,e){C.get(e)||(t.dispose(),v.dirty(),w.removeKey(e))})))}),this)},n.prepareView=function(t,e,n,i){var o=t.renderTask,a=o.context;a.model=e,a.ecModel=n,a.api=i,o.__block=!t.incrementalPrepareRender,I(this,e,o)},n.performDataProcessorTasks=function(t,e){f(this,this._dataProcessorHandlers,t,e,{block:!0})},n.performVisualTasks=function(t,e,n){f(this,this._visualHandlers,t,e,n)},n.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},n.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}}while(e=e.getUpstream())}))};var g=n.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function m(t){t.overallReset(t.ecModel,t.api,t.payload)}function y(t,e){return t.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function _(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function b(t){return t.useClearVisual&&t.data.clearAllVisual(),t=t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload)),1e);s++);s=Math.min(s-1,o-2)}r.lerp(t.position,n[s],n[s+1],(e-i[s])/(i[s+1]-i[s])),a=n[s+1][0]-n[s][0],n=n[s+1][1]-n[s][1],t.rotation=-Math.atan2(n,a)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},o.inherits(s,a),t.exports=s},"6acf":function(t,e,n){var i=n("eda2"),o=n("dcb3"),a=n("2306"),r=n("ff2e"),s=n("1687"),l=n("fab2"),u=(n=n("6679"),o=o.extend({makeElOption:function(t,e,n,o,c){var h,d=n.axis,p=("angle"===d.dim&&(this.animationThreshold=Math.PI/18),d.polar),f=p.getOtherAxis(d).getExtent(),g=d["dataTo"+i.capitalFirst(d.dim)](e),m=o.get("type");m&&"none"!==m&&(h=r.buildElStyle(o),(m=u[m](d,p,g,f,h)).style=h,t.graphicKey=m.type,t.pointer=m),d=function(t,e,n,i){var o,r,u,c=e.axis,h=(t=c.dataToCoord(t),u=(u=n.getAngleAxis().getExtent()[0])/180*Math.PI,n.getRadiusAxis().getExtent());return h="radius"===c.dim?(c=s.create(),s.rotate(c,c,u),s.translate(c,c,[n.cx,n.cy]),o=a.applyTransform([t,-i],c),c=e.getModel("axisLabel").get("rotate")||0,e=l.innerTextLayout(u,c*Math.PI/180,-1),r=e.textAlign,e.textVerticalAlign):(u=h[1],o=n.coordToPoint([u+i,t]),c=n.cx,e=n.cy,r=Math.abs(o[0]-c)/u<.3?"center":o[0]>c?"left":"right",Math.abs(o[1]-e)/u<.3?"middle":o[1]>e?"top":"bottom"),{position:o,align:r,verticalAlign:h}}(e,n,p,o.get("label.margin")),r.buildLabelElOption(t,n,o,c,d)}}),{line:function(t,e,n,i,o){return"angle"===t.dim?{type:"Line",shape:r.makeLineShape(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i,o){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,i[0],i[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:r.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}});n.registerAxisPointerClass("PolarAxisPointer",o),t.exports=o},"6bd4":function(t,e){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};t.exports=function(t,e){"world"===t&&(t=n[e.name])&&((e=e.center)[0]=t[0],e[1]=t[1])}},"6c12":function(t,e,n){n("4e08").__DEV__;var i=n("3eba"),o=n("6d8b"),a=n("fab2"),r=n("2306"),s=["axisLine","axisTickLabel","axisName"];n=i.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem;t=e.getIndicatorAxes(),t=o.map(t,(function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));o.each(t,(function(t){o.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),a=t.getModel("splitLine"),s=(t=t.getModel("splitArea"),a.getModel("lineStyle")),l=t.getModel("areaStyle"),u=a.get("show"),c=t.get("show"),h=s.get("color"),d=l.get("color"),p=(h=o.isArray(h)?h:[h],d=o.isArray(d)?d:[d],[]),f=[];if("circle"===i)for(var g=n[0].getTicksCoords(),m=e.cx,y=e.cy,v=0;ve.x)||(_-=Math.PI)),t=y?"left":"right",e=(v=l.labelModel.get("rotate"))*(Math.PI/180),u.setStyle({textPosition:l.labelModel.get("position")||t,textRotation:null==v?-_:e,textOrigin:"center",verticalAlign:"middle"})),s),v=(u=c,t=h,n),_=p;e=d,s=g,c=r,h=l,n=h.edgeShape,p=v.__edge;if("curve"===n)u.parentNode&&u.parentNode!==t&&(p=p||(v.__edge=new o.BezierCurve({shape:x(h,_,_),style:i.defaults({opacity:0,strokeNoScale:!0},h.lineStyle)})),o.updateProps(p,{shape:x(h,e,s),style:{opacity:1}},y));else if("polyline"===n&&"orthogonal"===h.layout&&u!==t&&u.children&&0!==u.children.length&&!0===u.isExpand){for(var b=u.children,w=[],S=0;S ")))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}});t.exports=p},"72b6":function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("f934"),l=n("5f14");n=i.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e,this.visualMapModel},render:function(t,e,n,i){!1===(this.visualMapModel=t).get("show")?this.group.removeAll():this.doRender.apply(this,arguments)},renderBackground:function(t){var e=this.visualMapModel,n=r.normalizeCssArray(e.get("padding")||0),i=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var i=(n=n||{}).forceState,a=this.visualMapModel,r={};function s(t){return r[t]}function u(t,e){r[t]=e}"symbol"===e&&(r.symbol=a.get("itemSymbol")),"color"===e&&(h=a.get("contentColor"),r.color=h);var c=a.controllerVisuals[i||a.getValueState(t)],h=l.prepareVisualTypes(c);return o.each(h,(function(i){var o=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",o=c.__alphaForOpacity),l.dependsOn(i,e)&&o&&o.applyVisual(t,s,u)})),r[e]},positionGroup:function(t){var e=this.visualMapModel,n=this.api;s.positionElement(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:o.noop});t.exports=n},7368:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b");n=n("625e").enableClassCheck;function o(t){return"_EC_"+t}function a(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData}var r=a.prototype;function s(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==e?-1:e}function l(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}function u(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){0<=this.dataIndex&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n,i){return this[t][e].getItemVisual(this.dataIndex,n,i)},setLayout:function(n,i){0<=this.dataIndex&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}r.type="graph",r.isDirected=function(){return this._directed},r.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[o(t)])return((e=new s(t,e)).hostGraph=this).nodes.push(e),n[o(t)]=e},r.getNodeByIndex=function(t){return t=this.data.getRawIndex(t),this.nodes[t]},r.getNodeById=function(t){return this._nodesMap[o(t)]},r.addEdge=function(t,e,n){var i=this._nodesMap,a=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),s.isInstance(t)||(t=i[o(t)]),s.isInstance(e)||(e=i[o(e)]),t&&e&&(i=t.id+"-"+e.id,!a[i]))return((n=new l(t,e,n)).hostGraph=this)._directed&&(t.outEdges.push(n),e.inEdges.push(n)),t.edges.push(n),t!==e&&e.edges.push(n),this.edges.push(n),a[i]=n},r.getEdgeByIndex=function(t){return t=this.edgeData.getRawIndex(t),this.edges[t]},r.getEdge=function(t,e){s.isInstance(t)&&(t=t.id),s.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.eachNode=function(t,e){for(var n=this.nodes,i=n.length,o=0;oO&&(O=N.depth),E.setLayout({depth:z?N.depth:P},!0),"vertical"===A?E.setLayout({dy:M},!0):E.setLayout({dx:M},!0);for(var B=0;Bd[1],f(n[0].coord,d[0])&&(t?n[0].coord=d[0]:n.shift()),t&&f(d[0],n[0].coord)&&n.unshift({coord:d[0]}),f(d[1],i.coord)&&(t?i.coord=d[1]:n.pop()),t&&f(i.coord,d[1])&&n.push({coord:d[1]})),p},getMinorTicksCoords:function(){var t;return"ordinal"===this.scale.type?[]:(t=this.model.getModel("minorTick").get("splitNumber"),t=this.scale.getMinorTicks(t=0 ")),i.value&&(r+=" : "+l(i.value)),r):h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],(function(t){return null!=t.value?t:a.extend({value:0},t)})),e=new o(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}});t.exports=h},"87b1":function(t,e,n){var i=n("cbe5"),o=n("4fac");n=i.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){o.buildPath(t,e,!0)}});t.exports=n},"87c3":function(t,e,n){var i=n("6d8b").map,o=n("cccd"),a=n("ee1aa").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:o(),reset:function(t){var e,n,o=t.getData(),r=t.coordinateSystem,s=t.pipelineContext.large;if(r)return e=i(r.dimensions,(function(t){return o.mapDimension(t)})).slice(0,2),n=e.length,t=o.getCalculationInfo("stackResultDimension"),a(o,e[0])&&(e[0]=t),a(o,e[1])&&(e[1]=t),n&&{progress:function(t,i){for(var o,a,l=t.end-t.start,u=s&&new Float32Array(l*n),c=t.start,h=0,d=[],p=[];ce[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=r.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,a=[];if(e){n[0]l&&(t?a.push(s(l+e,o)):a.push(n[1]))}return a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],o=this.getExtent(),a=1;ao[0]&&hn[1]&&(n[1]=s),a=e.get("colorMappingBy"),"color"!==(s={type:r.name,dataExtent:n,visual:r.range}).type||"index"!==a&&"id"!==a?s.mappingMethod="linear":(s.mappingMethod="category",s.loop=!0),(e=new i(s)).__drColorMappingBy=a,e}}function p(t,e){return t=t.get(e),r(t)&&t.length?{name:e,range:t}:null}function f(t,e,n,i,o,r){var s,l;e=a.extend({},e);return o&&(i="index"===(l="color"===(s=o.type)&&o.__drColorMappingBy)?i:"id"===l?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension")),e[s]=o.mapValueToVisual(i)),e}t.exports={seriesType:"treemap",reset:function(t,e,n,i){var o=t.getData().tree,r=o.root,h=t.getModel(s);r.isRemoved()||function t(e,n,i,o,r,h){var p=e.getModel(),g=e.getLayout();if(g&&!g.invisible&&g.isInView){var m,y,v=e.getModel(s),x=i[e.depth],_=l(v,n,x,o);n=v.get("borderColor"),x=v.get("borderColorSaturation"),null!=x&&(m=u(_),n=c(x,m)),e.setVisual("borderColor",n),x=e.viewChildren,x&&x.length?(y=d(0,p,g,0,_,x),a.each(x,(function(e,n){(e.depth>=r.length||e===r[e.depth])&&(n=f(p,_,e,n,y,h),t(e,n,i,o,r,h))}))):(m=u(_),e.setVisual("color",m))}}(r,{},a.map(o.levelModels,(function(t){return t?t.get(s):null})),h,t.getViewRoot().getAncestors(),t)}}},"923d":function(t,e,n){var i=n("6d8b"),o=n("3842"),a=n("ee1aa").isDimensionStacked,r=i.indexOf;function s(t,e,n,i,r,s){var l=[],u=a(e,i)?e.getCalculationInfo("stackResultDimension"):i;t=c(e,u,t),t=e.indicesOfNearest(u,t)[0],l[r]=e.get(n,t),l[s]=e.get(u,t),r=e.get(i,t),n=o.getPrecision(e.get(i,t));return 0<=(n=Math.min(n,20))&&(l[s]=+l[s].toFixed(n)),[l,r]}n=i.curry;var l={min:n(s,"min"),max:n(s,"max"),average:n(s,"average")};function u(t,e,n,i){var o={};return null!=t.valueIndex||null!=t.valueDim?(o.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,o.valueAxis=n.getAxis(function(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var o=0;ot[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,r){var l={},u=t[1]-t[0];u=l.interval=i.nice(u/e,!0),null!=n&&u=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},"98b7":function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},"98e7":function(t,e,n){var i=n("6d8b").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},o=i();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,o.set(t.uid,t)})),o},reset:function(t,e){var n=t.getRawData(),i={},o=t.getData();o.each((function(t){var e=o.getRawIndex(t);i[e]=t})),n.each((function(e){var a,r=i[e],s=null!=r&&o.getItemVisual(r,"color",!0),l=null!=r&&o.getItemVisual(r,"borderColor",!0);s&&l||(a=n.getItemModel(e)),s||(s=a.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count()),null!=r&&o.setItemVisual(r,"color",s)),l||(e=a.get("itemStyle.borderColor"),null!=r&&o.setItemVisual(r,"borderColor",e))}))}}}},"998c":function(t,e,n){var i=n("6d8b"),o=n("2306"),a=n("e86a"),r=Math.PI;t.exports=function(t,e){e=e||{},i.defaults(e,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n,s=new o.Group,l=new o.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),u=(s.add(l),e.fontSize+" sans-serif"),c=new o.Rect({style:{fill:"none",text:e.text,font:u,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});return s.add(c),e.showSpinner&&((n=new o.Arc({shape:{startAngle:-r/2,endAngle:-r/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*r/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*r/2}).delay(300).start("circularInOut"),s.add(n)),s.resize=function(){var i=a.getWidth(e.text,u),o=e.showSpinner?e.spinnerRadius:0,r=(i=(t.getWidth()-2*o-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner?0:i/2),t.getHeight()/2);e.showSpinner&&n.setShape({cx:i,cy:r}),c.setShape({x:i-o,y:r-o,width:2*o,height:2*o}),l.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},s.resize(),s}},"9bdb7":function(t,e,n){var i=n("282b")([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]);t.exports={getAreaStyle:function(t,e){return i(this,t,e)}}},"9c2c":function(t,e,n){n=n("401b");var i=n.min,o=n.max,a=n.scale,r=n.distance,s=n.add,l=n.clone,u=n.sub;t.exports=function(t,e,n,c){var h,d,p=[],f=[],g=[],m=[];if(c){for(var y=[1/0,1/0],v=[-1/0,-1/0],x=0,_=t.length;x<_;x++)i(y,y,t[x]),o(v,v,t[x]);i(y,y,c[0]),o(v,v,c[1])}for(x=0,_=t.length;x<_;x++){var b=t[x];if(n)h=t[x?x-1:_-1],d=t[(x+1)%_];else{if(0===x||x===_-1){p.push(l(t[x]));continue}h=t[x-1],d=t[x+1]}u(f,d,h),a(f,f,e);var w=r(b,h),S=r(b,d),M=w+S;M=(0!==M&&(w/=M,S/=M),a(g,f,-w),a(m,f,S),s([],b,g)),w=s([],b,m);c&&(o(M,M,y),i(M,M,v),o(w,w,y),i(w,w,v)),p.push(M),p.push(w)}return n&&p.push(p.shift()),p}},"9ca8":function(t,e,n){var i=n("6d8b"),o=n("9850"),a=n("3842"),r=a.parsePercent,s=a.MAX_SAFE_INTEGER,l=n("f934"),u=n("55ac"),c=Math.max,h=Math.min,d=i.retrieve,p=i.each,f=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],y=["upperLabel","height"];function v(t,e,n,o,a,r){var s,l=t.children||[],u=o.sort;"asc"!==u&&"desc"!==u&&(u=null),o=null!=o.leafDepth&&o.leafDepth<=r;if(a&&!o)return t.viewChildren=[];l=i.filter(l,(function(t){return!t.isRemoved()})),r=l,(s=u)&&r.sort((function(t,e){var n="asc"===s?t.getValue()-e.getValue():e.getValue()-t.getValue();return 0==n?"asc"===s?t.dataIndex-e.dataIndex:e.dataIndex-t.dataIndex:n}));var c=function(t,e,n){for(var i=0,o=0,a=e.length;or[1]&&(r[1]=t)}))):r=[NaN,NaN],{sum:i,dataExtent:r}}(e,l,u);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,o){if(i){for(var a=t.get("visibleMin"),r=o.length,s=r,l=r-1;0<=l;l--){var u=o["asc"===i?r-l-1:l].getValue();u/n*en[l[r]])&&(d=n[l[r]]);for(var p=0,f=t.length;p"+a.map(n,(function(n,i){var o=e.get(e.mapDimension(n.dim),t);return r(n.name+" : "+o)})).join("
    ")},getTooltipPosition:function(t){if(null!=t)for(var e,n=this.getData(),i=this.coordinateSystem,o=n.getValues(a.map(i.dimensions,(function(t){return n.mapDimension(t)})),t,!0),r=0,s=o.length;r=t&&(0===e?0:i[e-1][0])e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]);t=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:t[0],y2:t[1]}}function c(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}n=r.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){var n,o,a,r,s,u;this.group.removeAll(),t.get("show")&&(n=t.axis,o=n.polar,a=o.getRadiusAxis().getExtent(),r=n.getTicksCoords(),s=n.getMinorTicksCoords(),h(u=i.map(n.getViewLabels(),(function(t){return(t=i.clone(t)).coord=n.dataToCoord(t.tickValue),t}))),h(r),i.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,o,r,s,a,u)}),this))},_axisLine:function(t,e,n,i,a){t=t.getModel("axisLine.lineStyle");var r=c(e),s=r?0:1;e=0===a[s]?new o.Circle({shape:{cx:e.cx,cy:e.cy,r:a[r]},style:t.getLineStyle(),z2:1,silent:!0}):new o.Ring({shape:{cx:e.cx,cy:e.cy,r:a[r],r0:a[s]},style:t.getLineStyle(),z2:1,silent:!0});e.style.fill=null,this.group.add(e)},_axisTick:function(t,e,n,a,r){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=r[c(e)];r=i.map(n,(function(t){return new o.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(o.mergePath(r,{style:i.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,r){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=r[c(e)],p=[],f=0;fy?"left":"right",g=Math.abs(m[1]-v)/g<.3?"middle":m[1]>v?"top":"bottom",h&&h[u]&&h[u].textStyle&&(r=new a(h[u].textStyle,d,d.ecModel)),v=new o.Text({silent:s.isLabelSilent(t)});this.group.add(v),o.setTextStyle(v.style,r,{x:m[0],y:m[1],textFill:r.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:y,textVerticalAlign:g}),f&&(v.eventData=s.makeAxisEventDataBase(t),v.eventData.targetType="axisLabel",v.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,r){for(var s=t.getModel("splitLine").getModel("lineStyle"),l=0,c=(c=s.get("color"))instanceof Array?c:[c],h=[],d=0;dr?e+=h(d("data.partialData"),{displayCnt:r}):e+=d("data.allData"),[]),g=0;gt[i-1].y+t[i-1].height));i--);}function h(t,e,n,i,o,a){for(var r,s,l,u=e?Number.MAX_VALUE:0,c=0,h=t.length;cl+r);o++)if(t[o].y+=i,et[o].y+t[o].height)return c(o,i/2);c(n-1,i/2)}(y,f,-d),p=t[y].y+t[y].height;for(r-p<0&&c(f-1,p-r),y=0;y=n?m:g).push(t[y]);h(g,!1,e,n,i,o),h(m,!0,e,n,i,o)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,d,p=t.getData(),f=[],g=!1,m=(t.get("minShowLabelAngle")||0)*a;if(p.each((function(a){var r,s,l,c,y,v,x,_,b,w,S,M,I=p.getItemLayout(a),A=p.getItemModel(a),T=A.getModel("label"),C=T.get("position")||A.get("emphasis.label.position"),D=T.get("distanceToLabelLine"),L=T.get("alignTo"),P=o(T.get("margin"),n),k=T.get("bleedMargin"),O=T.getFont(),R=(A=A.getModel("labelLine"),A.get("length"));R=o(R,n),A=A.get("length2"),A=o(A,n);I.anglet[1]&&t.reverse(),t}function f(t,e){return a.parseFinder(t,e,{includeMainTypes:c})}d.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){(t.coordRanges||(t.coordRanges=[])).push(e),t.coordRange||(t.coordRange=e,n=v[t.brushType](0,n,e),t.__rangeOffset={offset:_[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax})}))},d.matchOutputRanges=function(t,e,n){s(t,(function(t){var o=this.findTargetInfo(t,e);o&&!0!==o&&i.each(o.coordSyses,(function(i){var o=v[t.brushType](1,i,t.range);n(t,o.values,i,e)}))}),this)},d.setInputRanges=function(t,e){s(t,(function(t){var n,i=this.findTargetInfo(t,e);t.range=t.range||[],i&&!0!==i&&(t.panelId=i.panelId,i=v[t.brushType](0,i.coordSys,t.coordRange),n=t.__rangeOffset,t.range=n?_[t.brushType](i.values,n.offset,function(t,e){return t=w(t),e=w(e),t=[t[0]/e[0],t[1]/e[1]],isNaN(t[0])&&(t[0]=1),isNaN(t[1])&&(t[1]=1),t}(i.xyMinMax,n.xyMinMax)):i.values)}),this)},d.makePanelOpts=function(t,e){return i.map(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:r.makeRectPanelClipPath(i),isTargetByCursor:r.makeRectIsTargetByCursor(i,t,n.coordSysModel),getLinearBrushOtherExtent:r.makeLinearBrushOtherExtent(i)}}))},d.controlSeries=function(t,e,n){return t=this.findTargetInfo(t,n),!0===t||t&&0<=l(t.coordSyses,e.coordinateSystem)},d.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=f(e,t),o=0;o>1^-(1&s),l=(l=t.charCodeAt(r+1)-64)>>1^-(1&l);s+=o,l+=a,i.push([(o=s)/n,(a=l)/n])}return i}t.exports=function(t,e){var n=t;if(n.UTF8Encoding){for(var r=n.UTF8Scale,s=(null==r&&(r=1024),n.features),l=0;lm.getLayout().x&&(m=t),t.depth>y.depth&&(y=t)})),n=g===m?1:f(g,m)/2,v=n-g.getLayout().x,w=b=_=x=0,"radial"===i?(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w=(t.depth-1)*_;var e=c(b,w);t.setLayout({x:e.x,y:e.y,rawX:b,rawY:w},!0)}))):"RL"===(S=t.getOrient())||"LR"===S?(_=p/(m.getLayout().x+n+v),x=d/(y.depth-1||1),a(M,(function(t){w=(t.getLayout().x+v)*_,b="LR"===S?(t.depth-1)*x:d-(t.depth-1)*x,t.setLayout({x:b,y:w},!0)}))):"TB"!==S&&"BT"!==S||(x=d/(m.getLayout().x+n+v),_=p/(y.depth-1||1),a(M,(function(t){b=(t.getLayout().x+v)*x,w="TB"===S?(t.depth-1)*_:p-(t.depth-1)*_,t.setLayout({x:b,y:w},!0)}))))}))}},ca98:function(t,e,n){var i=n("6d8b"),o=n("e0d3"),a=n("6cb7"),r=i.each,s=i.clone,l=i.map,u=i.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}h.prototype={constructor:h,setOption:function(t,e){t&&i.each(o.normalizeToArray(t.series),(function(t){t&&t.data&&i.isTypedArray(t.data)&&i.setAsPrimitive(t.data)})),t=s(t);var n,c=this._optionBackup;t=function(t,e,n){var o,a,s,l=[],u=[],c=t.timeline;return t.baseOption&&(a=t.baseOption),(c||t.options)&&(a=a||{},l=(t.options||[]).slice()),t.media&&(a=a||{},s=t.media,r(s,(function(t){t&&t.option&&(t.query?u.push(t):o=o||t)}))),a=a||t,a.timeline||(a.timeline=c),r([a].concat(l).concat(i.map(u,(function(t){return t.option}))),(function(t){r(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:l,mediaDefault:o,mediaList:u}}.call(this,t,e,!c);this._newBaseOption=t.baseOption,c?(n=c.baseOption,e=t.baseOption,r(e=e||{},(function(t,e){var i,r;null!=t&&(i=n[e],a.hasClass(e)?(t=o.normalizeToArray(t),i=o.normalizeToArray(i),r=o.mappingToExists(i,t),n[e]=l(r,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))):n[e]=u(i,t,!0))})),t.timelineOptions.length&&(c.timelineOptions=t.timelineOptions),t.mediaList.length&&(c.mediaList=t.mediaList),t.mediaDefault&&(c.mediaDefault=t.mediaDefault)):this._optionBackup=t},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;return n.length&&(t=t.getComponent("timeline"))?s(n[t.getCurrentIndex()],!0):e},getMediaOption:function(t){var e=this._api.getWidth(),n=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,r=[],u=[];if(o.length||a){for(var h,d,p=0,f=o.length;pi[1]&&(i[1]=t[1])}))})),i[1]a[1];if(u&&!c&&!l)return!0;u&&(r=!0),c&&(n=!0),l&&(o=!0)}return r&&n&&o})):l(i,(function(n){var i;"empty"===o?t.setData(e=e.map(n,(function(t){return(e=t)>=a[0]&&e<=a[1]?t:NaN;var e}))):((i={})[n]=a,e.selectRange(i))})),l(i,(function(t){e.setApproximateExtent(a,t)})))})))}},t.exports=i},cccd:function(t,e,n){var i=n("e0d3").makeInner;t.exports=function(){var t=i();return function(e){var n=t(e),i=(e=e.pipelineContext,n.large),o=n.progressiveRender,a=n.large=e&&e.large;n=n.progressiveRender=e&&e.progressiveRender;return!!(i^a||o^n)&&"reset"}}},cd12:function(t,e,n){n("01ed"),n("4a9d"),n("cb8f")},cd33:function(t,e,n){var i=n("6d8b"),o=n("4319"),a=i.each,r=i.curry;function s(t,e){return"all"===t||i.isArray(t)&&0<=i.indexOf(t,e)||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n,l,h,d,p,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,e=e,h=(l=t).getComponent("tooltip"),d=l.getComponent("axisPointer"),p=d.get("link",!0)||[],f=[],a(e.getCoordinateSystems(),(function(t){var e,g,m,y,v;function x(r,h,m){var y,v=m.model.getModel("axisPointer",d),x=v.get("show");x&&("auto"!==x||r||u(v))&&(null==h&&(h=v.get("triggerTooltip")),x=(v=r?function(t,e,n,r,s,l){var u=e.getModel("axisPointer"),c={};return a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=i.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line"),e=c.label||(c.label={}),null==e.show&&(e.show=!1),"cross"===s&&(s=u.get("label.show"),e.show=null==s||s,l||(s=c.lineStyle=u.get("crossStyle"))&&i.defaults(e,s.textStyle)),t.model.getModel("axisPointer",new o(c,n,r))}(m,g,d,l,r,h):v).get("snap"),r=c(m.model),y=h||x||"category"===m.type,h=n.axesInfo[r]={key:r,axis:m,coordSys:t,axisPointerModel:v,triggerTooltip:h,involveSeries:y,snap:x,useHandle:u(v),seriesModels:[]},e[r]=h,n.seriesInvolved|=y,null!=(x=function(t,e){for(var n=e.model,i=e.dim,o=0;oa[1]&&a.reverse(),(i=null==i||i>a[1]?a[1]:i)=n.start.time&&t.timeo.end.time&&e.reverse(),e},_getRangeInfo:function(t){(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var e,n,i=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,o=new Date(t[0].time),a=o.getDate(),r=t[1].date.getDate();if(o.setDate(a+i-1),o.getDate()!==r)for(var s=0n.weeks||0===t&&en.lweek)&&(t=7*(t-1)-n.fweek+e,(e=new Date(n.start.time)).setDate(n.start.d+t),this.getDateInfo(e))}},r.dimensions=r.prototype.dimensions,r.getDimensionsInfo=r.prototype.getDimensionsInfo,r.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(t){var e=new r(t);n.push(e),t.coordinateSystem=e})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},n.register("calendar",r),t.exports=r},d15d:function(t,e,n){n=n("6d8b");var i=n.createHashMap,o=n.each;function a(t){o(t,(function(e,n){var i=[],o=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],r=e.data,s=e.isStackedByIndex;a=r.map(a,(function(a,l,u){var c,h,d=r.get(e.stackedDimension,u);if(isNaN(d))return o;s?h=r.getRawIndex(u):c=r.get(e.stackedByDimension,u);for(var p=NaN,f=n-1;0<=f;f--){var g=t[f];if(0<=(h=s?h:g.data.rawIndexOf(g.stackedByDimension,c))&&(g=g.data.getByRawIndex(g.stackResultDimension,h),0<=d&&0t.getWidth()||n<0||n>t.getHeight()}h.prototype={constructor:h,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(i.each(d,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=p(this,e,n),o=this._hovered,a=o.target;a&&!a.__zr&&(a=(o=this.findHover(o.x,o.y)).target),i=this._hovered=i?{x:e,y:n}:this.findHover(e,n),e=i.target,n=this.proxy;n.setCursor&&n.setCursor(e?e.cursor:"default"),a&&e!==a&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(i,"mousemove",t),e&&e!==a&&this.dispatchToElement(i,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"===e||n||this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){t=this[t],t&&t.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var o="on"+e,a={type:e,event:n,target:(t=t).target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u};i&&(i[o]&&(a.cancelBubble=i[o].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var i,o=this.storage.getDisplayList(),a={x:t,y:e},r=o.length-1;0<=r;r--)if(o[r]!==n&&!o[r].ignore&&(i=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,o=t;o;){if(o.clipPath&&!o.clipPath.contain(e,n))return!1;o.silent&&(i=!0),o=o.parent}return!i||"silent"}return!1}(o[r],t,e))&&(a.topTarget||(a.topTarget=o[r]),"silent"!==i)){a.target=o[r];break}return a},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr,i=("start"===e&&n.clear(),n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom));"end"===e&&n.clear(),i&&(e=i.type,t.gestureEvent=e,this.dispatchToElement({target:i.target},e,i.event))}},i.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){h.prototype[t]=function(e){var n,i,a=e.zrX,r=e.zrY,s=p(this,a,r);if("mouseup"===t&&s||(i=(n=this.findHover(a,r)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||4')}}catch(t){i=function(t){return s.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=s,e.createNode=function(t){return i(t)},e.initVML=function(){var t;!r&&s&&(r=!0,((t=s.styleSheets).length<31?s.createStyleSheet():t[0]).addRule(".zrvml","behavior:url(#default#VML)"))}},d3f47:function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n,i=e.findComponents({mainType:"legend"});i&&i.length&&(n=t.getData()).filterSelf((function(t){for(var e=n.getName(t),o=0;oi[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}var y=i.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:n(i.prototype.brush),buildPath:function(t,e){var n=e.points,i=0,o=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;0=this._maxSize&&0=f[i=0]+t&&r<=f[1]+t?h:0;(o=a?(e=i,i=l(o),l(e)):(i=l(i),l(o)))Math.PI/2&&p<1.5*Math.PI?-h:h))}return u}(A,T,D,L,L+P,k,E,g);_=Math.cos(L+P)*C+A,b=Math.sin(L+P)*D+T;break;case h.R:if(w=_=t[M++],S=b=t[M++],O=w+t[M++],R=S+t[M++],n){if(o.containStroke(w,S,O,S,e,i,g)||o.containStroke(O,S,O,R,e,i,g)||o.containStroke(O,R,w,R,e,i,g)||o.containStroke(w,R,w,S,e,i,g))return!0}else x=(x+=c(O,S,O,R,i,g))+c(w,R,w,S,i,g);break;case h.Z:if(n){if(o.containStroke(_,b,w,S,e,i,g))return!0}else x+=c(_,b,w,S,i,g);_=w,b=S}}return n||(y=b,v=S,Math.abs(y-v)l*(1-i[0])?(r="jump",e=t-l*(1-i[2])):0<=(e=t-l*i[1])&&(e=t-l*(1-i[1]))<=0&&(e=0),(e*=a.axisExpandWidth/n)?c(e,s,u,"all"):r="none"):(l=s[1]-s[0],(s=[p(0,u[1]*t/l-l/2)])[1]=d(u[1],s[0]+l),s[0]=s[1]-l),{axisExpandWindow:s,behavior:r}):{behavior:"none",axisExpandWindow:s}}},t.exports=v},d9f1:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("9e47");n=n("2023"),o=o.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function r(t,e){return e.type||(e.data?"category":"value")}i.merge(o.prototype,n),i={splitNumber:5},a("angle",o,r,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",o,r,i)},d9fc:function(t,e,n){n=n("cbe5").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}}),t.exports=n},dae1:function(t,e,n){var i=n("3eba"),o=(n("928d"),n("b369"),n("4411"),n("90c2"));n=n("9ca8");i.registerVisual(o),i.registerLayout(n)},db0e:function(t,e,n){var i=n("3eba");n("a8c6"),n("8344"),i.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},db9e:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("e86a"),r=n("2145"),s=n("2306"),l=n("4319"),u=n("80f0"),c=n("7919");n=i.extendComponentView({type:"toolbox",render:function(t,e,n,i){var h,d,p,f,g=this.group;function m(a,u){a=f[a],u=f[u];var c,m,y,v,x,_,b,w,S=d[a],M=new l(S,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===a&&(S.title=i.newTitle),a&&!u){if(0===a.indexOf("my"))c={model:M,onclick:M.option.onclick,featureName:a};else{S=r.get(a);if(!S)return;c=new S(M,e,n)}p[a]=c}else{if(!(c=p[u]))return;c.model=M,c.ecModel=e,c.api=n}!a&&u?c.dispose&&c.dispose(e,n):!M.get("show")||c.unusable?c.remove&&c.remove(e,n):(y=c,S=a,v=(m=M).getModel("iconStyle"),x=m.getModel("emphasis.iconStyle"),u=y.getIcons?y.getIcons():m.get("icon"),_=m.get("title")||{},"string"==typeof u&&(a=u,b=_,_={},(u={})[S]=a,_[S]=b),w=m.iconPaths={},o.each(u,(function(i,a){var r=s.createIcon(i,{},{x:-h/2,y:-h/2,width:h,height:h});r.setStyle(v.getItemStyle()),r.hoverStyle=x.getItemStyle(),r.setStyle({text:_[a],textAlign:x.get("textAlign"),textBorderRadius:x.get("textBorderRadius"),textPadding:x.get("textPadding"),textFill:null}),i=t.getModel("tooltip");i&&i.get("show")&&r.attr("tooltip",o.extend({content:_[a],formatter:i.get("formatter",!0)||function(){return _[a]},formatterParams:{componentType:"toolbox",name:a,title:_[a],$vars:["name","title"]},position:i.get("position",!0)||"bottom"},i.option)),s.setHoverStyle(r),t.get("showTitle")&&(r.__title=_[a],r.on("mouseover",(function(){var e=x.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";r.setStyle({textFill:x.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:x.get("textBackgroundColor"),textPosition:x.get("textPosition")||n})})).on("mouseout",(function(){r.setStyle({textFill:null,textBackgroundColor:null})}))),r.trigger(m.get("iconStatus."+a)||"normal"),g.add(r),r.on("click",o.bind(y.onclick,y,e,n,a)),w[a]=r})),M.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&i[t].trigger(e)},c.render&&c.render(M,e,n,i))}g.removeAll(),t.get("show")&&(h=+t.get("itemSize"),d=t.get("feature")||{},p=this._features||(this._features={}),f=[],o.each(d,(function(t,e){f.push(e)})),new u(this._featureNames||[],f).add(m).update(m).remove(o.curry(m,null)).execute(),this._featureNames=f,c.layout(g,t,n),g.add(c.makeBackground(g.getBoundingRect(),t)),g.eachChild((function(t){var e,i,o=t.__title,r=t.hoverStyle;r&&o&&(o=a.getBoundingRect(o,a.makeFont(r)),e=t.position[0]+g.position[0],i=!1,t.position[1]+g.position[1]+h+o.height>n.getHeight()&&(r.textPosition="top",i=!0),t=i?-5-o.height:h+8,e+o.width/2>n.getWidth()?(r.textPosition=["100%",t],r.textAlign="right"):e-o.width/2<0&&(r.textPosition=[0,t],r.textAlign="left"))})))},updateView:function(t,e,n,i){o.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,i)}))},remove:function(t,e){o.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){o.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=n},dc20:function(t,e,n){var i=n("8727").createElement,o=n("6d8b"),a=n("4942"),r=n("cbe5"),s=n("0da8"),l=n("76a5"),u=n("0c12"),c=n("b16f"),h=n("9fa3"),d=n("bcaa"),p=(n=n("3f8e"),n.path),f=n.image,g=n.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function v(t,e,n){y(t,e)&&n&&((n=n.nextSibling)?t.insertBefore(e,n):t.appendChild(e))}function x(t,e){var n;y(t,e)&&((n=t.firstChild)?t.insertBefore(e,n):t.appendChild(e))}function _(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function b(t){return t.__textSvgEl}function w(t){return t.__svgEl}function S(t,e,n,a){this.root=t,this.storage=e,this._opts=n=o.extend({},n||{}),(e=i("svg")).setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("version","1.1"),e.setAttribute("baseProfile","full"),e.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=i("g"),s=(e.appendChild(r),i("g"));e.appendChild(s),this.gradientManager=new c(a,s),this.clipPathManager=new h(a,s),this.shadowManager=new d(a,s),(a=document.createElement("div")).style.cssText="overflow:hidden;position:relative",this._svgDom=e,this._svgRoot=s,this._backgroundRoot=r,this._viewport=a,t.appendChild(a),a.appendChild(e),this.resize(n.width,n.height),this._visibleList=[]}S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=i("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();for(var e=this._svgRoot,n=this._visibleList,i=t.length,o=[],a=0;a\n\r<"))}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(t){var e;S.prototype[t]=(e=t,function(){a('In SVG mode painter not support method "'+e+'"')})})),t.exports=S},dc2f:function(t,e){function n(t,e){this.image=t,this.repeat=e,this.type="pattern"}n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},dcb3:function(t,e,n){var i=n("6d8b"),o=n("625e"),a=n("2306"),r=n("cd33"),s=n("607d"),l=n("88b3"),u=(0,n("e0d3").makeInner)(),c=i.clone,h=i.bind;function d(){}function p(t,e,n,o){!function t(e,n){var o;return i.isObject(e)&&i.isObject(n)?(o=!0,i.each(n,(function(n,i){o=o&&t(e[i],n)})),!!o):e===n}(u(n).lastProp,o)&&(u(n).lastProp=o,e?a.updateProps(n,o,t):(n.stopAnimation(),n.attr(o)))}function f(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var i=e.get("z"),o=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=o&&(t.zlevel=o),t.silent=n)}))}o.enableClassExtend((d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,o){var r,s,l=e.get("value"),u=e.get("status");this._axisModel=t,this._axisPointerModel=e,this._api=n,!o&&this._lastValue===l&&this._lastStatus===u||(this._lastValue=l,this._lastStatus=u,o=this._group,r=this._handle,u&&"hide"!==u?(o&&o.show(),r&&r.show(),this.makeElOption(u={},l,t,e,n),(s=u.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=s,s=this._moveAnimation=this.determineAnimation(t,e),o?(s=i.curry(p,e,s),this.updatePointerEl(o,u,s,e),this.updateLabelEl(o,u,s,e)):(o=this._group=new a.Group,this.createPointerEl(o,u,t,e),this.createLabelEl(o,u,t,e),n.getZr().add(o)),m(o,e,!0),this._renderHandle(l)):(o&&o.hide(),r&&r.hide()))},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n,i=e.get("animation"),o=t.axis,a="category"===o.type;e=e.get("snap");return!(!e&&!a)&&("auto"===i||null==i?(n=this.animationThreshold,a&&o.getBandWidth()>n||!!e&&(a=r.getAxisInfo(t).seriesDataCount,e=o.getExtent(),Math.abs(e[0]-e[1])/a>n)):!0===i)},makeElOption:function(t,e,n,i,o){},createPointerEl:function(t,e,n,i){var o=e.pointer;o&&(o=u(t).pointerEl=new a[o.type](c(e.pointer)),t.add(o))},createLabelEl:function(t,e,n,i){e.label&&(e=u(t).labelEl=new a.Rect(c(e.label)),t.add(e),f(e,i))},updatePointerEl:function(t,e,n){t=u(t).pointerEl,t&&e.pointer&&(t.setStyle(e.pointer.style),n(t,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){t=u(t).labelEl,t&&(t.setStyle(e.label.style),n(t,{shape:e.label.shape,position:e.label.position}),f(t,i))},_renderHandle:function(t){var e,n,o,r,u,c;!this._dragging&&this.updateHandleTransform&&(e=this._axisPointerModel,n=this._api.getZr(),o=this._handle,r=e.getModel("handle"),c=e.get("status"),r.get("show")&&c&&"hide"!==c?(this._handle||(u=!0,o=this._handle=a.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),n.add(o)),m(o,e,!1),o.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),c=r.get("size"),i.isArray(c)||(c=[c,c]),o.attr("scale",[c[0]/2,c[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,u)):(o&&n.remove(o),this._handle=null))},_moveHandleToValue:function(t,e){p(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;n&&(this._dragging=!0,t=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel),this._payloadInfo=t,n.stopAnimation(),n.attr(g(t)),u(n).lastProp=null,this._doDispatchAxisPointer())},_doDispatchAxisPointer:function(){var t,e;this._handle&&(t=this._payloadInfo,e=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]}))},_onHandleDragEnd:function(t){var e;this._dragging=!1,this._handle&&(e=this._axisPointerModel.get("value"),this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"}))},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;t=t.getZr();var e=this._group,n=this._handle;t&&e&&(this._lastGraphicKey=null,e&&t.remove(e),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d),t.exports=d},dcea:function(t,e,n){var i=n("6d8b"),o=n("e887"),a=n("2306"),r=(n=n("cbe5"),["itemStyle"]),s=["emphasis","itemStyle"],l=(o=o.extend({type:"boxplot",render:function(t,e,n){var i=t.getData(),o=this.group,a=this._data,r=(this._data||o.removeAll(),"horizontal"===t.get("layout")?1:0);i.diff(a).add((function(t){var e;i.hasValue(t)&&(e=u(i.getItemLayout(t),i,t,r,!0),i.setItemGraphicEl(t,e),o.add(e))})).update((function(t,e){var n;e=a.getItemGraphicEl(e);i.hasValue(t)?(n=i.getItemLayout(t),e?c(n,e,i,t):e=u(n,i,t,r),o.add(e),i.setItemGraphicEl(t,e)):o.remove(e)})).remove((function(t){t=a.getItemGraphicEl(t),t&&o.remove(t)})).execute(),this._data=i},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:i.noop}),n.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=i.createHashMap();a(t,(function(t,n){var i=t.exist;i&&e.set(i.id,t)})),a(t,(function(t,n){var o=t.option;i.assert(!o||null==o.id||!e.get(o.id)||e.get(o.id)===t,"id duplicates: "+(o&&o.id)),o&&null!=o.id&&e.set(o.id,t),t.keyInfo||(t.keyInfo={})})),a(t,(function(t,n){var i=t.exist,o=t.option,a=t.keyInfo;if(r(o)){if(a.name=null!=o.name?o.name+"":i?i.name:"series\0"+n,i)a.id=i.id;else if(null!=o.id)a.id=o.id+"";else for(var s=0;a.id="\0"+a.name+"\0"+s++,e.get(a.id););e.set(a.id,t)}}))},e.isNameSpecified=function(t){return!(!(t=t.name)||!t.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},i={};return o(t||[],n),o(e||[],i,n),[a(n),a(i)];function o(t,e,n){for(var i=0,o=t.length;i=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,n.enableClassExtend(i),n.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},e1fc:function(t,e,n){function i(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0}var o=n("6d8b"),a=n("d5b7"),r=n("9850");i.prototype={constructor:i,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;ne)return t[i];return t[n-1]}(r,n):i)||i)&&r.length?(n=r[s],t&&(l[t]=n),e.colorIdx=(s+1)%r.length,n):void 0)}}},e4d1:function(t,e,n){n("6932"),n("3a56"),n("7dcf"),n("3790"),n("2325"),n("2c17"),n("9e87")},e6cd:function(t,e,n){var i=n("6d8b");e.createWrap=function(){var t,e=[],n={};return{add:function(t,o,a,r,s){return i.isString(r)&&(s=r,r=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:o,time:a,delay:r,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var i=e.length,o=0,a=e.length;o=e.maxIterations){t+=e.ellipsis;break}var s=0===r?function(t,e,n,i){for(var o=0,a=0,r=t.length;av)return{lines:[],width:0,height:0};R.textWidth=m(R.text,D);var P,k=A.textWidth,O=null==k||"auto"===k;"string"==typeof k&&"%"===k.charAt(k.length-1)?(R.percentWidth=k,d.push(R),k=0):(O&&(k=R.textWidth,(P=(P=A.textBackgroundColor)&&P.image)&&(P=o.findExistImage(P),o.isImageReady(P)&&(k=Math.max(k,P.width*L/P.height)))),k+=L=C?C[1]+C[3]:0,null!=(P=null!=y?y-M:null)&&P"],o.isArray(t)&&(t=t.slice(),i=!0),e=e?t:i?[l(t[0]),l(t[1])]:l(t),o.isString(a)?a.replace("{value}",i?e[0]:e).replace("{value2}",i?e[1]:e):o.isFunction(a)?i?a(t[0],t[1]):a(t):i?t[0]===s[0]?n[0]+" "+e[1]:t[1]===s[1]?n[1]+" "+e[0]:e[0]+" - "+e[1]:e;function l(t){return t===s[0]?"min":t===s[1]?"max":(+t).toFixed(Math.min(r,20))}},resetExtent:function(){var t=this.option;t=f([t.min,t.max]);this._dataExtent=t},getDataDimension:function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,o=i.length-1;0<=o;o--){var a=i[o];if(!t.getDimensionInfo(a).isCalculationCoord)return a}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),a=e.controller||(e.controller={}),l=(o.merge(i,n),o.merge(a,n),this.isCategory());function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e,i=n[t];o.isString(i)&&((e=r.get(i,"active",l))?(n[t]={},n[t][i]=e):delete n[t])}),this)}u.call(this,i),u.call(this,a),function(t,e,n){e=t[e];var i=t[n];e&&!i&&(i=t[n]={},p(e,(function(t,e){var n;!s.isValidType(e)||null!=(n=r.get(e,"inactive",l))&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");p(this.stateList,(function(a){var r,s=this.itemSize,u=t[a];null==(u=u||(t[a]={color:l?i:[i]})).symbol&&(u.symbol=e&&o.clone(e)||(l?"roundRect":["roundRect"])),null==u.symbolSize&&(u.symbolSize=n&&o.clone(n)||(l?s[0]:[s[0],s[0]])),u.symbol=c(u.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t})),a=u.symbolSize;null!=a&&(r=-1/0,h(a,(function(t){ra[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:i.bind((function(i){var o=e.dataToRadius(i[0]),a=(i=n.dataToAngle(i[1]),t.coordToPoint([o,i]));return a.push(o,i*Math.PI/180),a})),size:i.bind(o,t)}}}},eb6b:function(t,e,n){var i=n("6d8b"),o=n("e0d3").makeInner,a=n("cd33"),r=n("133d"),s=i.each,l=i.curry,u=o();function c(t,e,n,o,a){var r,l,u,c,h,d,p,f,g,m,y=t.axis;!y.scale.isBlank()&&y.containData(e)&&(t.involveSeries?(l=e,u=t.axis,c=u.dim,h=l,d=[],p=Number.MAX_VALUE,f=-1,s(t.seriesModels,(function(t,e){var n,i=t.getData().mapDimension(c,!0);if(t.getAxisTooltipData){var o=t.getAxisTooltipData(i,l,u),a=o.dataIndices;o=o.nestestValue}else{if(!(a=t.getData().indicesOfNearest(i[0],l,"category"===u.type?.5:null)).length)return;o=t.getData().get(i[0],a[0])}null!=o&&isFinite(o)&&(i=l-o,(n=Math.abs(i))<=p&&((ne[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},o.inherits(i,a),t.exports=i},ec34:function(t,e,n){n("4e08").__DEV__;var i=n("6d8b"),o=i.createHashMap,a=i.isString,r=i.isArray,s=i.each,l=(i.assert,n("3041").parseXML),u=o(),c={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports={registerMap:function(t,e,n){return e=r(e)?e:e.svg?[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),[{type:"geoJSON",source:e,specialAreas:n}]),s(e,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,c[e])(t)})),u.set(t,e)},retrieveMap:function(t){return u.get(t)}}},ec6f:function(t,e,n){var i=n("6d8b"),o=i.createHashMap,a=i.isTypedArray,r=(i=n("625e").enableClassCheck,n=n("93d0"),n.SOURCE_FORMAT_ORIGINAL),s=n.SERIES_LAYOUT_BY_COLUMN,l=n.SOURCE_FORMAT_UNKNOWN,u=n.SOURCE_FORMAT_TYPED_ARRAY,c=n.SOURCE_FORMAT_KEYED_COLUMNS;function h(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===c?{}:[]),this.sourceFormat=t.sourceFormat||l,this.seriesLayoutBy=t.seriesLayoutBy||s,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&o(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}h.seriesDataToSource=function(t){return new h({data:t,sourceFormat:a(t)?u:r,fromDataset:!1})},i(h),t.exports=h},ecf8:function(t,e,n){var i=n("6d8b"),o=n("3842").parsePercent,a=i.each;t.exports=function(t){var e,n;e=[],n=[],t.eachSeriesByType("boxplot",(function(t){var o=t.getBaseAxis(),a=i.indexOf(n,o);a<0&&(a=n.length,n[a]=o,e[a]={axis:o,seriesModels:[]}),e[a].seriesModels.push(t)})),a(e,(function(t){var e,n,r,s,l,u,c,h,d,p,f,g,m=t.seriesModels;m.length&&(d=(e=t).axis,r=e.seriesModels,s=r.length,l=e.boxWidthList=[],u=e.boxOffsetList=[],c=[],"category"===d.type?n=d.getBandWidth():(h=0,a(r,(function(t){h=Math.max(h,t.getData().count())})),e=d.getExtent(),Math.abs(e[1]-e[0])),a(r,(function(t){t=t.get("boxWidth"),i.isArray(t)||(t=[t,t]),c.push([o(t[0],n)||0,o(t[1],n)||0])})),p=(d=.8*n-2)/s*.3,g=(f=(d-p*(s-1))/s)/2-d/2,a(r,(function(t,e){u.push(g),g+=p+f,l.push(Math.min(Math.max(f,c[e][0]),c[e][1]))})),a(m,(function(e,n){var i=t.boxOffsetList[n],o=(n=t.boxWidthList[n],e.coordinateSystem),a=e.getData(),r=n/2,s="horizontal"===e.get("layout")?0:1,l=1-s,u=(n=["x","y"],a.mapDimension(n[s])),c=a.mapDimension(n[l],!0);if(!(null==u||c.length<5))for(var h=0;ho[0]){for(l=0;lt);l++);s=i[o[l]]}o.splice(l+1,0,t),(i[t]=e).virtual||(s?(n=s.dom).nextSibling?u.insertBefore(e.dom,n.nextSibling):u.appendChild(e.dom):u.firstChild?u.insertBefore(e.dom,u.firstChild):u.appendChild(e.dom))}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){for(var n,i=this._zlevelList,o=0;o"'])/g),s={"&":"&","<":"<",">":">",'"':""","'":"'"};function l(t){return null==t?"":(t+"").replace(r,(function(t,e){return s[e]}))}function u(t,e){return"{"+t+(null==e?"":e)+"}"}var c=["a","b","c","d","e","f","g"];function h(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=o.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1':'':{renderMode:a,content:"{marker"+t+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=(e=a.parseDate(e))["get"+(n=n?"UTC":"")+"FullYear"](),o=e["get"+n+"Month"]()+1,r=e["get"+n+"Date"](),s=e["get"+n+"Hours"](),l=e["get"+n+"Minutes"](),u=e["get"+n+"Seconds"]();e=e["get"+n+"Milliseconds"]();return t.replace("MM",h(o,2)).replace("M",o).replace("yyyy",i).replace("yy",i%100).replace("dd",h(r,2)).replace("d",r).replace("hh",h(s,2)).replace("h",s).replace("mm",h(l,2)).replace("m",l).replace("ss",h(u,2)).replace("s",u).replace("SSS",h(e,3))},e.capitalFirst=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)},e.truncateText=d,e.getTextBoundingRect=function(t){return o.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,i,a,r,s,l){return o.getBoundingRect(t,e,n,i,a,l,r,s)},e.windowOpen=function(t,e){var n;"_blank"===e||"blank"===e?((n=window.open()).opener=null,n.location=t):window.open(t,e)}},edaf:function(t,e,n){var i=n("6d8b"),o=n("6cb7"),a=n("6179"),r=n("e0d3"),s=o.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(t,e,n){this._data,this._names,this.mergeDefaultAndTheme(t,n),this._initData()},mergeOption:function(t){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t=e<=t?e-1:t)<0&&(t=0),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t,e=this.option,n=e.data||[],o=(e=e.axisType,this._names=[]);"category"===e&&(t=[],i.each(n,(function(e,n){var a,s=r.getDataItemValue(e);i.isObject(e)?(a=i.clone(e)).value=n:a=n,t.push(a),i.isString(s)||null!=s&&!isNaN(s)||(s=""),o.push(s+"")})),n=t),e={category:"ordinal",time:"time"}[e]||"number";(this._data=new a([{name:"value",type:e}],this)).initData(n,o)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},edb9:function(t,e,n){var i=n("6d8b");e.layout=function(t,e){e=e||{};var n=t.coordinateSystem,o=t.axis,a={},r=o.position,s=(o=o.orient,{horizontal:{top:(n=[(n=n.getRect()).x,n.x+n.width,n.y,n.y+n.height])[2],bottom:n[3]},vertical:{left:n[0],right:n[1]}});return a.position=["vertical"===o?s.vertical[r]:n[0],"horizontal"===o?s.horizontal[r]:n[3]],a.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),i.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection),null==(s=e.rotate)&&(s=t.get("axisLabel.rotate")),a.labelRotation="top"===r?-s:s,a.z2=1,a}},ee1aa:function(t,e,n){n=n("6d8b");var i=n.each,o=n.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var a,r,s,l,u,c,h=(n=n||{}).byIndex,d=n.stackedCoordDimension,p=!(!t||!t.get("stack"));return i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),p&&!t.isExtraCoord&&(h||a||!t.ordinalMeta||(a=t),r||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(r=t))})),!r||h||a||(h=!0),r&&(s="__\0ecstackresult",l="__\0ecstackedover",a&&(a.createInvertedIndices=!0),u=r.coordDim,n=r.type,c=0,i(e,(function(t){t.coordDim===u&&c++})),e.push({name:s,coordDim:u,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0}),c++,e.push({name:l,coordDim:l,coordDimIndex:c,type:n,isExtraCoord:!0,isCalculationCoord:!0})),{stackedDimension:r&&r.name,stackedByDimension:a&&a.name,isStackedByIndex:h,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},ee66:function(t,e,n){var i=n("3eba"),o=n("6d8b"),a=n("2306"),r=n("eda2"),s=n("3842"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},u={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]};n=i.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var i=this.group,o=(i.removeAll(),t.coordinateSystem),a=o.getRangeInfo();o=o.getOrient();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,a,o,i)},_renderDayRect:function(t,e,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),r=i.getCellWidth(),s=i.getCellHeight(),l=e.start.time;l<=e.end.time;l=i.getNextNDay(l,1).time){var u=i.dataToRect([l],!1).tl;u=new a.Rect({shape:{x:u[0],y:u[1],width:r,height:s},cursor:"default",style:o});n.add(u)}},_renderLines:function(t,e,n,i){for(var o=this,a=t.coordinateSystem,r=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=r.lineWidth,u=(this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[],e.start),c=0;u.time<=e.end.time;c++){d(u.formatedDate);var h=(u=0===c?a.getDateInfo(e.start.y+"-"+e.start.m):u).date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function d(e){o._firstDayOfMonth.push(a.getDateInfo(e)),o._firstDayPoints.push(a.dataToRect([e],!1).tl),e=o._getLinePointsOfOneWeek(t,e,n),o._tlpoints.push(e[0]),o._blpoints.push(e[e.length-1]),s&&o._drawSplitline(e,r,i)}d(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,l,n),r,i),s&&this._drawSplitline(o._getEdgesPoints(o._blpoints,l,n),r,i)},_getEdgesPoints:function(t,e,n){return t=[t[0].slice(),t[t.length-1].slice()],n="horizontal"===n?0:1,t[0][n]=t[0][n]-e/2,t[1][n]=t[1][n]+e/2,t},_drawSplitline:function(t,e,n){t=new a.Polyline({z2:20,shape:{points:t},style:e}),n.add(t)},_getLinePointsOfOneWeek:function(t,e,n){for(var i=t.coordinateSystem,o=(e=i.getDateInfo(e),[]),a=0;a<7;a++){var r=i.getNextNDay(e.time,a),s=i.dataToRect([r.time],!1);o[2*r.day]=s.tl,o[2*r.day+1]=s["horizontal"===n?"bl":"tr"]}return o},_formatterLabel:function(t,e){return"string"==typeof t&&t?r.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,i,o){e=e.slice();var a=["center","bottom"];"bottom"===i?(e[1]+=o,a=["center","top"]):"left"===i?e[0]-=o:"right"===i?(e[0]+=o,a=["center","top"]):e[1]-=o,o=0;return{rotation:o="left"!==i&&"right"!==i?o:Math.PI/2,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,n,i){var o,r,s,l,u,c;t=t.getModel("yearLabel");t.get("show")&&(o=t.get("margin"),r=(r=t.get("position"))||("horizontal"!==n?"top":"left"),s=((c=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]])[0][0]+c[1][0])/2,u=(c[0][1]+c[1][1])/2,s={top:[s,c[l="horizontal"===n?0:1][1]],bottom:[s,c[1-l][1]],left:[c[1-l][0],u],right:[c[l][0],u]},c=e.start.y,+e.end.y>+e.start.y&&(c=c+"-"+e.end.y),l=t.get("formatter"),u={start:e.start.y,end:e.end.y,nameMap:c},e=this._formatterLabel(l,u),c=new a.Text({z2:30}),a.setTextStyle(c.style,t,{text:e}),c.attr(this._yearTextPositionControl(c,s[r],n,r,o)),i.add(c))},_monthTextPositionControl:function(t,e,n,i,o){var a="left",r="top",s=t[0];t=t[1];return"horizontal"===n?(t+=o,e&&(a="center"),"start"===i&&(r="bottom")):(s+=o,e&&(r="middle"),"start"===i&&(a="right")),{x:s,y:t,textAlign:a,textVerticalAlign:r}},_renderMonthText:function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show"))for(var r=i.get("nameMap"),s=i.get("margin"),u=i.get("position"),c=(t=i.get("align"),[this._tlpoints,this._blpoints]),h=(o.isString(r)&&(r=l[r.toUpperCase()]||[]),"start"===u?0:1),d="horizontal"===e?0:1,p=(s="start"===u?-s:s,"center"===t),f=0;fs&&(e[1-a]=e[a]+o.sign*s),e}},ef97:function(t,e,n){var i=n("3eba"),o=(n("217b"),n("f17f"),n("7f96")),a=n("87c3"),r=n("fdde");n("01ed"),i.registerVisual(o("line","circle","line")),i.registerLayout(a("line")),i.registerProcessor(i.PRIORITY.PROCESSOR.STATISTIC,r("line"))},ef97a:function(t,e,n){var i=n("3eba"),o=(n("2163"),n("6cd8"),n("bf9b"),n("7f96"));n=n("ca29");i.registerVisual(o("tree","circle")),i.registerLayout(n)},f123:function(t,e,n){n=n("9f82");var i=n.prepareDataCoordInfo,o=n.getStackedOnPoint;t.exports=function(t,e,n,a,r,s,l,u){c=[],e.diff(t).add((function(t){c.push({cmd:"+",idx:t})})).update((function(t,e){c.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){c.push({cmd:"-",idx:t})})).execute();for(var c,h=c,d=[],p=[],f=[],g=[],m=[],y=[],v=[],x=i(r,e,l),_=i(s,t,u),b=0;bi)return;return 1}(t,e)))return a=e.mapDimension(t.dim),s={},i.each(t.getViewLabels(),(function(t){s[t.tickValue]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}function S(t,e,n){var i,o,a,r;return"cartesian2d"===t.type?(i=t.getBaseAxis().isHorizontal(),o=m(t,e,n),n.get("clip",!0)||(a=o.shape,r=Math.max(a.width,a.height),i?(a.y-=r,a.height+=2*r):(a.x-=r,a.width+=2*r)),o):y(t,e,n)}n=p.extend({type:"line",init:function(){var t=new l.Group,e=new a;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var o,a=t.coordinateSystem,r=this.group,s=t.getData(),u=t.getModel("lineStyle"),c=t.getModel("areaStyle"),h=s.mapArray(s.getItemLayout),d="polar"===a.type,p=this._coordSys,m=this._symbolDraw,y=this._polyline,x=this._polygon,M=this._lineGroup,I=t.get("animation"),A=!c.isEmpty(),T=c.get("origin"),C=function(t,e,n){if(!n.valueDim)return[];for(var i=[],o=0,a=e.count();oe[c-1].coord&&(e.reverse(),h.reverse()),e[0].coord-10),p=e[c-1].coord+10,f=p-d;return f<.001?"transparent":(i.each(e,(function(t){t.offset=(t.coord-d)/f})),e.push({offset:c?e[c-1].offset:.5,color:h[1]||"transparent"}),e.unshift({offset:c?e[0].offset:.5,color:h[0]||"transparent"}),c=new l.LinearGradient(0,0,0,0,e,!0),c[r]=d,c[r+"2"]=p,c)}}}(s,a)||s.getVisual("color"),y.useStyle(i.defaults(u.getLineStyle(),{fill:"none",stroke:p,lineJoin:"bevel"})),t.get("smooth"),n=_(t.get("smooth"));y.setShape({smooth:n,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),x&&(D=s.getCalculationInfo("stackedOnSeries"),m=0,x.useStyle(i.defaults(c.getAreaStyle(),{fill:p,opacity:.7,lineJoin:"bevel"})),D&&(m=_(D.get("smooth"))),x.setShape({smooth:n,stackedOnSmooth:m,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})),this._data=s,this._coordSys=a,this._stackedOnPoints=C,this._points=h,this._step=d,this._valueOrigin=T},dispose:function(){},highlight:function(t,e,n,i){var o=t.getData(),a=u.queryDataIndex(o,i);if(!(a instanceof Array)&&null!=a&&0<=a){var s=o.getItemGraphicEl(a);if(!s){var l=o.getItemLayout(a);if(!l)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l[0],l[1]))return;(s=new r(o,a)).position=l,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(l[0])||isNaN(l[1]),s.__temp=!0,o.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else p.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var o,a=t.getData(),r=u.queryDataIndex(a,i);null!=r&&0<=r?(o=a.getItemGraphicEl(r))&&(o.__temp?(a.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay()):p.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new h({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new d({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n},_updateAnimation:function(t,e,n,i,o,a){var r=this._polyline,u=this._polygon,c=t.hostModel,h=(e=s(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),a=e.current,e.stackedOnCurrent),d=e.next,p=e.stackedOnNext;if(o&&(a=b(e.current,n,o),h=b(e.stackedOnCurrent,n,o),d=b(e.next,n,o),p=b(e.stackedOnNext,n,o)),3e3y.width&&(v-=S-g,S=g,b=null),new i.Polygon({shape:{points:(u=f,c=0,M=S,h=m,d=_===x.length-1,p=void 0,p=[[d?u:u-5,c],[u+M,c],[u+M,c+h],[d?u:u-5,c+h]],0===_||p.splice(2,0,[u+M+5,c+h/2]),d||p.push([u,c+h/2]),p)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:s.getTextColor(),textFont:s.getFont()}),z:10,onclick:a.curry(l,w)}));this.group.add(M),d=t,u=w,M.eventData={componentType:"series",componentSubType:"treemap",componentIndex:d.componentIndex,seriesIndex:d.componentIndex,seriesName:d.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:u&&u.dataIndex,name:u&&u.name},treePathInfo:u&&r(u,d)},f+=S+8}},remove:function(){this.group.removeAll()}},t.exports=s},f6ed:function(t,e,n){var i=n("6d8b");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel();n=n?"o"+n.id:"i"+t.getMapType();(e[n]=e[n]||[]).push(t)})),i.each(e,(function(t,e){n=i.map(t,(function(t){return t.getData()})),o=t[0].get("mapValueCalculation"),a={},i.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){n="ec-"+t.getName(n),a[n]=a[n]||[],isNaN(e)||a[n].push(e)}))}));for(var n,o,a,r=n[0].map(n[0].mapDimension("value"),(function(t,e){for(var i="ec-"+n[0].getName(e),r=0,s=1/0,l=-1/0,u=a[i].length,c=0;cr[1]?-1:1,e=["start"===h?r[0]-e*l:"end"===h?r[1]+e*l:(r[0]+r[1])/2,I(h)?f.labelOffset+i*l:0],null!=(l=g.get("nameRotate"))&&(l=l*v/180),I(h)?n=b(f.rotation,null!=l?l:f.rotation,i):(n=function(t,e,n,i){var o;n=p(n-t.rotation),t=i[0]>i[1],i="start"===e&&!t||"start"!==e&&t;return e=d(n-v/2)?(o=i?"bottom":"top","center"):d(n-1.5*v)?(o=i?"top":"bottom","center"):(o="middle",n<1.5*v&&v/2t.getWidth()||n<0||n>t.getHeight()}(t,e)){var i=t._zr,o=t._covers,a=C(t,e,n);if(!t._dragging)for(var r=0;re[1]&&e.reverse(),t.getExtent()),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){t-=this.cx,e-=this.cy,t=t*t+e*e,e=this.r;var n=this.r0;return t<=e*e&&n*n<=t}}}},t.exports=i},fd63:function(t,e,n){var i=n("42e5"),o=n("6d8b").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(a),s=!o(r)||r instanceof i?null:r,l=(r&&!s||(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r),(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."));r=t.get(l);if(n.setVisual("borderColor",r),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),i=n.get(a,!0);n=n.get(l,!0);null!=i&&t.setItemVisual(e,"color",i),null!=n&&t.setItemVisual(e,"borderColor",n)}:null}}}},fdde:function(t,e){function n(t,e){return Math.round(t.length/2)}var i={average:function(t){for(var e=0,n=0,i=0;ie&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;ne.window.document);i=n.F(e),i&&c.unshift(i);for(const e of c)this._hooks.add(n.l(e,d,e=>{e.buttons!==t?this.stopMonitoring(!0):this._mouseMoveCallback(e)},(e,t)=>this._mouseMoveEventMerger(e,t))),this._hooks.add(n.i(e,"mouseup",e=>this.stopMonitoring(!0)));o.a.hasDifferentOriginAncestor()&&(r=h[h.length-1],this._hooks.add(n.i(r.window.document,"mouseout",e=>{let t=new s.a(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(n.i(r.window.document,"mouseover",e=>{let t=new s.a(e);"html"===t.target.tagName.toLowerCase()&&this.stopMonitoring(!0)})),this._hooks.add(n.i(r.window.document.body,"mouseleave",e=>{this.stopMonitoring(!0)})))}}}},"01b0":function(e,t,i){},"0292":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return i.e("chunk-2d0a3577").then(i.bind(null,"0287"))}})},"03d9":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"b",(function(){return s})),i.d(t,"e",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"f",(function(){return l})),i.d(t,"h",(function(){return d})),i.d(t,"i",(function(){return h})),i.d(t,"g",(function(){return c}));var n,o,s,r,a,l,d,h,c;t=i("dff7");(i=n=n||{}).noSelection=t.a("noSelection","No selection"),i.singleSelectionRange=t.a("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),i.singleSelection=t.a("singleSelection","Line {0}, Column {1}"),i.multiSelectionRange=t.a("multiSelectionRange","{0} selections ({1} characters selected)"),i.multiSelection=t.a("multiSelection","{0} selections"),i.emergencyConfOn=t.a("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),i.openingDocs=t.a("openingDocs","Now opening the Editor Accessibility documentation page."),i.readonlyDiffEditor=t.a("readonlyDiffEditor"," in a read-only pane of a diff editor."),i.editableDiffEditor=t.a("editableDiffEditor"," in a pane of a diff editor."),i.readonlyEditor=t.a("readonlyEditor"," in a read-only code editor"),i.editableEditor=t.a("editableEditor"," in a code editor"),i.changeConfigToOnMac=t.a("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),i.changeConfigToOnWinLinux=t.a("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),i.auto_on=t.a("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),i.auto_off=t.a("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),i.tabFocusModeOnMsg=t.a("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),i.tabFocusModeOnMsgNoKb=t.a("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),i.tabFocusModeOffMsg=t.a("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),i.tabFocusModeOffMsgNoKb=t.a("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),i.openDocMac=t.a("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),i.openDocWinLinux=t.a("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),i.outroMsg=t.a("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),i.showAccessibilityHelpAction=t.a("showAccessibilityHelpAction","Show Accessibility Help"),(o=o||{}).inspectTokensAction=t.a("inspectTokens","Developer: Inspect Tokens"),(s=s||{}).gotoLineActionLabel=t.a("gotoLineActionLabel","Go to Line/Column..."),(r=r||{}).helpQuickAccessActionLabel=t.a("helpQuickAccess","Show all Quick Access Providers"),(i=a=a||{}).quickCommandActionLabel=t.a("quickCommandActionLabel","Command Palette"),i.quickCommandHelp=t.a("quickCommandActionHelp","Show And Run Commands"),(i=l=l||{}).quickOutlineActionLabel=t.a("quickOutlineActionLabel","Go to Symbol..."),i.quickOutlineByCategoryActionLabel=t.a("quickOutlineByCategoryActionLabel","Go to Symbol by Category..."),(i=d=d||{}).editorViewAccessibleLabel=t.a("editorViewAccessibleLabel","Editor content"),i.accessibilityHelpMessage=t.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options."),(h=h||{}).toggleHighContrast=t.a("toggleHighContrast","Toggle High Contrast Theme"),(c=c||{}).bulkEditServiceSummary=t.a("bulkEditServiceSummary","Made {0} edits in {1} files")},"03e8":function(e,t,i){"use strict";i.d(t,"a",(function(){return g})),i.d(t,"c",(function(){return h})),i.d(t,"b",(function(){return m}));var n,o=i("308f"),s=(t=i("a666"),i("ef8e9")),r=i("5fe7"),a=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};(c=n=n||{})[c.None=0]="None",c[c.Initialized=1]="Initialized",c[c.Closed=2]="Closed";class l extends t.a{constructor(e,t=Object.create(null)){super(),this.database=e,this.options=t,this._onDidChangeStorage=this._register(new o.b),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=n.None,this.cache=new Map,this.flushDelayer=new r.f(l.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(e=>this.onDidChangeItemsExternal(e)))}onDidChangeItemsExternal(e){var t;null!=(t=e.changed)&&t.forEach((e,t)=>this.accept(t,e)),null!=(t=e.deleted)&&t.forEach(e=>this.accept(e,void 0))}accept(e,t){if(this.state!==n.Closed){let i=!1;Object(s.m)(t)?i=this.cache.delete(e):this.cache.get(e)!==t&&(this.cache.set(e,t),i=!0),i&&this._onDidChangeStorage.fire(e)}}get(e,t){return e=this.cache.get(e),Object(s.m)(e)?t:e}getBoolean(e,t){return e=this.get(e),Object(s.m)(e)?t:"true"===e}getNumber(e,t){return e=this.get(e),Object(s.m)(e)?t:parseInt(e,10)}set(e,t){return a(this,void 0,void 0,(function*(){var i;if(this.state!==n.Closed)return Object(s.m)(t)?this.delete(e):(i=String(t),this.cache.get(e)!==i?(this.cache.set(e,i),this.pendingInserts.set(e,i),this.pendingDeletes.delete(e),this._onDidChangeStorage.fire(e),this.flushDelayer.trigger(()=>this.flushPending())):void 0)}))}delete(e){return a(this,void 0,void 0,(function*(){if(this.state!==n.Closed&&this.cache.delete(e))return this.pendingDeletes.has(e)||this.pendingDeletes.add(e),this.pendingInserts.delete(e),this._onDidChangeStorage.fire(e),this.flushDelayer.trigger(()=>this.flushPending())}))}get hasPending(){return 0{var e;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)null!=(e=this.whenFlushedCallbacks.pop())&&e()})}))}dispose(){this.flushDelayer.dispose(),super.dispose()}}l.DEFAULT_FLUSH_DELAY=100;class d{constructor(){this.onDidChangeItemsExternal=o.c.None,this.items=new Map}updateItems(e){return a(this,void 0,void 0,(function*(){e.insert&&e.insert.forEach((e,t)=>this.items.set(t,e)),e.delete&&e.delete.forEach(e=>this.items.delete(e))}))}}var h,c=i("0a0f");const u="__$__targetStorageMarker",g=Object(c.c)("storageService");(i=h=h||{})[i.NONE=0]="NONE",i[i.SHUTDOWN=1]="SHUTDOWN";class p extends t.a{constructor(e={flushInterval:p.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new o.e),this._onDidChangeTarget=this._register(new o.e),this._onWillSaveState=this._register(new o.b),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===u?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){return null==(t=this.getStorage(t))?void 0:t.get(e,i)}getBoolean(e,t,i){return null==(t=this.getStorage(t))?void 0:t.getBoolean(e,i)}getNumber(e,t,i){return null==(t=this.getStorage(t))?void 0:t.getNumber(e,i)}store(e,t,i,n){Object(s.m)(t)?this.remove(e,i):this.withPausedEmitters(()=>{var o;this.updateKeyTarget(e,i,n),null!=(o=this.getStorage(i))&&o.set(e,t)})}remove(e,t){this.withPausedEmitters(()=>{var i;this.updateKeyTarget(e,t,void 0),null!=(i=this.getStorage(t))&&i.delete(e)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){const n=this.getKeyTargets(t);"number"==typeof i?n[e]!==i&&(n[e]=i,null!=(i=this.getStorage(t))&&i.set(u,JSON.stringify(n))):"number"==typeof n[e]&&(delete n[e],null!=(i=this.getStorage(t))&&i.set(u,JSON.stringify(n)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){if(e=this.get(u,e),e)try{return JSON.parse(e)}catch(e){}return Object.create(null)}}p.DEFAULT_FLUSH_INTERVAL=6e4;class m extends p{constructor(){super(),this.globalStorage=this._register(new l(new d)),this.workspaceStorage=this._register(new l(new d)),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.globalStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e)))}getStorage(e){return 0===e?this.globalStorage:this.workspaceStorage}}},"0447":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\{i.push(...this.validateAndRegisterProperties(e,t,e.extensionInfo)),this.configurationContributors.push(e),this.registerJSONConfiguration(e)}),p.registerSchema(g,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(i)}registerOverrideIdentifiers(e){for(const t of e)this.overrideIdentifiers.add(t);this.updateOverridePropertyPatternKey()}validateAndRegisterProperties(e,t=!0,i,n=3){var r;n=o.m(e.scope)?n:e.scope;let a=[],l=e.properties;if(l)for(var d in l)if(t&&function(e){return e.trim()?m.test(e)?s.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==_.getConfigurationProperties()[e]&&s.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):s.a("config.property.empty","Cannot register an empty property")}(d))delete l[d];else{const e=l[d];this.updatePropertyDefaultValue(d,e),m.test(d)?e.scope=void 0:(e.scope=o.m(e.scope)?n:e.scope,e.restricted=o.m(e.restricted)?!(null==(r=null==i?void 0:i.restrictedConfigurations)||!r.includes(d)):e.restricted),l[d].hasOwnProperty("included")&&!l[d].included?(this.excludedConfigurationProperties[d]=l[d],delete l[d]):(this.configurationProperties[d]=l[d],!l[d].deprecationMessage&&l[d].markdownDeprecationMessage&&(l[d].deprecationMessage=l[d].markdownDeprecationMessage),a.push(d))}if(e=e.allOf,e)for(var h of e)a.push(...this.validateAndRegisterProperties(h,t,i,n));return a}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(e){const t=e=>{var i=e.properties;if(i)for(const t in i)this.updateSchema(t,i[t]);let n=e.allOf;n&&n.forEach(t)};t(e)}updateSchema(e,t){switch((a.properties[e]=t).scope){case 1:l.properties[e]=t;break;case 2:d.properties[e]=t;break;case 6:h.properties[e]=t;break;case 3:c.properties[e]=t;break;case 4:u.properties[e]=t;break;case 5:u.properties[e]=t,this.resourceLanguageSettingsSchema.properties[e]=t}}updateOverridePropertyPatternKey(){for(const i of this.overrideIdentifiers.values()){var e=`[${i}]`,t={type:"object",description:s.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:s.a("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:g};this.updatePropertyDefaultValue(e,t),a.properties[e]=t,l.properties[e]=t,d.properties[e]=t,h.properties[e]=t,c.properties[e]=t,u.properties[e]=t}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,t){let i=this.defaultValues[e];o.l(i)&&(i=t.default),o.l(i)&&(i=function(e){switch(e=Array.isArray(e)?e[0]:e,e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}(t.type)),t.default=i}};i.a.add(r.Configuration,_)},"099d":function(e,t,i){"use strict";function n(e){return e<0?0:255n.a.replace(o.a.lift(e.range),e.text))):e.executeEdits("formatEditsCommand",r.map(e=>n.a.replaceMove(o.a.lift(e.range),e.text))),i&&e.pushUndoStop()}}},"0a0f":function(e,t,i){"use strict";var n,o;i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return s})),i.d(t,"c",(function(){return a})),i.d(t,"d",(function(){return l})),(o=n=n||{}).serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies",o.getServiceDependencies=function(e){return e[o.DI_DEPENDENCIES]||[]};const s=a("instantiationService");function r(e,t,i,o){t[n.DI_TARGET]===t?t[n.DI_DEPENDENCIES].push({id:e,index:i,optional:o}):(t[n.DI_DEPENDENCIES]=[{id:e,index:i,optional:o}],t[n.DI_TARGET]=t)}function a(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);function t(e,i,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(t,e,n,!1)}return t.toString=()=>e,n.serviceIds.set(e,t),t}function l(e){return function(t,i,n){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");r(e,t,n,!0)}}},"0a31":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0f70"),i=i("30db");const n={clipboard:{writeText:i.g||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:i.g||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:i.g||t.i?0:navigator.keyboard||t.h?1:2,touch:"ontouchstart"in window||0, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"}static readFromTextArea(e){return new a(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)}collapseSelection(){return new a(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(e,t,i){t.setValue(e,this.value),i&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)}deduceEditorPosition(e){var t;if(e<=this.selectionStart)return t=this.value.substring(e,this.selectionStart),this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1);if(e>=this.selectionEnd)return t=this.value.substring(this.selectionEnd,e),this._finishDeduceEditorPosition(this.selectionEndPosition,t,1);const i=this.value.substring(this.selectionStart,e);return-1===i.indexOf(String.fromCharCode(8230))?this._finishDeduceEditorPosition(this.selectionStartPosition,i,1):(t=this.value.substring(e,this.selectionEnd),this._finishDeduceEditorPosition(this.selectionEndPosition,t,-1))}_finishDeduceEditorPosition(e,t,i){let n=0,o=-1;for(;-1!==(o=t.indexOf("\n",o+1));)n++;return[e,i*t.length,n]}static selectedText(e){return new a(e,0,e.length,null,null)}static deduceInput(e,t,i){if(!e)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};let o=e.value;var s=e.selectionStart;e=e.selectionEnd;let r=t.value;var a=t.selectionStart,l=(t=t.selectionEnd,o.substring(e)),d=r.substring(t);l=n.e(l,d),r=r.substring(0,r.length-l),d=(o=o.substring(0,o.length-l)).substring(0,s),l=r.substring(0,a),l=n.d(d,l);if(r=r.substring(l),o=o.substring(l),a-=l,s-=l,t-=l,e-=l,i&&a==t&&0n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return y(this,void 0,void 0,(function*(){var o=n.includeDisabledActions?t.allActions:t.validActions;if(o.length){if(!this._editor.getDomNode())throw this._visible=!1,Object(h.b)();this._visible=!0,this._showingActions.value=t;const n=this.getMenuActions(e,o,t.documentation),s=m.a.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},r=this._keybindingResolver.getResolver();o=this._editor.getOption(114),this._contextMenuService.showContextMenu({domForShadowRoot:o?this._editor.getDomNode():void 0,getAnchor:()=>s,getActions:()=>n,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:e=>e instanceof S?r(e.action):void 0})}else this._visible=!1}))}getMenuActions(e,t,i){var n;const o=e=>new S(e.action,()=>this._delegate.onSelectCodeAction(e)),s=t.map(o),r=[...i];if(i=this._editor.getModel(),i&&s.length)for(const a of f.a.all(i))a._getAdditionalMenuItems&&r.push(...a._getAdditionalMenuItems({trigger:e.type,only:null==(n=null==(n=e.filter)?void 0:n.include)?void 0:n.value},t.map(e=>e.action)));return r.length&&s.push(new p.d,...r.map(e=>o(new d.a({title:e.title,command:e},void 0)))),s}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();e=this._editor.getScrolledVisiblePosition(e);var t=Object(g.D)(this._editor.getDomNode());return{x:t.left+e.left,y:t.top+e.top+e.height}}};L=C([w(2,b.a),w(3,v.a)],L);class x{constructor(e){this._keybindingProvider=e}getResolver(){const e=new o(()=>this._keybindingProvider.getKeybindings().filter(e=>0<=x.codeActionCommands.indexOf(e.command)).filter(e=>e.resolvedKeybinding).map(e=>{let t=e.commandArgs;return e.command===d.e?t={kind:_.b.SourceOrganizeImports.value}:e.command===d.c&&(t={kind:_.b.SourceFixAll.value}),Object.assign({resolvedKeybinding:e.resolvedKeybinding},_.a.fromUser(t,{kind:_.b.None,apply:"never"}))}));return t=>t.kind&&null!=(t=this.bestKeybindingForCodeAction(t,e.getValue()))?t.resolvedKeybinding:void 0}bestKeybindingForCodeAction(e,t){if(e.kind){const i=new _.b(e.kind);return t.filter(e=>e.kind.contains(i)).filter(t=>!t.preferred||e.isPreferred).reduceRight((e,t)=>!e||e.kind.contains(t.kind)?t:e,void 0)}}}x.codeActionCommands=[d.f,d.b,d.g,d.e,d.c];var k,D=i("00a3"),N=i("308f"),O=(i("30d5"),i("b57f")),E=i("dff7"),I=(C=i("b7d0"),i("303e")),M=i("a60f"),T=i("561a"),A=(b=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{const t=this._editor.getModel();(1!==this.state.type||!t||this.state.editorPosition.lineNumber>=t.getLineCount())&&this.hide()})),M.b.ignoreTarget(this._domNode),this._register(g.n(this._domNode,e=>{if(1===this.state.type){this._editor.focus(),e.preventDefault();var{top:t,height:i}=g.D(this._domNode),n=this._editor.getOption(58);let o=Math.floor(n/3);null!==this.state.widgetPosition.position&&this.state.widgetPosition.position.lineNumber{if(1==(1&e.buttons)){this.hide();const t=new D.a;t.startMonitoring(e.target,e.buttons,D.b,()=>{},()=>{t.dispose()})}})),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(56)&&!this._editor.getOption(56).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return 1===this._state.type?this._state.widgetPosition:null}update(t,i,n){if(t.validActions.length<=0)return this.hide();const o=this._editor.getOptions();if(!o.get(56).enabled)return this.hide();const s=this._editor.getModel();if(!s)return this.hide();var{lineNumber:r,column:a}=s.validatePosition(n),l=s.getOptions().tabSize,d=o.get(42),h=s.getLineContent(r);h=O.b.computeIndentLevel(h,l),l=e=>2{var i=null==(i=e.getColor(I.r))?void 0:i.transparent(.7),n=e.getColor(I.Q);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${T.b.lightBulb.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t\tbackground-color: ${i};\n\t\t}`),n=e.getColor(I.P);n&&t.addRule(`\n\t\t.monaco-editor .contentWidgets ${T.b.lightbulbAutofix.cssSelector} {\n\t\t\tcolor: ${n};\n\t\t\tbackground-color: ${i};\n\t\t}`)});A=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._register(r.createInstance(L,this._editor,{onSelectCodeAction:e=>F(this,void 0,void 0,(function*(){this.delegate.applyCodeAction(e,!0)}))}))),this._lightBulbWidget=new o(()=>{const e=this._register(r.createInstance(R,this._editor,t,i));return this._register(e.onClick(e=>this.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1}))),e})}dispose(){B(this,P,!0,"f"),super.dispose()}update(e){var i,n;return F(this,void 0,void 0,(function*(){if(1!==e.type)null!=(i=this._lightBulbWidget.rawValue)&&i.hide();else{let s;try{s=yield e.actions}catch(t){return void Object(h.f)(t)}if(!j(this,P,"f"))if(this._lightBulbWidget.getValue().update(s,e.trigger,e.position),1===e.trigger.type){if(null!=(i=e.trigger.filter)&&i.include){var o=this.tryGetValidActionToApply(e.trigger,s);if(o){try{yield this.delegate.applyCodeAction(o,!1)}finally{s.dispose()}return}if(e.trigger.context&&(o=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,s),o&&o.action.disabled))return c.a.get(this._editor).showMessage(o.action.disabled,e.trigger.context.position),void s.dispose()}o=!(null==(n=e.trigger.filter)||!n.include),!e.trigger.context||s.allActions.length&&(o||s.validActions.length)?(this._activeCodeActions.value=s,this._codeActionWidget.getValue().show(e.trigger,s,e.position,{includeDisabledActions:o})):(c.a.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),(this._activeCodeActions.value=s).dispose())}else this._codeActionWidget.getValue().isVisible?s.dispose():this._activeCodeActions.value=s}}))}getInvalidActionThatWouldHaveBeenApplied(e,t){return t.allActions.length&&("first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length)?t.allActions.find(({action:e})=>e.disabled):void 0}tryGetValidActionToApply(e,t){return t.validActions.length&&("first"===e.autoApply&&0this._onMarkerChanges(e))),this._register(this._editor.onDidChangeCursorPosition(()=>this._onCursorChange()))}trigger(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)}_onMarkerChanges(e){const t=this._editor.getModel();t&&e.some(e=>Object(G.f)(e,t.uri))&&this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_onCursorChange(){this._autoTriggerTimer.cancelAndSet(()=>{this.trigger({type:2})},this._delay)}_getRangeOfMarker(e){const t=this._editor.getModel();if(t)for(const n of this._markerService.read({resource:t.uri})){var i=t.validateRange(n);if(Z.a.intersectRanges(i,e))return Z.a.lift(i)}}_getRangeOfSelectionUnlessWhitespaceEnclosed(e){if(this._editor.hasModel()){const n=this._editor.getModel(),o=this._editor.getSelection();if(o.isEmpty()&&2===e.type){var{lineNumber:e,column:t}=o.getPosition(),i=n.getLineContent(e);if(0===i.length)return;if(1===t){if(/\s/.test(i[0]))return}else if(t===n.getLineMaxColumn(e)){if(/\s/.test(i[i.length-1]))return}else if(/\s/.test(i[t-2])&&/\s/.test(i[t-1]))return}return o}}_createEventAndSignalChange(e,t){var i=this._editor.getModel();if(t&&i){const n=this._getRangeOfMarker(t);return i=(n||t).getStartPosition(),e={trigger:e,selection:t,position:i},this._signalChange(e),e}this._signalChange(void 0)}}v=V=V||{},v.Empty={type:0},v.Triggered=class{constructor(e,t,i,n){this.trigger=e,this.rangeOrSelection=t,this.position=i,this._cancellablePromise=n,this.type=1,this.actions=n.catch(e=>{if(Object(h.e)(e))return ee;throw e})}cancel(){this._cancellablePromise.cancel()}};const ee={allActions:[],validActions:[],dispose:()=>{},documentation:[],hasAutoFix:!1};class te extends s.a{constructor(e,t,i,n){super(),this._editor=e,this._markerService=t,this._progressService=n,this._codeActionOracle=this._register(new s.d),this._state=V.Empty,this._onDidChangeState=this._register(new N.b),this.onDidChangeState=this._onDidChangeState.event,ie.set(this,!1),this._supportedCodeActions=Q.bindTo(i),this._register(this._editor.onDidChangeModel(()=>this._update())),this._register(this._editor.onDidChangeModelLanguage(()=>this._update())),this._register(f.a.onDidChange(()=>this._update())),this._update()}dispose(){Y(this,ie,"f")||(X(this,ie,!0,"f"),super.dispose(),this.setState(V.Empty,!0))}_update(){if(!Y(this,ie,"f")){this._codeActionOracle.value=void 0,this.setState(V.Empty);const e=this._editor.getModel();if(e&&f.a.has(e)&&!this._editor.getOption(80)){const t=[];for(const i of f.a.all(e))Array.isArray(i.providedCodeActionKinds)&&t.push(...i.providedCodeActionKinds);this._supportedCodeActions.set(t.join(" ")),this._codeActionOracle.value=new J(this._editor,this._markerService,t=>{var i,n;t?(n=Object($.h)(i=>Object(d.d)(e,t.selection,t.trigger,K.b.None,i)),1===t.trigger.type&&null!=(i=this._progressService)&&i.showWhile(n,250),this.setState(new V.Triggered(t.trigger,t.selection,t.position,n))):this.setState(V.Empty)},void 0),this._codeActionOracle.value.trigger({type:2})}else this._supportedCodeActions.reset()}}trigger(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)}setState(e,t){e!==this._state&&(1===this._state.type&&this._state.cancel(),this._state=e,t||Y(this,ie,"f")||this._onDidChangeState.fire(e))}}var ie=new WeakMap,ne=(C=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.update(e))),this._ui=new o(()=>this._register(new W(e,de.Id,me.Id,{applyCodeAction:(e,t)=>ne(this,void 0,void 0,(function*(){try{yield this._applyCodeAction(e)}finally{t&&this._trigger({type:2,filter:{}})}}))},this._instantiationService)))}static get(t){return t.getContribution(e.ID)}update(e){this._ui.getValue().update(e)}showCodeActions(e,t,i){return this._ui.getValue().showCodeActionList(e,t,i,{includeDisabledActions:!1})}manualTriggerAtCurrentPosition(e,t,i){var n;this._editor.hasModel()&&(c.a.get(this._editor).closeMessage(),n=this._editor.getPosition(),this._trigger({type:1,filter:t,autoApply:i,context:{notAvailableMessage:e,position:n}}))}_trigger(e){return this._model.trigger(e)}_applyCodeAction(e){return this._instantiationService.invokeFunction(ae,e,this._editor)}};function ae(e,t,i){return ne(this,void 0,void 0,(function*(){const o=e.get(a.a),s=e.get(H.b),r=e.get(q.a),l=e.get(U.a);if(r.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.action.title,codeActionKind:t.action.kind,codeActionIsPreferred:!!t.action.isPreferred}),yield t.resolve(n.a.None),t.action.edit&&(yield o.apply(a.b.convert(t.action.edit),{editor:i,label:t.action.title})),t.action.command)try{yield s.executeCommand(t.action.command.id,...t.action.command.arguments||[])}catch(o){d="string"==typeof(d=o)?d:d instanceof Error&&"string"==typeof d.message?d.message:void 0,l.error("string"==typeof d?d:E.a("applyCodeActionFailed","An unknown error occurred while applying the code action"))}var d}))}function le(e,t,i,n){if(e.hasModel()){const o=re.get(e);o&&o.manualTriggerAtCurrentPosition(t,i,n)}}re.ID="editor.contrib.quickFixController",re=C([A(1,w.b),A(2,z.b),A(3,K.a),A(4,u.a)],re);class de extends t.b{constructor(){super({id:de.Id,label:E.a("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:2132,weight:100}})}run(e,t){return le(t,E.a("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)}}de.Id="editor.action.quickFix";class he extends t.c{constructor(){super({id:d.b,precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:se}]}})}runEditorCommand(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Empty,apply:"ifSingle"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",i.kind):E.a("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",i.kind):n.preferred?E.a("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):E.a("editor.action.codeAction.noneMessage","No code actions available"),{include:n.kind,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class ce extends t.b{constructor(){super({id:d.f,label:E.a("refactor.label","Refactor..."),alias:"Refactor...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:z.a.and(l.a.writable,oe(_.b.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:se}]}})}run(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Refactor,apply:"never"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",i.kind):E.a("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",i.kind):n.preferred?E.a("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):E.a("editor.action.refactor.noneMessage","No refactorings available"),{include:_.b.Refactor.contains(n.kind)?n.kind:_.b.None,onlyIncludePreferredActions:n.preferred},n.apply)}}class ue extends t.b{constructor(){super({id:d.g,label:E.a("source.label","Source Action..."),alias:"Source Action...",precondition:z.a.and(l.a.writable,l.a.hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:z.a.and(l.a.writable,oe(_.b.Source))},description:{description:"Source Action...",args:[{name:"args",schema:se}]}})}run(e,t,i){var n=_.a.fromUser(i,{kind:_.b.Source,apply:"never"});return le(t,"string"==typeof(null==i?void 0:i.kind)?n.preferred?E.a("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",i.kind):E.a("editor.action.source.noneMessage.kind","No source actions for '{0}' available",i.kind):n.preferred?E.a("editor.action.source.noneMessage.preferred","No preferred source actions available"):E.a("editor.action.source.noneMessage","No source actions available"),{include:_.b.Source.contains(n.kind)?n.kind:_.b.None,includeSourceActions:!0,onlyIncludePreferredActions:n.preferred},n.apply)}}class ge extends t.b{constructor(){super({id:d.e,label:E.a("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:z.a.and(l.a.writable,oe(_.b.SourceOrganizeImports)),kbOpts:{kbExpr:l.a.editorTextFocus,primary:1581,weight:100}})}run(e,t){return le(t,E.a("editor.action.organize.noneMessage","No organize imports action available"),{include:_.b.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}class pe extends t.b{constructor(){super({id:d.c,label:E.a("fixAll.label","Fix All"),alias:"Fix All",precondition:z.a.and(l.a.writable,oe(_.b.SourceFixAll))})}run(e,t){return le(t,E.a("fixAll.noneMessage","No fix all action available"),{include:_.b.SourceFixAll,includeSourceActions:!0},"ifSingle")}}class me extends t.b{constructor(){super({id:me.Id,label:E.a("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:z.a.and(l.a.writable,oe(_.b.QuickFix)),kbOpts:{kbExpr:l.a.editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})}run(e,t){return le(t,E.a("editor.action.autoFix.noneMessage","No auto fixes available"),{include:_.b.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")}}me.Id="editor.action.autoFix"},"0baa":function(e,t,i){},"0bfb":function(e,t,i){"use strict";function n(e){const t=this;let i,n=!1;return function(){return n||(n=!0,i=e.apply(t,arguments)),i}}i.d(t,"a",(function(){return n}))},"0d30":function(e,t,i){},"0ef9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return i.e("chunk-2d221814").then(i.bind(null,"cb43"))}})},"0f70":function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"l",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return d})),i.d(t,"g",(function(){return c})),i.d(t,"j",(function(){return u})),i.d(t,"f",(function(){return g})),i.d(t,"h",(function(){return p})),i.d(t,"k",(function(){return m})),i.d(t,"e",(function(){return f})),i.d(t,"i",(function(){return _}));var n=i("308f");class o{constructor(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new n.b,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event,this._zoomFactor=1}getZoomLevel(){return this._zoomLevel}getTimeSinceLastZoomLevelChanged(){return Date.now()-this._lastZoomLevelChangeTime}getZoomFactor(){return this._zoomFactor}getPixelRatio(){var e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function s(){return o.INSTANCE.getZoomLevel()}function r(){return o.INSTANCE.getTimeSinceLastZoomLevelChanged()}function a(e){return o.INSTANCE.onDidChangeZoomLevel(e)}function l(){return o.INSTANCE.getZoomFactor()}function d(){return o.INSTANCE.getPixelRatio()}o.INSTANCE=new o;const h=navigator.userAgent,c=0<=h.indexOf("Firefox"),u=0<=h.indexOf("AppleWebKit"),g=0<=h.indexOf("Chrome"),p=!g&&0<=h.indexOf("Safari"),m=!g&&!p&&u,f=0<=h.indexOf("Android"),_=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},1080:function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return m}));var n=i("3742"),o=i("7ab3"),s=i("6a89");class r{constructor(e,t,i,n,o,s){this._richEditBracketBrand=void 0,this.languageIdentifier=e,this.index=t,this.open=i,this.close=n,this.forwardRegex=o,this.reversedRegex=s,this._openSet=r._toSet(this.open),this._closeSet=r._toSet(this.close)}isOpen(e){return this._openSet.has(e)}isClose(e){return this._closeSet.has(e)}static _toSet(e){const t=new Set;for(const i of e)t.add(i);return t}}function a(e){const t=e.length,i=(e=e.map(e=>[e[0].toLowerCase(),e[1].toLowerCase()]),[]);for(let c=0;c{var[e,i]=e,[t,n]=t;return e===t||e===n||i===t||i===n})(s,e[n])){d=l=void 0;var r=i[c],a=i[n],l=Math.min(r,a),d=Math.max(r,a);for(let e=0;enew r(e,n,t.open,t.close,function(e,t,i,n){let o=[];o=(o=o.concat(e)).concat(t);for(let s=0,r=o.length;st?e:"\\"+e)}const l=new RegExp("\\\\"+i.source,"g");function d(e){return e.replace(l,e=>"\\"+e)}const h=new RegExp(`(\\s)?(\\\\)?${i.source}(\\s)?`,"g");function c(e){return-1===e.indexOf(s)?e:e.replace(h,(e,t,i,n)=>i?e:t||n||"")}function u(e){var t,i=e.indexOf(s);if(-1===i)return{text:e};{var n=e;e=i;const a=[];let l="";function o(e){if(e){l+=e;for(const t of e)a.push(g)}}let d,h,c=-1,u="",g=0,p=e;var r=n.length;for(o(n.substr(0,e));p{let n=i.relatedTarget;for(;n&&n!==e;)n=n.parentNode;n!==e&&t(i)})}function S(e,t){return f(e,"pointerout",i=>{let n=i.relatedTarget;for(;n&&n!==e;)n=n.parentNode;n!==e&&t(i)})}let L,x,k=null;class D{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(t){Object(l.f)(t)}}static sort(e,t){return t.priority-e.priority}}{let e=[],t=null,i=!1,n=!1,o=()=>{for(i=!1,t=e,e=[],n=!0;0(t=new D(t,n),e.push(t),i||(i=!0,n=o,(k=k||(self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||(e=>setTimeout(()=>e((new Date).getTime()),0)))).call(self,n)),t),L=(e,i)=>{var o;return n?(o=new D(e,i),t.push(o),o):x(e,i)}}class N extends h.a{constructor(e,t,i,n=function(e,t){return t},o=8){super();let s=null,r=0,l=this._register(new a.g),d=()=>{r=(new Date).getTime(),i(s),s=null};this._register(f(e,t,e=>{s=n(s,e),e=(new Date).getTime()-r,o<=e?(l.cancel(),d()):l.setIfNotSet(d,o-e)}))}}function O(e,t,i,n,o){return new N(e,t,i,n,o)}function E(e){return document.defaultView.getComputedStyle(e,null)}function I(e){if(e!==document.body)return new T(e.clientWidth,e.clientHeight);if(u.c&&window.visualViewport)return new T(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new T(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new T(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new T(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}class M{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=E(e),o="0";return n&&(o=n.getPropertyValue?n.getPropertyValue(t):n.getAttribute(i)),M.convertToPixels(e,o)}static getBorderLeftWidth(e){return M.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return M.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return M.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return M.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return M.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return M.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return M.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return M.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return M.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return M.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return M.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return M.getDimension(e,"margin-bottom","marginBottom")}}class T{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new T(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof T?e:new T(e.width,e.height)}static equals(e,t){return e===t||!(!e||!t)&&e.width===t.width&&e.height===t.height}}function A(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){i-=e.scrollTop;var o=K(e)?null:E(e);o&&(n-="rtl"!==o.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=M.getBorderLeftWidth(e),i=(i+=M.getBorderTopWidth(e))+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function R(e,t,i){"number"==typeof t&&(e.style.width=t+"px"),"number"==typeof i&&(e.style.height=i+"px")}function P(e){return e=e.getBoundingClientRect(),{left:e.left+F.scrollX,top:e.top+F.scrollY,width:e.width,height:e.height}}const F=new class{get scrollX(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function B(e){var t=M.getMarginLeft(e)+M.getMarginRight(e);return e.offsetWidth+t}function j(e){var t=M.getBorderLeftWidth(e)+M.getBorderRightWidth(e),i=M.getPaddingLeft(e)+M.getPaddingRight(e);return e.offsetWidth-t-i}function W(e){var t=M.getBorderTopWidth(e)+M.getBorderBottomWidth(e),i=M.getPaddingTop(e)+M.getPaddingBottom(e);return e.offsetHeight-t-i}function V(e){var t=M.getMarginTop(e)+M.getMarginBottom(e);return e.offsetHeight+t}function H(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function z(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i)if("string"==typeof i){if(e.classList.contains(i))return null}else if(e===i)return null;e=e.parentNode}return null}function U(e,t,i){return!!z(e,t,i)}function K(e){return e&&e.host&&e.mode}function q(e){return!!$(e)}function $(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return K(e)?e:null}function G(){let e=document.activeElement;for(;null!==e&&void 0!==e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function Z(e=document.getElementsByTagName("head")[0]){let t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}let Y=null;function X(){return Y=Y||Z()}function Q(e,t,i=X()){i&&t&&i.sheet.insertRule(e+"{"+t+"}",0)}function J(e,t=X()){if(t){var i,n,o=null!=(n=null==(i=t)?void 0:i.sheet)&&n.rules?i.sheet.rules:null!=(n=null==i?void 0:i.sheet)&&n.cssRules?i.sheet.cssRules:[];let s=[];for(let t=0;t{i=!1,t||(t=!0,this._onDidFocus.fire())},o=()=>{t&&(i=!0,window.setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{H(document.activeElement,e)!==t&&(t?o:n)()},this._register(f(e,te.FOCUS,n,!0)),this._register(f(e,te.BLUR,o,!0))}}function re(e){return new se(e)}function ae(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function le(e,t){return e.insertBefore(t,e.firstChild),t}function de(e,...t){e.innerText="",ae(e,...t)}const he=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function ce(e,t,i,...o){let s,r=he.exec(t);if(!r)throw new Error("Bad use of emmet");return i=Object.assign({},i||{}),t=r[1]||"div",s=e!==n.HTML?document.createElementNS(e,t):document.createElement(t),r[3]&&(s.id=r[3]),r[4]&&(s.className=r[4].replace(/\./g," ").trim()),Object.keys(i).forEach(e=>{var t=i[e];void 0!==t&&(/^on\w+$/.test(e)?s[e]=t:"selected"===e?t&&s.setAttribute(e,"true"):s.setAttribute(e,t))}),s.append(...o),s}function ue(e,t,...i){return ce(n.HTML,e,t,...i)}function ge(...e){for(var t of e)t.style.display="",t.removeAttribute("aria-hidden")}function pe(...e){for(var t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function me(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function fe(e){return e=window.devicePixelRatio*e,Math.max(1,Math.floor(e))/window.devicePixelRatio}function _e(e){window.open(e,"_blank","noopener")}function be(e){const t=()=>{e(),i=x(t)};let i=x(t);return Object(h.i)(()=>i.dispose())}function ve(e){return e?`url('${c.a.asBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function Ce(e){return`'${e.replace(/'/g,"%27")}'`}(i=n=n||{}).HTML="http://www.w3.org/1999/xhtml",i.SVG="http://www.w3.org/2000/svg",ue.SVG=function(e,t,...i){return ce(n.SVG,e,t,...i)},c.b.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");class we extends d.b{constructor(){super(),this._subscriptions=new h.b,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(f(window,"keydown",e=>{if(!e.defaultPrevented){var t=new s.a(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}}},!0)),this._subscriptions.add(f(window,"keyup",e=>{e.defaultPrevented||(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(f(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(f(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(f(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(f(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return we.instance||(we.instance=new we),we.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}function ye(e,t){const i=window.matchMedia(e);"function"==typeof i.addEventListener?i.addEventListener("change",t):i.addListener(t)}},"133b":function(e,t,i){},1389:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:function(){return i.e("chunk-2d0aab07").then(i.bind(null,"11a2"))}})},"13e8":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return i.e("chunk-2d209408").then(i.bind(null,"a7ea"))}})},1569:function(e,t,i){"use strict";function n(e,t){if(!e)throw new Error(t?`Assertion failed (${t})`:"Assertion Failed")}i.d(t,"a",(function(){return n}))},1665:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s}));t=i("30db");var n=i("dff7");const o=new(i("4fc3").c)("isWindows",t.i,Object(n.a)("isWindows","Whether the operating system is Windows")),s="inputFocus"},"16f5":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return i.e("chunk-2d0bb267").then(i.bind(null,"39f1"))}})},1754:function(e,t,i){},1898:function(e,t,i){"use strict";i.d(t,"b",(function(){return D})),i.d(t,"c",(function(){return N})),i.d(t,"a",(function(){return O}));var n=i("0f70"),o=i("11f7"),s=i("6653"),r=i("5d28"),a=i("00a3"),l=(t=i("1b7d"),i("5fe7"));class d extends t.a{constructor(e){super(),this._onActivate=e.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=e.bgWidth+"px",this.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(this.bgDomNode.style.top="0px"),void 0!==e.left&&(this.bgDomNode.style.left="0px"),void 0!==e.bottom&&(this.bgDomNode.style.bottom="0px"),void 0!==e.right&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=e.className,this.domNode.classList.add(...e.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width="11px",this.domNode.style.height="11px",void 0!==e.top&&(this.domNode.style.top=e.top+"px"),void 0!==e.left&&(this.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(this.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(this.domNode.style.right=e.right+"px"),this._mouseMoveMonitor=this._register(new a.a),this.onmousedown(this.bgDomNode,e=>this._arrowMouseDown(e)),this.onmousedown(this.domNode,e=>this._arrowMouseDown(e)),this._mousedownRepeatTimer=this._register(new l.c),this._mousedownScheduleRepeatTimer=this._register(new l.g)}_arrowMouseDown(e){this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)},200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,a.b,e=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()}}var h=i("a666");class c extends h.a{constructor(e,t,i){super(),this._visibility=e,this._visibleClassName=t,this._invisibleClassName=i,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new l.g)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this._updateShouldBeVisible())}setShouldBeVisible(e){this._rawShouldBeVisible=e,this._updateShouldBeVisible()}_applyVisibilitySetting(){return 2!==this._visibility&&(3===this._visibility||this._rawShouldBeVisible)}_updateShouldBeVisible(){var e=this._applyVisibilitySetting();this._shouldBeVisible!==e&&(this._shouldBeVisible=e,this.ensureVisibility())}setIsNeeded(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())}setDomNode(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))}}var u=i("30db");class g extends t.a{constructor(e){super(),this._lazyRender=e.lazyRender,this._host=e.host,this._scrollable=e.scrollable,this._scrollByPage=e.scrollByPage,this._scrollbarState=e.scrollbarState,this._visibilityController=this._register(new c(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new a.a),this._shouldRender=!0,this.domNode=Object(s.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,e=>this._domNodeMouseDown(e))}_createArrow(e){e=this._register(new d(e)),this.domNode.domNode.appendChild(e.bgDomNode),this.domNode.domNode.appendChild(e.domNode)}_createSlider(e,t,i,n){this.slider=Object(s.b)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"==typeof i&&this.slider.setWidth(i),"number"==typeof n&&this.slider.setHeight(n),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,e=>{e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}),this.onclick(this.slider.domNode,e=>{e.leftButton&&e.stopPropagation()})}_onElementSize(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(e){e.target===this.domNode.domNode&&this._onMouseDown(e)}delegateMouseDown(e){var t=this.domNode.domNode.getClientRects()[0].top,i=t+this._scrollbarState.getSliderPosition(),n=(t=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),this._sliderMousePosition(e));i<=n&&n<=t?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{})):this._onMouseDown(e)}_onMouseDown(e){let t,i;i=e.target===this.domNode.domNode&&"number"==typeof e.browserEvent.offsetX&&"number"==typeof e.browserEvent.offsetY?(t=e.browserEvent.offsetX,e.browserEvent.offsetY):(n=o.D(this.domNode.domNode),t=e.posx-n.left,e.posy-n.top);var n=this._mouseDownRelativePosition(t,i);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(n):this._scrollbarState.getDesiredScrollPositionFromOffset(n)),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,()=>{}))}_sliderMouseDown(e,t){const i=this._sliderMousePosition(e),n=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,a.b,e=>{var t=this._sliderOrthogonalMousePosition(e);t=Math.abs(t-n);u.i&&140{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),t()}),this._host.onDragStart()}_setDesiredScrollPositionNow(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)}updateScrollbarSize(e){this._updateScrollbarSize(e),this._scrollbarState.setScrollbarSize(e),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}class p{constructor(e,t,i,n,o,s){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(i),this._arrowSize=Math.round(e),this._visibleSize=n,this._scrollSize=o,this._scrollPosition=s,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new p(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(e){return e=Math.round(e),this._visibleSize!==e&&(this._visibleSize=e,this._refreshComputedValues(),!0)}setScrollSize(e){return e=Math.round(e),this._scrollSize!==e&&(this._scrollSize=e,this._refreshComputedValues(),!0)}setScrollPosition(e){return e=Math.round(e),this._scrollPosition!==e&&(this._scrollPosition=e,this._refreshComputedValues(),!0)}setScrollbarSize(e){this._scrollbarSize=Math.round(e)}setOppositeScrollbarSize(e){this._oppositeScrollbarSize=Math.round(e)}static _computeValues(e,t,i,n,o){e=Math.max(0,i-e),t=Math.max(0,e-2*t);var s=0this._host.onMouseWheel(new r.b(null,1,0))}),this._createArrow({className:"scra",icon:_,top:n,left:void 0,bottom:void 0,right:i,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,-1,0))})),this._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize)}_updateSlider(e,t){this.slider.setWidth(e),this.slider.setLeft(t)}_renderDomNode(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return e}_sliderMousePosition(e){return e.posx}_sliderOrthogonalMousePosition(e){return e.posy}_updateScrollbarSize(e){this.slider.setHeight(e)}writeScrollPosition(e,t){e.scrollLeft=t}updateOptions(e){this.updateScrollbarSize(2===e.horizontal?0:e.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._visibilityController.setVisibility(e.horizontal),this._scrollByPage=e.scrollByPage}}const v=Object(m.e)("scrollbar-button-up",m.b.triangleUp),C=Object(m.e)("scrollbar-button-down",m.b.triangleDown);class w extends g{constructor(e,t,i){var n=e.getScrollDimensions(),o=e.getCurrentScrollPosition();super({lazyRender:t.lazyRender,host:i,scrollbarState:new p(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0,n.height,n.scrollHeight,o.scrollTop),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e,scrollByPage:t.scrollByPage}),t.verticalHasArrows&&(i=(t.arrowSize-11)/2,n=(t.verticalScrollbarSize-11)/2,this._createArrow({className:"scra",icon:v,top:i,left:n,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,1))}),this._createArrow({className:"scra",icon:C,top:void 0,left:n,bottom:i,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:()=>this._host.onMouseWheel(new r.b(null,0,-1))})),this._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0)}_updateSlider(e,t){this.slider.setHeight(e),this.slider.setTop(t)}_renderDomNode(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(e,t){return t}_sliderMousePosition(e){return e.posy}_sliderOrthogonalMousePosition(e){return e.posx}_updateScrollbarSize(e){this.slider.setWidth(e)}writeScrollPosition(e,t){e.scrollTop=t}updateOptions(e){this.updateScrollbarSize(2===e.vertical?0:e.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(e.vertical),this._scrollByPage=e.scrollByPage}}var y=i("308f"),S=i("42e39");i("7aad");class L{constructor(e,t,i){this.timestamp=e,this.deltaX=t,this.deltaY=i,this.score=0}}class x{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(-1===this._front&&-1===this._rear)return!1;let e=1,t=0,i=1,n=this._rear;for(;;){var o=n===this._front?e:Math.pow(2,-i);if(e-=o,t+=this._memory[n].score*o,n===this._front)break;n=(this._capacity+n-1)%this._capacity,i++}return t<=.5}accept(e,t,i){const n=new L(e,t,i);n.score=this._computeScore(n),-1===this._front&&-1===this._rear?(this._memory[0]=n,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=n)}_computeScore(e){if(0{this._onWillScroll.fire(e),this._onDidScroll(e),this._onScroll.fire(e)})),t={onMouseWheel:e=>this._onMouseWheel(e),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()},this._verticalScrollbar=this._register(new w(this._scrollable,this._options,t)),this._horizontalScrollbar=this._register(new b(this._scrollable,this._options,t)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(e),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=Object(s.b)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=Object(s.b)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=Object(s.b)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,e=>this._onMouseOver(e)),this.onnonbubblingmouseout(this._listenOnDomNode,e=>this._onMouseOut(e)),this._hideTimeout=this._register(new l.g),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}dispose(){this._mouseWheelToDispose=Object(h.f)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(e){this._verticalScrollbar.delegateMouseDown(e)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(e){this._scrollable.setScrollDimensions(e,!1)}updateClassName(e){this._options.className=e,u.f&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(e){void 0!==e.handleMouseWheel&&(this._options.handleMouseWheel=e.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),void 0!==e.mouseWheelScrollSensitivity&&(this._options.mouseWheelScrollSensitivity=e.mouseWheelScrollSensitivity),void 0!==e.fastScrollSensitivity&&(this._options.fastScrollSensitivity=e.fastScrollSensitivity),void 0!==e.scrollPredominantAxis&&(this._options.scrollPredominantAxis=e.scrollPredominantAxis),void 0!==e.horizontal&&(this._options.horizontal=e.horizontal),void 0!==e.vertical&&(this._options.vertical=e.vertical),void 0!==e.horizontalScrollbarSize&&(this._options.horizontalScrollbarSize=e.horizontalScrollbarSize),void 0!==e.verticalScrollbarSize&&(this._options.verticalScrollbarSize=e.verticalScrollbarSize),void 0!==e.scrollByPage&&(this._options.scrollByPage=e.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(e){0{this._onMouseWheel(new r.b(e))},{passive:!1})))}_onMouseWheel(e){const t=x.INSTANCE;var i=window.devicePixelRatio/Object(n.c)();u.i||u.d?t.accept(Date.now(),e.deltaX/i,e.deltaY/i):t.accept(Date.now(),e.deltaX,e.deltaY);let o=!1;if(e.deltaY||e.deltaX){let n=e.deltaY*this._options.mouseWheelScrollSensitivity,r=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(n)>=Math.abs(r)?r=0:n=0),this._options.flipAxes&&([n,r]=[r,n]);var s;i=!u.f&&e.browserEvent&&e.browserEvent.shiftKey,i=(!this._options.scrollYToX&&!i||r||(r=n,n=0),e.browserEvent&&e.browserEvent.altKey&&(r*=this._options.fastScrollSensitivity,n*=this._options.fastScrollSensitivity),this._scrollable.getFutureScrollPosition());let a={};n&&(s=50*n,s=i.scrollTop-(s<0?Math.floor(s):Math.ceil(s)),this._verticalScrollbar.writeScrollPosition(a,s)),r&&(s=50*r,s=i.scrollLeft-(s<0?Math.floor(s):Math.ceil(s)),this._horizontalScrollbar.writeScrollPosition(a,s)),a=this._scrollable.validateScrollPosition(a),i.scrollLeft===a.scrollLeft&&i.scrollTop===a.scrollTop||(this._options.mouseWheelSmoothScroll&&t.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(a):this._scrollable.setScrollPositionNow(a),o=!0)}let r=o;(r=!((r=!(r||!this._options.alwaysConsumeMouseWheel)||r)||!this._options.consumeMouseWheelIfScrollbarIsNeeded||!this._verticalScrollbar.isNeeded()&&!this._horizontalScrollbar.isNeeded())||r)&&(e.preventDefault(),e.stopPropagation())}_onDidScroll(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){var e,t,i;this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows&&(t=(i=0<(e=this._scrollable.getCurrentScrollPosition()).scrollTop)?" top":"",i=(e=0this._hide(),500)}}class D extends k{constructor(e,t){(t=t||{}).mouseWheelSmoothScroll=!1;var i=new S.a(0,e=>o.V(e));super(e,t,i),this._register(i)}setScrollPosition(e){this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class N extends k{constructor(e,t,i){super(e,t,i)}setScrollPosition(e){e.reuseAnimation?this._scrollable.setScrollPositionSmooth(e,e.reuseAnimation):this._scrollable.setScrollPositionNow(e)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}class O extends D{constructor(e,t){super(e,t),this._element=e,this.onScroll(e=>{e.scrollTopChanged&&(this._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(this._element.scrollLeft=e.scrollLeft)}),this.scanDomNode()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}},"191f":function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m}));var n=i("fdcc"),o=i("3742"),s=i("2c29"),r=i("ccde"),a=i("6a89"),l=i("8025");class d{constructor(e,t,i){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=i}getEditOperations(e,t){t.addTrackedEditOperation(new a.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new a.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(e,t){t=t.getInverseEditOperations();var i=t[0].range;t=t[1].range;return new l.a(i.endLineNumber,i.endColumn,t.endLineNumber,t.endColumn-this._charAfterSelection.length)}}var h=i("2e5d"),c=i("e6ff"),u=i("2837"),g=i("70cb");class p{static indent(e,t,i){if(null===t||null===i)return[];let n=[];for(let o=0,s=i.length;othis._compositionType(i,e,o,s,r,a)),new h.e(4,n,{shouldPushStackElementBefore:_(e,4),shouldPushStackElementAfter:!1})}static _compositionType(e,t,i,n,o,r){return t.isEmpty()&&(t=t.getPosition(),n=Math.max(1,t.column-n),o=Math.min(e.getLineMaxColumn(t.lineNumber),t.column+o),n=new a.a(t.lineNumber,n,t.lineNumber,o),e.getValueInRange(n)!==i||0!==r)?new s.d(n,i,0,r):null}static _typeCommand(e,t,i){return new(i?s.e:s.a)(e,t,!0)}static _enter(e,t,i,n){if(0===e.autoIndent)return p._typeCommand(n,"\n",i);if(!t.isCheapToTokenize(n.getStartPosition().lineNumber)||1===e.autoIndent)return r=t.getLineContent(n.startLineNumber),r=o.x(r).substring(0,n.startColumn-1),p._typeCommand(n,"\n"+e.normalizeIndentation(r),i);var r=g.a.getEnterAction(e.autoIndent,t,n);if(r){if(r.indentAction===u.b.None)return p._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===u.b.Indent)return p._typeCommand(n,"\n"+e.normalizeIndentation(r.indentation+r.appendText),i);if(r.indentAction===u.b.IndentOutdent)return l=e.normalizeIndentation(r.indentation),d="\n"+(a=e.normalizeIndentation(r.indentation+r.appendText))+"\n"+l,i?new s.e(n,d,!0):new s.d(n,d,-1,a.length-l.length,!0);if(r.indentAction===u.b.Outdent)return d=p.unshiftIndent(e,r.indentation),p._typeCommand(n,"\n"+e.normalizeIndentation(d+r.appendText),i)}var a=t.getLineContent(n.startLineNumber),l=o.x(a).substring(0,n.startColumn-1);if(4<=e.autoIndent){var d=g.a.getIndentForEnter(e.autoIndent,t,n,{unshiftIndent:t=>p.unshiftIndent(e,t),shiftIndent:t=>p.shiftIndent(e,t),normalizeIndentation:t=>e.normalizeIndentation(t)});if(d){let l=h.a.visibleColumnFromColumn2(e,t,n.getEndPosition());if(r=n.endColumn,a=t.getLineContent(n.endLineNumber),a=o.u(a),n=0<=a?n.setEndPosition(n.endLineNumber,Math.max(n.endColumn,a+1)):n.setEndPosition(n.endLineNumber,t.getLineMaxColumn(n.endLineNumber)),i)return new s.e(n,"\n"+e.normalizeIndentation(d.afterEnter),!0);{let t=0;return r<=a+1&&(e.insertSpaces||(l=Math.ceil(l/e.indentSize)),t=Math.min(l+1-e.normalizeIndentation(d.afterEnter).length-1,0)),new s.d(n,"\n"+e.normalizeIndentation(d.afterEnter),0,t,!0)}}}return p._typeCommand(n,"\n"+e.normalizeIndentation(l),i)}static _isAutoIndentType(e,t,i){if(e.autoIndent<4)return!1;for(let n=0,o=i.length;np.shiftIndent(e,t),unshiftIndent:t=>p.unshiftIndent(e,t)});return null!==s&&s!==e.normalizeIndentation(o)?0===(o=t.getLineFirstNonWhitespaceColumn(i.startLineNumber))?p._typeCommand(new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(s)+n,!1):p._typeCommand(new a.a(i.startLineNumber,1,i.endLineNumber,i.endColumn),e.normalizeIndentation(s)+t.getLineContent(i.startLineNumber).substring(o-1,i.startColumn-1)+n,!1):null}static _isAutoClosingOvertype(e,t,i,n,o){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairs.autoClosingPairsCloseSingleChar.has(o))return!1;for(let l=0,d=i.length;lt.startsWith(e.open)),i=o.some(e=>t.startsWith(e.close)),!e&&i}static _findAutoClosingPairOpen(e,t,i,n){if(e=e.autoClosingPairs.autoClosingPairsOpenByEnd.get(n),!e)return null;let o=null;for(const s of e)if(null===o||s.open.length>o.open.length){let e=!0;for(const o of i)if(t.getValueInRange(new a.a(o.lineNumber,o.column-s.open.length+1,o.lineNumber,o.column))+n!==s.open){e=!1;break}e&&(o=s)}return o}static _findSubAutoClosingPairClose(e,t){if(t.open.length<=1)return"";var i=t.close.charAt(t.close.length-1);let n=null;for(const o of e.autoClosingPairs.autoClosingPairsCloseByEnd.get(i)||[])o.open!==t.open&&t.open.includes(o.open)&&t.close.endsWith(o.close)&&(!n||o.open.length>n.open.length)&&(n=o);return n?n.close:""}static _getAutoClosingPairClose(e,t,i,o,s){var r=Object(h.g)(o),a=r?e.autoClosingQuotes:e.autoClosingBrackets;if("never"===a)return null;const l=this._findAutoClosingPairOpen(e,t,i.map(e=>e.getPosition()),o);if(!l)return null;var d=this._findSubAutoClosingPairClose(e,l);let u=!0;const m=r?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket;for(let h=0,b=i.length;hf.column-1){var _=v.charAt(f.column-1);if(!p._isBeforeClosingBrace(e,C)&&!m(_))return null}if(!t.isCheapToTokenize(f.lineNumber))return null;if(1===l.open.length&&r&&"always"!==a){const t=Object(c.a)(e.wordSeparators);if(s&&1new s.a(new a.a(e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)),new h.e(4,n,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})):null!==(r=this._getAutoClosingPairClose(t,i,o,d,!1))?this._runAutoClosingOpenCharType(e,t,i,o,d,!1,r):null:null}static typeWithInterceptors(e,t,i,n,o,r,a){if(!e&&"\n"===a){let e=[];for(let t=0,s=o.length;tthis.editorWorkerService.navigateValueSet(h,a,i)),this.currentRequest.then(i=>{var r,d,h;i&&i.range&&i.value&&n.validate(this.editor)&&(r=o.a.lift(i.range),d=i.range,h=i.value.length-(a.endColumn-a.startColumn),d={startLineNumber:d.startLineNumber,startColumn:d.startColumn,endLineNumber:d.endLineNumber,endColumn:d.startColumn+i.value.length},1this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(p.f))}).catch(p.f)):Promise.resolve(void 0)}}}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=u.a.register({description:"in-place-replace",className:"valueSetReplacement"}),f=i([m(1,a.a)],f);class _ extends t.b{constructor(){super({id:"editor.action.inPlaceReplace.up",label:n.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:r.a.writable,kbOpts:{kbExpr:r.a.editorTextFocus,primary:3154,weight:100}})}run(e,t){const i=f.get(t);return i?i.run(this.id,!0):Promise.resolve(void 0)}}class b extends t.b{constructor(){super({id:"editor.action.inPlaceReplace.down",label:n.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:r.a.writable,kbOpts:{kbExpr:r.a.editorTextFocus,primary:3156,weight:100}})}run(e,t){const i=f.get(t);return i?i.run(this.id,!1):Promise.resolve(void 0)}}Object(t.l)(f.ID,f),Object(t.j)(_),Object(t.j)(b),Object(h.f)((e,t)=>{e=e.getColor(c.k),e&&t.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${e}; }`)})},"1b0e":function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return h}));class n{constructor(e,t,i,n){this.originalStart=e,this.originalLength=t,this.modifiedStart=i,this.modifiedLength=n}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}var o=i("eda7");class s{constructor(e){this.source=e}getElements(){const e=this.source,t=new Int32Array(e.length);for(let i=0,n=e.length;i=c[N+1]?(m=(u=c[N+1]-1)-L-l,u>x&&w.MarkNextChange(),x=u+1,w.AddOriginalElement(u+1,m+1),N+1-s):(m=(u=c[N-1])-L-l,u>x&&w.MarkNextChange(),x=u,w.AddModifiedElement(u+1,m+1),N-1-s),0<=k&&(s=(c=this.m_reverseHistory[k])[0],y=1,S=c.length-1)}while(-1<=--k);C=w.getChanges()}return this.ConcatenateChanges(t,C)}ComputeRecursionPoint(e,t,i,o,s,r,a){let d=0,h=0,c=0,u=0,g=0,p=0;e--,i--,r[s[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m=t-e+(o-i),f=1+m;const _=new Int32Array(f),b=new Int32Array(f);var v=o-i,C=t-e,w=e-i,y=t-o,S=(C-v)%2==0;_[v]=e,b[C]=t,a[0]=!1;for(let D=1;D<=m/2+1;D++){let m=0,N=0;c=this.ClipDiagonalBound(v-D,D,v,f),u=this.ClipDiagonalBound(v+D,D,v,f);for(let e=c;e<=u;e+=2){d=e===c||em+N&&(m=d,N=h),!S&&Math.abs(e-C)<=D-1&&d>=b[e])return s[0]=d,r[0]=h,L<=b[e]&&D<=1448?this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a):null}var x=(m-e+(N-i)-D)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,x))return a[0]=!0,s[0]=m,r[0]=N,0=b[n+1]?b[n+1]-1:b[n-1],h=d-(n-C)-y;for(var k=d;d>e&&h>i&&this.ElementsAreEqual(d,h);)d--,h--;if(b[n]=d,S&&Math.abs(n-v)<=D&&d<=_[n])return s[0]=d,r[0]=h,k>=_[n]&&D<=1448?this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a):null}if(D<=1447){let e=new Int32Array(u-c+2);e[0]=v-c+1,l.Copy2(_,c,e,1,u-c+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-g+2))[0]=C-g+1,l.Copy2(b,g,e,1,p-g+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(v,c,u,w,C,g,p,y,_,b,d,t,s,h,o,r,S,a)}PrettifyChanges(e){for(let v=0;vs&&(s=d,o=e)}t.originalStart-=o,t.modifiedStart-=o;var c=[null];0a&&(a=h,l=c,d=e)}return 0=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){return!(!this._OriginalIsBoundary(e)&&!this._OriginalIsBoundary(e-1))||!!(0=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){return!(!this._ModifiedIsBoundary(e)&&!this._ModifiedIsBoundary(e-1))||!!(0=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var o=e.originalStart;let r=e.originalLength;var s=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(r=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),i[0]=new n(o,r,s,a),!0}return i[0]=null,!1}ClipDiagonalBound(e,t,i,n){return 0<=e&&et(new s.a(e))))}onmousedown(e,t){this._register(n.i(e,n.d.MOUSE_DOWN,e=>t(new s.a(e))))}onmouseover(e,t){this._register(n.i(e,n.d.MOUSE_OVER,e=>t(new s.a(e))))}onnonbubblingmouseout(e,t){this._register(n.j(e,e=>t(new s.a(e))))}onkeydown(e,t){this._register(n.i(e,n.d.KEY_DOWN,e=>t(new o.a(e))))}onkeyup(e,t){this._register(n.i(e,n.d.KEY_UP,e=>t(new o.a(e))))}oninput(e,t){this._register(n.i(e,n.d.INPUT,t))}onblur(e,t){this._register(n.i(e,n.d.BLUR,t))}onfocus(e,t){this._register(n.i(e,n.d.FOCUS,t))}ignoreGesture(e){r.b.ignoreTarget(e)}}},"1bd1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return i.e("chunk-2d0c86e3").then(i.bind(null,"559f"))}})},"1ddc":function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return m}));var n=i("0f70"),o=i("308f"),s=(t=i("a666"),i("30db"));class r{constructor(e,t){this.chr=e,this.type=t,this.width=0}fulfill(e){this.width=e}}class a{constructor(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div"),t=(e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px",document.createElement("div")),i=(t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t),document.createElement("div")),n=(i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight="bold",i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(i),document.createElement("div")),o=(n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",n.style.fontStyle="italic",e.appendChild(n),[]);for(const r of this._requests){let e;0===r.type&&(e=t),2===r.type&&(e=i),(e=1===r.type?n:e).appendChild(document.createElement("br"));var s=document.createElement("span");a._render(s,r),e.appendChild(s),o.push(s)}this._container=e,this._testElements=o}static _render(e,t){if(" "===t.chr){let t=" ";for(let e=0;e<8;e++)t+=t;e.innerText=t}else{let i=t.chr;for(let e=0;e<8;e++)i+=i;e.textContent=i}}_readFromDomElements(){for(let t=0,i=this._requests.length;tthis._values[e])}}function g(){p.INSTANCE.clearCache()}class p extends t.a{constructor(){super(),this._onDidChange=this._register(new o.b),this.onDidChange=this._onDidChange.event,this._cache=new u,this._evictUntrustedReadingsTimeout=-1}dispose(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),super.dispose()}clearCache(){this._cache=new u,this._onDidChange.fire()}_writeToCache(e,t){this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout(()=>{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){let e=!1;for(const t of this._cache.getValues())t.isTrusted||(e=!0,this._cache.remove(t));e&&this._onDidChange.fire()}readConfiguration(e){if(!this._cache.has(e)){let t=p._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new c.b({zoomLevel:n.d(),pixelRatio:n.a(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,fontFeatureSettings:t.fontFeatureSettings,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),middotWidth:Math.max(t.middotWidth,5),wsmiddotWidth:Math.max(t.wsmiddotWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)}static createRequest(e,t,i,n){return e=new r(e,t),i.push(e),n&&n.push(e),e}static _actualReadConfiguration(e){var t=[],i=[],o=this.createRequest("n",0,t,i),s=this.createRequest("m",0,t,null),r=this.createRequest(" ",0,t,i),l=this.createRequest("0",0,t,i),d=this.createRequest("1",0,t,i),u=this.createRequest("2",0,t,i),g=this.createRequest("3",0,t,i),p=this.createRequest("4",0,t,i),m=this.createRequest("5",0,t,i),f=this.createRequest("6",0,t,i),_=this.createRequest("7",0,t,i),b=this.createRequest("8",0,t,i),v=this.createRequest("9",0,t,i),C=this.createRequest("→",0,t,i),w=this.createRequest("→",0,t,null),y=this.createRequest("·",0,t,i),S=this.createRequest(String.fromCharCode(11825),0,t,null);this.createRequest("|",0,t,i),this.createRequest("/",0,t,i),this.createRequest("-",0,t,i),this.createRequest("_",0,t,i),this.createRequest("i",0,t,i),this.createRequest("l",0,t,i),this.createRequest("m",0,t,i),this.createRequest("|",1,t,i),this.createRequest("_",1,t,i),this.createRequest("i",1,t,i),this.createRequest("l",1,t,i),this.createRequest("m",1,t,i),this.createRequest("n",1,t,i),this.createRequest("|",2,t,i),this.createRequest("_",2,t,i),this.createRequest("i",2,t,i),this.createRequest("l",2,t,i),this.createRequest("m",2,t,i),this.createRequest("n",2,t,i);{var L=e;const i=new a(L,t);i.read()}L=Math.max(l.width,d.width,u.width,g.width,p.width,m.width,f.width,_.width,b.width,v.width);let x=e.fontFeatureSettings===h.e.OFF;var k=i[0].width;for(let n=1,a=i.length;x&&nC.width&&(N=!1),t=2e3this._recomputeOptions())),this._register(p.INSTANCE.onDidChange(()=>this._recomputeOptions())),this._validatedOptions.get(10)&&this._elementSizeObserver.startObserving(),this._register(n.l(e=>this._recomputeOptions())),this._register(this.accessibilityService.onDidChangeScreenReaderOptimized(()=>this._recomputeOptions())),this._recomputeOptions()}static applyFontInfoSlow(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"}static applyFontInfo(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)}observeReferenceElement(e){this._elementSizeObserver.observe(e)}updatePixelRatio(){this._recomputeOptions()}static _getExtraEditorClassName(){let e="";return n.h||n.k||(e+="no-user-select "),n.h&&(e+="no-minimap-shadow "),s.f&&(e+="mac "),e}_getEnvConfiguration(){return{extraEditorClassName:m._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:n.j||n.g,pixelRatio:n.a(),zoomLevel:n.d(),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}}readConfiguration(e){return p.INSTANCE.readConfiguration(e)}}},"1e03":function(e,t,i){},"1e93":function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"e",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"f",(function(){return d})),i.d(t,"d",(function(){return h})),i.d(t,"g",(function(){return c}));const n=void 0!==e;let o;class s{constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}static wrap(t){return n&&!e.isBuffer(t)&&(t=e.from(t.buffer,t.byteOffset,t.byteLength)),new s(t)}toString(){return n?this.buffer.toString():(o=o||new TextDecoder).decode(this.buffer)}}function r(e,t){return e[t+0]<<0>>>0|e[t+1]<<8>>>0}function a(e,t,i){e[i+0]=255&t,e[i+1]=255&(t>>>=8)}function l(e,t){return e[t]*Math.pow(2,24)+e[t+1]*Math.pow(2,16)+e[t+2]*Math.pow(2,8)+e[t+3]}function d(e,t,i){e[i+3]=t,e[i+2]=t>>>=8,e[i+1]=t>>>=8,e[i]=t>>>=8}function h(e,t){return e[t]}function c(e,t,i){e[i]=t}}).call(this,i("b639").Buffer)},"1f26":function(e,t,i){},"1f84":function(e,t,i){"use strict";i.r(t),i.d(t,"GotoDefinitionAtPositionEditorContribution",(function(){return S})),i("eb68");var n=i("dff7"),o=i("5fe7"),s=i("fdcc"),r=i("78bc"),a=(t=i("5818"),i("6a89")),l=i("b707"),d=i("b2cc"),h=i("bd13"),c=i("a666"),u=i("b78f"),g=i("b7d0"),p=i("303e"),m=i("bc04"),f=i("f187"),_=i("6816"),b=i("7061"),v=i("ef8e9"),C=i("88d4"),w=i("4fc3"),y=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.startFindDefinitionFromMouse(e,Object(v.o)(t))})),this.toUnhook.add(n.onExecute(e=>{this.isEnabled(e)&&this.gotoDefinition(e.target.position,e.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},e=>{this.removeLinkDecorations(),Object(s.f)(e)})})),this.toUnhook.add(n.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(t){return t.getContribution(e.ID)}startFindDefinitionFromCursor(e){return this.startFindDefinition(e).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(e=>{e&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(e,t){9===e.target.type&&0this.findDefinition(e,t)),this.previousPromise.then(t=>{if(t&&t.length&&l.validate(this.editor))if(1{if(t.object&&t.object.textEditorModel){const l=t["object"]["textEditorModel"];var o=n.range["startLineNumber"];if(!(o<1||o>l.getLineCount())){let t;o=this.getPreviewValue(l,o,n),t=n.originSelectionRange?a.a.lift(n.originSelectionRange):new a.a(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);var s=this.modeService.getModeIdByFilepathOrFirstLine(l.uri);this.addDecoration(t,(new r.a).appendCodeblock(s||"",o))}}t.dispose()})}else this.removeLinkDecorations()}).then(void 0,s.f)}getPreviewValue(t,i,n){let o=n.targetSelectionRange?n.range:this.getPreviewRangeBasedOnBrackets(t,i);return o.endLineNumber-o.startLineNumber>=e.MAX_SOURCE_PREVIEW_LINES&&(o=this.getPreviewRangeBasedOnIndentation(t,i)),n=this.stripIndentationFromPreviewRange(t,i,o),n}stripIndentationFromPreviewRange(e,t,i){let n=e.getLineFirstNonWhitespaceColumn(t);for(let s=t+1;sn)return new a.a(i,1,n+1,1);r=t.findNextBracket(new b.a(e,d))}return new a.a(i,1,n+1,1)}addDecoration(e,t){this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[{range:e,options:{description:"goto-definition-link",inlineClassName:"goto-definition-link",hoverMessage:t}}])}removeLinkDecorations(){0{var i=!t&&this.editor.getOption(77)&&!this.isInPeekEditor(e);const n=new f.DefinitionAction({openToSide:t,openInPeek:i,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return n.run(e,this.editor)})}isInPeekEditor(e){return e=e.get(w.b),C.b.inPeekEditor.getValue(e)}dispose(){this.toUnhook.dispose()}};S.ID="editor.contrib.gotodefinitionatposition",S.MAX_SOURCE_PREVIEW_LINES=8,S=i([y(1,u.a),y(2,t.a)],S),Object(d.l)(S.ID,S),Object(g.f)((e,t)=>{e=e.getColor(p.q),e&&t.addRule(`.monaco-editor .goto-definition-link { color: ${e} !important; }`)})},"1fa1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return i.e("chunk-2d0e57ec").then(i.bind(null,"9571"))}})},"1fe0":function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var n=i("3352"),o=i("b7d0"),s=i("918c"),r=i("a666"),a=i("b055"),l=i("ef8e9"),d=i("0bfb");class h{constructor(e){this.options=e,this.rangeHighlightDecorationId=void 0}provide(e,t){var i;const n=new r.b,o=(e.canAcceptInBackground=!(null==(i=this.options)||!i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1,n.add(new r.d));return o.value=this.doProvide(e,t),n.add(this.onDidActiveTextEditorControlChange(()=>{o.value=void 0,o.value=this.doProvide(e,t)})),n}doProvide(e,t){const i=new r.b,n=this.activeTextEditorControl;if(n&&this.canProvideWithTextEditor(n)){const o={editor:n},s=Object(a.a)(n);if(s){let e=Object(l.o)(n.saveViewState());i.add(s.onDidChangeCursorPosition(()=>{e=Object(l.o)(n.saveViewState())})),o.restoreViewState=()=>{e&&n===this.activeTextEditorControl&&n.restoreViewState(e)},i.add(Object(d.a)(t.onCancellationRequested)(()=>{var e;return null==(e=o.restoreViewState)?void 0:e.call(o)}))}i.add(Object(r.i)(()=>this.clearDecorations(n))),i.add(this.provideWithTextEditor(o,e,t))}else i.add(this.provideWithoutTextEditor(e,t));return i}canProvideWithTextEditor(e){return!0}gotoLocation({editor:e},t){e.setSelection(t.range),e.revealRangeInCenter(t.range,0),t.preserveFocus||e.focus()}getModel(e){var t;return Object(a.c)(e)?null==(t=e.getModel())?void 0:t.modified:e.getModel()}addDecorations(e,t){e.changeDecorations(e=>{const i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId.overviewRulerDecorationId),i.push(this.rangeHighlightDecorationId.rangeHighlightId),this.rangeHighlightDecorationId=void 0);var r=[{range:t,options:{description:"quick-access-range-highlight",className:"rangeHighlight",isWholeLine:!0}},{range:t,options:{description:"quick-access-range-highlight-overview",overviewRuler:{color:Object(o.g)(s.B),position:n.d.Full}}}],[e,r]=e.deltaDecorations(i,r);this.rangeHighlightDecorationId={rangeHighlightId:e,overviewRulerDecorationId:r}})}clearDecorations(e){const t=this.rangeHighlightDecorationId;t&&(e.changeDecorations(e=>{e.deltaDecorations([t.overviewRulerDecorationId,t.rangeHighlightId],[])}),this.rangeHighlightDecorationId=void 0)}}},"23ec":function(e,t,i){"use strict";i.r(t);var n=i("5fe7"),o=(t=i("a666"),i("b2cc")),s=i("b707"),r=i("1b69"),a=i("252f"),l=i("b7d0"),d=i("fbba"),h=i("d1a7"),c=i("74ce"),u=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._tokenizeViewportNow(),100),this._outstandingRequests=[],this._register(this._editor.onDidScrollChange(()=>{this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModel(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._editor.onDidChangeModelContent(e=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(s.k.onDidChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()})),this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(h.b)&&(this._cancelAll(),this._tokenizeViewport.schedule())})),this._register(this._themeService.onDidColorThemeChange(()=>{this._cancelAll(),this._tokenizeViewport.schedule()}))}_cancelAll(){for(const e of this._outstandingRequests)e.cancel();this._outstandingRequests=[]}_removeOutstandingRequest(e){for(let t=0,i=this._outstandingRequests.length;tthis._requestRange(e,n,t,i)))}else e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1)}else e.hasSomeSemanticTokens()&&e.setSemanticTokens(null,!1)}}_requestRange(e,t,i,o){const s=e.getVersionId(),r=Object(n.h)(n=>Promise.resolve(i.provideDocumentRangeSemanticTokens(e,t,n)));return r.then(i=>{i&&!e.isDisposed()&&e.getVersionId()===s&&e.setPartialSemanticTokens(t,Object(a.b)(i,o,e.getLanguageIdentifier()))}).then(()=>this._removeOutstandingRequest(r),()=>this._removeOutstandingRequest(r)),r}};g.ID="editor.contrib.viewportSemanticTokens",g=i([u(1,r.a),u(2,l.b),u(3,d.a)],g),Object(o.l)(g.ID,g)},"23f2":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return i.e("chunk-2d221a34").then(i.bind(null,"cacc"))}})},2504:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return l}));var n,o,s=i("308f");const r=Object.freeze((function(e,t){const i=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(i)}}}));(o=n=n||{}).isCancellationToken=function(e){return e===o.None||e===o.Cancelled||e instanceof a||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},o.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.c.None}),o.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r});class a{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?r:(this._emitter||(this._emitter=new s.b),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class l{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token instanceof a&&this._token.cancel():this._token=n.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=n.None}}},"252f":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("b707"),o=i("d3d7"),s=i("4111");class r{constructor(e,t,i){this._legend=e,this._themeService=t,this._logService=i,this._hashTable=new d,this._hasWarnedOverlappingTokens=!1}getMetadata(e,t,i){var s=this._hashTable.get(e,t,i.id);let r;if(s)r=s.metadata,this._logService.getLevel()===o.c.Trace&&this._logService.trace(`SemanticTokensProviderStyling [CACHED] ${e} / ${t}: foreground ${n.E.getForeground(r)}, fontStyle `+n.E.getFontStyle(r).toString(2));else{let l=this._legend.tokenTypes[e];const d=[];if(l){let e=t;for(let t=0;0>=1;0c&&0===n[5*t];)t--;if(t-1===c){let t=e;for(;t+1g&&(t.warnOverlappingSemanticTokens(m,g+1),w=this._growCount){var o=this._elements;this._currentLengthIndex++,this._currentLength=d._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1e.length&&(i=e.length);te===t)){const n=e[Symbol.iterator](),o=t[Symbol.iterator]();for(;;){var s=n.next(),r=o.next();if(s.done!==r.done)return!1;if(s.done)return!0;if(!i(s.value,r.value))return!1}}}},2652:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return i.e("chunk-2d0d2f22").then(i.bind(null,"5b54"))}})},"27e6":function(e,t,i){},2837:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return s})),(i=n=n||{})[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent";class o{constructor(e){if(this._standardAutoClosingPairConditionalBrand=void 0,this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(let t=0,i=e.notIn.length;t=i.length)&&0!==(t=(s=i.length-e)<=t?s:t)&&(this.values=new Uint32Array(i.length-t),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=this.values.length&&(e=this.values.length-1);for(let i=t;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e)}return this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,i=this.values.length-1,n=0;var s;let r=0;for(;t<=i;)if(n=t+(i-t)/2|0,s=this.prefixSum[n],e<(r=s-this.values[n]))i=n-1;else{if(!(s<=e))break;t=n+1}return new o(n,e-r)}}},"2dec":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return i.e("chunk-2d0e542a").then(i.bind(null,"9470"))}})},"2e4b7":function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneCommandsQuickAccessProvider",(function(){return W})),i.d(t,"GotoLineAction",(function(){return V}));t=i("89cd");var n=i("2f1e"),o=i("03d9"),s=i("5717"),r=i("e8e3"),a=i("ef8e9"),l=i("dff7");function d(e,t){return t&&(e.stack||e.stacktrace)?l.a("stackTrace.format","{0}: {1}",c(e),h(e.stack)||h(e.stacktrace)):c(e)}function h(e){return Array.isArray(e)?e.join("\n"):e}function c(e){return"string"==typeof e.code&&"number"==typeof e.errno&&"string"==typeof e.syscall?l.a("nodeExceptionMessage","A system error occurred ({0})",e.message):e.message||l.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var u,g=i("fdcc"),p=i("7e93"),m=i("a666"),f=i("40355"),_=i("4b76"),b=i("9e74"),v=i("fbba"),C=i("eafb"),w=i("0a0f"),y=i("6dec"),S=i("5fe7"),L=i("2504"),x=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function k(e){return Array.isArray(e.items)}(N=u=u||{})[N.NO_ACTION=0]="NO_ACTION",N[N.CLOSE_PICKER=1]="CLOSE_PICKER",N[N.REFRESH_PICKER=2]="REFRESH_PICKER",N[N.REMOVE_ITEM=3]="REMOVE_ITEM";class D extends m.a{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new m.b;e.canAcceptInBackground=!(null==(i=this.options)||!i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o=void 0;const s=n.add(new m.d),r=()=>x(this,void 0,void 0,(function*(){var i=s.value=new m.b;null!==o&&void 0!==o&&o.dispose(!0),e.busy=!1;const n=(o=new L.b(t)).token,r=e.value.substr(this.prefix.length).trim(),a=this._getPicks(r,i,n),l=(t,i)=>{let n,o=void 0;if(k(t)?(n=t.items,o=t.active):n=t,0===n.length){if(i)return!1;0r())),r(),n.add(e.onDidAccept(t=>{const[i]=e.selectedItems;"function"==typeof(null===i||void 0===i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))})),n.add(e.onDidTriggerItemButton(({button:i,item:n})=>x(this,void 0,void 0,(function*(){if("function"==typeof n.trigger){var o=null!=(o=null==(o=n.buttons)?void 0:o.indexOf(i))?o:-1;if(0<=o&&(o=n.trigger(o,e.keyMods),o="number"==typeof o?o:yield o,!t.isCancellationRequested))switch(o){case u.NO_ACTION:break;case u.CLOSE_PICKER:e.hide();break;case u.REFRESH_PICKER:r();break;case u.REMOVE_ITEM:var s=e.items.indexOf(n);if(-1!==s){const t=e.items.slice();t.splice(s,1),e.items=t}}}})))),n}}D.FAST_PICKS_RACE_DELAY=200;var N=i("03e8"),O=i("5d75"),E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var i=this.commandsHistory.peek(e.commandId),n=this.commandsHistory.peek(t.commandId);return i&&n?nM(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){Object(g.e)(e)||this.dialogService.show(_.a.Error,Object(l.a)("canNotRun","Command '{0}' resulted in an error ({1})",t.label,function e(t=null,i=!1){if(!t)return l.a("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");var n;if(Array.isArray(t))return n=e((o=r.e(t))[0],i),1this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){var t=this.storageService.get(e.PREF_KEY_CACHE,0);let i;if(t)try{i=JSON.parse(t)}catch(t){}const n=e.cache=new f.a(this.configuredCommandsHistoryLength,1);if(i){let e;(e=i.usesLRU?i.entries:i.entries.sort((e,t)=>e.value-t.value)).forEach(e=>n.set(e.key,e.value))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var i;return null==(i=e.cache)?void 0:i.peek(t)}static saveState(t){if(e.cache){const i={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>i.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}}static getConfiguredCommandHistoryLength(t){return t=null==(t=null==(t=t.getValue().workbench)?void 0:t.commandPalette)?void 0:t.history,"number"==typeof t?t:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};A.DEFAULT_COMMANDS_HISTORY_LENGTH=50,A.PREF_KEY_CACHE="commandPalette.mru.cache",A.PREF_KEY_COUNTER="commandPalette.mru.counter",A.counter=1,A=E([I(0,N.a),I(1,v.a)],A);var R=i("1097");class P extends T{constructor(e,t,i,n,o,s){super(e,t,i,n,o,s)}getCodeEditorCommandPicks(){const e=this.activeTextEditorControl;if(!e)return[];const t=[];for(const i of e.getSupportedActions())t.push({commandId:i.id,commandAlias:i.alias,label:Object(R.e)(i.label)||i.id});return t}}p=i("b2cc");var F=i("c101"),B=i("66bd"),j=(E=function(e,t){return function(i,n){t(i,n,e)}},function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))});let W=class extends P{constructor(e,t,i,n,o,s){super({showAlias:!1},e,i,n,o,s),this.codeEditorService=t}get activeTextEditorControl(){return Object(a.o)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return j(this,void 0,void 0,(function*(){return this.getCodeEditorCommandPicks()}))}};W=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!0,c=()=>!1,u=e=>" "===e||"\t"===e;class g{constructor(e,t,i){this._cursorMoveConfigurationBrand=void 0,this._languageIdentifier=e;const n=i.options;if(i=n.get(130),this.readOnly=n.get(80),this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.stickyTabStops=n.get(104),this.lineHeight=n.get(58),this.pageSize=Math.max(1,Math.floor(i.height/this.lineHeight)-2),this.useTabStops=n.get(115),this.wordSeparators=n.get(116),this.emptySelectionClipboard=n.get(31),this.copyWithSyntaxHighlighting=n.get(20),this.multiCursorMergeOverlapping=n.get(68),this.multiCursorPaste=n.get(70),this.autoClosingBrackets=n.get(5),this.autoClosingQuotes=n.get(8),this.autoClosingDelete=n.get(6),this.autoClosingOvertype=n.get(7),this.autoSurround=n.get(11),this.autoIndent=n.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:g._getShouldAutoClose(e,this.autoClosingQuotes),bracket:g._getShouldAutoClose(e,this.autoClosingBrackets)},this.autoClosingPairs=d.a.getAutoClosingPairs(e.id),t=g._getSurroundingPairs(e),t)for(const o of t)this.surroundingPairs[o.open]=o.close}static shouldRecreate(e){return e.hasChanged(130)||e.hasChanged(116)||e.hasChanged(31)||e.hasChanged(68)||e.hasChanged(70)||e.hasChanged(5)||e.hasChanged(8)||e.hasChanged(6)||e.hasChanged(7)||e.hasChanged(11)||e.hasChanged(115)||e.hasChanged(58)||e.hasChanged(80)}get electricChars(){if(!this._electricChars){this._electricChars={};var e=g._getElectricCharacters(this._languageIdentifier);if(e)for(const t of e)this._electricChars[t]=!0}return this._electricChars}normalizeIndentation(e){return l.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)}static _getElectricCharacters(e){try{return d.a.getElectricCharacters(e.id)}catch(e){return Object(n.f)(e),null}}static _getShouldAutoClose(e,t){switch(t){case"beforeWhitespace":return u;case"languageDefined":return g._getLanguageDefinedShouldAutoClose(e);case"always":return h;case"never":return c}}static _getLanguageDefinedShouldAutoClose(e){try{const t=d.a.getAutoCloseBeforeSet(e.id);return e=>-1!==t.indexOf(e)}catch(e){return Object(n.f)(e),c}}static _getSurroundingPairs(e){try{return d.a.getSurroundingPairs(e.id)}catch(e){return Object(n.f)(e),null}}}class p{constructor(e,t,i,n){this._singleCursorStateBrand=void 0,this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=i,this.leftoverVisibleColumns=n,this.selection=p._computeSelection(this.selectionStart,this.position)}equals(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)}hasSelection(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()}move(e,t,i,n){return e?new p(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new s.a(t,i),n):new p(new r.a(t,i,t,i),n,new s.a(t,i),n)}static _computeSelection(e,t){let i,n,o,s;return n=!e.isEmpty()&&t.isBeforeOrEqual(e.getStartPosition())?(i=e.endLineNumber,e.endColumn):(i=e.startLineNumber,e.startColumn),o=t.lineNumber,s=t.column,new a.a(i,n,o,s)}}class m{constructor(e,t,i,n){this._cursorContextBrand=void 0,this.model=e,this.viewModel=t,this.coordinatesConverter=i,this.cursorConfig=n}}class f{constructor(e){this.modelState=e,this.viewState=null}}class _{constructor(e){this.modelState=null,this.viewState=e}}class b{constructor(e,t){this._cursorStateBrand=void 0,this.modelState=e,this.viewState=t}static fromModelState(e){return new f(e)}static fromViewState(e){return new _(e)}static fromModelSelection(e){var t=e.selectionStartLineNumber,i=e.selectionStartColumn,n=e.positionLineNumber;e=e.positionColumn,t=new p(new r.a(t,i,t,i),0,new s.a(n,e),0);return b.fromModelState(t)}static fromModelSelections(e){let t=[];for(let i=0,n=e.length;i=t)return c=t-s,u-te});let x=class extends n.a{constructor(e,t,i){super(),this.editor=e,this.model=t,this.instantiationService=i,this.disposed=!1,this.partsWidget=this._register(this.instantiationService.createInstance(k,this.editor)),this.additionalLinesWidget=this._register(new N(this.editor)),this.viewMoreContentWidget=void 0,this._register(this.editor.onDidChangeConfiguration(e=>{(e.hasChanged(28)||e.hasChanged(105)||e.hasChanged(88)||e.hasChanged(82)||e.hasChanged(43)||e.hasChanged(42)||e.hasChanged(58))&&this.update()})),this._register(Object(n.i)(()=>{var e;this.disposed=!0,this.update(),null!=(e=this.viewMoreContentWidget)&&e.dispose(),this.viewMoreContentWidget=void 0})),this._register(t.onDidChange(()=>{this.update()})),this.update()}shouldShowHoverAtViewZone(e){return this.additionalLinesWidget.viewZoneId===e}update(){var e;const t=this.model.ghostText;if(this.editor.hasModel()&&t&&!this.disposed){const n=new Array,o=new Array,s=this.editor.getModel().getLineContent(t.lineNumber);this.editor.getModel().getLineTokens(t.lineNumber);let r=void 0,a=0;for(const e of t.parts){let t=e.lines;void 0===r?(n.push({column:e.column,text:t[0],preview:e.preview}),t=t.slice(1)):i([s.substring(a,e.column-1)],void 0),0e.lines.length<0)?this.viewMoreContentWidget=this.renderViewMoreLines(new p.a(t.lineNumber,this.editor.getModel().getLineMaxColumn(t.lineNumber)),"",0):(null!=(e=this.viewMoreContentWidget)&&e.dispose(),this.viewMoreContentWidget=void 0)}else this.partsWidget.clear(),this.additionalLinesWidget.clear()}renderViewMoreLines(e,t,i){var o=this.editor.getOption(42);const s=document.createElement("div"),a=(s.className="suggest-preview-additional-widget",u.a.applyFontInfoSlow(s,o),document.createElement("span")),l=(a.className="content-spacer",a.append(t),s.append(a),document.createElement("span")),d=(l.className="content-newline suggest-preview-text",l.append("⏎ "),s.append(l),new n.b),h=document.createElement("div");return h.className="button suggest-preview-text",h.append(`+${i} lines…`),d.add(r.o(h,"mousedown",e=>{var t;null!=(t=this.model)&&t.setExpanded(!0),e.preventDefault(),this.editor.focus()})),s.append(h),new E(this.editor,e,s,d)}},k=(x=y([S(2,w.a)],x),class{constructor(e,t,i,o){this.editor=e,this.codeEditorService=t,this.themeService=i,this.contextKeyService=o,this.decorationIds=[],this.disposableStore=new n.b}dispose(){this.clear(),this.disposableStore.dispose()}clear(){this.editor.deltaDecorations(this.decorationIds,[]),this.disposableStore.clear()}setParts(e,t,i){this.disposableStore.clear();const n=this.themeService.getColorTheme();var o=n.getColor(f.y);let s=void 0,r=void 0;o&&(s=String(o.rgba.a),r=_.a.Format.CSS.format(D(o))),o=n.getColor(f.x);let l=void 0;o&&(l="2px dashed "+o);const d=this.editor.getModel();if(d){const n=d.getOptions()["tabSize"],h=d.getLineContent(e)||"";let c=0,u="";const g=new Array;i&&g.push({range:a.a.fromPositions(new p.a(e,i.column),new p.a(e,i.column+i.length)),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}}),o=this.contextKeyService.getContextKeyValue("config.editor.useInjectedText");const m=void 0===o||!!o;this.decorationIds=this.editor.deltaDecorations(this.decorationIds,t.map(t=>{u+=h.substring(c,t.column-1),c=t.column-1;var i=m?t.text:this.renderSingleLineText(t.text,u,n,!1);const o=this.disposableStore.add(function(e,t,i,n){const o=i+O++;return e.registerDecorationType(t,o,n),{dispose(){e.removeDecorationType(o)},resolve(){return e.resolveDecorationOptions(o,!0)}}}(this.codeEditorService,"ghost-text","0-ghost-text-",{after:{contentText:i,opacity:s,color:r,border:l,fontWeight:t.preview?"bold":"normal"}}));return{range:a.a.fromPositions(new p.a(e,t.column)),options:m?{description:"ghost-text",after:{content:i,inlineClassName:t.preview?"ghost-text-decoration-preview":"ghost-text-decoration"}}:Object.assign({},o.resolve())}}).concat(g))}}renderSingleLineText(e,t,i,n){var o=b.a.visibleColumnsByColumns(t+e,i);let s="",r=t.length+1;for(const l of e){if("\t"===l){var a=o[r+1]-o[r];if(n){s+="→";for(let e=1;e{this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(e,t,i){const n=this.editor.getModel();if(n){const o=n.getOptions()["tabSize"];this.editor.changeViewZones(n=>{this._viewZoneId&&(n.removeZone(this._viewZoneId),this._viewZoneId=void 0);var s=Math.max(t.length,i);if(0');for(let t=0,o=m.length;t'),l.A(b)),C=l.m(b),w=g.a.createEmpty(b);Object(d.d)(new d.c(y.isMonospace&&!e,y.canUseHalfwidthRightwardsArrow,b,!1,v,C,0,w,_.decorations,p,0,y.spaceWidth,y.middotWidth,y.wsmiddotWidth,i,"none",n,s!==h.e.OFF,null),x),x.appendASCIIString("")}x.appendASCIIString(""),u.a.applyFontInfoSlow(a,y),f=x.build(),f=L?L.createHTML(f):f,a.innerHTML=f}this._viewZoneId=n.addZone({afterLineNumber:e,heightInLines:s,domNode:r})}})}}}let O=0;class E extends n.a{constructor(e,t,i,o){super(),this.editor=e,this.position=t,this.domNode=i,this.allowEditorOverflow=!1,this.suppressMouseDown=!1,this._register(o),this._register(Object(n.i)(()=>{this.editor.removeContentWidget(this)})),this.editor.addContentWidget(this)}getId(){return"editor.widget.viewMoreLinesWidget"}getDomNode(){return this.domNode}getPosition(){return{position:this.position,preference:[0]}}}Object(m.f)((e,t)=>{const i=e.getColor(f.y);i&&(o=String(i.rgba.a),n=_.a.Format.CSS.format(D(i)),t.addRule(`.monaco-editor .ghost-text-decoration { opacity: ${o}; color: ${n}; }`),t.addRule(`.monaco-editor .ghost-text-decoration-preview { color: ${i.toString()}; }`),t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { opacity: ${o}; color: ${n}; }`));var n,o=e.getColor(f.x);o&&t.addRule(`.monaco-editor .suggest-preview-text .ghost-text { border: 2px dashed ${o}; }`)});var I=i("dff7"),M=i("5fe7"),T=i("2504"),A=i("fdcc"),R=i("308f"),P=i("b707"),F=i("d3f4"),B=i("9e74"),j=i("d585");class W{constructor(e,t,i=0){this.lineNumber=e,this.parts=t,this.additionalReservedLineCount=i}renderForScreenReader(e){if(0===this.parts.length)return"";var t=this.parts[this.parts.length-1];const i=function(e,t){const i=new V(e),n=t.map(e=>{const t=a.a.lift(e.range);return{startOffset:i.getOffset(t.getStartPosition()),endOffset:i.getOffset(t.getEndPosition()),text:e.text}});n.sort((e,t)=>t.startOffset-e.startOffset);for(const o of n)e=e.substring(0,o.startOffset)+o.text+e.substring(o.endOffset);return e}(e.substr(0,t.column-1),this.parts.map(e=>({range:{startLineNumber:1,endLineNumber:1,startColumn:e.column,endColumn:e.column},text:e.lines.join("\n")})));return i.substring(this.parts[0].column-1)}}class V{constructor(e){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let t=0;t{e.hasChanged(106)&&void 0===this._expanded&&this.onDidChangeEmitter.fire()}))}setExpanded(e){this._expanded=!0,this.onDidChangeEmitter.fire()}}var U=i("1b0e");function K(e,t,i,n,o=0){if(e.range.startLineNumber===e.range.endLineNumber){var s=e.text.length-o;const g=t.getValueInRange(e.range),p=function(e,t){var i;return(null===q||void 0===q?void 0:q.originalValue)===e&&(null===q||void 0===q?void 0:q.newValue)===t?null===q||void 0===q?void 0:q.changes:(i=function(e,t){function i(e){let t=0;for(let n=0,o=e.length;nt&&(t=i)}return t}const n=Math.max(i(e),i(t));function o(e){if(e<0)throw new Error("unexpected");return n+e+1}function s(e){let t=0,i=0;const n=new Int32Array(e.length);for(let r=0,a=e.length;rr},{getElements:()=>a}).ComputeDiff(!1).changes}(e,t),q={originalValue:e,newValue:t,changes:i},i)}(g,e.text);var r=e.range.startLineNumber;const m=new Array;if("prefix"===i&&(o=p.filter(e=>0===e.originalLength),1{const i=new Set([o.i.id,o.g.id,j.CoreEditingCommands.Tab.id,j.CoreEditingCommands.DeleteLeft.id,j.CoreEditingCommands.DeleteRight.id,$,"acceptSelectedSuggestion"]);i.has(t.commandId)&&e.hasTextFocus()&&this.handleUserInput()})),this._register(this.editor.onDidType(e=>{this.handleUserInput()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.session&&!this.session.isValid&&this.hide()})),this._register(Object(n.i)(()=>{this.disposed=!0}))}handleUserInput(){this.session&&!this.session.isValid&&this.hide(),setTimeout(()=>{this.disposed||this.startSessionIfTriggered()},0)}get session(){return this.completionSession.value}get ghostText(){var e;return null==(e=this.session)?void 0:e.ghostText}get minReservedLineCount(){return this.session?this.session.minReservedLineCount:0}setExpanded(e){var t;null!=(t=this.session)&&t.setExpanded(e)}setActive(e){(this.active=e)&&null!=(e=this.session)&&e.scheduleAutomaticUpdate()}startSessionIfTriggered(){!this.editor.getOption(54).enabled||this.session&&this.session.isValid||this.trigger(P.s.Automatic)}trigger(e){this.completionSession.value?e===P.s.Explicit&&this.completionSession.value.ensureUpdateWithExplicitContext():(this.completionSession.value=new Y(this.editor,this.editor.getPosition(),()=>this.active,this.commandService,this.cache,e),this.completionSession.value.takeOwnership(this.completionSession.value.onDidChange(()=>{this.onDidChangeEmitter.fire()})))}hide(){this.completionSession.clear(),this.onDidChangeEmitter.fire()}commitCurrentSuggestion(){var e;null!=(e=this.session)&&e.commitCurrentCompletion()}showNext(){var e;null!=(e=this.session)&&e.showNextInlineCompletion()}showPrevious(){var e;null!=(e=this.session)&&e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return G(this,void 0,void 0,(function*(){var t=yield null==(e=this.session)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};Z=y([t(2,B.b)],Z);class Y extends z{constructor(e,t,i,o,s,r){super(e),this.triggerPosition=t,this.shouldUpdate=i,this.commandService=o,this.cache=s,this.initialTriggerKind=r,this.minReservedLineCount=0,this.updateOperation=this._register(new n.d),this.updateSoon=this._register(new M.e(()=>{var e=this.initialTriggerKind;return this.initialTriggerKind=P.s.Automatic,this.update(e)},50));let a=this.currentlySelectedCompletionId=void 0;this._register(this.onDidChange(()=>{var e=this.currentCompletion;if(e&&e.sourceInlineCompletion!==a){a=e.sourceInlineCompletion;const t=e.sourceProvider;t.handleItemDidShow&&t.handleItemDidShow(e.sourceInlineCompletions,a)}})),this._register(Object(n.i)(()=>{this.cache.clear()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.cache.value&&this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeModelContent(e=>{this.scheduleAutomaticUpdate()})),this._register(P.t.onDidChange(()=>{this.updateSoon.schedule()})),this.scheduleAutomaticUpdate()}fixAndGetIndexOfCurrentSelection(){var e;return this.currentlySelectedCompletionId&&this.cache.value&&0!==this.cache.value.completions.length?-1===(e=this.cache.value.completions.findIndex(e=>e.semanticId===this.currentlySelectedCompletionId))?(this.currentlySelectedCompletionId=void 0,0):e:0}get currentCachedCompletion(){if(this.cache.value)return this.cache.value.completions[this.fixAndGetIndexOfCurrentSelection()]}showNextInlineCompletion(){var e;return G(this,void 0,void 0,(function*(){yield this.ensureUpdateWithExplicitContext();var t,i=(null==(e=this.cache.value)?void 0:e.completions)||[];0G(this,void 0,void 0,(function*(){let i;try{i=yield ee(n,this.editor.getModel(),{triggerKind:e,selectedSuggestionInfo:void 0},t)}catch(i){return void Object(A.f)(i)}t.isCancellationRequested||(this.cache.setValue(this.editor,i,e),this.onDidChangeEmitter.fire())}))),i=new X(t,e);this.updateOperation.value=i,yield t,this.updateOperation.value===i&&this.updateOperation.clear()}}))}takeOwnership(e){this._register(e)}commitCurrentCompletion(){var e;!this.ghostText||(e=this.currentCompletion)&&this.commit(e)}commit(e){const t=this.cache.clearAndLeak();this.editor.executeEdits("inlineSuggestion.accept",[F.a.replaceMove(e.range,e.text)]),e.command?this.commandService.executeCommand(e.command.id,...e.command.arguments||[]).finally(()=>{null!==t&&void 0!==t&&t.dispose()}).then(void 0,A.g):null!==t&&void 0!==t&&t.dispose(),this.onDidChangeEmitter.fire()}}class X{constructor(e,t){this.promise=e,this.triggerKind=t}dispose(){this.promise.cancel()}}class Q extends n.a{constructor(e,t,i,o){super(),this.triggerKind=o;const s=e.deltaDecorations([],t.items.map(e=>({range:e.range,options:{description:"inline-completion-tracking-range"}})));this._register(Object(n.i)(()=>{e.deltaDecorations(s,[])})),this.completions=t.items.map((e,t)=>new J(e,s[t])),this._register(e.onDidChangeModelContent(()=>{let t=!1;const n=e.getModel();for(const e of this.completions){var o=n.getDecorationRange(e.decorationId);o?e.synchronizedRange.equalsRange(o)||(t=!0,e.synchronizedRange=o):Object(A.f)(new Error("Decoration has no range"))}t&&i()})),this._register(t)}}class J{constructor(e,t){this.inlineCompletion=e,this.decorationId=t,this.semanticId=JSON.stringify({text:this.inlineCompletion.text,startLine:this.inlineCompletion.range.startLineNumber,startColumn:this.inlineCompletion.range.startColumn,command:this.inlineCompletion.command}),this.synchronizedRange=e.range}toLiveInlineCompletion(){return{text:this.inlineCompletion.text,range:this.synchronizedRange,command:this.inlineCompletion.command,sourceProvider:this.inlineCompletion.sourceProvider,sourceInlineCompletions:this.inlineCompletion.sourceInlineCompletions,sourceInlineCompletion:this.inlineCompletion.sourceInlineCompletion}}}function ee(e,t,i,n=T.a.None){return G(this,void 0,void 0,(function*(){s=e,l=(r=t).getWordAtPosition(s),r=r.getLineMaxColumn(s.lineNumber);const o=l?new a.a(s.lineNumber,l.startColumn,s.lineNumber,r):a.a.fromPositions(s,s.with(void 0,r));var s,r,l;const d=P.t.all(t),h=yield Promise.all(d.map(o=>G(this,void 0,void 0,(function*(){const s=yield o.provideInlineCompletions(t,e,i,n);return{completions:s,provider:o,dispose:()=>{s&&o.freeInlineCompletions(s)}}})))),c=new Map;for(const e of h){const t=e.completions;if(t)for(const i of t.items.map(i=>({text:i.text,range:i.range?a.a.lift(i.range):o,command:i.command,sourceProvider:e.provider,sourceInlineCompletions:t,sourceInlineCompletion:i})))i.range.startLineNumber===i.range.endLineNumber&&c.set(JSON.stringify({text:i.text,range:i.range}),i)}return{items:[...c.values()],dispose:()=>{for(const e of h)e.dispose()}}}))}var te=i("b800"),ie=i("59a4"),ne=i("7a9e");class oe extends n.a{constructor(e){super(),this.editor=e,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentInlineCompletion=void 0,this.onDidChangeEmitter=new R.b,this.onDidChange=this.onDidChangeEmitter.event,this.setInactiveDelayed=this._register(new M.e(()=>{this.isSuggestWidgetVisible||this._isActive&&(this._isActive=!1,this.onDidChangeEmitter.fire())},100)),this._register(e.onKeyDown(e=>{e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(e.onKeyUp(e=>{e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const t=ne.SuggestController.get(this.editor);if(t){let e=!1;const i=()=>{e||(e=!0,this._register(t.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(t.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.setInactiveDelayed.schedule(),this.update(this._isActive)})),this._register(t.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(R.c.once(t.model.onDidTrigger)(e=>{i()}))}this.update(this._isActive)}get state(){if(this._isActive)return{selectedItemAsInlineCompletion:this._currentInlineCompletion}}update(e){var t=this.getInlineCompletion();let i=!1;this._currentInlineCompletion!==t&&(this._currentInlineCompletion=t,i=!0),this._isActive!==e&&(this._isActive=e,i=!0),i&&this.onDidChangeEmitter.fire()}getInlineCompletion(){const e=ne.SuggestController.get(this.editor);if(e&&this.isSuggestWidgetVisible){var t=e.widget.value.getFocusedItem();if(t){var i=e,n=this.editor.getPosition(),o=this.isShiftKeyPressed;if(t=t.item,Array.isArray(t.completion.additionalTextEdits)&&0this.updateCache(),50)),this.minReservedLineCount=0,this._register(this.suggestionInlineCompletionSource.onDidChange(()=>{this.updateCacheSoon.schedule(),this.suggestionInlineCompletionSource.state||(this.minReservedLineCount=0);const e=this.ghostText;e&&(this.minReservedLineCount=Math.max(this.minReservedLineCount,e.parts.map(e=>e.lines.length-1).reduce((e,t)=>e+t,0))),1<=this.minReservedLineCount&&this.isSuggestionPreviewEnabled()?this.suggestionInlineCompletionSource.forceRenderingAbove():this.suggestionInlineCompletionSource.stopForceRenderingAbove(),this.onDidChangeEmitter.fire()})),this._register(this.cache.onDidChange(()=>{this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeCursorPosition(e=>{this.isSuggestionPreviewEnabled()&&(this.minReservedLineCount=0,this.updateCacheSoon.schedule(),this.onDidChangeEmitter.fire())})),this._register(Object(n.i)(()=>this.suggestionInlineCompletionSource.stopForceRenderingAbove()))}get isActive(){return void 0!==this.suggestionInlineCompletionSource.state}isSuggestionPreviewEnabled(){return this.editor.getOption(106).preview}updateCache(){return se(this,void 0,void 0,(function*(){var e=this.suggestionInlineCompletionSource.state;if(e&&e.selectedItemAsInlineCompletion){const i={text:e.selectedItemAsInlineCompletion.text,range:e.selectedItemAsInlineCompletion.range},n=this.editor.getPosition();e=Object(M.h)(e=>se(this,void 0,void 0,(function*(){let t;try{t=yield ee(n,this.editor.getModel(),{triggerKind:P.s.Automatic,selectedSuggestionInfo:i},e)}catch(t){return void Object(A.f)(t)}e.isCancellationRequested||(this.cache.setValue(this.editor,t,P.s.Automatic),this.onDidChangeEmitter.fire())})));var t=new X(e,P.s.Automatic);this.updateOperation.value=t,yield e,this.updateOperation.value===t&&this.updateOperation.clear()}}))}get ghostText(){var e=this.suggestionInlineCompletionSource.state;e=ae(this.editor.getModel(),null==e?void 0:e.selectedItemAsInlineCompletion);const t=ae(this.editor.getModel(),null==(i=null==(i=this.cache.value)?void 0:i.completions[0])?void 0:i.toLiveInlineCompletion());var i=!(t&&e&&t.text.startsWith(e.text)&&t.range.equalsRange(e.range))&&e||t;const n=e?((null==i?void 0:i.text.length)||0)-e.text.length:0;return e=i,i=this.editor.getOptions().get(106).previewMode,i=e?K(e,this.editor.getModel(),i,this.editor.getPosition(),n)||new W(e.range.endLineNumber,[],this.minReservedLineCount):void 0,this.isSuggestionPreviewEnabled()?i:void 0}}function ae(e,t){if(!t)return t;const i=e.getValueInRange(t.range);var n=function(e,t){let i=0;for(;i{this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire()}),{object:t,dispose:()=>null==i?void 0:i.dispose()}):void 0,this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire())}get ghostText(){var e;return this.hasCachedGhostText||(this.cachedGhostText=null==(e=null==(e=this.currentModelRef.value)?void 0:e.object)?void 0:e.ghostText,this.hasCachedGhostText=!0),this.cachedGhostText}setExpanded(e){var t;null!=(t=this.targetModel)&&t.setExpanded(e)}get minReservedLineCount(){return this.targetModel?this.targetModel.minReservedLineCount:0}}let he=class extends de{constructor(e,t){super(),this.editor=e,this.commandService=t,this.sharedCache=this._register(new ce),this.suggestWidgetAdapterModel=this._register(new re(this.editor,this.sharedCache)),this.inlineCompletionsModel=this._register(new Z(this.editor,this.sharedCache,this.commandService)),this._register(this.suggestWidgetAdapterModel.onDidChange(()=>{this.updateModel()})),this.updateModel()}get activeInlineCompletionsModel(){if(this.targetModel===this.inlineCompletionsModel)return this.inlineCompletionsModel}updateModel(){this.setTargetModel(this.suggestWidgetAdapterModel.isActive?this.suggestWidgetAdapterModel:this.inlineCompletionsModel),this.inlineCompletionsModel.setActive(this.targetModel===this.inlineCompletionsModel)}shouldShowHoverAt(e){var t;const i=null==(t=this.activeInlineCompletionsModel)?void 0:t.ghostText;return!!i&&i.parts.some(t=>e.containsPosition(new p.a(i.lineNumber,t.column)))}triggerInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.trigger(P.s.Explicit)}commitInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.commitCurrentSuggestion()}hideInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.hide()}showNextInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.showNext()}showPreviousInlineCompletion(){var e;null!=(e=this.activeInlineCompletionsModel)&&e.showPrevious()}hasMultipleInlineCompletions(){var e;return le(this,void 0,void 0,(function*(){var t=yield null==(e=this.activeInlineCompletionsModel)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};he=S([m(1,B.b)],he);class ce extends n.a{constructor(){super(...arguments),this.onDidChangeEmitter=new R.b,this.onDidChange=this.onDidChangeEmitter.event,this.cache=this._register(new n.d)}get value(){return this.cache.value}setValue(e,t,i){this.cache.value=new Q(e,t,()=>this.onDidChangeEmitter.fire(),i)}clearAndLeak(){return this.cache.clearAndLeak()}clear(){this.cache.clear()}}y=i("9eb8"),t=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.updateModelController()})),this._register(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(106)&&this.updateModelController(),e.hasChanged(54)&&this.updateModelController()})),this.updateModelController()}static get(t){return t.getContribution(e.ID)}get activeModel(){var e;return null==(e=this.activeController.value)?void 0:e.model}updateModelController(){var e=this.editor.getOption(106),t=this.editor.getOption(54);this.activeController.value=void 0,this.activeController.value=this.editor.hasModel()&&(e.preview||t.enabled||this.triggeredExplicitly)?this.instantiationService.createInstance(me,this.editor):void 0}shouldShowHoverAt(e){var t;return(null==(t=this.activeModel)?void 0:t.shouldShowHoverAt(e))||!1}shouldShowHoverAtViewZone(e){var t;return(null==(t=null==(t=this.activeController.value)?void 0:t.widget)?void 0:t.shouldShowHoverAtViewZone(e))||!1}trigger(){var e;this.triggeredExplicitly=!0,this.activeController.value||this.updateModelController(),null!=(e=this.activeModel)&&e.triggerInlineCompletion()}commit(){var e;null!=(e=this.activeModel)&&e.commitInlineCompletion()}hide(){var e;null!=(e=this.activeModel)&&e.hideInlineCompletion()}showNextInlineCompletion(){var e;null!=(e=this.activeModel)&&e.showNextInlineCompletion()}showPreviousInlineCompletion(){var e;null!=(e=this.activeModel)&&e.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var e;return ue(this,void 0,void 0,(function*(){var t=yield null==(e=this.activeModel)?void 0:e.hasMultipleInlineCompletions();return void 0!==t&&t}))}};ge.inlineSuggestionVisible=new C.c("inlineSuggestionVisible",!1,I.a("inlineSuggestionVisible","Whether an inline suggestion is visible")),ge.inlineSuggestionHasIndentation=new C.c("inlineSuggestionHasIndentation",!1,I.a("inlineSuggestionHasIndentation","Whether the inline suggestion starts with whitespace")),ge.ID="editor.contrib.ghostTextController",ge=t([S(1,w.a)],ge);class pe{constructor(e){this.contextKeyService=e,this.inlineCompletionVisible=ge.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=ge.inlineSuggestionHasIndentation.bindTo(this.contextKeyService)}}let me=class extends n.a{constructor(e,t,i){super(),this.editor=e,this.instantiationService=t,this.contextKeyService=i,this.contextKeys=new pe(this.contextKeyService),this.model=this._register(this.instantiationService.createInstance(he,this.editor)),this.widget=this._register(this.instantiationService.createInstance(x,this.editor,this.model)),this._register(Object(n.i)(()=>{this.contextKeys.inlineCompletionVisible.set(!1),this.contextKeys.inlineCompletionSuggestsIndentation.set(!1)})),this._register(this.model.onDidChange(()=>{this.updateContextKeys()})),this.updateContextKeys()}updateContextKeys(){this.contextKeys.inlineCompletionVisible.set(void 0!==(null==(e=this.model.activeInlineCompletionsModel)?void 0:e.ghostText));var e=this.model.inlineCompletionsModel.ghostText;if(e&&0t.prefix.length-e.prefix.length),Object(s.i)(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(o.e)([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(t=>e.startsWith(t.prefix))||this.defaultProvider}})},"303e":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"wc",(function(){return h})),i.d(t,"eb",(function(){return c})),i.d(t,"cb",(function(){return u})),i.d(t,"fb",(function(){return g})),i.d(t,"db",(function(){return p})),i.d(t,"h",(function(){return m})),i.d(t,"b",(function(){return f})),i.d(t,"Jc",(function(){return _})),i.d(t,"Ic",(function(){return b})),i.d(t,"Hc",(function(){return v})),i.d(t,"Nc",(function(){return C})),i.d(t,"jb",(function(){return w})),i.d(t,"lb",(function(){return y})),i.d(t,"kb",(function(){return S})),i.d(t,"hb",(function(){return L})),i.d(t,"gb",(function(){return x})),i.d(t,"ib",(function(){return k})),i.d(t,"pb",(function(){return D})),i.d(t,"rb",(function(){return N})),i.d(t,"qb",(function(){return O})),i.d(t,"sb",(function(){return E})),i.d(t,"ub",(function(){return I})),i.d(t,"tb",(function(){return M})),i.d(t,"mb",(function(){return T})),i.d(t,"ob",(function(){return A})),i.d(t,"nb",(function(){return R})),i.d(t,"f",(function(){return B})),i.d(t,"e",(function(){return j})),i.d(t,"g",(function(){return W})),i.d(t,"c",(function(){return V})),i.d(t,"d",(function(){return H})),i.d(t,"yc",(function(){return z})),i.d(t,"Ac",(function(){return U})),i.d(t,"Bc",(function(){return K})),i.d(t,"zc",(function(){return q})),i.d(t,"pc",(function(){return $})),i.d(t,"s",(function(){return G})),i.d(t,"u",(function(){return Z})),i.d(t,"t",(function(){return Y})),i.d(t,"V",(function(){return X})),i.d(t,"X",(function(){return Q})),i.d(t,"W",(function(){return J})),i.d(t,"K",(function(){return ee})),i.d(t,"M",(function(){return te})),i.d(t,"L",(function(){return ie})),i.d(t,"D",(function(){return ne})),i.d(t,"C",(function(){return oe})),i.d(t,"r",(function(){return se})),i.d(t,"B",(function(){return re})),i.d(t,"Y",(function(){return ae})),i.d(t,"ab",(function(){return le})),i.d(t,"Z",(function(){return de})),i.d(t,"bb",(function(){return he})),i.d(t,"qc",(function(){return ce})),i.d(t,"rc",(function(){return ue})),i.d(t,"vc",(function(){return ge})),i.d(t,"lc",(function(){return pe})),i.d(t,"kc",(function(){return me})),i.d(t,"vb",(function(){return fe})),i.d(t,"yb",(function(){return _e})),i.d(t,"wb",(function(){return be})),i.d(t,"xb",(function(){return ve})),i.d(t,"R",(function(){return Ce})),i.d(t,"S",(function(){return we})),i.d(t,"J",(function(){return ye})),i.d(t,"T",(function(){return Se})),i.d(t,"U",(function(){return Le})),i.d(t,"v",(function(){return xe})),i.d(t,"x",(function(){return ke})),i.d(t,"z",(function(){return De})),i.d(t,"w",(function(){return Ne})),i.d(t,"y",(function(){return Oe})),i.d(t,"A",(function(){return Ee})),i.d(t,"H",(function(){return Ie})),i.d(t,"E",(function(){return Me})),i.d(t,"G",(function(){return Te})),i.d(t,"F",(function(){return Ae})),i.d(t,"I",(function(){return Re})),i.d(t,"q",(function(){return Pe})),i.d(t,"O",(function(){return Fe})),i.d(t,"N",(function(){return Be})),i.d(t,"Q",(function(){return je})),i.d(t,"P",(function(){return We})),i.d(t,"i",(function(){return Ve})),i.d(t,"j",(function(){return He})),i.d(t,"m",(function(){return ze})),i.d(t,"o",(function(){return Ue})),i.d(t,"n",(function(){return Ke})),i.d(t,"p",(function(){return qe})),i.d(t,"k",(function(){return $e})),i.d(t,"l",(function(){return Ge})),i.d(t,"Gb",(function(){return Ze})),i.d(t,"Hb",(function(){return Ye})),i.d(t,"Jb",(function(){return Xe})),i.d(t,"zb",(function(){return Qe})),i.d(t,"Ab",(function(){return Je})),i.d(t,"Bb",(function(){return et})),i.d(t,"Pb",(function(){return tt})),i.d(t,"Qb",(function(){return it})),i.d(t,"Rb",(function(){return nt})),i.d(t,"Nb",(function(){return ot})),i.d(t,"Ob",(function(){return st})),i.d(t,"Lb",(function(){return rt})),i.d(t,"Mb",(function(){return at})),i.d(t,"Cb",(function(){return lt})),i.d(t,"Kb",(function(){return dt})),i.d(t,"Ib",(function(){return ht})),i.d(t,"Db",(function(){return ct})),i.d(t,"Fb",(function(){return ut})),i.d(t,"Eb",(function(){return gt})),i.d(t,"Mc",(function(){return pt})),i.d(t,"Gc",(function(){return mt})),i.d(t,"tc",(function(){return _t})),i.d(t,"uc",(function(){return bt})),i.d(t,"sc",(function(){return vt})),i.d(t,"Tb",(function(){return Ct})),i.d(t,"Ub",(function(){return wt})),i.d(t,"Sb",(function(){return yt})),i.d(t,"Xb",(function(){return St})),i.d(t,"Vb",(function(){return Lt})),i.d(t,"Wb",(function(){return xt})),i.d(t,"Yb",(function(){return kt})),i.d(t,"Kc",(function(){return Dt})),i.d(t,"Ec",(function(){return Nt})),i.d(t,"Fc",(function(){return Ot})),i.d(t,"Cc",(function(){return Et})),i.d(t,"Dc",(function(){return It})),i.d(t,"ic",(function(){return Mt})),i.d(t,"jc",(function(){return Tt})),i.d(t,"bc",(function(){return At})),i.d(t,"cc",(function(){return Rt})),i.d(t,"ac",(function(){return Pt})),i.d(t,"gc",(function(){return Ft})),i.d(t,"Zb",(function(){return Bt})),i.d(t,"ec",(function(){return jt})),i.d(t,"fc",(function(){return Wt})),i.d(t,"dc",(function(){return Vt})),i.d(t,"mc",(function(){return Ht})),i.d(t,"oc",(function(){return zt})),i.d(t,"nc",(function(){return Ut})),i.d(t,"Lc",(function(){return $t})),i.d(t,"hc",(function(){return Gt})),i.d(t,"xc",(function(){return Yt}));t=i("5fe7");var n=i("ceb8"),o=i("308f"),s=i("ef8e9"),r=i("dff7"),a=i("dd1b");i=i("89cd");const l={ColorContribution:"base.contributions.colors"},d=new class{constructor(){this._onDidChangeSchema=new o.b,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}registerColor(e,t,i,n=!1,o){this.colorsById[e]={id:e,description:i,defaults:t,needsTransparency:n,deprecationMessage:o};let s={type:"string",description:i,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return o&&(s.deprecationMessage=o),this.colorSchema.properties[e]=s,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(i),this._onDidChangeSchema.fire(),e}resolveDefaultColor(e,t){if(e=this.colorsById[e],e&&e.defaults)return Yt(e.defaults[t.type],t)}getColorSchema(){return this.colorSchema}toString(){return Object.keys(this.colorsById).sort((e,t)=>{var i=-1===e.indexOf(".")?0:1,n=-1===t.indexOf(".")?0:1;return i!=n?i-n:e.localeCompare(t)}).map(e=>`- \`${e}\`: `+this.colorsById[e].description).join("\n")}};function h(e,t,i,n,o){return d.registerColor(e,t,i,n,o)}i.a.add(l.ColorContribution,d);const c=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},r.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),u=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},r.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),g=h("icon.foreground",{dark:"#C5C5C5",light:"#424242",hc:"#FFFFFF"},r.a("iconForeground","The default color for icons in the workbench.")),p=h("focusBorder",{dark:"#007FD4",light:"#0090F1",hc:"#F38518"},r.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),m=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},r.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),f=h("contrastActiveBorder",{light:null,dark:null,hc:p},r.a("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),_=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},r.a("textLinkForeground","Foreground color for links in text.")),b=h("textLink.activeForeground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},r.a("textLinkActiveForeground","Foreground color for links in text when clicked on and on mouse hover.")),v=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:n.a.black},r.a("textCodeBlockBackground","Background color for code blocks in text.")),C=h("widget.shadow",{dark:$t(n.a.black,.36),light:$t(n.a.black,.16),hc:null},r.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),w=h("input.background",{dark:"#3C3C3C",light:n.a.white,hc:n.a.black},r.a("inputBoxBackground","Input box background.")),y=h("input.foreground",{dark:c,light:c,hc:c},r.a("inputBoxForeground","Input box foreground.")),S=h("input.border",{dark:null,light:null,hc:m},r.a("inputBoxBorder","Input box border.")),L=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:m},r.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),x=h("inputOption.activeBackground",{dark:$t(p,.4),light:$t(p,.2),hc:n.a.transparent},r.a("inputOption.activeBackground","Background color of activated options in input fields.")),k=h("inputOption.activeForeground",{dark:n.a.white,light:n.a.black,hc:null},r.a("inputOption.activeForeground","Foreground color of activated options in input fields.")),D=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:n.a.black},r.a("inputValidationInfoBackground","Input validation background color for information severity.")),N=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},r.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),O=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:m},r.a("inputValidationInfoBorder","Input validation border color for information severity.")),E=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:n.a.black},r.a("inputValidationWarningBackground","Input validation background color for warning severity.")),I=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},r.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),M=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:m},r.a("inputValidationWarningBorder","Input validation border color for warning severity.")),T=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:n.a.black},r.a("inputValidationErrorBackground","Input validation background color for error severity.")),A=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},r.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),R=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:m},r.a("inputValidationErrorBorder","Input validation border color for error severity."));var P=h("dropdown.background",{dark:"#3C3C3C",light:n.a.white,hc:n.a.black},r.a("dropdownBackground","Dropdown background.")),F=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:n.a.white},r.a("dropdownForeground","Dropdown foreground."));const B=h("button.foreground",{dark:n.a.white,light:n.a.white,hc:n.a.white},r.a("buttonForeground","Button foreground color.")),j=h("button.background",{dark:"#0E639C",light:"#007ACC",hc:null},r.a("buttonBackground","Button background color.")),W=h("button.hoverBackground",{dark:qt(j,.2),light:Kt(j,.2),hc:null},r.a("buttonHoverBackground","Button background color when hovering.")),V=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:n.a.black},r.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),H=h("badge.foreground",{dark:n.a.white,light:"#333",hc:n.a.white},r.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),z=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},r.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),U=h("scrollbarSlider.background",{dark:n.a.fromHex("#797979").transparent(.4),light:n.a.fromHex("#646464").transparent(.4),hc:$t(m,.6)},r.a("scrollbarSliderBackground","Scrollbar slider background color.")),K=h("scrollbarSlider.hoverBackground",{dark:n.a.fromHex("#646464").transparent(.7),light:n.a.fromHex("#646464").transparent(.7),hc:$t(m,.8)},r.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),q=h("scrollbarSlider.activeBackground",{dark:n.a.fromHex("#BFBFBF").transparent(.4),light:n.a.fromHex("#000000").transparent(.6),hc:m},r.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),$=h("progressBar.background",{dark:n.a.fromHex("#0E70C0"),light:n.a.fromHex("#0E70C0"),hc:m},r.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),G=h("editorError.background",{dark:null,light:null,hc:null},r.a("editorError.background","Background color of error text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Z=h("editorError.foreground",{dark:"#F14C4C",light:"#E51400",hc:null},r.a("editorError.foreground","Foreground color of error squigglies in the editor.")),Y=h("editorError.border",{dark:null,light:null,hc:n.a.fromHex("#E47777").transparent(.8)},r.a("errorBorder","Border color of error boxes in the editor.")),X=h("editorWarning.background",{dark:null,light:null,hc:null},r.a("editorWarning.background","Background color of warning text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),Q=h("editorWarning.foreground",{dark:"#CCA700",light:"#BF8803",hc:null},r.a("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),J=h("editorWarning.border",{dark:null,light:null,hc:n.a.fromHex("#FFCC00").transparent(.8)},r.a("warningBorder","Border color of warning boxes in the editor.")),ee=h("editorInfo.background",{dark:null,light:null,hc:null},r.a("editorInfo.background","Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations."),!0),te=h("editorInfo.foreground",{dark:"#3794FF",light:"#1a85ff",hc:"#3794FF"},r.a("editorInfo.foreground","Foreground color of info squigglies in the editor.")),ie=h("editorInfo.border",{dark:null,light:null,hc:n.a.fromHex("#3794FF").transparent(.8)},r.a("infoBorder","Border color of info boxes in the editor.")),ne=h("editorHint.foreground",{dark:n.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},r.a("editorHint.foreground","Foreground color of hint squigglies in the editor.")),oe=h("editorHint.border",{dark:null,light:null,hc:n.a.fromHex("#eeeeee").transparent(.8)},r.a("hintBorder","Border color of hint boxes in the editor.")),se=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:n.a.black},r.a("editorBackground","Editor background color.")),re=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:n.a.white},r.a("editorForeground","Editor default foreground color.")),ae=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},r.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),le=h("editorWidget.foreground",{dark:c,light:c,hc:c},r.a("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),de=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:m},r.a("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),he=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},r.a("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ce=h("quickInput.background",{dark:ae,light:ae,hc:ae},r.a("pickerBackground","Quick picker background color. The quick picker widget is the container for pickers like the command palette.")),ue=h("quickInput.foreground",{dark:le,light:le,hc:le},r.a("pickerForeground","Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")),ge=h("quickInputTitle.background",{dark:new n.a(new n.c(255,255,255,.105)),light:new n.a(new n.c(0,0,0,.06)),hc:"#000000"},r.a("pickerTitleBackground","Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")),pe=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:n.a.white},r.a("pickerGroupForeground","Quick picker color for grouping labels.")),me=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:n.a.white},r.a("pickerGroupBorder","Quick picker color for grouping borders.")),fe=h("keybindingLabel.background",{dark:new n.a(new n.c(128,128,128,.17)),light:new n.a(new n.c(221,221,221,.4)),hc:n.a.transparent},r.a("keybindingLabelBackground","Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")),_e=h("keybindingLabel.foreground",{dark:n.a.fromHex("#CCCCCC"),light:n.a.fromHex("#555555"),hc:n.a.white},r.a("keybindingLabelForeground","Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")),be=h("keybindingLabel.border",{dark:new n.a(new n.c(51,51,51,.6)),light:new n.a(new n.c(204,204,204,.4)),hc:new n.a(new n.c(111,195,223))},r.a("keybindingLabelBorder","Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")),ve=h("keybindingLabel.bottomBorder",{dark:new n.a(new n.c(68,68,68,.6)),light:new n.a(new n.c(187,187,187,.4)),hc:new n.a(new n.c(111,195,223))},r.a("keybindingLabelBottomBorder","Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")),Ce=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},r.a("editorSelectionBackground","Color of the editor selection.")),we=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},r.a("editorSelectionForeground","Color of the selected text for high contrast.")),ye=h("editor.inactiveSelectionBackground",{light:$t(Ce,.5),dark:$t(Ce,.5),hc:$t(Ce,.5)},r.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),Se=h("editor.selectionHighlightBackground",{light:Zt(Ce,se,.3,.6),dark:Zt(Ce,se,.3,.6),hc:null},r.a("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),Le=h("editor.selectionHighlightBorder",{light:null,dark:null,hc:f},r.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),xe=h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},r.a("editorFindMatch","Color of the current search match.")),ke=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},r.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),De=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},r.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ne=h("editor.findMatchBorder",{light:null,dark:null,hc:f},r.a("editorFindMatchBorder","Border color of the current search match.")),Oe=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:f},r.a("findMatchHighlightBorder","Border color of the other search matches.")),Ee=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:$t(f,.4)},r.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),Ie=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},r.a("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),Me=h("editorHoverWidget.background",{light:ae,dark:ae,hc:ae},r.a("hoverBackground","Background color of the editor hover.")),Te=h("editorHoverWidget.foreground",{light:le,dark:le,hc:le},r.a("hoverForeground","Foreground color of the editor hover.")),Ae=h("editorHoverWidget.border",{light:de,dark:de,hc:de},r.a("hoverBorder","Border color of the editor hover.")),Re=h("editorHoverWidget.statusBarBackground",{dark:qt(Me,.2),light:Kt(Me,.05),hc:ae},r.a("statusBarBackground","Background color of the editor hover status bar.")),Pe=h("editorLink.activeForeground",{dark:"#4E94CE",light:n.a.blue,hc:n.a.cyan},r.a("activeLinkForeground","Color of active links.")),Fe=h("editorInlayHint.foreground",{dark:$t(H,.8),light:$t(H,.8),hc:H},r.a("editorInlayHintForeground","Foreground color of inline hints")),Be=h("editorInlayHint.background",{dark:$t(V,.6),light:$t(V,.3),hc:V},r.a("editorInlayHintBackground","Background color of inline hints")),je=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},r.a("editorLightBulbForeground","The color used for the lightbulb actions icon.")),We=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},r.a("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Ve=new n.a(new n.c(155,185,85,.2)),He=new n.a(new n.c(255,0,0,.2)),ze=h("diffEditor.insertedTextBackground",{dark:Ve,light:Ve,hc:null},r.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ue=h("diffEditor.removedTextBackground",{dark:He,light:He,hc:null},r.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),Ke=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},r.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),qe=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},r.a("diffEditorRemovedOutline","Outline color for text that got removed.")),$e=h("diffEditor.border",{dark:null,light:null,hc:m},r.a("diffEditorBorder","Border color between the two text editors.")),Ge=h("diffEditor.diagonalFill",{dark:"#cccccc33",light:"#22222233",hc:null},r.a("diffDiagonalFill","Color of the diff editor's diagonal fill. The diagonal fill is used in side-by-side diff views.")),Ze=h("list.focusBackground",{dark:null,light:null,hc:null},r.a("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ye=h("list.focusForeground",{dark:null,light:null,hc:null},r.a("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Xe=h("list.focusOutline",{dark:p,light:p,hc:f},r.a("listFocusOutline","List/Tree outline color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Qe=h("list.activeSelectionBackground",{dark:"#094771",light:"#0060C0",hc:null},r.a("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Je=h("list.activeSelectionForeground",{dark:n.a.white,light:n.a.white,hc:null},r.a("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),et=h("list.activeSelectionIconForeground",{dark:null,light:null,hc:null},r.a("listActiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),tt=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},r.a("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),it=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},r.a("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),nt=h("list.inactiveSelectionIconForeground",{dark:null,light:null,hc:null},r.a("listInactiveSelectionIconForeground","List/Tree icon foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),ot=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},r.a("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),st=h("list.inactiveFocusOutline",{dark:null,light:null,hc:null},r.a("listInactiveFocusOutline","List/Tree outline color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),rt=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},r.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),at=h("list.hoverForeground",{dark:null,light:null,hc:null},r.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),lt=h("list.dropBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},r.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),dt=h("list.highlightForeground",{dark:"#18A3FF",light:"#0066BF",hc:p},r.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),ht=h("list.focusHighlightForeground",{dark:dt,light:{op:5,if:Qe,then:dt,else:"#9DDDFF"},hc:dt},r.a("listFocusHighlightForeground","List/Tree foreground color of the match highlights on actively focused items when searching inside the list/tree.")),ct=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:n.a.black},r.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),ut=h("listFilterWidget.outline",{dark:n.a.transparent,light:n.a.transparent,hc:"#f38518"},r.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),gt=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:m},r.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),pt=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},r.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),mt=h("tree.tableColumnsBorder",{dark:"#CCCCCC20",light:"#61616120",hc:null},r.a("treeIndentGuidesStroke","Tree stroke color for the indentation guides."));var ft=h("quickInput.list.focusBackground",{dark:null,light:null,hc:null},"",void 0,r.a("quickInput.list.focusBackground deprecation","Please use quickInputList.focusBackground instead"));const _t=h("quickInputList.focusForeground",{dark:Je,light:Je,hc:Je},r.a("quickInput.listFocusForeground","Quick picker foreground color for the focused item.")),bt=h("quickInputList.focusIconForeground",{dark:et,light:et,hc:et},r.a("quickInput.listFocusIconForeground","Quick picker icon foreground color for the focused item.")),vt=h("quickInputList.focusBackground",{dark:Gt(ft,Qe),light:Gt(ft,Qe),hc:null},r.a("quickInput.listFocusBackground","Quick picker background color for the focused item.")),Ct=h("menu.border",{dark:null,light:null,hc:m},r.a("menuBorder","Border color of menus.")),wt=h("menu.foreground",{dark:F,light:c,hc:F},r.a("menuForeground","Foreground color of menu items.")),yt=h("menu.background",{dark:P,light:P,hc:P},r.a("menuBackground","Background color of menu items.")),St=h("menu.selectionForeground",{dark:Je,light:Je,hc:Je},r.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Lt=h("menu.selectionBackground",{dark:Qe,light:Qe,hc:Qe},r.a("menuSelectionBackground","Background color of the selected menu item in menus.")),xt=h("menu.selectionBorder",{dark:null,light:null,hc:f},r.a("menuSelectionBorder","Border color of the selected menu item in menus.")),kt=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:m},r.a("menuSeparatorBackground","Color of a separator menu item in menus.")),Dt=h("toolbar.hoverBackground",{dark:"#5a5d5e50",light:"#b8b8b850",hc:null},r.a("toolbarHoverBackground","Toolbar background when hovering over actions using the mouse")),Nt=h("editor.snippetTabstopHighlightBackground",{dark:new n.a(new n.c(124,124,124,.3)),light:new n.a(new n.c(10,50,100,.2)),hc:new n.a(new n.c(124,124,124,.3))},r.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),Ot=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},r.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),Et=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},r.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),It=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new n.a(new n.c(10,50,100,.5)),hc:"#525252"},r.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final tabstop of a snippet.")),Mt=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},r.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),Tt=h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},r.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),At=h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},r.a("minimapFindMatchHighlight","Minimap marker color for find matches."),!0),Rt=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},r.a("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),Pt=h("minimap.errorHighlight",{dark:new n.a(new n.c(255,18,18,.7)),light:new n.a(new n.c(255,18,18,.7)),hc:new n.a(new n.c(255,50,50,1))},r.a("minimapError","Minimap marker color for errors.")),Ft=h("minimap.warningHighlight",{dark:Q,light:Q,hc:J},r.a("overviewRuleWarning","Minimap marker color for warnings.")),Bt=h("minimap.background",{dark:null,light:null,hc:null},r.a("minimapBackground","Minimap background color.")),jt=h("minimapSlider.background",{light:$t(U,.5),dark:$t(U,.5),hc:$t(U,.5)},r.a("minimapSliderBackground","Minimap slider background color.")),Wt=h("minimapSlider.hoverBackground",{light:$t(K,.5),dark:$t(K,.5),hc:$t(K,.5)},r.a("minimapSliderHoverBackground","Minimap slider background color when hovering.")),Vt=h("minimapSlider.activeBackground",{light:$t(q,.5),dark:$t(q,.5),hc:$t(q,.5)},r.a("minimapSliderActiveBackground","Minimap slider background color when clicked on.")),Ht=h("problemsErrorIcon.foreground",{dark:Z,light:Z,hc:Z},r.a("problemsErrorIconForeground","The color used for the problems error icon.")),zt=h("problemsWarningIcon.foreground",{dark:Q,light:Q,hc:Q},r.a("problemsWarningIconForeground","The color used for the problems warning icon.")),Ut=h("problemsInfoIcon.foreground",{dark:te,light:te,hc:te},r.a("problemsInfoIconForeground","The color used for the problems info icon."));function Kt(e,t){return{op:0,value:e,factor:t}}function qt(e,t){return{op:1,value:e,factor:t}}function $t(e,t){return{op:2,value:e,factor:t}}function Gt(...e){return{op:3,values:e}}function Zt(e,t,i,n){return{op:4,value:e,background:t,factor:i,transparency:n}}function Yt(e,t){if(null!==e){if("string"==typeof e)return"#"===e[0]?n.a.fromHex(e):t.getColor(e);if(e instanceof n.a)return e;if("object"==typeof e){var i,o=e,r=t;switch(o.op){case 0:return null==(i=Yt(o.value,r))?void 0:i.darken(o.factor);case 1:return null==(i=Yt(o.value,r))?void 0:i.lighten(o.factor);case 2:return null==(i=Yt(o.value,r))?void 0:i.transparent(o.factor);case 3:for(const t of o.values){var a=Yt(t,r);if(a)return a}return;case 5:return Yt(r.defines(o.if)?o.then:o.else,r);case 4:const e=Yt(o.value,r);return e?(i=Yt(o.background,r))?(e.isDarkerThan(i)?n.a.getLighterColor(e,i,o.factor):n.a.getDarkerColor(e,i,o.factor)).transparent(o.transparency):e.transparent(o.factor*o.transparency):void 0;default:throw Object(s.b)(o)}}}}const Xt="vscode://schemas/workbench-colors";let Qt=i.a.as(a.a.JSONContribution);Qt.registerSchema(Xt,d.getColorSchema());const Jt=new t.e(()=>Qt.notifySchemaChanged(Xt),200);d.onDidChangeSchema(()=>{Jt.isScheduled()||Jt.schedule()})},"308f":function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"b",(function(){return b})),i.d(t,"e",(function(){return v})),i.d(t,"a",(function(){return C})),i.d(t,"d",(function(){return w})),i.d(t,"f",(function(){return y}));var n,o=i("fdcc"),s=i("a666"),r=i("db88"),a=i("e58e");{var l=n=n||{};function d(e){return(t,i=null,n)=>{let o,s=!1;return o=e(e=>{if(!s)return o?o.dispose():s=!0,t.call(i,e)},null,n),s&&o.dispose(),o}}function h(e,t){return p((i,n=null,o)=>e(e=>i.call(n,t(e)),null,o))}function c(e,t){return p((i,n=null,o)=>e(e=>{t(e),i.call(n,e)},null,o))}function u(e,t){return p((i,n=null,o)=>e(e=>t(e)&&i.call(n,e),null,o))}function g(e,t,i){let n=i;return h(e,e=>n=t(n,e))}function p(e){let t;const i=new b({onFirstListenerAdd(){t=e(i.fire,i)},onLastListenerRemove(){t.dispose()}});return i.event}function m(e,t,i=100,n=!1,o){let s,r=void 0,a=void 0,l=0;const d=new b({leakWarningThreshold:o,onFirstListenerAdd(){s=e(e=>{l++,r=t(r,e),n&&!a&&(d.fire(r),r=void 0),clearTimeout(a),a=setTimeout(()=>{var e=r;r=void 0,a=void 0,(!n||1e===t)){let i,n=!0;return u(e,e=>{var o=n||!t(e,i);return n=!1,i=e,o})}l.None=()=>s.a.None,l.once=d,l.map=h,l.forEach=c,l.filter=u,l.signal=function(e){return e},l.any=function(...e){return(t,i=null,n)=>Object(s.e)(...e.map(e=>e(e=>t.call(i,e),null,n)))},l.reduce=g,l.debounce=m,l.latch=f,l.split=function(e,t){return[l.filter(e,t),l.filter(e,e=>!t(e))]},l.buffer=function(e,t=!1,i=[]){let n=i.slice(),o=e(e=>{n?n.push(e):r.fire(e)});const s=()=>{n&&n.forEach(e=>r.fire(e)),n=null},r=new b({onFirstListenerAdd(){o=o||e(e=>r.fire(e))},onFirstListenerDidAdd(){n&&(t?setTimeout(s):s())},onLastListenerRemove(){o&&o.dispose(),o=null}});return r.event};class e{constructor(e){this.event=e}map(t){return new e(h(this.event,t))}forEach(t){return new e(c(this.event,t))}filter(t){return new e(u(this.event,t))}reduce(t,i){return new e(g(this.event,t,i))}latch(){return new e(f(this.event))}debounce(t,i=100,n=!1,o){return new e(m(this.event,t,i,n,o))}on(e,t,i){return this.event(e,t,i)}once(e,t,i){return d(this.event)(e,t,i)}}l.chain=function(t){return new e(t)},l.fromNodeEventEmitter=function(e,t,i=(e=>e)){const n=(...e)=>o.fire(i(...e)),o=new b({onFirstListenerAdd:()=>e.on(t,n),onLastListenerRemove:()=>e.removeListener(t,n)});return o.event},l.fromDOMEventEmitter=function(e,t,i=(e=>e)){const n=(...e)=>o.fire(i(...e)),o=new b({onFirstListenerAdd:()=>e.addEventListener(t,n),onLastListenerRemove:()=>e.removeEventListener(t,n)});return o.event},l.toPromise=function(e){return new Promise(t=>d(e)(t))}}class _{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=e+"_"+_._idPool++}start(e){this._stopWatch=new a.a(!0),this._listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0}}}_._idPool=0;class b{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=null!=(e=this._options)&&e._profName?new _(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,i)=>{this._listeners||(this._listeners=new r.a);var n=this._listeners.isEmpty();n&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const o=this._listeners.push(t?[e,t]:e),a=(n&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),null==(n=this._leakageMon)?void 0:n.check(this._listeners.size));return e=Object(s.i)(()=>{a&&a(),this._disposed||(o(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))}),i instanceof s.b?i.add(e):Array.isArray(i)&&i.push(e),e}),this._event}fire(e){var t;if(this._listeners){for(var i of(this._deliveryQueue||(this._deliveryQueue=new r.a),this._listeners))this._deliveryQueue.push([i,e]);for(null!=(t=this._perfMon)&&t.start(this._deliveryQueue.size);0{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class w{constructor(){this.buffers=[]}wrapEvent(e){return(t,i,n)=>e(e=>{const n=this.buffers[this.buffers.length-1];n?n.push(()=>t.call(i,e)):t.call(i,e)},void 0,n)}bufferEvents(e){const t=[];return this.buffers.push(t),e=e(),this.buffers.pop(),t.forEach(e=>e()),e}}class y{constructor(){this.listening=!1,this.inputEvent=n.None,this.inputEventListener=s.a.None,this.emitter=new b({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},"30d5":function(e,t,i){},"30db":function(e,t,i){"use strict";(function(e,n){i.d(t,"b",(function(){return g})),i.d(t,"i",(function(){return b})),i.d(t,"f",(function(){return v})),i.d(t,"d",(function(){return C})),i.d(t,"g",(function(){return w})),i.d(t,"h",(function(){return y})),i.d(t,"c",(function(){return S})),i.d(t,"k",(function(){return L})),i.d(t,"j",(function(){return x})),i.d(t,"a",(function(){return k})),i.d(t,"e",(function(){return O}));let o=!1,s=!1,r=!1,a=!1,l=!1,d=!1,h=void 0,c="en",u=void 0;const g="object"==typeof self?self:"object"==typeof e?e:{};let p=void 0;if(void 0!==g.vscode&&void 0!==g.vscode.process?p=g.vscode.process:void 0!==n&&(p=n),n="string"==typeof(null==(e=null===p||void 0===p?void 0:p.versions)?void 0:e.electron)&&"renderer"===p.type,"object"!=typeof navigator||n){if("object"==typeof p){if(o="win32"===p.platform,s="darwin"===p.platform,(r="linux"===p.platform)&&!!p.env.SNAP&&p.env.SNAP_REVISION,h="en",c="en",e=p.env.VSCODE_NLS_CONFIG,e)try{var m=JSON.parse(e),f=m.availableLanguages["*"];h=m.locale,c=f||"en",m._translationsConfigFile}catch(e){}a=!0}}else u=navigator.userAgent,o=0<=u.indexOf("Windows"),s=0<=u.indexOf("Macintosh"),d=(0<=u.indexOf("Macintosh")||0<=u.indexOf("iPad")||0<=u.indexOf("iPhone"))&&!!navigator.maxTouchPoints&&0{if(t.data&&t.data.vscodeSetImmediateId)for(let i=0,n=e.length;i{var n=++t;e.push({id:n,callback:i}),g.postMessage({vscodeSetImmediateId:n},"*")}}if("function"==typeof(null===p||void 0===p?void 0:p.nextTick))return p.nextTick.bind(p);const e=Promise.resolve();return t=>e.then(t)}(),k=s||d?2:o?1:3;let D=!0,N=!1;function O(){if(!N){N=!0;const t=new Uint8Array(2);t[0]=1,t[1]=2;var e=new Uint16Array(t.buffer);D=513===e[0]}return D}}).call(this,i("c8ba"),i("f28c"))},3170:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return s}));var n=i("099d");class o{constructor(e){e=Object(n.b)(e),this._defaultValue=e,this._asciiMap=o._createAsciiMap(e),this._map=new Map}static _createAsciiMap(e){let t=new Uint8Array(256);for(let i=0;i<256;i++)t[i]=e;return t}set(e,t){t=Object(n.b)(t),0<=e&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return 0<=e&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}}class s{constructor(){this._actual=new o(0)}add(e){this._actual.set(e,1)}has(e){return 1===this._actual.get(e)}}},"31df":function(e,t,i){"use strict";i.d(t,"c",(function(){return o})),i.d(t,"b",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("11f7");function o(e,t={}){const i=r(t);return i.textContent=e,i}function s(e,t={}){var i=r(t);return function e(t,i,o,s){let r;if(2===i.type)r=document.createTextNode(i.content||"");else if(3===i.type)r=document.createElement("b");else if(4===i.type)r=document.createElement("i");else if(7===i.type&&s)r=document.createElement("code");else if(5===i.type&&o){const e=document.createElement("a");e.href="#",o.disposables.add(n.o(e,"click",e=>{o.callback(String(i.index),e)})),r=e}else 8===i.type?r=document.createElement("br"):1===i.type&&(r=t);r&&t!==r&&t.appendChild(r),r&&Array.isArray(i.children)&&i.children.forEach(t=>{e(r,t,o,s)})}(i,function(e,t){var i={type:1,children:[]};let n=0,o=i;const s=[],r=new a(e);for(;!r.eos();){let e=r.next();var d="\\"===e&&0!==l(r.peek(),t);if(d&&(e=r.next()),!d&&function(e,t){return 0!==l(e,t)}(e,t)&&e===r.peek()){r.advance(),2===o.type&&(o=s.pop());d=l(e,t);if(o.type===d||5===o.type&&6===d)o=s.pop();else{const e={type:d,children:[]};5===d&&(e.index=n,n++),o.children.push(e),s.push(o),o=e}}else"\n"===e?(o=2===o.type?s.pop():o).children.push({type:8}):2!==o.type?(d={type:2,content:e},o.children.push(d),s.push(o),o=d):o.content+=e}return 2===o.type&&(o=s.pop()),s.length,i}(e,!!t.renderCodeSegments),t.actionHandler,t.renderCodeSegments),i}function r(e){var t=e.inline?"span":"div";const i=document.createElement(t);return e.className&&(i.className=e.className),i}class a{constructor(e){this.source=e,this.index=0}eos(){return this.index>=this.source.length}next(){var e=this.peek();return this.advance(),e}peek(){return this.source[this.index]}advance(){this.index++}}function l(e,t){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return t?7:0;default:return 0}}},"32a4":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"b",(function(){return d}));t=i("dff7");var n=i("308f"),o=i("b707"),s=i("70cb"),r=i("89cd");i=i("b9b4");const a=new class{constructor(){this._onDidChangeLanguages=new n.b,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let t=0,i=this._languages.length;t"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}},0)},"32b8":function(e,t,i){"use strict";i.d(t,"i",(function(){return c})),i.d(t,"e",(function(){return u})),i.d(t,"d",(function(){return g})),i.d(t,"g",(function(){return p})),i.d(t,"f",(function(){return m})),i.d(t,"b",(function(){return f})),i.d(t,"a",(function(){return _})),i.d(t,"c",(function(){return b})),i.d(t,"h",(function(){return v}));var n=i("c317");class o extends Error{constructor(e,t,i){let n;"string"==typeof t&&0===t.indexOf("not ")?(n="must not be",t=t.replace(/^not /,"")):n="must be";var o=-1!==e.indexOf(".")?"property":"argument";e=`The "${e}" ${o} ${n} of type `+t;super(e+=". Received type "+typeof i),this.code="ERR_INVALID_ARG_TYPE"}}function s(e,t){if("string"!=typeof e)throw new o(t,"string",e)}function r(e){return 47===e||92===e}function a(e){return 47===e}function l(e){return 65<=e&&e<=90||97<=e&&e<=122}function d(e,t,i,n){let o="",s=0,r=-1,a=0,l=0;for(let h=0;h<=e.length;++h){if(ho&&92===e.charCodeAt(r-1);)r--;var a=r-o;let l=0;for(;ll&&92===t.charCodeAt(d-1);)d--;var h=d-l,u=a=n;--s)if(r(e.charCodeAt(s))){if(!d){a=s;break}}else d=!1;if(-1===a){if(-1===i)return".";a=i}return e.slice(0,a)},basename(e,t){void 0!==t&&s(t,"ext"),s(e,"path");let i,n=0,o=-1,a=!0;if(2<=e.length&&l(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(n=2),void 0!==t&&0=n;--i){var d=e.charCodeAt(i);if(r(d)){if(!a){n=i+1;break}}else-1===l&&(a=!1,l=i+1),0<=s&&(d===t.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=l))}return n===o?o=l:-1===o&&(o=e.length),e.slice(n,o)}for(i=e.length-1;i>=n;--i)if(r(e.charCodeAt(i))){if(!a){n=i+1;break}}else-1===o&&(a=!1,o=i+1);return-1===o?"":e.slice(n,o)},extname(e){s(e,"path");let t=0,i=-1,n=0,o=-1,a=!0,d=0;2<=e.length&&58===e.charCodeAt(1)&&l(e.charCodeAt(0))&&(t=n=2);for(let s=e.length-1;s>=t;--s){var h=e.charCodeAt(s);if(r(h)){if(a)continue;n=s+1;break}-1===o&&(a=!1,o=s+1),46===h?-1===i?i=s:1!==d&&(d=1):-1!==i&&(d=-1)}return-1===i||-1===o||0===d||1===d&&i===o-1&&i===n+1?"":e.slice(i,o)},format:h.bind(null,"\\"),parse(e){s(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){var i=e.length;let n=0,o=e.charCodeAt(0);if(1===i)r(o)?t.root=t.dir=e:t.base=t.name=e;else{if(r(o)){if(n=1,r(e.charCodeAt(1))){let t=2,o=t;for(;t=n;--c){if(r(o=e.charCodeAt(c))){if(h)continue;a=c+1;break}-1===d&&(h=!1,d=c+1),46===o?-1===s?s=c:1!==u&&(u=1):-1!==s&&(u=-1)}-1!==d&&(-1===s||0===u||1===u&&s===d-1&&s===a+1?t.base=t.name=e.slice(a,d):(t.name=e.slice(a,s),t.base=e.slice(a,d),t.ext=e.slice(s,d))),t.dir=0=o;--d){var n=e.charCodeAt(d);if(47===n){if(l)continue;r=d+1;break}-1===a&&(l=!1,a=d+1),46===n?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}if(-1!==a){const n=0===r&&i?1:r;-1===s||0===h||1===h&&s===a-1&&s===r+1?t.base=t.name=e.slice(n,a):(t.name=e.slice(n,s),t.base=e.slice(n,a),t.ext=e.slice(s,a))}0i&&(c=i-u),l=h.color;let g=this._color2Id[l];g||(g=++this._lastAssignedId,this._color2Id[l]=g,this._id2Color[g]=l),l=new n(c-u,c+u,g),h.setColorZone(l),r.push(l)}return this._colorZonesInvalid=!1,r.sort(n.compare),r}}},3323:function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneGotoLineQuickAccessProvider",(function(){return m})),i.d(t,"GotoLineAction",(function(){return f}));var n=i("dff7"),o=i("a666"),s=(t=i("1fe0"),i("b055"));class r extends t.a{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(e){var t=Object(n.a)("cannotRunGotoLine","Open a text editor first to go to a line.");return e.items=[{label:t}],e.ariaLabel=t,o.a.None}provideWithTextEditor(e,t,i){const n=e.editor,a=new o.b,l=(a.add(t.onDidAccept(i=>{var[o]=t.selectedItems;o&&this.isValidLineNumber(n,o.lineNumber)&&(this.gotoLocation(e,{range:this.toRange(o.lineNumber,o.column),keyMods:t.keyMods,preserveFocus:i.inBackground}),i.inBackground||t.hide())})),()=>{var e=this.parsePosition(n,t.value.trim().substr(r.PREFIX.length)),i=this.getPickLabel(n,e.lineNumber,e.column);t.items=[{lineNumber:e.lineNumber,column:e.column,label:i}],t.ariaLabel=i,this.isValidLineNumber(n,e.lineNumber)?(i=this.toRange(e.lineNumber,e.column),n.revealRangeInCenter(i,0),this.addDecorations(n,i)):this.clearDecorations(n)}),d=(l(),a.add(t.onDidChangeValue(()=>l())),Object(s.a)(n));if(d){const e=d.getOptions();2===e.get(59).renderType&&(d.updateOptions({lineNumbers:"on"}),a.add(Object(o.i)(()=>d.updateOptions({lineNumbers:"relative"}))))}return a}toRange(e=1,t=1){return{startLineNumber:e,startColumn:t,endLineNumber:e,endColumn:t}}parsePosition(e,t){return t=t.split(/,|:|#/).map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),e=this.lineCount(e)+1,{lineNumber:0e.lineNumber===t.lineNumber?e.column===t.column?e.order-t.order:e.column-t.column:e.lineNumber-t.lineNumber),t}}class s{constructor(e,t,i){this.changeType=2,this.lineNumber=e,this.detail=t,this.injectedText=i}}class r{constructor(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}}class a{constructor(e,t,i,n){this.changeType=4,this.injectedTexts=n,this.fromLineNumber=e,this.toLineNumber=t,this.detail=i}}class l{constructor(){this.changeType=5}}class d{constructor(e,t,i,n){this.changes=e,this.versionId=t,this.isUndoing=i,this.isRedoing=n,this.resultingSelection=null}containsEvent(e){for(let t=0,i=this.changes.length;tthis._onDidAttemptReadOnlyEdit())}static get(t){return t.getContribution(e.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){let i;Object(r.a)(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new m(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new o.g(()=>this.closeMessage(),3e3)),this._messageListeners.add(this._editor.onMouseMove(e=>{e.target.position&&(i?i.containsPosition(e.target.position)||this.closeMessage():i=new a.a(t.lineNumber-3,1,e.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(m.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(n.a("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};g.ID="editor.contrib.messageController",g.MESSAGE_VISIBLE=new l.c("messageVisible",!1,n.a("messageVisible","Whether the editor is currently showing an inline message")),g=i([u(1,l.b)],g);const p=t.c.bindToContribution(g.get);Object(t.k)(new p({id:"leaveEditorMessage",precondition:g.MESSAGE_VISIBLE,handler:e=>e.closeMessage(),kbOpts:{weight:130,primary:9}}));class m{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div"),s=(o.classList.add("anchor","top"),this._domNode.appendChild(o),document.createElement("div")),r=(s.classList.add("message"),s.textContent=n,this._domNode.appendChild(s),document.createElement("div"));r.classList.add("anchor","below"),this._domNode.appendChild(r),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",2===e)}}Object(t.l)(g.ID,g),Object(d.f)((e,t)=>{var i=e.getColor(h.qb),n=(i&&(n=e.type===c.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.below { border-top-color: ${i}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.top { border-bottom-color: ${i}; }`),t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${n}px solid ${i}; }`)),e.getColor(h.pb));n&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${n}; }`),i=e.getColor(h.rb);i&&t.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${i}; }`)})},3742:function(e,t,i){"use strict";function n(e){return!e||"string"!=typeof e||0===e.trim().length}i.d(t,"C",(function(){return n})),i.d(t,"v",(function(){return s})),i.d(t,"s",(function(){return r})),i.d(t,"t",(function(){return a})),i.d(t,"U",(function(){return l})),i.d(t,"J",(function(){return d})),i.d(t,"O",(function(){return h})),i.d(t,"p",(function(){return c})),i.d(t,"T",(function(){return u})),i.d(t,"q",(function(){return g})),i.d(t,"N",(function(){return p})),i.d(t,"M",(function(){return m})),i.d(t,"Q",(function(){return f})),i.d(t,"u",(function(){return _})),i.d(t,"x",(function(){return b})),i.d(t,"I",(function(){return v})),i.d(t,"f",(function(){return C})),i.d(t,"h",(function(){return w})),i.d(t,"g",(function(){return y})),i.d(t,"i",(function(){return S})),i.d(t,"G",(function(){return L})),i.d(t,"H",(function(){return x})),i.d(t,"r",(function(){return D})),i.d(t,"R",(function(){return O})),i.d(t,"d",(function(){return E})),i.d(t,"e",(function(){return I})),i.d(t,"E",(function(){return M})),i.d(t,"F",(function(){return T})),i.d(t,"j",(function(){return A})),i.d(t,"z",(function(){return R})),i.d(t,"K",(function(){return F})),i.d(t,"L",(function(){return B})),i.d(t,"m",(function(){return W})),i.d(t,"k",(function(){return H})),i.d(t,"A",(function(){return U})),i.d(t,"a",(function(){return K})),i.d(t,"n",(function(){return q})),i.d(t,"l",(function(){return $})),i.d(t,"D",(function(){return G})),i.d(t,"B",(function(){return Z})),i.d(t,"b",(function(){return Y})),i.d(t,"S",(function(){return X})),i.d(t,"o",(function(){return Q})),i.d(t,"P",(function(){return J})),i.d(t,"w",(function(){return ee})),i.d(t,"c",(function(){return te})),i.d(t,"y",(function(){return ne}));const o=/{(\d+)}/g;function s(e,...t){return 0===t.length?e:e.replace(o,(function(e,i){return i=parseInt(i,10),isNaN(i)||i<0||i>=t.length?e:t[i]}))}function r(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t=" "){return h(d(e,t),t)}function d(e,t){if(!e||!t)return e;var i=t.length;if(0===i||0===e.length)return e;let n=0;for(;e.indexOf(t,n)===n;)n+=i;return e.substring(n)}function h(e,t){if(!e||!t)return e;var i=t.length,n=e.length;if(0===i||0===n)return e;let o,s=n;for(;;){if(-1===(o=e.lastIndexOf(t,s-1))||o+i!==s)break;if(0===o)return"";s=o}return e.substring(0,s)}function c(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function u(e){return e.replace(/\*/g,"")}function g(e,t,i={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),i.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(e,n)}function p(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)}function m(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function f(e){return e.split(/\r\n|\r|\n/)}function _(e){for(let i=0,n=e.length;ie.length)&&N(e,t,i)}function E(e,t){let i,n=Math.min(e.length,t.length);for(i=0;it[3*n+1]))return t[3*n+2];n=2*n+1}}return 0}}function ne(e,t){var i;return 0===e?0:void 0!==(i=function(e,t){let i=P(t,e);for(e-=oe(i);function(e){return 127995<=e&&e<=127999}(i)||65039===i||8419===i;){if(0===e)return;i=P(t,e),e-=oe(i)}var n;if(Z(i))return 0<=e&&8205===(n=P(t,e))&&(e-=oe(n)),e}(e,t))?i:e-oe(P(t,e))}function oe(e){return 65536<=e?2:1}ie._INSTANCE=null},3765:function(e,t,i){"use strict";i.r(t),i.d(t,"SelectionAnchorSet",(function(){return u})),i("1754");t=i("b2cc");var n=i("dff7"),o=i("c101"),s=i("8025"),r=i("fe45"),a=i("4fc3"),l=i("78bc"),d=i("3813"),h=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.selectionAnchorSetContextKey.reset())}static get(t){return t.getContribution(e.ID)}setSelectionAnchor(){var e,t;this.editor.hasModel()&&(e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],t=this.editor.deltaDecorations(t,[{range:s.a.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:(new l.a).appendText(Object(n.a)("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]),this.decorationId=t[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Object(d.a)(Object(n.a)("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column)))}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const t=this.editor.getModel().getDecorationRange(this.decorationId);var e;t&&(e=this.editor.getPosition(),this.editor.setSelection(s.a.fromPositions(t.getStartPosition(),e)),this.cancelSelectionAnchor())}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};g.ID="editor.contrib.selectionAnchorController",g=i([h(1,a.b)],g);class p extends t.b{constructor(){super({id:"editor.action.setSelectionAnchor",label:Object(n.a)("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:o.a.editorTextFocus,primary:Object(r.a)(2089,2080),weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.setSelectionAnchor()}))}}class m extends t.b{constructor(){super({id:"editor.action.goToSelectionAnchor",label:Object(n.a)("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:u})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.goToSelectionAnchor()}))}}class f extends t.b{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:Object(n.a)("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:u,kbOpts:{kbExpr:o.a.editorTextFocus,primary:Object(r.a)(2089,2089),weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.selectFromAnchorToCursor()}))}}class _ extends t.b{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:Object(n.a)("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:u,kbOpts:{kbExpr:o.a.editorTextFocus,primary:9,weight:100}})}run(e,t){return c(this,void 0,void 0,(function*(){const e=g.get(t);e.cancelSelectionAnchor()}))}}Object(t.l)(g.ID,g),Object(t.j)(p),Object(t.j)(m),Object(t.j)(f),Object(t.j)(_)},3793:function(e,t,i){"use strict";i.r(t);var n=i("fc11"),o=i("c964"),s=(i("c740"),i("d3b7"),i("25f0"),i("a9e3"),i("fb6a"),i("159b"),i("a434"),i("96cf"),i("8593")),r=(i("56b3"),i("d9e2"),i("ac1f"),i("00b4"),{name:"file_login",data:function(){return{formInline:{password:""},ruleInline:{password:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},created:function(){var e=this;document.onkeydown=function(t){13===window.event.keyCode&&e.handleSubmit("formInline")}},methods:{handleSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;Object(s.O)(t.formInline).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$Message.success("登录成功!"),t.$emit("on-Login",i.data);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))}))}}}),a=(i("9240"),i("2877")),l=(r=Object(a.a)(r,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return t("Row",{attrs:{type:"flex"}},[t("Col",{attrs:{span:"24"}},[t("div",{staticClass:"index_from page-account-container"},[t("div",{staticClass:"page-account-top"},[t("span",{staticClass:"page-account-top-tit"},[e._v("文件管理登录")])]),t("Form",{ref:"formInline",attrs:{model:e.formInline,rules:e.ruleInline},nativeOn:{submit:function(e){e.preventDefault()}}},[t("FormItem",{staticClass:"maxInpt",attrs:{prop:"sms_token"}},[t("Input",{attrs:{type:"password",prefix:"ios-lock-outline",placeholder:"请输入密码"},model:{value:e.formInline.password,callback:function(t){e.$set(e.formInline,"password",t)},expression:"formInline.password"}})],1),t("FormItem",{staticClass:"maxInpt"},[t("Button",{staticClass:"btn",attrs:{type:"primary",long:"",size:"large"},on:{click:function(t){return e.handleSubmit("formInline")}}},[e._v("登录")])],1)],1)],1)])],1)}),[],!1,null,"d4b80e9e",null).exports,i("c276")),d=i("c2c6");r={name:"opendir",data:function(){return{modals:!1,editor:"",editorIndex:[{tab:!0,index:"0",title:"",icon:""}],editorList:[],indexEditor:0,code:"",navList:[],navItem:{},contextData:null,fileType:"",className:"",isSave:!0,isShowLogn:!1,isShowList:!1,spinShow:!1,loading:!1,tabList:[],columns4:[{title:"文件/文件夹名",slot:"filename",minWidth:150,back:"返回上级"},{title:"文件/文件夹路径",key:"real_path",minWidth:150},{title:"文件/文件夹大小",key:"size",minWidth:100},{title:"是否可写",slot:"isWritable",minWidth:100},{title:"更新时间",key:"mtime",minWidth:150},{title:"操作",slot:"action",minWidth:150}],formItem:{dir:"",superior:0,filedir:"",fileToken:Object(l.d)("file_token")},dir:"",pathname:"",title:"",formFile:{filename:""},ruleInline:{filename:[{required:!0,message:"请输入文件或文件夹的名字",trigger:"blur"}]},formShow:!1,formTitle:"",fileToken:Object(l.d)("file_token")}},components:{loginFrom:r},mounted:function(){this.initEditor()},created:function(){this.getList()},beforeDestroy:function(){Object(l.m)("file_token")},computed:{},methods:{currentChange:function(e){e.isDir?this.open(e):this.edit(e)},getList:function(e,t){var i,n=this;e?i={dir:"",superior:0,filedir:"",fileToken:this.fileToken}:(i=this.formItem).fileToken=this.fileToken,t||(this.loading=!0),Object(s.N)(i).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=i.data,t?n.navList=o.navList:(n.navListForTab=o.navList,n.tabList=o.list,n.isShowList=!0),n.dir=o.dir,n.isShowLogn=!1,n.loading=!1;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){n.catchFun(e)}))},getListItem:function(e){var t=this;Object(s.N)(e).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$set(t.contextData,"children",i.data.navList);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.catchFun(e)}))},goBack:function(e){this.formItem={dir:this.dir,superior:1,filedir:""},this.getList(!1,e)},open:function(e){this.formItem={dir:e.path,superior:0,filedir:e.filename,fileToken:this.fileToken},this.getList(!1,!1)},edit:function(e){this.navItem=e,this.spinShow=!0,this.pathname=e.pathname,this.title=e.filename,this.editorIndex[0].title=e.filename,this.editorIndex[0].pathname=e.pathname,this.navList=this.navListForTab,this.dir=e.path,this.editorList.length<=0&&this.initEditor(),this.openfile(e.pathname,!1)},savefile:function(e,t){var i=this.editorList[e].editor.getValue(),n={comment:i,filepath:this.editorList[e].path,fileToken:this.fileToken},r=this;Object(s.V)(n).then(function(){var n=Object(o.a)(regeneratorRuntime.mark((function n(o){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:t||(r.code=i,r.isSave=!0,r.editorIndex[e].icon="",r.editorList[e].isSave=!0),r.$Message.success(o.msg),r.$Modal.remove();case 3:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){r.catchFun(e)}))},refreshfile:function(){this.editorList[this.indexEditor]&&this.openfile(this.editorList[this.indexEditor].path,!0)},getExpiresTime:function(e){var t=Math.round(new Date/1e3);return parseFloat(parseFloat(parseFloat((e-t)/60)/60)/24)},loadData:function(e,t){var i=this;e.isDir&&(this.formItem={dir:e.path,superior:0,filedir:e.title,fileToken:this.fileToken},Object(s.N)(this.formItem).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t(i.data.navList);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){110008==e.status?(i.$Message.error(e.msg),i.isShowLogn=!0,i.isShowList=!1,i.loading=!1):i.catchFun(e)})))},renderContent:function(e,t){var i=t.root,o=t.node,s=t.data,r=this;return e("span",{style:(t={display:"inline-block",cursor:"pointer",userSelect:"null",color:"#cccccc"},Object(n.a)(t,"display","inline-block"),Object(n.a)(t,"width","100%"),Object(n.a)(t,"borderRadis","5px"),t),on:{click:function(){r.clickDir(s,i,o)},contextmenu:function(){}}},[e("span",[e("Icon",{props:{type:s.isDir?"md-folder":"ios-document-outline"},style:{marginRight:"8px"}}),e("span",{attrs:{title:s.title}},s.title)])])},clickDir:function(e,t,i){var n,o=this;o.navItem=e,o.pathname=e.pathname,e.isDir||(-1<(n=o.editorIndex.findIndex((function(t){return t.pathname===e.pathname})))?(o.toggleEditor(n),o.indexEditor=n.toString()):(n=o.editorIndex.length,o.editorIndex.push({tab:!0,index:n.toString(),title:e.title,icon:"",pathname:e.pathname}),o.indexEditor=n.toString(),o.initEditor(),o.openfile(e.pathname,!0)))},handleContextMenu:function(e,t,i){i.left=Number(i.left.slice(0,-2))+75+"px",this.contextData=e},handleContextCreateFolder:function(){this.formFile.filename="",this.formTitle="创建文件夹",this.formShow=!0,this.fileType="createFolder"},handleContextCreateFile:function(){this.formFile.filename="",this.formTitle="创建文件",this.formShow=!0,this.fileType="createFile"},handleContextDelFolder:function(){var e=this,t=this;t.$Modal.confirm({title:"删除文件夹和文件",content:"您确定要删除改文件?",loading:!0,onOk:function(){var i={path:t.contextData.pathname,fileToken:e.fileToken};Object(s.q)(i).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(i){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loopDel(t.navList,t.contextData.nodeKey),t.$Modal.remove(),t.$Message.success("删除成功");case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.catchFun(e)}))},onCancel:function(){t.$Message.info("取消删除")}})},handleContextRename:function(){this.formFile.filename=this.contextData.title,this.formTitle="重命名文件",this.formShow=!0,this.fileType="renameFile"},openfile:function(e,t){var i=this,n={filepath:e,fileToken:this.fileToken};Object(s.P)(n).then(function(){var n=Object(o.a)(regeneratorRuntime.mark((function n(o){var s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:s=o.data,i.code=s.content,i.editorList[i.indexEditor].path=e,i.editorList[i.indexEditor].oldCode=i.code,i.changeModel(s.mode,i.code),t||(i.modals=!0,i.spinShow=!1);case 6:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}))},initEditor:function(){var e=this;e.$nextTick((function(){e.editor=d.editor.create(document.getElementById("container_"+e.indexEditor),{value:e.code,language:"sql",automaticLayout:!0,theme:"vs",foldingStrategy:"indentation",overviewRulerBorder:!1,scrollbar:{verticalScrollbarSize:4,horizontalScrollbarSize:10},autoIndent:!0,tabSize:4,autoClosingOvertype:"always"}),e.editor.addCommand(d.KeyMod.CtrlCmd|d.KeyCode.KEY_S,(function(){e.savefile(e.indexEditor)})),e.editor.onKeyUp((function(){e.editor.getValue()!=e.code&&(e.isSave=!1,e.editorIndex[e.indexEditor].icon="md-warning",e.editorList[e.indexEditor].isSave=!1)})),e.editorList.push({editor:e.editor,oldCode:e.code,path:"",isSave:!0,index:e.indexEditor})}))},changeModel:function(e,t){var i=this.editorList[this.indexEditor].editor.getModel();e=e||i.getLanguageId(),t=d.editor.createModel(t,e);i&&i.dispose(),this.editorList[this.indexEditor].editor.setModel(t)},handleSubmit:function(e){var t=this,i=this,n="",r="";this.$refs[e].validate((function(e){if(e)switch(i.fileType){case"createFolder":n={path:i.contextData.pathname,name:i.formFile.filename,fileToken:t.fileToken},Object(s.o)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={dir:i.contextData.path,superior:0,filedir:i.contextData.title,fileToken:t.fileToken},i.getListItem(r),i.formShow&&(i.formShow=!1),i.$Message.success("创建成功");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}));break;case"createFile":n={path:i.contextData.pathname,name:i.formFile.filename,fileToken:t.fileToken},Object(s.n)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r={dir:i.contextData.path,superior:0,filedir:i.contextData.title,fileToken:t.fileToken},i.getListItem(r),i.formShow&&(i.formShow=!1),i.$Message.success("创建成功");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}));break;case"renameFile":n={newname:i.contextData.path+"\\"+i.formFile.filename,oldname:i.contextData.pathname,fileToken:t.fileToken},Object(s.S)(n).then(function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.$set(i.contextData,"title",i.formFile.filename),i.$Message.success("修改成功"),i.formShow&&(i.formShow=!1);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){i.catchFun(e)}))}else t.$Message.error("Fail!")}))},formExit:function(){this.formShow=!1},catchFun:function(e){e.status&&(400==e.status&&this.$Message.error(e.msg),110008==e.status&&(this.isShowLogn=!0,this.isShowList=!1,this.loading=!1)),this.spinShow&&(this.spinShow=!1),this.loading&&(this.loading=!1)},loopDel:function(e,t){var i=this;e.forEach((function(n,o){return n.nodeKey===t?e.splice(o,1):0{const e=document.createElement("div");return e.className="monaco-alert",e.setAttribute("role","alert"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};a=t(),l=t(),t=()=>{const e=document.createElement("div");return e.className="monaco-status",e.setAttribute("role","complementary"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),r.appendChild(e),e};d=t(),h=t(),e.appendChild(r)}function u(e){r&&(a.textContent!==e?(n.t(l),p(a,e)):(n.t(a),p(l,e)))}function g(e){r&&(o.f?u(e):d.textContent!==e?(n.t(h),p(d,e)):(n.t(d),p(h,e)))}function p(e,t){n.t(e),t.length>s&&(t=t.substr(0,s)),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}},"38a2b":function(e,t,i){},"38e9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return i.e("chunk-2d0ba136").then(i.bind(null,"3652"))}})},"38f6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return i.e("chunk-2d0dda4e").then(i.bind(null,"81ed"))}})},"3a19":function(e,t,i){},"3bfb":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("11f7"),o=(t=i("ceb8"),i("aa3d")),s=i("3742");i("54f2");const r={badgeBackground:t.a.fromHex("#4D4D4D"),badgeForeground:t.a.fromHex("#FFFFFF")};class a{constructor(e,t){this.count=0,this.options=t||Object.create(null),Object(o.f)(this.options,r,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(n.q)(e,Object(n.a)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(e){this.count=e,this.render()}setTitleFormat(e){this.titleFormat=e,this.render()}render(){this.element.textContent=Object(s.v)(this.countFormat,this.count),this.element.title=Object(s.v)(this.titleFormat,this.count),this.applyStyles()}style(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()}applyStyles(){var e,t,i;this.element&&(e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",i=this.badgeBorder?this.badgeBorder.toString():"",this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i)}}},"3d378":function(e,t,i){"use strict";i.d(t,"d",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("32b8"),o=i("30db"),s=i("3742");function r(e){return-1===e.indexOf("/")&&(e=e.replace(/[\\/]/g,n.e.sep)),/^[a-zA-Z]:(\/|$)/.test(e)?"/"+e:e}function a(e,t,i,o=n.h){if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(i){if(!Object(s.R)(e,t))return!1;if(t.length===e.length)return!0;let i=t.length;return t.charAt(t.length-1)===o&&i--,e.charAt(i)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}function l(e){const t=Object(n.d)(e);return o.i?!(3!1)){return new u(new h(e))}static forStrings(){return new u(new a)}static forConfigKeys(){return new u(new l)}clear(){this._root=void 0}set(e,t){const i=this._iter.reset(e);let n;for(this._root||(this._root=new c,this._root.segment=i.value()),n=this._root;;){var o=i.cmp(n.segment);if(0e.toString();class p{constructor(){this[o]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null==(e=this._head)?void 0:e.value}get last(){var e;return null==(e=this._tail)?void 0:e.value}has(e){return this._map.has(e)}get(e,t=0){if(e=this._map.get(e),e)return 0!==t&&this.touch(e,t),e.value}set(e,t,i=0){let n=this._map.get(e);if(n)n.value=t,0!==i&&this.touch(n,i);else{switch(n={key:e,value:t,next:void 0,previous:void 0},i){case 0:this.addItemLast(n);break;case 1:this.addItemFirst(n);break;default:this.addItemLast(n)}this._map.set(e,n),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){var t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(this._head||this._tail){var e;if(this._head&&this._tail)return e=this._head,this._map.delete(e.key),this.removeItem(e),this._size--,e.value;throw new Error("Invalid list")}}forEach(e,t){var i=this._state;let n=this._head;for(;n;){if((t?e.bind(t):e)(n.value,n.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");n=n.next}}keys(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:i.key,done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}values(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:i.value,done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}entries(){const e=this,t=this._state;let i=this._head;const n={[Symbol.iterator](){return n},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");var n;return i?(n={value:[i.key,i.value],done:!1},i=i.next,n):{value:void 0,done:!0}}};return n}[(o=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(!(e>=this.size))if(0===e)this.clear();else{let t=this._head,i=this.size;for(;t&&i>e;)this._map.delete(t.key),t=t.next,i--;this._head=t,this._size=i,t&&(t.previous=void 0),this._state++}}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,i=e.previous;if(!t||!i)throw new Error("Invalid list");(t.previous=i).next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e!==this._head){const t=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(t.previous=i).next=t,e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}}else if(2===t&&e!==this._tail){const t=e.next,i=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=i).next=t,e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,i)=>{e.push([i,t])}),e}fromJSON(e){for(var[t,i]of(this.clear(),e))this.set(t,i)}}class m extends p{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},4058:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return i.e("chunk-2d0c512b").then(i.bind(null,"3e14"))}})},"40c2":function(e,t,i){},4111:function(e,t,i){"use strict";i.d(t,"f",(function(){return l})),i.d(t,"b",(function(){return c})),i.d(t,"c",(function(){return u})),i.d(t,"a",(function(){return p})),i.d(t,"e",(function(){return _})),i.d(t,"d",(function(){return b}));var n=i("e8e3"),o=i("e1b5"),s=i("7061"),r=i("6a89"),a=i("b707");function l(e){let t=0,i=0,n=0,o=0;for(let r=0,a=e.length;r>>0}const h=new Uint32Array(0).buffer;class c{constructor(){this.tokens=[]}add(e,t){if(0t&&this._getDeltaLine(o-1)===e;)o--;let s=n;for(;so?m-=o-i:m=i;else if(g===t&&p===i){if(!(g===n&&m>o)){d=!0;continue}m-=o-i}else if(go)){d=!0;continue}m=(p=g===t?i:0)+(m-o)}else if(g>n){if(0==a&&!d){l=r;break}g-=a}else{if(!(g===n&&p>=o))throw new Error("Not possible!");e&&0===g&&(p+=e,m+=e),g-=a,p-=o-i,m-=o-i}var c=4*l;s[c]=g,s[1+c]=p,s[2+c]=m,s[3+c]=h}l++}this._tokenCount=l}acceptInsertText(e,t,i,n,o,s){var r=0===i&&1===n&&(48<=s&&s<=57||65<=s&&s<=90||97<=s&&s<=122);const a=this._tokens;var l=this._tokenCount;for(let c=0;ci.endLineNumber){r=r||{index:n};break}if(e.removeTokens(i),e.isEmpty())this._pieces.splice(n,1),n--,a--;else if(!(e.endLineNumberi.endLineNumber)r=r||{index:n};else{const[t,o]=e.split(i);t.isEmpty()?r=r||{index:n}:o.isEmpty()||(this._pieces.splice(n,1,t,o),n++,a++,r=r||{index:n})}}}return r=r||{index:this._pieces.length},0{e!==c&&(c=e,d[h++]=e,d[h++]=t)};for(let o=0;o>>0,v=~b>>>0;lt)){for(;o>i&&e[o-1].startLineNumber<=t&&t<=e[o-1].endLineNumber;)o--;return o}n=o-1}}return i}acceptEdit(e,t,i,n,o){for(const s of this._pieces)s.acceptEdit(e,t,i,n,o)}}class b{constructor(){this._lineTokens=[],this._len=0}flush(){this._lineTokens=[],this._len=0}getTokens(e,t,i){let n=null;if(null!==(n=t=this._len;)this._lineTokens[this._len]=null,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)}_insertLines(e,t){if(0!==t){let i=[];for(let e=0;e=this._len)){if(e.startLineNumber===e.endLineNumber)return e.startColumn===e.endColumn?void 0:void(this._lineTokens[t]=b._delete(this._lineTokens[t],e.startColumn-1,e.endColumn-1));this._lineTokens[t]=b._deleteEnding(this._lineTokens[t],e.startColumn-1);var i=e.endLineNumber-1;let n=null;i=this._len||(0===t?this._lineTokens[n]=b._insert(this._lineTokens[n],e.column-1,i):(this._lineTokens[n]=b._deleteEnding(this._lineTokens[n],e.column-1),this._lineTokens[n]=b._insert(this._lineTokens[n],e.column-1,i),this._insertLines(e.lineNumber,t)))}static _deleteBeginning(e,t){return null===e||e===h?e:b._delete(e,0,t)}static _deleteEnding(e,t){var i;return null===e||e===h?e:(i=(i=f(e))[i.length-2],b._delete(e,t,i))}static _delete(e,t,i){if(null===e||e===h||t===i)return e;const n=f(e);var s=n.length>>>1;if(0===t&&n[n.length-2]===i)return h;var r=o.a.findIndexInTokensArray(n,t),a=0d&&(n[l++]=u,n[l++]=n[1+(o<<1)],d=u)}if(l===n.length)return e;let g=new Uint32Array(l);return g.set(n.subarray(0,l),0),g.buffer}static _append(e,t){if(t===h)return e;if(e===h)return t;if(null===e)return e;if(null===t)return null;e=f(e);var i=f(t),n=i.length>>>1;let o=new Uint32Array(e.length+i.length),s=(o.set(e,0),e.length);var r=e[e.length-2];for(let a=0;a>>1;let r=o.a.findIndexInTokensArray(s,t);0{this._resolveCache=void 0,this._isResolved=!1});this._resolveCache=Promise.resolve(this.provider.resolveCompletionItem(this.completion,e)).then(e=>{Object.assign(this.completion,e),this._isResolved=!0,t.dispose()},e=>{Object(n.e)(e)&&(this._resolveCache=void 0,this._isResolved=!1)})}return this._resolveCache}))}}class w{constructor(e=2,t=new Set,i=new Set,n=!0){this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=i,this.showDeprecated=n}}let y;function S(){return y}w.default=new w;class L{constructor(e,t,i,n){this.items=e,this.needsClipboard=t,this.durations=i,this.disposable=n}}function x(e,t,i=w.default,s={triggerKind:0},l=r.a.None){return _(this,void 0,void 0,(function*(){const r=new u.a(!0);t=t.clone();var h=e.getWordAtPosition(t);const g=h?new a.a(t.lineNumber,h.startColumn,t.lineNumber,h.endColumn):a.a.fromPositions(t),p={replace:g,insert:g.setEndPosition(t.lineNumber,t.column)},m=[],f=new d.b,b=[];let v=!1;const w=(e,n,o)=>{var s,r;if(n){for(var a of n.suggestions)i.kindFilter.has(a.kind)||!i.showDeprecated&&null!=(s=null===a||void 0===a?void 0:a.tags)&&s.includes(1)||(a.range||(a.range=p),a.sortText||(a.sortText=("string"==typeof a.label?a:a.label).label),!v&&a.insertTextRules&&4&a.insertTextRules&&(v=c.c.guessNeedsClipboard(a.insertText)),m.push(new C(t,a,n,e)));Object(d.g)(n)&&f.add(n),b.push({providerName:null!=(r=e._debugDisplayName)?r:"unkown_provider",elapsedProvider:null!=(r=n.duration)?r:-1,elapsedOverall:o.elapsed()})}};var S;h=_(this,void 0,void 0,(function*(){var n,o;!y||i.kindFilter.has(27)||0_(this,void 0,void 0,(function*(){if(!(0t.sortTextLow)return 1}return e.completion.labelt.completion.label?1:e.completion.kind-t.completion.kind}const D=new Map;function N(e){return D.get(e)}D.set(0,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return k(e,t)})),D.set(2,(function(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return k(e,t)})),D.set(1,k),g.a.registerCommand("_executeCompletionItemProvider",(e,...t)=>_(void 0,void 0,void 0,(function*(){var[i,n,o,a]=t;Object(p.c)(m.a.isUri(i)),Object(p.c)(s.a.isIPosition(n)),Object(p.c)("string"==typeof o||!o),Object(p.c)("number"==typeof a||!a);const l=yield e.get(f.a).createModelReference(i);try{const e={incomplete:!1,suggestions:[]},t=[],i=yield x(l.object.textEditorModel,s.a.lift(n),void 0,{triggerCharacter:o,triggerKind:o?1:0});for(const n of i.items)t.length<(null!=a?a:0)&&t.push(n.resolve(r.a.None)),e.incomplete=e.incomplete||n.container.incomplete,e.suggestions.push(n.completion);try{return yield Promise.all(t),e}finally{setTimeout(()=>i.disposable.dispose(),100)}}finally{l.dispose()}})));const O=new class{constructor(){this.onlyOnceSuggestions=[]}provideCompletionItems(){var e={suggestions:this.onlyOnceSuggestions.slice(0)};return this.onlyOnceSuggestions.length=0,e}};function E(e,t){setTimeout(()=>{O.onlyOnceSuggestions.push(...t),e.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(O))},0)}o.d.register("*",O)},"418f":function(e,t,i){"use strict";i.d(t,"a",(function(){return ee}));var n=i("dff7"),o=i("fdcc"),s=i("a666"),r=(t=i("5717"),i("0a0f")),a=i("4fc3"),l=i("fbba"),d=i("03e8"),h=i("f68e"),c=(i("29a1"),i("11f7")),u=i("ceb8"),g=i("308f"),p=i("b589"),m=i("82c9"),f=i("d379"),_=i("6a89"),b=i("b57f"),v=i("b78f"),C=i("c4e3"),w=i("3bfb"),y=i("47cb"),S=i("b7d0"),L=i("a6d7"),x=i("debc"),k=i("6dec"),D=i("7e93"),N=i("ee56"),O=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.children);throw new Error("bad tree")}};I=O([E(0,v.a)],I);class M{getHeight(){return 23}getTemplateId(e){return(e instanceof h.a?P:B).id}}let T=class{constructor(e){this._keybindingService=e}getKeyboardNavigationLabel(e){if(e instanceof h.b){var t=null==(t=e.parent.getPreview(e))?void 0:t.preview(e.range);if(t)return t.value}return Object(m.b)(e.uri)}};T=O([E(0,k.a)],T);class A{getId(e){return e instanceof h.b?e.id:e.uri}}let R=class extends s.a{constructor(e,t,i){super(),this._uriLabel=t;const n=document.createElement("div");n.classList.add("reference-file"),this.file=this._register(new C.a(n,{supportHighlights:!0})),this.badge=new w.a(c.q(n,c.a(".count"))),this._register(Object(L.a)(this.badge,i)),e.appendChild(n)}set(e,t){var i=Object(m.d)(e.uri);this.file.setLabel(Object(x.a)(e.uri),this._uriLabel.getUriLabel(i,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t}),i=e.children.length;this.badge.setCount(i),1this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const e=this._editor.getModel();if(e)for(var t of this._model.references)if(t.uri.toString()===e.uri.toString())return void this._addDecorations(t.parent)}_addDecorations(e){if(this._editor.hasModel()){this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const i=[],n=[];for(let t=0,o=e.children.length;t{e.equals(9)&&(this._keybindingService.dispatchEvent(e,e.target),e.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(G,"ReferencesWidget",this._treeContainer,new M,[this._instantiationService.createInstance(P),this._instantiationService.createInstance(B)],this._instantiationService.createInstance(I),e),this._splitView.addView({onDidChange:g.c.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:e=>{this._preview.layout({height:this._dim.height,width:e})}},z.a.Distribute),this._splitView.addView({onDidChange:g.c.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:e=>{this._treeContainer.style.height=this._dim.height+"px",this._treeContainer.style.width=e+"px",this._tree.layout(this._dim.height,e)}},z.a.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let t=(e,t)=>{e instanceof h.b&&("show"===t&&this._revealReference(e,!1),this._onDidSelectReference.fire({element:e,kind:t,source:"tree"}))};this._tree.onDidOpen(e=>{e.sideBySide?t(e.element,"side"):e.editorOptions.pinned?t(e.element,"goto"):t(e.element,"show")}),c.K(this._treeContainer)}_onWidth(e){this._dim&&this._doLayoutBody(this._dim.height,e)}_doLayoutBody(e,t){super._doLayoutBody(e,t),this._dim=new c.b(t,e),this.layoutData.heightInLines=(this._viewZone||this.layoutData).heightInLines,this._splitView.layout(t),this._splitView.resizeView(0,t*this.layoutData.ratio)}setSelection(e){return this._revealReference(e,!0).then(()=>{this._model&&(this._tree.setSelection([e]),this._tree.setFocus([e]))})}setModel(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=n.a("noResults","No results"),c.W(this._messageContainer),Promise.resolve(void 0)):(c.K(this._messageContainer),this._decorationsManager=new q(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(e=>this._tree.rerender(e))),this._disposeOnNewModel.add(this._preview.onMouseDown(e=>{var t,{event:e,target:i}=e;2===e.detail&&(t=this._getFocusedReference())&&this._onDidSelectReference.fire({element:{uri:t.uri,range:i.range},kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),c.W(this._treeContainer),c.W(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){var[e]=this._tree.getFocus();return e instanceof h.b?e:e instanceof h.a&&0{var i=e.getColor(H.m);i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${i}; }`),i=e.getColor(H.h),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${i}; }`),i=e.getColor(H.i),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${i}; box-sizing: border-box; }`),i=e.getColor(V.b),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${i}; box-sizing: border-box; }`),i=e.getColor(H.j),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${i}; }`),i=e.getColor(H.l),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${i}; }`),i=e.getColor(H.k),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${i}; }`),i=e.getColor(H.n),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${i}; }`),i=e.getColor(H.o),i&&t.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${i} !important; }`),i=e.getColor(H.f),i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: ${i};}`),i=e.getColor(H.g);i&&t.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: ${i};}`)});var Y=i("7061"),X=(E=i("b0cd"),i("5fe7")),Q=(v=i("9eb8"),y=i("fe45"),O=i("9e74"),U=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const o="peekViewLayout";var s=$.fromJSON(this._storageService.get(o,0,"{}"));this._widget=this._instantiationService.createInstance(Z,this._editor,this._defaultTreeKeyboardSupport,s),this._widget.setTitle(n.a("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose(()=>{t.cancel(),this._widget&&(this._storageService.store(o,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(e=>{var{element:t,kind:n}=e;if(t)switch(n){case"open":"editor"===e.source&&this._configurationService.getValue("editor.stablePeek")||this.openReference(t,!1,!1);break;case"side":this.openReference(t,!0,!1);break;case"goto":i?this._gotoReference(t):this.openReference(t,!1,!0)}}));const r=++this._requestIdPool;t.then(t=>{var i;if(r===this._requestIdPool&&this._widget)return null!=(i=this._model)&&i.dispose(),this._model=t,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(n.a("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));var t=this._editor.getModel().uri,i=new Y.a(e.startLineNumber,e.startColumn);t=this._model.nearestReference(t,i);if(t)return this._widget.setSelection(t).then(()=>{this._widget&&"editor"===this._editor.getOption(76)&&this._widget.focusOnPreviewEditor()})}});t.dispose()},e=>{this._notificationService.error(e)})}}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(e){return Q(this,void 0,void 0,(function*(){var t,i,n;this._editor.hasModel()&&this._model&&this._widget&&(t=this._widget.position)&&(t=this._model.nearestReference(this._editor.getModel().uri,t))&&(t=this._model.nextOrPreviousReference(t,e),i=this._editor.hasTextFocus(),n=this._widget.isPreviewEditorFocused(),yield this._widget.setSelection(t),yield this._gotoReference(t),i?this._editor.focus():this._widget&&n&&this._widget.focusOnPreviewEditor())}))}revealReference(e){return Q(this,void 0,void 0,(function*(){this._editor.hasModel()&&this._model&&this._widget&&(yield this._widget.revealReference(e))}))}closeWidget(e=!0){var t;null!=(t=this._widget)&&t.dispose(),null!=(t=this._model)&&t.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(t){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const i=_.a.lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:i}},this._editor).then(t=>{if(this._ignoreModelChangeEvent=!1,t&&this._widget)if(this._editor===t)this._widget.show(i),this._widget.focusOnReferenceTree();else{const n=e.get(t),o=this._model.clone();this.closeWidget(),t.focus(),n.toggleWidget(i,Object(X.h)(e=>Promise.resolve(o)),null!=(t=this._peekMode)&&t)}else this.closeWidget()},e=>{this._ignoreModelChangeEvent=!1,Object(o.f)(e)})}openReference(e,t,i){t||this.closeWidget();var{uri:e,range:n}=e;this._editorService.openCodeEditor({resource:e,options:{selection:n,pinned:i}},this._editor,t)}};function te(e,t){e=Object(H.d)(e);!e||(e=ee.get(e))&&t(e)}ee.ID="editor.contrib.referencesController",ee=U([k(2,a.b),k(3,t.a),k(4,E.a),k(5,r.a),k(6,d.a),k(7,l.a)],ee),v.a.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object(y.a)(2089,60),when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.changeFocusBetweenPreviewAndReferences()})}}),v.a.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.goToNextOrPreviousReference(!0)})}}),v.a.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:a.a.or(J,H.b.inPeekEditor),handler(e){te(e,e=>{e.goToNextOrPreviousReference(!1)})}}),O.a.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),O.a.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),O.a.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),O.a.registerCommand("closeReferenceSearch",e=>te(e,e=>e.closeWidget())),v.a.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:a.a.and(H.b.inPeekEditor,a.a.not("config.editor.stablePeek"))}),v.a.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:a.a.and(J,a.a.not("config.editor.stablePeek"))}),v.a.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:a.a.and(J,W.e),handler(e){var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.revealReference(i[0]))}}),v.a.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:a.a.and(J,W.e),handler(e){var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.openReference(i[0],!0,!0))}}),O.a.registerCommand("openReference",e=>{var t;const i=null==(t=e.get(W.a).lastFocusedList)?void 0:t.getFocus();Array.isArray(i)&&i[0]instanceof h.b&&te(e,e=>e.openReference(i[0],!1,!0))})},"41a0":function(e,t,i){},4220:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return i.e("chunk-2d0ea098").then(i.bind(null,"8fa5"))}})},"42e39":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("308f");class o{constructor(e,t,i,n,o,s){this._scrollStateBrand=void 0,e|=0,n|=0,o|=0,s|=0,(i=(t|=0)<(this.rawScrollLeft=i|=0)+(e=e<0?0:e)?t-e:i)<0&&(i=0),(s=o<(this.rawScrollTop=s)+(n=n<0?0:n)?o-n:s)<0&&(s=0),this.width=e,this.scrollWidth=t,this.scrollLeft=i,this.height=n,this.scrollHeight=o,this.scrollTop=s}equals(e){return this.rawScrollLeft===e.rawScrollLeft&&this.rawScrollTop===e.rawScrollTop&&this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop}withScrollDimensions(e,t){return new o((void 0!==e.width?e:this).width,(void 0!==e.scrollWidth?e:this).scrollWidth,t?this.rawScrollLeft:this.scrollLeft,(void 0!==e.height?e:this).height,(void 0!==e.scrollHeight?e:this).scrollHeight,t?this.rawScrollTop:this.scrollTop)}withScrollPosition(e){return new o(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.rawScrollTop)}createScrollEvent(e,t){var i=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,s=this.height!==e.height,r=this.scrollHeight!==e.scrollHeight,a=this.scrollTop!==e.scrollTop;return{inSmoothScrolling:t,oldWidth:e.width,oldScrollWidth:e.scrollWidth,oldScrollLeft:e.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:e.height,oldScrollHeight:e.scrollHeight,oldScrollTop:e.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:i,scrollWidthChanged:n,scrollLeftChanged:o,heightChanged:s,scrollHeightChanged:r,scrollTopChanged:a}}}class s extends i("a666").a{constructor(e,t){super(),this._scrollableBrand=void 0,this._onScroll=this._register(new n.b),this.onScroll=this._onScroll.event,this._smoothScrollDuration=e,this._scheduleAtNextAnimationFrame=t,this._state=new o(0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(e){this._smoothScrollDuration=e}validateScrollPosition(e){return this._state.withScrollPosition(e)}getScrollDimensions(){return this._state}setScrollDimensions(e,t){e=this._state.withScrollDimensions(e,t),this._setState(e,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(e){e=this._state.withScrollPosition(e),this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(e,!1)}setScrollPositionSmooth(e,t){if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:(void 0===e.scrollLeft?this._smoothScrolling.to:e).scrollLeft,scrollTop:(void 0===e.scrollTop?this._smoothScrolling.to:e).scrollTop};var i=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===i.scrollLeft&&this._smoothScrolling.to.scrollTop===i.scrollTop)return;let n;n=t?new l(this._smoothScrolling.from,i,this._smoothScrolling.startTime,this._smoothScrolling.duration):this._smoothScrolling.combine(this._state,i,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=n}else t=this._state.withScrollPosition(e),this._smoothScrolling=l.start(this._state,t,this._smoothScrollDuration);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){var e,t;this._smoothScrolling&&(e=this._smoothScrolling.tick(),t=this._state.withScrollPosition(e),this._setState(t,!0),this._smoothScrolling&&(e.isDone?(this._smoothScrolling.dispose(),this._smoothScrolling=null):this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{this._smoothScrolling&&(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})))}_setState(e,t){const i=this._state;i.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(i,t)))}}class r{constructor(e,t,i){this.scrollLeft=e,this.scrollTop=t,this.isDone=i}}function a(e,t){const i=t-e;return function(t){return e+i*(1-function(e){return Math.pow(e,3)}(1-t))}}class l{constructor(e,t,i,n){this.from=e,this.to=t,this.duration=n,this.startTime=i,this.animationFrameDisposable=null,this._initAnimations()}_initAnimations(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)}_initAnimation(e,t,i){var n,o,s;if(2.5*i{e.hasChanged(42)&&this._updateFont()})),this._disposables.add(i.onDidColorThemeChange(this._updateStyles,this))}dispose(){this._disposables.dispose(),this._editor.removeContentWidget(this)}getId(){return"__renameInputWidget"}getDomNode(){var e;return this._domNode||(this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(n.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label),(e=()=>{var[e,t]=this._acceptKeybindings;this._keybindingService.lookupKeybinding(e),this._label.innerText=Object(n.a)({key:"label",comment:['placeholders are keybindings, e.g "F2 to Rename, Shift+F2 to Preview"']},"{0} to Rename, {1} to Preview",null==(e=this._keybindingService.lookupKeybinding(e))?void 0:e.getLabel(),null==(e=this._keybindingService.lookupKeybinding(t))?void 0:e.getLabel())})(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(e)),this._updateFont(),this._updateStyles(this._themeService.getColorTheme())),this._domNode}_updateStyles(e){var t;if(this._input&&this._domNode){var i=e.getColor(h.Nc);this._domNode.style.backgroundColor=String(null!=(t=e.getColor(h.Y))?t:""),this._domNode.style.boxShadow=i?" 0 0 8px 2px "+i:"",this._domNode.style.color=String(null!=(t=e.getColor(h.lb))?t:""),this._input.style.backgroundColor=String(null!=(i=e.getColor(h.jb))?i:"");const n=e.getColor(h.kb);this._input.style.borderWidth=n?"1px":"0px",this._input.style.borderStyle=n?"solid":"none",this._input.style.borderColor=null!=(t=null===n||void 0===n?void 0:n.toString())?t:"none"}}_updateFont(){var e;this._input&&this._label&&(e=this._editor.getOption(42),this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px")}getPosition(){return this._visible?{position:this._position,preference:[2,1]}:null}afterRender(e){e||this.cancelInput(!0)}acceptInput(e){this._currentAcceptInput&&this._currentAcceptInput(e)}cancelInput(e){this._currentCancelInput&&this._currentCancelInput(e)}getInput(e,t,i,n,o,s){this._domNode.classList.toggle("preview",o),this._position=new d.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",i.toString()),this._input.setAttribute("selectionEnd",n.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);const r=new l.b;return new Promise(e=>{this._currentCancelInput=t=>(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e(t),!0),this._currentAcceptInput=i=>{0===this._input.value.trim().length||this._input.value===t?this.cancelInput(!0):(this._currentAcceptInput=void 0,this._currentCancelInput=void 0,e({newName:this._input.value,wantsPreview:o&&i}))},s.onCancellationRequested(()=>this.cancelInput(!0)),r.add(this._editor.onDidBlurEditorWidget(()=>this.cancelInput(!1))),this._show()}).finally(()=>{r.dispose(),this._hide()})}_show(){this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout(()=>{this._input.focus(),this._input.setSelectionRange(parseInt(this._input.getAttribute("selectionStart")),parseInt(this._input.getAttribute("selectionEnd")))},100)}_hide(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)}};f=g([p(2,c.b),p(3,u.a),p(4,s.b)],f);var _=i("b707"),b=i("3813"),v=i("6a89"),C=i("351f"),w=i("bc04"),y=(g=i("b0cd"),i("c7f5")),S=i("6d8e"),L=i("5717"),x=i("2504"),k=i("5fe7"),D=(c=i("d3d7"),u=i("0a0f"),p=i("89cd"),i("0910")),N=i("7b4a"),O=i("ef8e9"),E=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._dispoableStore.add(this._instaService.createInstance(f,this.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))))}static get(t){return t.getContribution(e.ID)}dispose(){this._dispoableStore.dispose(),this._cts.dispose(!0)}run(){return I(this,void 0,void 0,(function*(){if(this._cts.dispose(!0),this.editor.hasModel()){var e=this.editor.getPosition();const o=new M(this.editor.getModel(),e);if(o.hasProvider()){let s;this._cts=new w.b(this.editor,5);try{var i=o.resolveRenameLocation(this._cts.token);this._progressService.showWhile(i,250),s=yield i}catch(t){return void C.a.get(this.editor).showMessage(t||n.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e)}if(s)if(s.rejectReason)C.a.get(this.editor).showMessage(s.rejectReason,e);else if(!this._cts.token.isCancellationRequested){this._cts.dispose(),this._cts=new w.b(this.editor,5,s.range),i=this.editor.getSelection();let t=0,r=s.text.length;v.a.isEmpty(i)||v.a.spansMultipleLines(i)||!v.a.containsRange(s.range,i)||(t=Math.max(0,i.startColumn-s.range.startColumn),r=Math.min(s.range.endColumn,i.endColumn)-s.range.startColumn),e=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview");const a=yield this._renameInputField.value.getInput(s.range,s.text,t,r,e,this._cts.token);if("boolean"!=typeof a)return this.editor.focus(),i=Object(k.l)(o.provideRenameEdits(a.newName,this._cts.token),this._cts.token).then(e=>I(this,void 0,void 0,(function*(){e&&this.editor.hasModel()&&(e.rejectReason?this._notificationService.info(e.rejectReason):this._bulkEditService.apply(y.b.convert(e),{editor:this.editor,showPreview:a.wantsPreview,label:n.a("label","Renaming '{0}'",null===s||void 0===s?void 0:s.text),quotableLabel:n.a("quotableLabel","Renaming {0}",null===s||void 0===s?void 0:s.text)}).then(e=>{e.ariaSummary&&Object(b.a)(n.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",s.text,a.newName,e.ariaSummary))}).catch(e=>{this._notificationService.error(n.a("rename.failedApply","Rename failed to apply edits")),this._logService.error(e)}))})),e=>{this._notificationService.error(n.a("rename.failed","Rename failed to compute edits")),this._logService.error(e)}),this._progressService.showWhile(i,250),i;a&&this.editor.focus()}}}}))}acceptRenameInput(e){this._renameInputField.value.acceptInput(e)}cancelRenameInput(){this._renameInputField.value.cancelInput(!0)}};A.ID="editor.contrib.renameController",A=i([E(1,u.a),E(2,g.a),E(3,y.a),E(4,t.a),E(5,c.b),E(6,N.a)],A);class R extends r.b{constructor(){super({id:"editor.action.rename",label:n.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:s.a.and(a.a.writable,a.a.hasRenameProvider),kbOpts:{kbExpr:a.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})}runCommand(e,t){const i=e.get(L.a),[n,s]=Array.isArray(t)&&t||[void 0,void 0];return S.a.isUri(n)&&d.a.isIPosition(s)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(s),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},o.f):super.runCommand(e,t)}run(e,t){const i=A.get(t);return i?i.run():Promise.resolve()}}Object(r.l)(A.ID,A),Object(r.j)(R);const P=r.c.bindToContribution(A.get);Object(r.k)(new P({id:"acceptRenameInput",precondition:m,handler:e=>e.acceptRenameInput(!1),kbOpts:{weight:199,kbExpr:a.a.focus,primary:3}})),Object(r.k)(new P({id:"acceptRenameInputWithPreview",precondition:s.a.and(m,s.a.has("config.editor.rename.enablePreview")),handler:e=>e.acceptRenameInput(!0),kbOpts:{weight:199,kbExpr:a.a.focus,primary:1027}})),Object(r.k)(new P({id:"cancelRenameInput",precondition:m,handler:e=>e.cancelRenameInput(),kbOpts:{weight:199,kbExpr:a.a.focus,primary:9,secondary:[1033]}})),Object(r.n)("_executeDocumentRenameProvider",(function(e,t,...i){var[i]=i;return Object(O.c)("string"==typeof i),T(e,t,i)})),p.a.as(D.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:n.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},"44c7":function(e,t,i){},4779:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o})),t=i("4fc3"),i=i("0a0f");const n=Object(i.c)("accessibilityService"),o=new t.c("accessibilityModeEnabled",!1)},"47cb":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("labelService")},4816:function(e,t,i){"use strict";i.r(t),i("41a0");var n=i("11f7"),o=i("6653"),s=i("31df"),r=i("3813"),a=(t=i("1b7d"),i("a666")),l=i("30db"),d=i("3742"),h=i("6d8e"),c=i("b2cc"),u=i("c101"),g=i("93ba"),p=i("4fc3"),m=i("0a0f"),f=i("6dec"),_=i("5bd7"),b=i("303e"),v=i("b7d0"),C=i("03d9"),w=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._isVisible&&this._layout()})),this._register(n.o(this._contentDomNode.domNode,"keydown",e=>{if(this._isVisible&&(e.equals(2083)&&(Object(r.a)(C.a.emergencyConfOn),this._editor.updateOptions({accessibilitySupport:"on"}),n.t(this._contentDomNode.domNode),this._buildContent(),this._contentDomNode.domNode.focus(),e.preventDefault(),e.stopPropagation()),e.equals(2086))){Object(r.a)(C.a.openingDocs);let t=this._editor.getRawOptions().accessibilityHelpUrl;void 0===t&&(t="https://go.microsoft.com/fwlink/?linkid=852450"),this._openerService.open(h.a.parse(t)),e.preventDefault(),e.stopPropagation()}})),this.onblur(this._contentDomNode.domNode,()=>{this.hide()}),this._editor.addOverlayWidget(this)}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return e.ID}getDomNode(){return this._domNode.domNode}getPosition(){return{preference:null}}show(){this._isVisible||(this._isVisible=!0,this._isVisibleKey.set(!0),this._layout(),this._domNode.setDisplay("block"),this._domNode.setAttribute("aria-hidden","false"),this._contentDomNode.domNode.tabIndex=0,this._buildContent(),this._contentDomNode.domNode.focus())}_descriptionForCommand(e,t,i){let n=this._keybindingService.lookupKeybinding(e);return n?d.v(t,n.getAriaLabel()):d.v(i,e)}_buildContent(){const e=this._editor.getOptions(),t=this._editor.getSelections();let i=0;if(t){const e=this._editor.getModel();e&&t.forEach(t=>{i+=e.getValueLengthInRange(t)})}o=t,a=i;let n=o&&0!==o.length?1===o.length?a?d.v(C.a.singleSelectionRange,o[0].positionLineNumber,o[0].positionColumn,a):d.v(C.a.singleSelection,o[0].positionLineNumber,o[0].positionColumn):a?d.v(C.a.multiSelectionRange,o.length,a):0e.hide(),kbOpts:{weight:200,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(v.f)((e,t)=>{var i=e.getColor(b.Y);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${i}; }`),i=e.getColor(b.ab),i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${i}; }`),i=e.getColor(b.Nc),i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${i}; }`),i=e.getColor(b.h);i&&t.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${i}; }`)})},"49d9":function(e,t,i){"use strict";function n(e,t,i){return Math.min(Math.max(e,t),i)}i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}));class o{constructor(){this._n=1,this._val=0}update(e){return this._val=this._val+(e-this._val)/this._n,this._n+=1,this}get value(){return this._val}}},"4a64":function(e,t,i){"use strict";i.d(t,"a",(function(){return le})),i("94a7");var n=i("dff7"),o=i("11f7"),s=i("6653"),r=i("70c3"),a=i("5fe7"),l=i("308f"),d=(t=i("a666"),i("1ddc")),h=i("bc04"),c=i("5717"),u=i("9c1d"),g=(i("0d30"),i("5aa5")),p=i("1898"),m=i("f070"),f=i("b2cc"),_=i("fd49"),b=i("e1b5"),v=i("7061"),C=i("918c"),w=i("6da2"),y=i("a8d0"),S=i("4fc3"),L=i("303e"),x=i("b7d0"),k=i("561a"),D=i("bf5b"),N=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class O{constructor(e,t,i,n){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=i,this.modifiedLineEnd=n}getType(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0}}class E{constructor(e){this.entries=e}}const I=Object(D.b)("diff-review-insert",k.b.add,n.a("diffReviewInsertIcon","Icon for 'Insert' in diff review.")),M=Object(D.b)("diff-review-remove",k.b.remove,n.a("diffReviewRemoveIcon","Icon for 'Remove' in diff review.")),T=Object(D.b)("diff-review-close",k.b.close,n.a("diffReviewCloseIcon","Icon for 'Close' in diff review."));class A extends t.a{constructor(e){super(),this._width=0,this._diffEditor=e,this._isVisible=!1,this.shadow=Object(s.b)(document.createElement("div")),this.shadow.setClassName("diff-review-shadow"),this.actionBarContainer=Object(s.b)(document.createElement("div")),this.actionBarContainer.setClassName("diff-review-actions"),this._actionBar=this._register(new g.a(this.actionBarContainer.domNode)),this._actionBar.push(new m.a("diffreview.close",n.a("label.close","Close"),"close-diff-review "+x.d.asClassName(T),!0,()=>N(this,void 0,void 0,(function*(){return this.hide()}))),{label:!1,icon:!0}),this.domNode=Object(s.b)(document.createElement("div")),this.domNode.setClassName("diff-review monaco-editor-background"),this._content=Object(s.b)(document.createElement("div")),this._content.setClassName("diff-review-content"),this._content.setAttribute("role","code"),this.scrollbar=this._register(new p.a(this._content.domNode,{})),this.domNode.domNode.appendChild(this.scrollbar.getDomNode()),this._register(e.onDidUpdateDiff(()=>{this._isVisible&&(this._diffs=this._compute(),this._render())})),this._register(e.getModifiedEditor().onDidChangeCursorPosition(()=>{this._isVisible&&this._render()})),this._register(o.o(this.domNode.domNode,"click",e=>{e.preventDefault(),e=o.x(e.target,"diff-review-row"),e&&this._goToRow(e)})),this._register(o.o(this.domNode.domNode,"keydown",e=>{(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),this._goToRow(this._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),this._goToRow(this._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),this.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),this.accept())})),this._diffs=[],this._currentDiff=null}prev(){let e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){let t=-1;for(let e=0,i=this._diffs.length;en&&(r=n-d,d+=r,m+=r),m>o&&(a=o-m,d+=a,m+=a),g[p++]=new O(u,d,h,m)}n[o++]=new E(g)}let g=n[0].entries,p=[],m=0;for(let f=1,_=n.length;f<_;f++){const e=n[f].entries,t=g[g.length-1],i=e[0];0===t.getType()&&0===i.getType()&&i.originalLineStart<=t.originalLineEnd?(g[g.length-1]=new O(t.originalLineStart,i.originalLineEnd,t.modifiedLineStart,i.modifiedLineEnd),g=g.concat(e.slice(1))):(p[m++]=new E(g),g=e)}return p[m++]=new E(g),p}_findDiffIndex(e){var t=e.lineNumber;for(let n=0,o=this._diffs.length;ny)&&(y=g),0!==p&&(0===S||pL)&&(L=c)}let x=document.createElement("div"),k=(x.className="diff-review-row",document.createElement("div"));k.className="diff-review-cell diff-review-summary";var m=y-w+1,f=L-S+1,_=(k.appendChild(document.createTextNode(`${l+1}/${this._diffs.length}: @@ -${w},${m} +${S},${f} @@`)),x.setAttribute("data-line",String(S)),e=>0===e?n.a("no_lines_changed","no lines changed"):1===e?n.a("one_line_changed","1 line changed"):n.a("more_lines_changed","{0} lines changed",e)),b=(m=_(m),_=_(f),x.setAttribute("aria-label",n.a({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines changed", "1 line changed" or "X lines changed", localized separately.']},"Difference {0} of {1}: original line {2}, {3}, modified line {4}, {5}",l+1,this._diffs.length,w,m,S,_)),x.appendChild(k),x.setAttribute("role","listitem"),C.appendChild(x),t.get(58));let D=S;for(let n=0,o=h.length;ne}),Object(x.f)((e,t)=>{var i=e.getColor(C.r);i&&t.addRule(`.monaco-diff-editor .diff-review-line-number { color: ${i}; }`),i=e.getColor(L.yc);i&&t.addRule(`.monaco-diff-editor .diff-review-shadow { box-shadow: ${i} 0 -6px 6px -6px inset; }`)});class R extends f.b{constructor(){super({id:"editor.action.diffReview.next",label:n.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:S.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})}run(e,t){const i=F(e);i&&i.diffReviewNext()}}class P extends f.b{constructor(){super({id:"editor.action.diffReview.prev",label:n.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:S.a.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})}run(e,t){const i=F(e);i&&i.diffReviewPrev()}}function F(e){const t=e.get(c.a);var i=t.listDiffEditors();const n=t.getActiveCodeEditor();if(n)for(let o=0,s=i.length;os.modifiedStartLineNumber?n.a("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):n.a("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e=new B.a(s.originalStartLineNumber,1,s.originalEndLineNumber+1,1);e=s.originalModel.getValueInRange(e);yield this._clipboardService.writeText(e)}))));let c=0,u=void 0;s.originalEndLineNumber>s.modifiedStartLineNumber&&(u=new m.a("diff.clipboard.copyDeletedLineContent",n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",s.originalStartLineNumber),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e=s.originalModel.getLineContent(s.originalStartLineNumber+c);yield this._clipboardService.writeText(e)}))),h.push(u)),i.getOption(80)||h.push(new m.a("diff.inline.revertChange",n.a("diff.inline.revertChange.label","Revert this change"),void 0,!0,()=>Z(this,void 0,void 0,(function*(){var e,t=new B.a(s.originalStartLineNumber,1,s.originalEndLineNumber,s.originalModel.getLineMaxColumn(s.originalEndLineNumber));t=s.originalModel.getValueInRange(t);0===s.modifiedEndLineNumber?(e=i.getModel().getLineMaxColumn(s.modifiedStartLineNumber),i.executeEdits("diffEditor",[{range:new B.a(s.modifiedStartLineNumber,e,s.modifiedStartLineNumber,e),text:d+t}])):(e=i.getModel().getLineMaxColumn(s.modifiedEndLineNumber),i.executeEdits("diffEditor",[{range:new B.a(s.modifiedStartLineNumber,1,s.modifiedEndLineNumber,e),text:t}]))}))));const g=(e,t)=>{this._contextMenuService.showContextMenu({getAnchor:()=>({x:e,y:t}),getActions:()=>(u&&(u.label=n.a("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",s.originalStartLineNumber+c)),h),autoSelectFirstItem:!0})};this._register(o.o(this._diffActions,"mousedown",e=>{var{top:t,height:i}=o.D(this._diffActions),n=Math.floor(l/3);e.preventDefault(),g(e.posx,t+i+n)})),this._register(i.onMouseMove(e=>{8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId!==this._viewZoneId?this.visibility=!1:(this.visibility=!0,c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l))})),this._register(i.onMouseDown(e=>{!e.event.rightButton||8!==e.target.type&&5!==e.target.type||e.target.detail.viewZoneId===this._viewZoneId&&(e.event.preventDefault(),c=this._updateLightBulbPosition(this._marginDomNode,e.event.browserEvent.y,l),g(e.event.posx,e.event.posy+l))}))}get visibility(){return this._visibility}set visibility(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")}_updateLightBulbPosition(e,t,i){e=o.D(e)["top"];var n=Math.floor((t-e)/i);if(this._diffActions.style.top=n*i+"px",this.diff.viewLineCounts){let e=0;for(let t=0;t!this._zonesMap[String(e.id)])}clean(e){0{for(const t of this._zones)e.removeZone(t)}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])}apply(e,t,i,n){const o=n?h.c.capture(e):null;e.changeViewZones(t=>{for(const e of this._zones)t.removeZone(e);for(const e of this._inlineDiffMargins)e.dispose();this._zones=[],this._zonesMap={},this._inlineDiffMargins=[];for(let o=0,s=i.zones.length;oe});let le=class e extends t.a{constructor(t,i,n,r,d,h,c,u,g,p,m,b){super(),this._editorProgressService=b,this._onDidDispose=this._register(new l.b),this.onDidDispose=this._onDidDispose.event,this._onDidUpdateDiff=this._register(new l.b),this.onDidUpdateDiff=this._onDidUpdateDiff.event,this._onDidContentSizeChange=this._register(new l.b),this._lastOriginalWarning=null,this._lastModifiedWarning=null,this._editorWorkerService=d,this._codeEditorService=u,this._contextKeyService=this._register(h.createScoped(t)),this._instantiationService=c.createChild(new q.a([S.b,this._contextKeyService])),this._contextKeyService.createKey("isInDiffEditor",!0),this._themeService=g,this._notificationService=p,this._id=++oe,this._state=0,this._updatingDiffProgress=null,this._domElement=t,i=i||{},this._renderSideBySide=!0,void 0!==i.renderSideBySide&&(this._renderSideBySide=i.renderSideBySide),this._maxComputationTime=5e3,void 0!==i.maxComputationTime&&(this._maxComputationTime=i.maxComputationTime),this._ignoreTrimWhitespace=!0,void 0!==i.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=i.ignoreTrimWhitespace),this._renderIndicators=!0,void 0!==i.renderIndicators&&(this._renderIndicators=i.renderIndicators),this._originalIsEditable=Object(_.k)(i.originalEditable,!1),this._diffCodeLens=Object(_.k)(i.diffCodeLens,!1),this._diffWordWrap=be(i.diffWordWrap,"inherit"),void 0!==i.isInEmbeddedEditor?this._contextKeyService.createKey("isInEmbeddedDiffEditor",i.isInEmbeddedEditor):this._contextKeyService.createKey("isInEmbeddedDiffEditor",!1),this._renderOverviewRuler=!0,void 0!==i.renderOverviewRuler&&(this._renderOverviewRuler=Boolean(i.renderOverviewRuler)),this._updateDecorationsRunner=this._register(new a.e(()=>this._updateDecorations(),0)),this._containerDomElement=document.createElement("div"),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide),this._containerDomElement.style.position="relative",this._containerDomElement.style.height="100%",this._domElement.appendChild(this._containerDomElement),this._overviewViewportDomElement=Object(s.b)(document.createElement("div")),this._overviewViewportDomElement.setClassName("diffViewport"),this._overviewViewportDomElement.setPosition("absolute"),this._overviewDomElement=document.createElement("div"),this._overviewDomElement.className="diffOverview",this._overviewDomElement.style.position="absolute",this._overviewDomElement.appendChild(this._overviewViewportDomElement.domNode),this._register(o.o(this._overviewDomElement,"mousedown",e=>{this._modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),this._renderOverviewRuler&&this._containerDomElement.appendChild(this._overviewDomElement),this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode),this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode),this._beginUpdateDecorationsTimeout=-1,this._currentlyChangingViewZones=!1,this._diffComputationToken=0,this._originalEditorState=new ne(m,r),this._modifiedEditorState=new ne(m,r),this._isVisible=!0,this._isHandlingScrollEvent=!1,this._elementSizeObserver=this._register(new ee.a(this._containerDomElement,i.dimension,()=>this._onDidContainerSizeChanged())),i.automaticLayout&&this._elementSizeObserver.startObserving(),this._diffComputationResult=null,this._originalEditor=this._createLeftHandSideEditor(i,n.originalEditor||{}),this._modifiedEditor=this._createRightHandSideEditor(i,n.modifiedEditor||{}),this._originalOverviewRuler=null,this._modifiedOverviewRuler=null,this._reviewPane=new A(this),this._containerDomElement.appendChild(this._reviewPane.domNode.domNode),this._containerDomElement.appendChild(this._reviewPane.shadow.domNode),this._containerDomElement.appendChild(this._reviewPane.actionBarContainer.domNode),this._enableSplitViewResizing=!0,void 0!==i.enableSplitViewResizing&&(this._enableSplitViewResizing=i.enableSplitViewResizing),this._renderSideBySide?this._setStrategy(new pe(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._register(g.onDidColorThemeChange(t=>{this._strategy&&this._strategy.applyColors(t)&&this._updateDecorationsRunner.schedule(),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)}));for(const e of f.d.getDiffEditorContributions())try{this._register(c.createInstance(e.ctor,this))}catch(t){Object(Q.f)(t)}this._codeEditorService.addDiffEditor(this)}_setState(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))}diffReviewNext(){this._reviewPane.next()}diffReviewPrev(){this._reviewPane.prev()}static _getClassName(e,t){let i="monaco-diff-editor monaco-editor-background ";return t&&(i+="side-by-side "),i+Object(x.e)(e.type)}_recreateOverviewRulers(){this._renderOverviewRuler&&(this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._originalEditor.hasModel()&&(this._originalOverviewRuler=this._originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this._modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers())}_createLeftHandSideEditor(t,i){const n=this._createInnerEditor(this._instantiationService,this._originalDomNode,this._adjustOptionsForLeftHandSide(t),i),o=(this._register(n.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(42)&&this._updateDecorationsRunner.schedule(),e.hasChanged(131)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._contextKeyService.createKey("isInDiffLeftEditor",n.hasWidgetFocus()));return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{var i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),n}_createRightHandSideEditor(t,i){const n=this._createInnerEditor(this._instantiationService,this._modifiedDomNode,this._adjustOptionsForRightHandSide(t),i),o=(this._register(n.onDidScrollChange(e=>{this._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(this._isHandlingScrollEvent=!0,this._originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),this._isHandlingScrollEvent=!1,this._layoutOverviewViewport())})),this._register(n.onDidChangeViewZones(()=>{this._onViewZonesChanged()})),this._register(n.onDidChangeConfiguration(e=>{n.getModel()&&(e.hasChanged(42)&&this._updateDecorationsRunner.schedule(),e.hasChanged(131)&&(this._updateDecorationsRunner.cancel(),this._updateDecorations()))})),this._register(n.onDidChangeModelContent(()=>{this._isVisible&&this._beginUpdateDecorationsSoon()})),this._register(n.onDidChangeModelOptions(e=>{e.tabSize&&this._updateDecorationsRunner.schedule()})),this._contextKeyService.createKey("isInDiffRightEditor",n.hasWidgetFocus()));return this._register(n.onDidFocusEditorWidget(()=>o.set(!0))),this._register(n.onDidBlurEditorWidget(()=>o.set(!1))),this._register(n.onDidContentSizeChange(t=>{var i=this._originalEditor.getContentWidth()+this._modifiedEditor.getContentWidth()+e.ONE_OVERVIEW_WIDTH,n=Math.max(this._modifiedEditor.getContentHeight(),this._originalEditor.getContentHeight());this._onDidContentSizeChange.fire({contentHeight:n,contentWidth:i,contentHeightChanged:t.contentHeightChanged,contentWidthChanged:t.contentWidthChanged})})),n}_createInnerEditor(e,t,i,n){return e.createInstance(u.a,t,i,n)}dispose(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._renderOverviewRuler&&this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this._originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this._modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),super.dispose()}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return W.a.IDiffEditor}getLineChanges(){return this._diffComputationResult?this._diffComputationResult.changes:null}getOriginalEditor(){return this._originalEditor}getModifiedEditor(){return this._modifiedEditor}updateOptions(t){let i=!1,n=(void 0!==t.renderSideBySide&&this._renderSideBySide!==t.renderSideBySide&&(this._renderSideBySide=t.renderSideBySide,i=!0),void 0!==t.maxComputationTime&&(this._maxComputationTime=t.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon()),!1);void 0!==t.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==t.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=t.ignoreTrimWhitespace,n=!0),void 0!==t.renderIndicators&&this._renderIndicators!==t.renderIndicators&&(this._renderIndicators=t.renderIndicators,n=!0),n&&this._beginUpdateDecorations(),this._originalIsEditable=Object(_.k)(t.originalEditable,this._originalIsEditable),this._diffCodeLens=Object(_.k)(t.diffCodeLens,this._diffCodeLens),this._diffWordWrap=be(t.diffWordWrap,this._diffWordWrap),this._modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(t)),this._originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(t)),void 0!==t.enableSplitViewResizing&&(this._enableSplitViewResizing=t.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),i&&(this._renderSideBySide?this._setStrategy(new pe(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new fe(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=e._getClassName(this._themeService.getColorTheme(),this._renderSideBySide)),void 0!==t.renderOverviewRuler&&this._renderOverviewRuler!==t.renderOverviewRuler&&(this._renderOverviewRuler=t.renderOverviewRuler,this._renderOverviewRuler?this._containerDomElement.appendChild(this._overviewDomElement):this._containerDomElement.removeChild(this._overviewDomElement))}getModel(){return{original:this._originalEditor.getModel(),modified:this._modifiedEditor.getModel()}}setModel(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this._originalEditor.setModel(e?e.original:null),this._modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this._originalEditor.setScrollTop(0),this._modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()}getDomNode(){return this._domElement}getVisibleColumnFromPosition(e){return this._modifiedEditor.getVisibleColumnFromPosition(e)}getPosition(){return this._modifiedEditor.getPosition()}setPosition(e){this._modifiedEditor.setPosition(e)}revealLine(e,t=0){this._modifiedEditor.revealLine(e,t)}revealLineInCenter(e,t=0){this._modifiedEditor.revealLineInCenter(e,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)}revealLineNearTop(e,t=0){this._modifiedEditor.revealLineNearTop(e,t)}revealPosition(e,t=0){this._modifiedEditor.revealPosition(e,t)}revealPositionInCenter(e,t=0){this._modifiedEditor.revealPositionInCenter(e,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)}revealPositionNearTop(e,t=0){this._modifiedEditor.revealPositionNearTop(e,t)}getSelection(){return this._modifiedEditor.getSelection()}getSelections(){return this._modifiedEditor.getSelections()}setSelection(e){this._modifiedEditor.setSelection(e)}setSelections(e){this._modifiedEditor.setSelections(e)}revealLines(e,t,i=0){this._modifiedEditor.revealLines(e,t,i)}revealLinesInCenter(e,t,i=0){this._modifiedEditor.revealLinesInCenter(e,t,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,i)}revealLinesNearTop(e,t,i=0){this._modifiedEditor.revealLinesNearTop(e,t,i)}revealRange(e,t=0,i=!1,n=!0){this._modifiedEditor.revealRange(e,t,i,n)}revealRangeInCenter(e,t=0){this._modifiedEditor.revealRangeInCenter(e,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)}revealRangeNearTop(e,t=0){this._modifiedEditor.revealRangeNearTop(e,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._modifiedEditor.revealRangeNearTopIfOutsideViewport(e,t)}revealRangeAtTop(e,t=0){this._modifiedEditor.revealRangeAtTop(e,t)}getSupportedActions(){return this._modifiedEditor.getSupportedActions()}saveViewState(){return{original:this._originalEditor.saveViewState(),modified:this._modifiedEditor.saveViewState()}}restoreViewState(e){e&&e.original&&e.modified&&(this._originalEditor.restoreViewState((e=e).original),this._modifiedEditor.restoreViewState(e.modified))}layout(e){this._elementSizeObserver.observe(e)}focus(){this._modifiedEditor.focus()}hasTextFocus(){return this._originalEditor.hasTextFocus()||this._modifiedEditor.hasTextFocus()}trigger(e,t,i){this._modifiedEditor.trigger(e,t,i)}changeDecorations(e){return this._modifiedEditor.changeDecorations(e)}_onDidContainerSizeChanged(){this._doLayout()}_getReviewHeight(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0}_layoutOverviewRulers(){var t,i,n;this._renderOverviewRuler&&this._originalOverviewRuler&&this._modifiedOverviewRuler&&(t=this._elementSizeObserver.getHeight(),i=this._getReviewHeight(),n=e.ENTIRE_DIFF_OVERVIEW_WIDTH-2*e.ONE_OVERVIEW_WIDTH,this._modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:e.ONE_OVERVIEW_WIDTH,right:n+e.ONE_OVERVIEW_WIDTH,height:t-i}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:e.ONE_OVERVIEW_WIDTH,height:t-i})))}_onViewZonesChanged(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()}_beginUpdateDecorationsSoon(){-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(()=>this._beginUpdateDecorations(),e.UPDATE_DIFF_DECORATIONS_DELAY)}static _equals(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()}_beginUpdateDecorations(){this._beginUpdateDecorationsTimeout=-1;const t=this._originalEditor.getModel(),i=this._modifiedEditor.getModel();if(t&&i){this._diffComputationToken++;const o=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(t.uri,i.uri)?this._editorWorkerService.computeDiff(t.uri,i.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then(e=>{o===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=e,this._updateDecorationsRunner.schedule(),this._onDidUpdateDiff.fire())},e=>{o===this._diffComputationToken&&t===this._originalEditor.getModel()&&i===this._modifiedEditor.getModel()&&(this._setState(2),this._diffComputationResult=null,this._updateDecorationsRunner.schedule())}):e._equals(t.uri,this._lastOriginalWarning)&&e._equals(i.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=t.uri,this._lastModifiedWarning=i.uri,this._notificationService.warn(n.a("diff.tooLarge","Cannot compare files because one file is too large.")))}}_cleanViewZonesAndDecorations(){this._originalEditorState.clean(this._originalEditor),this._modifiedEditorState.clean(this._modifiedEditor)}_updateDecorations(){if(this._originalEditor.getModel()&&this._modifiedEditor.getModel()){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this._originalEditor.getWhitespaces()),i=this._modifiedEditorState.getForeignViewZones(this._modifiedEditor.getWhitespaces());e=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,i);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this._originalEditor,this._originalOverviewRuler,e.original,!1),this._modifiedEditorState.apply(this._modifiedEditor,this._modifiedOverviewRuler,e.modified,!0)}finally{this._currentlyChangingViewZones=!1}}}_adjustOptionsForSubEditor(e){const t=Object.assign({},e);return t.inDiffEditor=!0,t.automaticLayout=!1,t.scrollbar=Object.assign({},t.scrollbar||{}),t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=this._diffCodeLens,t.fixedOverflowWidgets=!0,t.minimap=Object.assign({},t.minimap||{}),t.minimap.enabled=!1,t}_adjustOptionsForLeftHandSide(e){const t=this._adjustOptionsForSubEditor(e);return this._renderSideBySide?t.wordWrapOverride1=this._diffWordWrap:t.wordWrapOverride1="off",e.originalAriaLabel&&(t.ariaLabel=e.originalAriaLabel),t.readOnly=!this._originalIsEditable,t.extraEditorClassName="original-in-monaco-diff-editor",Object.assign(Object.assign({},t),{dimension:{height:0,width:0}})}_adjustOptionsForRightHandSide(t){const i=this._adjustOptionsForSubEditor(t);return t.modifiedAriaLabel&&(i.ariaLabel=t.modifiedAriaLabel),i.wordWrapOverride1=this._diffWordWrap,i.revealHorizontalRightPadding=_.g.revealHorizontalRightPadding.defaultValue+e.ENTIRE_DIFF_OVERVIEW_WIDTH,i.scrollbar.verticalHasArrows=!1,i.extraEditorClassName="modified-in-monaco-diff-editor",Object.assign(Object.assign({},i),{dimension:{height:0,width:0}})}doLayout(){this._elementSizeObserver.observe(),this._doLayout()}_doLayout(){var t=this._elementSizeObserver.getWidth(),i=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),o=this._strategy.layout();this._originalDomNode.style.width=o+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=t-o+"px",this._modifiedDomNode.style.left=o+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=i-n+"px",this._overviewDomElement.style.width=e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=t-e.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(e.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this._originalEditor.layout({width:o,height:i-n}),this._modifiedEditor.layout({width:t-o-(this._renderOverviewRuler?e.ENTIRE_DIFF_OVERVIEW_WIDTH:0),height:i-n}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(i-n,t,n),this._layoutOverviewViewport()}_layoutOverviewViewport(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))}_computeOverviewViewport(){var e,t,i,n=this._modifiedEditor.getLayoutInfo();return n?(e=this._modifiedEditor.getScrollTop(),t=this._modifiedEditor.getScrollHeight(),i=Math.max(0,n.height),i=Math.max(0,+i),i=0this._elementSizeObserver.getWidth(),getHeight:()=>this._elementSizeObserver.getHeight()-this._getReviewHeight(),getOptions:()=>({renderOverviewRuler:this._renderOverviewRuler}),getContainerDomNode:()=>this._containerDomElement,relayoutEditors:()=>{this._doLayout()},getOriginalEditor:()=>this._originalEditor,getModifiedEditor:()=>this._modifiedEditor}}_setStrategy(e){this._strategy&&this._strategy.dispose(),(this._strategy=e).applyColors(this._themeService.getColorTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()}_getLineChangeAtOrBeforeLineNumber(e,t){var i=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===i.length||ee.originalStartLineNumber);return o?(n=o.originalStartLineNumber+(0e.modifiedStartLineNumber);return o?(t=o.originalStartLineNumber+(0e.afterLineNumber-t.afterLineNumber),n=n.sort((e,t)=>e.afterLineNumber-t.afterLineNumber),n=this._getViewZones(e,n,o,i),o=this._getOriginalEditorDecorations(e,t,i),e=this._getModifiedEditorDecorations(e,t,i),{original:{decorations:o.decorations,overviewZones:o.overviewZones,zones:n.original},modified:{decorations:e.decorations,overviewZones:e.overviewZones,zones:n.modified}}}}class he{constructor(e){this._source=e,this._index=-1,this.current=null,this.advance()}advance(){this._index++,this._indexe.afterLineNumber-t.afterLineNumber,_=(e,t)=>{if(null===t.domNode&&0=t.heightInLines?(e.heightInLines-=t.heightInLines,T++):(t.heightInLines-=e.heightInLines,M++)}for(;M(e.domNode||(e.domNode=we()),e))}}function ue(e,t,i,n,o){return{range:new B.a(e,t,i,n),options:o}}const ge={charDelete:V.a.register({description:"diff-editor-char-delete",className:"char-delete"}),charDeleteWholeLine:V.a.register({description:"diff-editor-char-delete-whole-line",className:"char-delete",isWholeLine:!0}),charInsert:V.a.register({description:"diff-editor-char-insert",className:"char-insert"}),charInsertWholeLine:V.a.register({description:"diff-editor-char-insert-whole-line",className:"char-insert",isWholeLine:!0}),lineInsert:V.a.register({description:"diff-editor-line-insert",className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:V.a.register({description:"diff-editor-line-insert-with-sign",className:"line-insert",linesDecorationsClassName:"insert-sign "+x.d.asClassName(se),marginClassName:"line-insert",isWholeLine:!0}),lineDelete:V.a.register({description:"diff-editor-line-delete",className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:V.a.register({description:"diff-editor-line-delete-with-sign",className:"line-delete",linesDecorationsClassName:"delete-sign "+x.d.asClassName(re),marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:V.a.register({description:"diff-editor-line-delete-margin",marginClassName:"line-delete"})};class pe extends de{constructor(e,t){super(e),this._disableSash=!1===t,this._sashRatio=null,this._sashPosition=null,this._startSashPosition=null,this._sash=this._register(new r.b(this._dataSource.getContainerDomNode(),this,{orientation:0})),this._disableSash&&(this._sash.state=0),this._sash.onDidStart(()=>this._onSashDragStart()),this._sash.onDidChange(e=>this._onSashDrag(e)),this._sash.onDidEnd(()=>this._onSashDragEnd()),this._sash.onDidReset(()=>this._onSashReset())}setEnableSplitViewResizing(e){e=!1===e,this._disableSash!==e&&(this._disableSash=e,this._sash.state=this._disableSash?0:3)}layout(e=this._sashRatio){var t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?le.ENTIRE_DIFF_OVERVIEW_WIDTH:0);let i=Math.floor((e||.5)*t);return e=Math.floor(.5*t),i=!this._disableSash&&i||e,t>2*pe.MINIMUM_EDITOR_WIDTH?(i=it-pe.MINIMUM_EDITOR_WIDTH&&(i=t-pe.MINIMUM_EDITOR_WIDTH):i=e,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition}_onSashDragStart(){this._startSashPosition=this._sashPosition}_onSashDrag(e){var t=this._dataSource.getWidth()-(this._dataSource.getOptions().renderOverviewRuler?le.ENTIRE_DIFF_OVERVIEW_WIDTH:0);e=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=e/t,this._dataSource.relayoutEditors()}_onSashDragEnd(){this._sash.layout()}_onSashReset(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()}getVerticalSashTop(e){return 0}getVerticalSashLeft(e){return this._sashPosition}getVerticalSashHeight(e){return this._dataSource.getHeight()}_getViewZones(e,t,i){var n=this._dataSource.getOriginalEditor(),o=this._dataSource.getModifiedEditor();const s=new me(e,t,i,n,o);return s.getViewZones()}_getOriginalEditorDecorations(e,t,i){const n=this._dataSource.getOriginalEditor();var o=String(this._removeColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(Ce(d)){s.decorations.push({range:new B.a(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824),options:i?ge.lineDeleteWithSign:ge.lineDelete}),ve(d)&&d.charChanges||s.decorations.push(ue(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824,ge.charDeleteWholeLine));var l=ye(r,a,d.originalStartLineNumber,d.originalEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges)for(const e of d.charChanges)if(Ce(e))if(t)for(let t=e.originalStartLineNumber;t<=e.originalEndLineNumber;t++){let i,n;i=t===e.originalStartLineNumber?e.originalStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.originalEndLineNumber?e.originalEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charDelete))}else s.decorations.push(ue(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn,ge.charDelete))}return s}_getModifiedEditorDecorations(e,t,i){const n=this._dataSource.getModifiedEditor();var o=String(this._insertColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(ve(d)){s.decorations.push({range:new B.a(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824),options:i?ge.lineInsertWithSign:ge.lineInsert}),Ce(d)&&d.charChanges||s.decorations.push(ue(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824,ge.charInsertWholeLine));var l=ye(r,a,d.modifiedStartLineNumber,d.modifiedEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges)for(const e of d.charChanges)if(ve(e))if(t)for(let t=e.modifiedStartLineNumber;t<=e.modifiedEndLineNumber;t++){let i,n;i=t===e.modifiedStartLineNumber?e.modifiedStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.modifiedEndLineNumber?e.modifiedEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charInsert))}else s.decorations.push(ue(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn,ge.charInsert))}return s}}pe.MINIMUM_EDITOR_WIDTH=100;class me extends ce{constructor(e,t,i,n,o){super(e,t,i,n,o)}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){return null}_produceOriginalFromDiff(e,t,i){return t{this._decorationsLeft!==t.decorationsLeft&&(this._decorationsLeft=t.decorationsLeft,e.relayoutEditors())}))}setEnableSplitViewResizing(e){}_getViewZones(e,t,i,n){var o=this._dataSource.getOriginalEditor(),s=this._dataSource.getModifiedEditor();const r=new _e(e,t,i,o,s,n);return r.getViewZones()}_getOriginalEditorDecorations(e,t,i){var n=String(this._removeColor);const o={decorations:[],overviewZones:[]},s=this._dataSource.getOriginalEditor();var r,a=s.getModel(),l=s._getViewModel();for(const d of e)Ce(d)&&(o.decorations.push({range:new B.a(d.originalStartLineNumber,1,d.originalEndLineNumber,1073741824),options:ge.lineDeleteMargin}),r=ye(a,l,d.originalStartLineNumber,d.originalEndLineNumber),o.overviewZones.push(new z.a(r.startLineNumber,r.endLineNumber,n)));return o}_getModifiedEditorDecorations(e,t,i){const n=this._dataSource.getModifiedEditor();var o=String(this._insertColor);const s={decorations:[],overviewZones:[]},r=n.getModel();var a=n._getViewModel();for(const d of e)if(ve(d)){s.decorations.push({range:new B.a(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824),options:i?ge.lineInsertWithSign:ge.lineInsert});var l=ye(r,a,d.modifiedStartLineNumber,d.modifiedEndLineNumber);if(s.overviewZones.push(new z.a(l.startLineNumber,l.endLineNumber,o)),d.charChanges){for(const e of d.charChanges)if(ve(e))if(t)for(let t=e.modifiedStartLineNumber;t<=e.modifiedEndLineNumber;t++){let i,n;i=t===e.modifiedStartLineNumber?e.modifiedStartColumn:r.getLineFirstNonWhitespaceColumn(t),n=t===e.modifiedEndLineNumber?e.modifiedEndColumn:r.getLineLastNonWhitespaceColumn(t),s.decorations.push(ue(t,i,t,n,ge.charInsert))}else s.decorations.push(ue(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn,ge.charInsert))}else s.decorations.push(ue(d.modifiedStartLineNumber,1,d.modifiedEndLineNumber,1073741824,ge.charInsertWholeLine))}return s}layout(){return Math.max(5,this._decorationsLeft)}}class _e extends ce{constructor(e,t,i,n,o,s){super(e,t,i,n,o),this._originalModel=n.getModel(),this._renderIndicators=s,this._pendingLineChange=[],this._pendingViewZones=[],this._lineBreaksComputer=this._modifiedEditor._getViewModel().createLineBreaksComputer()}getViewZones(){var e=super.getViewZones();return this._finalize(e),e}_createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion(){const e=document.createElement("div");return e.className="inline-added-margin-view-zone",e}_produceOriginalFromDiff(e,t,i){const n=document.createElement("div");return n.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:i,domNode:document.createElement("div"),marginDomNode:n}}_produceModifiedFromDiff(e,t,i){const n=document.createElement("div"),o=(n.className="view-lines line-delete "+te.a,document.createElement("div"));o.className="inline-deleted-margin-view-zone",t={shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:0,domNode:n,marginDomNode:o,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalModel:this._originalModel,viewLineCounts:null}};for(let s=e.originalStartLineNumber;s<=e.originalEndLineNumber;s++)this._lineBreaksComputer.addRequest(this._originalModel.getLineContent(s),null,null);return this._pendingLineChange.push(e),this._pendingViewZones.push(t),t}_finalize(e){const t=this._modifiedEditor.getOptions();var i=this._modifiedEditor.getModel().getOptions().tabSize,n=t.get(42),o=t.get(28),s=n.typicalHalfwidthCharacterWidth,r=t.get(93),a=this._originalModel.mightContainNonBasicASCII(),l=this._originalModel.mightContainRTL(),h=t.get(58),c=t.get(130).decorationsWidth,u=t.get(105),g=t.get(88),p=t.get(82),m=t.get(43),f=this._lineBreaksComputer.finalize();let _=0;for(let O=0;Oe.afterLineNumber-t.afterLineNumber)}_renderOriginalLine(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p,m,f,b){f.appendASCIIString('
    '),o=y.f.isBasicASCII(t,s),s=y.f.containsRTL(t,o,r);const v=Object(w.d)(new w.c(a.isMonospace&&!l,a.canUseHalfwidthRightwardsArrow,t,!1,o,s,0,i,n,m,0,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,c,u,g,p!==_.e.OFF,null),f);if(f.appendASCIIString("
    "),this._renderIndicators){const t=document.createElement("div");t.className="delete-sign "+x.d.asClassName(re),t.setAttribute("style",`position:absolute;top:${e*d}px;width:${h}px;height:${d}px;right:0;`),b.appendChild(t)}return v.characterMapping.getAbsoluteOffset(v.characterMapping.length)}}function be(e,t){return Object(_.n)(e,t,["off","on","inherit"])}function ve(e){return 0{var i=e.getColor(L.m);i&&(t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-added-margin-view-zone { background-color: ${i}; }`)),i=e.getColor(L.o),i&&(t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: ${i}; }`),t.addRule(`.monaco-editor .inline-deleted-margin-view-zone { background-color: ${i}; }`)),i=e.getColor(L.n),i&&t.addRule(`.monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px ${"hc"===e.type?"dashed":"solid"} ${i}; }`),i=e.getColor(L.p),i&&t.addRule(`.monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px ${"hc"===e.type?"dashed":"solid"} ${i}; }`),i=e.getColor(L.yc),i&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px ${i}; }`),i=e.getColor(L.k),i&&t.addRule(`.monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid ${i}; }`),i=e.getColor(L.Ac),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.Bc),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:hover {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.zc),i&&t.addRule(`\n\t\t\t.monaco-diff-editor .diffViewport:active {\n\t\t\t\tbackground: ${i};\n\t\t\t}\n\t\t`),i=e.getColor(L.l);t.addRule(`\n\t.monaco-editor .diagonal-fill {\n\t\tbackground-image: linear-gradient(\n\t\t\t-45deg,\n\t\t\t${i} 12.5%,\n\t\t\t#0000 12.5%, #0000 50%,\n\t\t\t${i} 50%, ${i} 62.5%,\n\t\t\t#0000 62.5%, #0000 100%\n\t\t);\n\t\tbackground-size: 8px 8px;\n\t}\n\t`)})},"4acc":function(e,t,i){e.exports=function(){"use strict";function e(e,t){for(var i=0;ie.length)&&(t=e.length);for(var i=0,n=new Array(t);i=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s={exports:{}};function r(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function a(e){s.exports.defaults=e}s.exports={defaults:r(),getDefaults:r,changeDefaults:a};var l=/[&<>"']/,d=/[&<>"']/g,h=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},g=function(e){return u[e]};function p(e,t){if(t){if(l.test(e))return e.replace(d,g)}else if(h.test(e))return e.replace(c,g);return e}var m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function f(e){return e.replace(m,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var _=/(^|[^\[])\^/g;function b(e,t){e=e.source||e,t=t||"";var i={replace:function(t,n){return n=n.source||n,n=n.replace(_,"$1"),e=e.replace(t,n),i},getRegex:function(){return new RegExp(e,t)}};return i}var v=/[^\w:]/g,C=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,i){if(e){var n;try{n=decodeURIComponent(f(i)).replace(v,"").toLowerCase()}catch(e){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!C.test(i)&&(i=k(t,i));try{i=encodeURI(i).replace(/%25/g,"%")}catch(e){return null}return i}var y={},S=/^[^:]+:\/*[^/]*$/,L=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function k(e,t){y[" "+e]||(S.test(e)?y[" "+e]=e+"/":y[" "+e]=O(e,"/",!0)),e=y[" "+e];var i=-1===e.indexOf(":");return"//"===t.substring(0,2)?i?t:e.replace(L,"$1")+t:"/"===t.charAt(0)?i?t:e.replace(x,"$1")+t:e+t}function D(e){for(var t,i,n=1;n=0&&"\\"===i[o])n=!n;return n?"|":" |"})),n=i.split(/ \|/),o=0;if(n[0].trim()||n.shift(),n[n.length-1].trim()||n.pop(),n.length>t)n.splice(t);else while(n.length1)1&t&&(i+=e),t>>=1,e+=e;return i+e}var T={escape:p,unescape:f,edit:b,cleanUrl:w,resolveUrl:k,noopTest:{exec:function(){}},merge:D,splitCells:N,rtrim:O,findClosingBracket:E,checkSanitizeDeprecation:I,repeatString:M},A=s.exports.defaults,R=T.rtrim,P=T.splitCells,F=T.escape,B=T.findClosingBracket;function j(e,t,i,n){var o=t.href,s=t.title?F(t.title):null,r=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?(n.state.inLink=!0,{type:"link",raw:i,href:o,title:s,text:r,tokens:n.inlineTokens(r,[])}):{type:"image",raw:i,href:o,title:s,text:F(r)}}function W(e,t){var i=e.match(/^(\s+)(?:```)/);if(null===i)return t;var n=i[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var i=t[0];return i.length>=n.length?e.slice(n.length):e})).join("\n")}var V=function(){function e(e){this.options=e||A}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e){var t=this.rules.block.code.exec(e);if(t){var i=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?i:R(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var i=t[0],n=W(i,t[3]||"");return{type:"code",raw:i,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t){var i=t[2].trim();if(/#$/.test(i)){var n=R(i,"#");this.options.pedantic?i=n.trim():n&&!/ $/.test(n)||(i=n.trim())}var o={type:"heading",raw:t[0],depth:t[1].length,text:i,tokens:[]};return this.lexer.inline(o.text,o.tokens),o}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var i=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],tokens:this.lexer.blockTokens(i,[]),text:i}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var i,n,o,s,r,a,l,d,h,c,u=t[1].trim(),g=u.length>1,p={type:"list",raw:"",ordered:g,start:g?+u.slice(0,-1):"",loose:!1,items:[]};u=g?"\\d{1,9}\\"+u.slice(-1):"\\"+u,this.options.pedantic&&(u=g?u:"[*+-]");var m=new RegExp("^( {0,3}"+u+")((?: [^\\n]*| *)(?:\\n[^\\n]*)*(?:\\n|$))");while(e){if(this.rules.block.hr.test(e))break;if(!(t=m.exec(e)))break;h=t[2].split("\n"),this.options.pedantic?(s=2,c=h[0].trimLeft()):(s=t[2].search(/[^ ]/),s=t[1].length+(s>4?1:s),c=h[0].slice(s-t[1].length)),a=!1,i=t[0],!h[0]&&/^ *$/.test(h[1])&&(i=t[1]+h.slice(0,2).join("\n")+"\n",p.loose=!0,h=[]);var f=new RegExp("^ {0,"+Math.min(3,s-1)+"}(?:[*+-]|\\d{1,9}[.)])");for(r=1;r=s)&&d.trim()){i=t[1]+h.slice(0,r).join("\n")+"\n";break}c+="\n"+d.slice(s)}else d.trim()||(a=!0),d.search(/[^ ]/)>=s?c+="\n"+d.slice(s):c+="\n"+d}p.loose||(l?p.loose=!0:/\n *\n *$/.test(i)&&(l=!0)),this.options.gfm&&(n=/^\[[ xX]\] /.exec(c),n&&(o="[ ] "!==n[0],c=c.replace(/^\[[ xX]\] +/,""))),p.items.push({type:"list_item",raw:i,task:!!n,checked:o,loose:!1,text:c}),p.raw+=i,e=e.slice(i.length)}p.items[p.items.length-1].raw=i.trimRight(),p.items[p.items.length-1].text=c.trimRight(),p.raw=p.raw.trimRight();var _=p.items.length;for(r=0;r<_;r++)this.lexer.state.top=!1,p.items[r].tokens=this.lexer.blockTokens(p.items[r].text,[]),p.items[r].tokens.some((function(e){return"space"===e.type}))&&(p.loose=!0,p.items[r].loose=!0);return p}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t){var i={type:"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:t[0]};return this.options.sanitize&&(i.type="paragraph",i.text=this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]),i.tokens=[],this.lexer.inline(i.text,i.tokens)),i}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var i=t[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:i,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var i={type:"table",header:P(t[1]).map((function(e){return{text:e}})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=t[0];var n,o,s,r,a=i.align.length;for(n=0;n/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):F(t[0]):t[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var i=t[2].trim();if(!this.options.pedantic&&/^$/.test(i))return;var n=R(i.slice(0,-1),"\\");if((i.length-n.length)%2===0)return}else{var o=B(t[2],"()");if(o>-1){var s=0===t[0].indexOf("!")?5:4,r=s+t[1].length+o;t[2]=t[2].substring(0,o),t[0]=t[0].substring(0,r).trim(),t[3]=""}}var a=t[2],l="";if(this.options.pedantic){var d=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(a);d&&(a=d[1],l=d[3])}else l=t[3]?t[3].slice(1,-1):"";return a=a.trim(),/^$/.test(i)?a.slice(1):a.slice(1,-1)),j(t,{href:a?a.replace(this.rules.inline._escapes,"$1"):a,title:l?l.replace(this.rules.inline._escapes,"$1"):l},t[0],this.lexer)}},t.reflink=function(e,t){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var n=(i[2]||i[1]).replace(/\s+/g," ");if(n=t[n.toLowerCase()],!n||!n.href){var o=i[0].charAt(0);return{type:"text",raw:o,text:o}}return j(i,n,i[0],this.lexer)}},t.emStrong=function(e,t,i){void 0===i&&(i="");var n=this.rules.inline.emStrong.lDelim.exec(e);if(n&&(!n[3]||!i.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var o=n[1]||n[2]||"";if(!o||o&&(""===i||this.rules.inline.punctuation.exec(i))){var s,r,a=n[0].length-1,l=a,d=0,h="*"===n[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;h.lastIndex=0,t=t.slice(-1*e.length+a);while(null!=(n=h.exec(t)))if(s=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],s)if(r=s.length,n[3]||n[4])l+=r;else if(!((n[5]||n[6])&&a%3)||(a+r)%3){if(l-=r,!(l>0)){if(r=Math.min(r,r+l+d),Math.min(a,r)%2){var c=e.slice(1,a+n.index+r);return{type:"em",raw:e.slice(0,a+n.index+r+1),text:c,tokens:this.lexer.inlineTokens(c,[])}}var u=e.slice(2,a+n.index+r-1);return{type:"strong",raw:e.slice(0,a+n.index+r+1),text:u,tokens:this.lexer.inlineTokens(u,[])}}}else d+=r}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var i=t[2].replace(/\n/g," "),n=/[^ ]/.test(i),o=/^ /.test(i)&&/ $/.test(i);return n&&o&&(i=i.substring(1,i.length-1)),i=F(i,!0),{type:"codespan",raw:t[0],text:i}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2],[])}},t.autolink=function(e,t){var i,n,o=this.rules.inline.autolink.exec(e);if(o)return"@"===o[2]?(i=F(this.options.mangle?t(o[1]):o[1]),n="mailto:"+i):(i=F(o[1]),n=i),{type:"link",raw:o[0],text:i,href:n,tokens:[{type:"text",raw:i,text:i}]}},t.url=function(e,t){var i;if(i=this.rules.inline.url.exec(e)){var n,o;if("@"===i[2])n=F(this.options.mangle?t(i[0]):i[0]),o="mailto:"+n;else{var s;do{s=i[0],i[0]=this.rules.inline._backpedal.exec(i[0])[0]}while(s!==i[0]);n=F(i[0]),o="www."===i[1]?"http://"+n:n}return{type:"link",raw:i[0],text:n,href:o,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t){var i,n=this.rules.inline.text.exec(e);if(n)return i=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):F(n[0]):n[0]:F(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:i}},e}(),H=T.noopTest,z=T.edit,U=T.merge,K={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:H,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/},q=(K.def=z(K.def).replace("label",K._label).replace("title",K._title).getRegex(),K.bullet=/(?:[*+-]|\d{1,9}[.)])/,K.listItemStart=z(/^( *)(bull) */).replace("bull",K.bullet).getRegex(),K.list=z(K.list).replace(/bull/g,K.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+K.def.source+")").getRegex(),K._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",K._comment=/|$)/,K.html=z(K.html,"i").replace("comment",K._comment).replace("tag",K._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),K.paragraph=z(K._paragraph).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.blockquote=z(K.blockquote).replace("paragraph",K.paragraph).getRegex(),K.normal=U({},K),K.gfm=U({},K.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)\\|?(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),K.gfm.table=z(K.gfm.table).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",K._tag).getRegex(),K.pedantic=U({},K.normal,{html:z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",K._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:H,paragraph:z(K.normal._paragraph).replace("hr",K.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",K.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),{escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:H,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:H,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"}),$=(q.punctuation=z(q.punctuation).replace(/punctuation/g,q._punctuation).getRegex(),q.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,q.escapedEmSt=/\\\*|\\_/g,q._comment=z(K._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),q.emStrong.lDelim=z(q.emStrong.lDelim).replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimAst=z(q.emStrong.rDelimAst,"g").replace(/punct/g,q._punctuation).getRegex(),q.emStrong.rDelimUnd=z(q.emStrong.rDelimUnd,"g").replace(/punct/g,q._punctuation).getRegex(),q._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,q._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,q._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,q.autolink=z(q.autolink).replace("scheme",q._scheme).replace("email",q._email).getRegex(),q._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,q.tag=z(q.tag).replace("comment",q._comment).replace("attribute",q._attribute).getRegex(),q._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,q._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,q._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,q.link=z(q.link).replace("label",q._label).replace("href",q._href).replace("title",q._title).getRegex(),q.reflink=z(q.reflink).replace("label",q._label).getRegex(),q.reflinkSearch=z(q.reflinkSearch,"g").replace("reflink",q.reflink).replace("nolink",q.nolink).getRegex(),q.normal=U({},q),q.pedantic=U({},q.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:z(/^!?\[(label)\]\((.*?)\)/).replace("label",q._label).getRegex(),reflink:z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",q._label).getRegex()}),q.gfm=U({},q.normal,{escape:z(q.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(i="x"+i.toString(16)),n+="&#"+i+";";return n}var te=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Z,this.options.tokenizer=this.options.tokenizer||new G,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var t={block:Y.normal,inline:X.normal};this.options.pedantic?(t.block=Y.pedantic,t.inline=X.pedantic):this.options.gfm&&(t.block=Y.gfm,this.options.breaks?t.inline=X.breaks:t.inline=X.gfm),this.tokenizer.rules=t}e.lex=function(t,i){var n=new e(i);return n.lex(t)},e.lexInline=function(t,i){var n=new e(i);return n.inlineTokens(t)};var i=e.prototype;return i.lex=function(e){var t;e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens);while(t=this.inlineQueue.shift())this.inlineTokens(t.src,t.tokens);return this.tokens},i.blockTokens=function(e,t){var i,n,o,s,r=this;void 0===t&&(t=[]),this.options.pedantic&&(e=e.replace(/^ +$/gm,""));while(e)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((function(n){return!!(i=n.call({lexer:r},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))))if(i=this.tokenizer.space(e))e=e.substring(i.raw.length),i.type&&t.push(i);else if(i=this.tokenizer.code(e))e=e.substring(i.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?t.push(i):(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(i=this.tokenizer.fences(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.heading(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.hr(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.blockquote(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.list(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.html(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.def(e))e=e.substring(i.raw.length),n=t[t.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(n.raw+="\n"+i.raw,n.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(i=this.tokenizer.table(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.lheading(e))e=e.substring(i.raw.length),t.push(i);else if(o=e,this.options.extensions&&this.options.extensions.startBlock&&function(){var t=1/0,i=e.slice(1),n=void 0;r.options.extensions.startBlock.forEach((function(e){n=e.call({lexer:this},i),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),this.state.top&&(i=this.tokenizer.paragraph(o)))n=t[t.length-1],s&&"paragraph"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i),s=o.length!==e.length,e=e.substring(i.raw.length);else if(i=this.tokenizer.text(e))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===n.type?(n.raw+="\n"+i.raw,n.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(i);else if(e){var a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}throw new Error(a)}return this.state.top=!0,t},i.inline=function(e,t){this.inlineQueue.push({src:e,tokens:t})},i.inlineTokens=function(e,t){var i,n,o,s=this;void 0===t&&(t=[]);var r,a,l,d=e;if(this.tokens.links){var h=Object.keys(this.tokens.links);if(h.length>0)while(null!=(r=this.tokenizer.rules.inline.reflinkSearch.exec(d)))h.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(d=d.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(r=this.tokenizer.rules.inline.blockSkip.exec(d)))d=d.slice(0,r.index)+"["+Q("a",r[0].length-2)+"]"+d.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(null!=(r=this.tokenizer.rules.inline.escapedEmSt.exec(d)))d=d.slice(0,r.index)+"++"+d.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);while(e)if(a||(l=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((function(n){return!!(i=n.call({lexer:s},e,t))&&(e=e.substring(i.raw.length),t.push(i),!0)}))))if(i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),n=t[t.length-1],n&&"text"===i.type&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(i=this.tokenizer.emStrong(e,d,l))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.autolink(e,ee))e=e.substring(i.raw.length),t.push(i);else if(this.state.inLink||!(i=this.tokenizer.url(e,ee))){if(o=e,this.options.extensions&&this.options.extensions.startInline&&function(){var t=1/0,i=e.slice(1),n=void 0;s.options.extensions.startInline.forEach((function(e){n=e.call({lexer:this},i),"number"===typeof n&&n>=0&&(t=Math.min(t,n))})),t<1/0&&t>=0&&(o=e.substring(0,t+1))}(),i=this.tokenizer.inlineText(o,J))e=e.substring(i.raw.length),"_"!==i.raw.slice(-1)&&(l=i.raw.slice(-1)),a=!0,n=t[t.length-1],n&&"text"===n.type?(n.raw+=i.raw,n.text+=i.text):t.push(i);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:Y,inline:X}}}]),e}(),ie=s.exports.defaults,ne=T.cleanUrl,oe=T.escape,se=function(){function e(e){this.options=e||ie}var t=e.prototype;return t.code=function(e,t,i){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var o=this.options.highlight(e,n);null!=o&&o!==e&&(i=!0,e=o)}return e=e.replace(/\n$/,"")+"\n",n?'
    '+(i?e:oe(e,!0))+"
    \n":"
    "+(i?e:oe(e,!0))+"
    \n"},t.blockquote=function(e){return"
    \n"+e+"
    \n"},t.html=function(e){return e},t.heading=function(e,t,i,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},t.list=function(e,t,i){var n=t?"ol":"ul",o=t&&1!==i?' start="'+i+'"':"";return"<"+n+o+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var i=t.header?"th":"td",n=t.align?"<"+i+' align="'+t.align+'">':"<"+i+">";return n+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,i){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return i;var n='",n},t.image=function(e,t,i){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return i;var n=''+i+'":">",n},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,i){return""+i},t.image=function(e,t,i){return""+i},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var i=e,n=0;if(this.seen.hasOwnProperty(i)){n=this.seen[e];do{n++,i=e+"-"+n}while(this.seen.hasOwnProperty(i))}return t||(this.seen[e]=n,this.seen[i]=0),i},t.slug=function(e,t){void 0===t&&(t={});var i=this.serialize(e);return this.getNextSafeSlug(i,t.dryrun)},e}(),le=se,de=re,he=ae,ce=s.exports.defaults,ue=T.unescape,ge=te,pe=function(){function e(e){this.options=e||ce,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new de,this.slugger=new he}e.parse=function(t,i){var n=new e(i);return n.parse(t)},e.parseInline=function(t,i){var n=new e(i);return n.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var i,n,o,s,r,a,l,d,h,c,u,g,p,m,f,_,b,v,C,w="",y=e.length;for(i=0;i0&&"paragraph"===f.tokens[0].type?(f.tokens[0].text=v+" "+f.tokens[0].text,f.tokens[0].tokens&&f.tokens[0].tokens.length>0&&"text"===f.tokens[0].tokens[0].type&&(f.tokens[0].tokens[0].text=v+" "+f.tokens[0].tokens[0].text)):f.tokens.unshift({type:"text",text:v}):m+=v),m+=this.parse(f.tokens,p),h+=this.renderer.listitem(m,b,_);w+=this.renderer.list(h,u,g);continue;case"html":w+=this.renderer.html(c.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(c.tokens));continue;case"text":h=c.tokens?this.parseInline(c.tokens):c.text;while(i+1An error occurred:

    "+we(e.message+"",!0)+"
    ";throw e}}return xe.options=xe.setOptions=function(e){return ve(xe.defaults,e),Se(xe.defaults),xe},xe.getDefaults=ye,xe.defaults=Le,xe.use=function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;nAn error occurred:

    "+we(e.message+"",!0)+"
    ";throw e}},xe.Parser=pe,xe.parser=pe.parse,xe.Renderer=fe,xe.TextRenderer=_e,xe.Lexer=ge,xe.lexer=ge.lex,xe.Tokenizer=me,xe.Slugger=be,xe.parse=xe}()},"4af6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return i.e("chunk-2d0afa49").then(i.bind(null,"0eca"))}})},"4b76":function(e,t,i){"use strict";var n,o,s=i("3742");(i=n=n||{})[i.Ignore=0]="Ignore",i[i.Info=1]="Info",i[i.Warning=2]="Warning",i[i.Error=3]="Error",(o=n=n||{}).fromValue=function(e){return e?s.r("error",e)?o.Error:s.r("warning",e)||s.r("warn",e)?o.Warning:s.r("info",e)?o.Info:o.Ignore:o.Ignore},o.toString=function(e){switch(e){case o.Error:return"error";case o.Warning:return"warning";case o.Info:return"info";default:return"ignore"}},t.a=n},"4c2a":function(e,t,i){"use strict";var n=i("c8df");i.n(n).a},"4d05":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"a",(function(){return l}));var n=i("3742"),o=i("e1b5"),s=i("8bf1");const r={getInitialState:()=>s.c,tokenize2:(e,t,i,n)=>Object(s.e)(0,e,i,n)};function a(e,t=r){{var i=t||r;let d='
    ',h=n.Q(e),c=i.getInitialState();for(let e=0,t=h.length;e");var s=i.tokenize2(t,!0,c,0);o.a.convertToEndOffset(s.tokens,t.length);let r=new o.a(s.tokens,t),u=r.inflate(),g=0;for(let e=0,i=u.getCount();e${n.s(t.substring(g,l))}`,g=l}c=s.endState}return d+="
    "}}function l(e,t,i,n,o,s,r){let a="
    ",l=n,d=0;for(let u=0,g=t.getCount();u${n}`,o=o)break}}return a+"
    "}},"4d3d":function(e,t,i){},"4da7":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:function(){return i.e("chunk-2d21ab79").then(i.bind(null,"bd67"))}})},"4dc7":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s}));class n{constructor(e,t,i){this._tokenBrand=void 0,this.offset=0|e,this.type=t,this.language=i}toString(){return"("+this.offset+", "+this.type+")"}}class o{constructor(e,t){this._tokenizationResultBrand=void 0,this.tokens=e,this.endState=t}}class s{constructor(e,t){this._tokenizationResult2Brand=void 0,this.tokens=e,this.endState=t}}},"4fc3":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"c",(function(){return x})),i.d(t,"b",(function(){return k})),i.d(t,"d",(function(){return D})),i.d(t,"e",(function(){return E}));t=i("30db");var n=i("3742");i=i("0a0f");let o=t.k||"";const s=new Map,r=(s.set("false",!1),s.set("true",!0),s.set("isMac",t.f),s.set("isLinux",t.d),s.set("isWindows",t.i),s.set("isWeb",t.h),s.set("isMacNative",t.f&&!t.h),s.set("isEdge",0<=o.indexOf("Edg/")),s.set("isFirefox",0<=o.indexOf("Firefox")),s.set("isChrome",0<=o.indexOf("Chrome")),s.set("isSafari",0<=o.indexOf("Safari")),Object.prototype.hasOwnProperty);class a{static has(e){return c.create(e)}static equals(e,t){return u.create(e,t)}static regex(e,t){return w.create(e,t)}static not(e){return f.create(e)}static and(...e){return S.create(e,null)}static or(...e){return L.create(e,null,!0)}static deserialize(e,t=!1){if(e)return this._deserializeOrExpression(e,t)}static _deserializeOrExpression(e,t){let i=e.split("||");return L.create(i.map(e=>this._deserializeAndExpression(e,t)),null,!0)}static _deserializeAndExpression(e,t){let i=e.split("&&");return S.create(i.map(e=>this._deserializeOne(e,t)),null)}static _deserializeOne(e,t){if(0<=(e=e.trim()).indexOf("!=")){let i=e.split("!=");return m.create(i[0].trim(),this._deserializeValue(i[1],t))}if(0<=e.indexOf("==")){let i=e.split("==");return u.create(i[0].trim(),this._deserializeValue(i[1],t))}if(0<=e.indexOf("=~")){let i=e.split("=~");return w.create(i[0].trim(),this._deserializeRegexValue(i[1],t))}if(0<=e.indexOf(" in ")){let t=e.split(" in ");return g.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(e)){const t=e.split(">=");return b.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(e)){const t=e.split(">");return _.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(e)){const t=e.split("<=");return C.create(t[0].trim(),t[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(e)){const t=e.split("<");return v.create(t[0].trim(),t[1].trim())}return/^\!\s*/.test(e)?f.create(e.substr(1).trim()):c.create(e)}static _deserializeValue(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;let i=/^'([^']*)'$/.exec(e);return i?i[1].trim():e}static _deserializeRegexValue(e,t){if(Object(n.C)(e)){if(t)throw new Error("missing regexp-value for =~-expression");return null}var i=e.indexOf("/"),o=e.lastIndexOf("/");if(i===o||i<0){if(t)throw new Error(`bad regexp-value '${e}', missing /-enclosure`);return null}i=e.slice(i+1,o),o="i"===e[o+1]?"i":"";try{return new RegExp(i,o)}catch(i){if(t)throw new Error(`bad regexp-value '${e}', parse error: `+i);return null}}}function l(e,t){return e.cmp(t)}class d{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return h.INSTANCE}}d.INSTANCE=new d;class h{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return d.INSTANCE}}h.INSTANCE=new h;class c{constructor(e,t){this.key=e,this.negated=t,this.type=2}static create(e,t=null){var i=s.get(e);return"boolean"==typeof i?(i?h:d).INSTANCE:new c(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:N(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this)),this.negated}}class u{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=4}static create(e,t,i=null){var n;return"boolean"==typeof t?(t?c:f).create(e,i):"boolean"==typeof(n=s.get(e))?(t===(n?"true":"false")?h:d).INSTANCE:new u(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.create(this.key,this.value,this)),this.negated}}class g{constructor(e,t){this.key=e,this.valueKey=t,this.type=10,this.negated=null}static create(e,t){return new g(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type&&this.key===e.key&&this.valueKey===e.valueKey}evaluate(e){const t=e.getValue(this.valueKey);return e=e.getValue(this.key),Array.isArray(t)?0<=t.indexOf(e):"string"==typeof e&&"object"==typeof t&&null!==t&&r.call(t,e)}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=p.create(this)),this.negated}}class p{constructor(e){this._actual=e,this.type=11}static create(e){return new p(e)}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type&&this._actual.equals(e._actual)}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=5}static create(e,t,i=null){var n;return"boolean"==typeof t?(t?f:c).create(e,i):"boolean"==typeof(n=s.get(e))?(t===(n?"true":"false")?d:h).INSTANCE:new m(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class f{constructor(e,t){this.key=e,this.negated=t,this.type=3}static create(e,t=null){var i=s.get(e);return"boolean"==typeof i?(i?d:h).INSTANCE:new f(e,t)}cmp(e){return e.type!==this.type?this.type-e.type:N(this.key,e.key)}equals(e){return e.type===this.type&&this.key===e.key}evaluate(e){return!e.getValue(this.key)}serialize(){return"!"+this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this)),this.negated}}class _{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=12}static create(e,t,i=null){return new _(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>parseFloat(this.value)}serialize(){return this.key+" > "+this.value}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class b{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=13}static create(e,t,i=null){return new b(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))>=parseFloat(this.value)}serialize(){return this.key+" >= "+this.value}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class v{constructor(e,t,i){this.key=e,this.value=t,this.negated=i,this.type=14}static create(e,t,i=null){return new v(e,t,i)}cmp(e){return e.type!==this.type?this.type-e.type:O(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type&&this.key===e.key&&this.value===e.value}evaluate(e){return parseFloat(e.getValue(this.key))e.expr.length)return 1;for(let i=0,n=this.expr.length;iS.create([e,t],null)),null,o);o&&(i.push(o),i.sort(l))}return 1===i.length?i[0]:new S(i,t)}}serialize(){return this.expr.map(e=>e.serialize()).join(" && ")}keys(){const e=[];for(var t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){const t=[];for(var e of this.expr)t.push(e.negate());this.negated=L.create(t,this,!0)}return this.negated}}class L{constructor(e,t){this.expr=e,this.negated=t,this.type=9}static create(e,t,i){return L._normalizeArr(e,t,i)}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let i=0,n=this.expr.length;ie.serialize()).join(" || ")}keys(){const e=[];for(var t of this.expr)e.push(...t.keys());return e}negate(){if(!this.negated){let n=[];for(var e of this.expr)n.push(e.negate());for(;1` ${t} `).trim():""}class d{constructor(e,t,i){this.id=e,this.definition=t,this.description=i,s.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}{(t=n=n||{}).iconNameSegment="[A-Za-z0-9]+",t.iconNameExpression="[A-Za-z0-9\\-]+",t.iconModifierExpression="~[A-Za-z]+";const e=new RegExp(`^(${t.iconNameExpression})(${t.iconModifierExpression})?$`);function h(t){if(t instanceof d)return["codicon","codicon-"+t.id];if(t=e.exec(t.id),!t)return h(d.error);let[,i,n]=t;const o=["codicon","codicon-"+i];return n&&o.push("codicon-modifier-"+n.substr(1)),o}t.asClassNameArray=h,t.asClassName=function(e){return h(e).join(" ")},t.asCSSSelector=function(e){return"."+h(e).join(".")}}(i=d=d||{}).add=new i("add",{fontCharacter:"\\ea60"}),i.plus=new i("plus",{fontCharacter:"\\ea60"}),i.gistNew=new i("gist-new",{fontCharacter:"\\ea60"}),i.repoCreate=new i("repo-create",{fontCharacter:"\\ea60"}),i.lightbulb=new i("lightbulb",{fontCharacter:"\\ea61"}),i.lightBulb=new i("light-bulb",{fontCharacter:"\\ea61"}),i.repo=new i("repo",{fontCharacter:"\\ea62"}),i.repoDelete=new i("repo-delete",{fontCharacter:"\\ea62"}),i.gistFork=new i("gist-fork",{fontCharacter:"\\ea63"}),i.repoForked=new i("repo-forked",{fontCharacter:"\\ea63"}),i.gitPullRequest=new i("git-pull-request",{fontCharacter:"\\ea64"}),i.gitPullRequestAbandoned=new i("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),i.recordKeys=new i("record-keys",{fontCharacter:"\\ea65"}),i.keyboard=new i("keyboard",{fontCharacter:"\\ea65"}),i.tag=new i("tag",{fontCharacter:"\\ea66"}),i.tagAdd=new i("tag-add",{fontCharacter:"\\ea66"}),i.tagRemove=new i("tag-remove",{fontCharacter:"\\ea66"}),i.person=new i("person",{fontCharacter:"\\ea67"}),i.personFollow=new i("person-follow",{fontCharacter:"\\ea67"}),i.personOutline=new i("person-outline",{fontCharacter:"\\ea67"}),i.personFilled=new i("person-filled",{fontCharacter:"\\ea67"}),i.gitBranch=new i("git-branch",{fontCharacter:"\\ea68"}),i.gitBranchCreate=new i("git-branch-create",{fontCharacter:"\\ea68"}),i.gitBranchDelete=new i("git-branch-delete",{fontCharacter:"\\ea68"}),i.sourceControl=new i("source-control",{fontCharacter:"\\ea68"}),i.mirror=new i("mirror",{fontCharacter:"\\ea69"}),i.mirrorPublic=new i("mirror-public",{fontCharacter:"\\ea69"}),i.star=new i("star",{fontCharacter:"\\ea6a"}),i.starAdd=new i("star-add",{fontCharacter:"\\ea6a"}),i.starDelete=new i("star-delete",{fontCharacter:"\\ea6a"}),i.starEmpty=new i("star-empty",{fontCharacter:"\\ea6a"}),i.comment=new i("comment",{fontCharacter:"\\ea6b"}),i.commentAdd=new i("comment-add",{fontCharacter:"\\ea6b"}),i.alert=new i("alert",{fontCharacter:"\\ea6c"}),i.warning=new i("warning",{fontCharacter:"\\ea6c"}),i.search=new i("search",{fontCharacter:"\\ea6d"}),i.searchSave=new i("search-save",{fontCharacter:"\\ea6d"}),i.logOut=new i("log-out",{fontCharacter:"\\ea6e"}),i.signOut=new i("sign-out",{fontCharacter:"\\ea6e"}),i.logIn=new i("log-in",{fontCharacter:"\\ea6f"}),i.signIn=new i("sign-in",{fontCharacter:"\\ea6f"}),i.eye=new i("eye",{fontCharacter:"\\ea70"}),i.eyeUnwatch=new i("eye-unwatch",{fontCharacter:"\\ea70"}),i.eyeWatch=new i("eye-watch",{fontCharacter:"\\ea70"}),i.circleFilled=new i("circle-filled",{fontCharacter:"\\ea71"}),i.primitiveDot=new i("primitive-dot",{fontCharacter:"\\ea71"}),i.closeDirty=new i("close-dirty",{fontCharacter:"\\ea71"}),i.debugBreakpoint=new i("debug-breakpoint",{fontCharacter:"\\ea71"}),i.debugBreakpointDisabled=new i("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),i.debugHint=new i("debug-hint",{fontCharacter:"\\ea71"}),i.primitiveSquare=new i("primitive-square",{fontCharacter:"\\ea72"}),i.edit=new i("edit",{fontCharacter:"\\ea73"}),i.pencil=new i("pencil",{fontCharacter:"\\ea73"}),i.info=new i("info",{fontCharacter:"\\ea74"}),i.issueOpened=new i("issue-opened",{fontCharacter:"\\ea74"}),i.gistPrivate=new i("gist-private",{fontCharacter:"\\ea75"}),i.gitForkPrivate=new i("git-fork-private",{fontCharacter:"\\ea75"}),i.lock=new i("lock",{fontCharacter:"\\ea75"}),i.mirrorPrivate=new i("mirror-private",{fontCharacter:"\\ea75"}),i.close=new i("close",{fontCharacter:"\\ea76"}),i.removeClose=new i("remove-close",{fontCharacter:"\\ea76"}),i.x=new i("x",{fontCharacter:"\\ea76"}),i.repoSync=new i("repo-sync",{fontCharacter:"\\ea77"}),i.sync=new i("sync",{fontCharacter:"\\ea77"}),i.clone=new i("clone",{fontCharacter:"\\ea78"}),i.desktopDownload=new i("desktop-download",{fontCharacter:"\\ea78"}),i.beaker=new i("beaker",{fontCharacter:"\\ea79"}),i.microscope=new i("microscope",{fontCharacter:"\\ea79"}),i.vm=new i("vm",{fontCharacter:"\\ea7a"}),i.deviceDesktop=new i("device-desktop",{fontCharacter:"\\ea7a"}),i.file=new i("file",{fontCharacter:"\\ea7b"}),i.fileText=new i("file-text",{fontCharacter:"\\ea7b"}),i.more=new i("more",{fontCharacter:"\\ea7c"}),i.ellipsis=new i("ellipsis",{fontCharacter:"\\ea7c"}),i.kebabHorizontal=new i("kebab-horizontal",{fontCharacter:"\\ea7c"}),i.mailReply=new i("mail-reply",{fontCharacter:"\\ea7d"}),i.reply=new i("reply",{fontCharacter:"\\ea7d"}),i.organization=new i("organization",{fontCharacter:"\\ea7e"}),i.organizationFilled=new i("organization-filled",{fontCharacter:"\\ea7e"}),i.organizationOutline=new i("organization-outline",{fontCharacter:"\\ea7e"}),i.newFile=new i("new-file",{fontCharacter:"\\ea7f"}),i.fileAdd=new i("file-add",{fontCharacter:"\\ea7f"}),i.newFolder=new i("new-folder",{fontCharacter:"\\ea80"}),i.fileDirectoryCreate=new i("file-directory-create",{fontCharacter:"\\ea80"}),i.trash=new i("trash",{fontCharacter:"\\ea81"}),i.trashcan=new i("trashcan",{fontCharacter:"\\ea81"}),i.history=new i("history",{fontCharacter:"\\ea82"}),i.clock=new i("clock",{fontCharacter:"\\ea82"}),i.folder=new i("folder",{fontCharacter:"\\ea83"}),i.fileDirectory=new i("file-directory",{fontCharacter:"\\ea83"}),i.symbolFolder=new i("symbol-folder",{fontCharacter:"\\ea83"}),i.logoGithub=new i("logo-github",{fontCharacter:"\\ea84"}),i.markGithub=new i("mark-github",{fontCharacter:"\\ea84"}),i.github=new i("github",{fontCharacter:"\\ea84"}),i.terminal=new i("terminal",{fontCharacter:"\\ea85"}),i.console=new i("console",{fontCharacter:"\\ea85"}),i.repl=new i("repl",{fontCharacter:"\\ea85"}),i.zap=new i("zap",{fontCharacter:"\\ea86"}),i.symbolEvent=new i("symbol-event",{fontCharacter:"\\ea86"}),i.error=new i("error",{fontCharacter:"\\ea87"}),i.stop=new i("stop",{fontCharacter:"\\ea87"}),i.variable=new i("variable",{fontCharacter:"\\ea88"}),i.symbolVariable=new i("symbol-variable",{fontCharacter:"\\ea88"}),i.array=new i("array",{fontCharacter:"\\ea8a"}),i.symbolArray=new i("symbol-array",{fontCharacter:"\\ea8a"}),i.symbolModule=new i("symbol-module",{fontCharacter:"\\ea8b"}),i.symbolPackage=new i("symbol-package",{fontCharacter:"\\ea8b"}),i.symbolNamespace=new i("symbol-namespace",{fontCharacter:"\\ea8b"}),i.symbolObject=new i("symbol-object",{fontCharacter:"\\ea8b"}),i.symbolMethod=new i("symbol-method",{fontCharacter:"\\ea8c"}),i.symbolFunction=new i("symbol-function",{fontCharacter:"\\ea8c"}),i.symbolConstructor=new i("symbol-constructor",{fontCharacter:"\\ea8c"}),i.symbolBoolean=new i("symbol-boolean",{fontCharacter:"\\ea8f"}),i.symbolNull=new i("symbol-null",{fontCharacter:"\\ea8f"}),i.symbolNumeric=new i("symbol-numeric",{fontCharacter:"\\ea90"}),i.symbolNumber=new i("symbol-number",{fontCharacter:"\\ea90"}),i.symbolStructure=new i("symbol-structure",{fontCharacter:"\\ea91"}),i.symbolStruct=new i("symbol-struct",{fontCharacter:"\\ea91"}),i.symbolParameter=new i("symbol-parameter",{fontCharacter:"\\ea92"}),i.symbolTypeParameter=new i("symbol-type-parameter",{fontCharacter:"\\ea92"}),i.symbolKey=new i("symbol-key",{fontCharacter:"\\ea93"}),i.symbolText=new i("symbol-text",{fontCharacter:"\\ea93"}),i.symbolReference=new i("symbol-reference",{fontCharacter:"\\ea94"}),i.goToFile=new i("go-to-file",{fontCharacter:"\\ea94"}),i.symbolEnum=new i("symbol-enum",{fontCharacter:"\\ea95"}),i.symbolValue=new i("symbol-value",{fontCharacter:"\\ea95"}),i.symbolRuler=new i("symbol-ruler",{fontCharacter:"\\ea96"}),i.symbolUnit=new i("symbol-unit",{fontCharacter:"\\ea96"}),i.activateBreakpoints=new i("activate-breakpoints",{fontCharacter:"\\ea97"}),i.archive=new i("archive",{fontCharacter:"\\ea98"}),i.arrowBoth=new i("arrow-both",{fontCharacter:"\\ea99"}),i.arrowDown=new i("arrow-down",{fontCharacter:"\\ea9a"}),i.arrowLeft=new i("arrow-left",{fontCharacter:"\\ea9b"}),i.arrowRight=new i("arrow-right",{fontCharacter:"\\ea9c"}),i.arrowSmallDown=new i("arrow-small-down",{fontCharacter:"\\ea9d"}),i.arrowSmallLeft=new i("arrow-small-left",{fontCharacter:"\\ea9e"}),i.arrowSmallRight=new i("arrow-small-right",{fontCharacter:"\\ea9f"}),i.arrowSmallUp=new i("arrow-small-up",{fontCharacter:"\\eaa0"}),i.arrowUp=new i("arrow-up",{fontCharacter:"\\eaa1"}),i.bell=new i("bell",{fontCharacter:"\\eaa2"}),i.bold=new i("bold",{fontCharacter:"\\eaa3"}),i.book=new i("book",{fontCharacter:"\\eaa4"}),i.bookmark=new i("bookmark",{fontCharacter:"\\eaa5"}),i.debugBreakpointConditionalUnverified=new i("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),i.debugBreakpointConditional=new i("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),i.debugBreakpointConditionalDisabled=new i("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),i.debugBreakpointDataUnverified=new i("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),i.debugBreakpointData=new i("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),i.debugBreakpointDataDisabled=new i("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),i.debugBreakpointLogUnverified=new i("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),i.debugBreakpointLog=new i("debug-breakpoint-log",{fontCharacter:"\\eaab"}),i.debugBreakpointLogDisabled=new i("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),i.briefcase=new i("briefcase",{fontCharacter:"\\eaac"}),i.broadcast=new i("broadcast",{fontCharacter:"\\eaad"}),i.browser=new i("browser",{fontCharacter:"\\eaae"}),i.bug=new i("bug",{fontCharacter:"\\eaaf"}),i.calendar=new i("calendar",{fontCharacter:"\\eab0"}),i.caseSensitive=new i("case-sensitive",{fontCharacter:"\\eab1"}),i.check=new i("check",{fontCharacter:"\\eab2"}),i.checklist=new i("checklist",{fontCharacter:"\\eab3"}),i.chevronDown=new i("chevron-down",{fontCharacter:"\\eab4"}),i.chevronLeft=new i("chevron-left",{fontCharacter:"\\eab5"}),i.chevronRight=new i("chevron-right",{fontCharacter:"\\eab6"}),i.chevronUp=new i("chevron-up",{fontCharacter:"\\eab7"}),i.chromeClose=new i("chrome-close",{fontCharacter:"\\eab8"}),i.chromeMaximize=new i("chrome-maximize",{fontCharacter:"\\eab9"}),i.chromeMinimize=new i("chrome-minimize",{fontCharacter:"\\eaba"}),i.chromeRestore=new i("chrome-restore",{fontCharacter:"\\eabb"}),i.circleOutline=new i("circle-outline",{fontCharacter:"\\eabc"}),i.debugBreakpointUnverified=new i("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),i.circleSlash=new i("circle-slash",{fontCharacter:"\\eabd"}),i.circuitBoard=new i("circuit-board",{fontCharacter:"\\eabe"}),i.clearAll=new i("clear-all",{fontCharacter:"\\eabf"}),i.clippy=new i("clippy",{fontCharacter:"\\eac0"}),i.closeAll=new i("close-all",{fontCharacter:"\\eac1"}),i.cloudDownload=new i("cloud-download",{fontCharacter:"\\eac2"}),i.cloudUpload=new i("cloud-upload",{fontCharacter:"\\eac3"}),i.code=new i("code",{fontCharacter:"\\eac4"}),i.collapseAll=new i("collapse-all",{fontCharacter:"\\eac5"}),i.colorMode=new i("color-mode",{fontCharacter:"\\eac6"}),i.commentDiscussion=new i("comment-discussion",{fontCharacter:"\\eac7"}),i.compareChanges=new i("compare-changes",{fontCharacter:"\\eafd"}),i.creditCard=new i("credit-card",{fontCharacter:"\\eac9"}),i.dash=new i("dash",{fontCharacter:"\\eacc"}),i.dashboard=new i("dashboard",{fontCharacter:"\\eacd"}),i.database=new i("database",{fontCharacter:"\\eace"}),i.debugContinue=new i("debug-continue",{fontCharacter:"\\eacf"}),i.debugDisconnect=new i("debug-disconnect",{fontCharacter:"\\ead0"}),i.debugPause=new i("debug-pause",{fontCharacter:"\\ead1"}),i.debugRestart=new i("debug-restart",{fontCharacter:"\\ead2"}),i.debugStart=new i("debug-start",{fontCharacter:"\\ead3"}),i.debugStepInto=new i("debug-step-into",{fontCharacter:"\\ead4"}),i.debugStepOut=new i("debug-step-out",{fontCharacter:"\\ead5"}),i.debugStepOver=new i("debug-step-over",{fontCharacter:"\\ead6"}),i.debugStop=new i("debug-stop",{fontCharacter:"\\ead7"}),i.debug=new i("debug",{fontCharacter:"\\ead8"}),i.deviceCameraVideo=new i("device-camera-video",{fontCharacter:"\\ead9"}),i.deviceCamera=new i("device-camera",{fontCharacter:"\\eada"}),i.deviceMobile=new i("device-mobile",{fontCharacter:"\\eadb"}),i.diffAdded=new i("diff-added",{fontCharacter:"\\eadc"}),i.diffIgnored=new i("diff-ignored",{fontCharacter:"\\eadd"}),i.diffModified=new i("diff-modified",{fontCharacter:"\\eade"}),i.diffRemoved=new i("diff-removed",{fontCharacter:"\\eadf"}),i.diffRenamed=new i("diff-renamed",{fontCharacter:"\\eae0"}),i.diff=new i("diff",{fontCharacter:"\\eae1"}),i.discard=new i("discard",{fontCharacter:"\\eae2"}),i.editorLayout=new i("editor-layout",{fontCharacter:"\\eae3"}),i.emptyWindow=new i("empty-window",{fontCharacter:"\\eae4"}),i.exclude=new i("exclude",{fontCharacter:"\\eae5"}),i.extensions=new i("extensions",{fontCharacter:"\\eae6"}),i.eyeClosed=new i("eye-closed",{fontCharacter:"\\eae7"}),i.fileBinary=new i("file-binary",{fontCharacter:"\\eae8"}),i.fileCode=new i("file-code",{fontCharacter:"\\eae9"}),i.fileMedia=new i("file-media",{fontCharacter:"\\eaea"}),i.filePdf=new i("file-pdf",{fontCharacter:"\\eaeb"}),i.fileSubmodule=new i("file-submodule",{fontCharacter:"\\eaec"}),i.fileSymlinkDirectory=new i("file-symlink-directory",{fontCharacter:"\\eaed"}),i.fileSymlinkFile=new i("file-symlink-file",{fontCharacter:"\\eaee"}),i.fileZip=new i("file-zip",{fontCharacter:"\\eaef"}),i.files=new i("files",{fontCharacter:"\\eaf0"}),i.filter=new i("filter",{fontCharacter:"\\eaf1"}),i.flame=new i("flame",{fontCharacter:"\\eaf2"}),i.foldDown=new i("fold-down",{fontCharacter:"\\eaf3"}),i.foldUp=new i("fold-up",{fontCharacter:"\\eaf4"}),i.fold=new i("fold",{fontCharacter:"\\eaf5"}),i.folderActive=new i("folder-active",{fontCharacter:"\\eaf6"}),i.folderOpened=new i("folder-opened",{fontCharacter:"\\eaf7"}),i.gear=new i("gear",{fontCharacter:"\\eaf8"}),i.gift=new i("gift",{fontCharacter:"\\eaf9"}),i.gistSecret=new i("gist-secret",{fontCharacter:"\\eafa"}),i.gist=new i("gist",{fontCharacter:"\\eafb"}),i.gitCommit=new i("git-commit",{fontCharacter:"\\eafc"}),i.gitCompare=new i("git-compare",{fontCharacter:"\\eafd"}),i.gitMerge=new i("git-merge",{fontCharacter:"\\eafe"}),i.githubAction=new i("github-action",{fontCharacter:"\\eaff"}),i.githubAlt=new i("github-alt",{fontCharacter:"\\eb00"}),i.globe=new i("globe",{fontCharacter:"\\eb01"}),i.grabber=new i("grabber",{fontCharacter:"\\eb02"}),i.graph=new i("graph",{fontCharacter:"\\eb03"}),i.gripper=new i("gripper",{fontCharacter:"\\eb04"}),i.heart=new i("heart",{fontCharacter:"\\eb05"}),i.home=new i("home",{fontCharacter:"\\eb06"}),i.horizontalRule=new i("horizontal-rule",{fontCharacter:"\\eb07"}),i.hubot=new i("hubot",{fontCharacter:"\\eb08"}),i.inbox=new i("inbox",{fontCharacter:"\\eb09"}),i.issueClosed=new i("issue-closed",{fontCharacter:"\\eba4"}),i.issueReopened=new i("issue-reopened",{fontCharacter:"\\eb0b"}),i.issues=new i("issues",{fontCharacter:"\\eb0c"}),i.italic=new i("italic",{fontCharacter:"\\eb0d"}),i.jersey=new i("jersey",{fontCharacter:"\\eb0e"}),i.json=new i("json",{fontCharacter:"\\eb0f"}),i.kebabVertical=new i("kebab-vertical",{fontCharacter:"\\eb10"}),i.key=new i("key",{fontCharacter:"\\eb11"}),i.law=new i("law",{fontCharacter:"\\eb12"}),i.lightbulbAutofix=new i("lightbulb-autofix",{fontCharacter:"\\eb13"}),i.linkExternal=new i("link-external",{fontCharacter:"\\eb14"}),i.link=new i("link",{fontCharacter:"\\eb15"}),i.listOrdered=new i("list-ordered",{fontCharacter:"\\eb16"}),i.listUnordered=new i("list-unordered",{fontCharacter:"\\eb17"}),i.liveShare=new i("live-share",{fontCharacter:"\\eb18"}),i.loading=new i("loading",{fontCharacter:"\\eb19"}),i.location=new i("location",{fontCharacter:"\\eb1a"}),i.mailRead=new i("mail-read",{fontCharacter:"\\eb1b"}),i.mail=new i("mail",{fontCharacter:"\\eb1c"}),i.markdown=new i("markdown",{fontCharacter:"\\eb1d"}),i.megaphone=new i("megaphone",{fontCharacter:"\\eb1e"}),i.mention=new i("mention",{fontCharacter:"\\eb1f"}),i.milestone=new i("milestone",{fontCharacter:"\\eb20"}),i.mortarBoard=new i("mortar-board",{fontCharacter:"\\eb21"}),i.move=new i("move",{fontCharacter:"\\eb22"}),i.multipleWindows=new i("multiple-windows",{fontCharacter:"\\eb23"}),i.mute=new i("mute",{fontCharacter:"\\eb24"}),i.noNewline=new i("no-newline",{fontCharacter:"\\eb25"}),i.note=new i("note",{fontCharacter:"\\eb26"}),i.octoface=new i("octoface",{fontCharacter:"\\eb27"}),i.openPreview=new i("open-preview",{fontCharacter:"\\eb28"}),i.package_=new i("package",{fontCharacter:"\\eb29"}),i.paintcan=new i("paintcan",{fontCharacter:"\\eb2a"}),i.pin=new i("pin",{fontCharacter:"\\eb2b"}),i.play=new i("play",{fontCharacter:"\\eb2c"}),i.run=new i("run",{fontCharacter:"\\eb2c"}),i.plug=new i("plug",{fontCharacter:"\\eb2d"}),i.preserveCase=new i("preserve-case",{fontCharacter:"\\eb2e"}),i.preview=new i("preview",{fontCharacter:"\\eb2f"}),i.project=new i("project",{fontCharacter:"\\eb30"}),i.pulse=new i("pulse",{fontCharacter:"\\eb31"}),i.question=new i("question",{fontCharacter:"\\eb32"}),i.quote=new i("quote",{fontCharacter:"\\eb33"}),i.radioTower=new i("radio-tower",{fontCharacter:"\\eb34"}),i.reactions=new i("reactions",{fontCharacter:"\\eb35"}),i.references=new i("references",{fontCharacter:"\\eb36"}),i.refresh=new i("refresh",{fontCharacter:"\\eb37"}),i.regex=new i("regex",{fontCharacter:"\\eb38"}),i.remoteExplorer=new i("remote-explorer",{fontCharacter:"\\eb39"}),i.remote=new i("remote",{fontCharacter:"\\eb3a"}),i.remove=new i("remove",{fontCharacter:"\\eb3b"}),i.replaceAll=new i("replace-all",{fontCharacter:"\\eb3c"}),i.replace=new i("replace",{fontCharacter:"\\eb3d"}),i.repoClone=new i("repo-clone",{fontCharacter:"\\eb3e"}),i.repoForcePush=new i("repo-force-push",{fontCharacter:"\\eb3f"}),i.repoPull=new i("repo-pull",{fontCharacter:"\\eb40"}),i.repoPush=new i("repo-push",{fontCharacter:"\\eb41"}),i.report=new i("report",{fontCharacter:"\\eb42"}),i.requestChanges=new i("request-changes",{fontCharacter:"\\eb43"}),i.rocket=new i("rocket",{fontCharacter:"\\eb44"}),i.rootFolderOpened=new i("root-folder-opened",{fontCharacter:"\\eb45"}),i.rootFolder=new i("root-folder",{fontCharacter:"\\eb46"}),i.rss=new i("rss",{fontCharacter:"\\eb47"}),i.ruby=new i("ruby",{fontCharacter:"\\eb48"}),i.saveAll=new i("save-all",{fontCharacter:"\\eb49"}),i.saveAs=new i("save-as",{fontCharacter:"\\eb4a"}),i.save=new i("save",{fontCharacter:"\\eb4b"}),i.screenFull=new i("screen-full",{fontCharacter:"\\eb4c"}),i.screenNormal=new i("screen-normal",{fontCharacter:"\\eb4d"}),i.searchStop=new i("search-stop",{fontCharacter:"\\eb4e"}),i.server=new i("server",{fontCharacter:"\\eb50"}),i.settingsGear=new i("settings-gear",{fontCharacter:"\\eb51"}),i.settings=new i("settings",{fontCharacter:"\\eb52"}),i.shield=new i("shield",{fontCharacter:"\\eb53"}),i.smiley=new i("smiley",{fontCharacter:"\\eb54"}),i.sortPrecedence=new i("sort-precedence",{fontCharacter:"\\eb55"}),i.splitHorizontal=new i("split-horizontal",{fontCharacter:"\\eb56"}),i.splitVertical=new i("split-vertical",{fontCharacter:"\\eb57"}),i.squirrel=new i("squirrel",{fontCharacter:"\\eb58"}),i.starFull=new i("star-full",{fontCharacter:"\\eb59"}),i.starHalf=new i("star-half",{fontCharacter:"\\eb5a"}),i.symbolClass=new i("symbol-class",{fontCharacter:"\\eb5b"}),i.symbolColor=new i("symbol-color",{fontCharacter:"\\eb5c"}),i.symbolConstant=new i("symbol-constant",{fontCharacter:"\\eb5d"}),i.symbolEnumMember=new i("symbol-enum-member",{fontCharacter:"\\eb5e"}),i.symbolField=new i("symbol-field",{fontCharacter:"\\eb5f"}),i.symbolFile=new i("symbol-file",{fontCharacter:"\\eb60"}),i.symbolInterface=new i("symbol-interface",{fontCharacter:"\\eb61"}),i.symbolKeyword=new i("symbol-keyword",{fontCharacter:"\\eb62"}),i.symbolMisc=new i("symbol-misc",{fontCharacter:"\\eb63"}),i.symbolOperator=new i("symbol-operator",{fontCharacter:"\\eb64"}),i.symbolProperty=new i("symbol-property",{fontCharacter:"\\eb65"}),i.wrench=new i("wrench",{fontCharacter:"\\eb65"}),i.wrenchSubaction=new i("wrench-subaction",{fontCharacter:"\\eb65"}),i.symbolSnippet=new i("symbol-snippet",{fontCharacter:"\\eb66"}),i.tasklist=new i("tasklist",{fontCharacter:"\\eb67"}),i.telescope=new i("telescope",{fontCharacter:"\\eb68"}),i.textSize=new i("text-size",{fontCharacter:"\\eb69"}),i.threeBars=new i("three-bars",{fontCharacter:"\\eb6a"}),i.thumbsdown=new i("thumbsdown",{fontCharacter:"\\eb6b"}),i.thumbsup=new i("thumbsup",{fontCharacter:"\\eb6c"}),i.tools=new i("tools",{fontCharacter:"\\eb6d"}),i.triangleDown=new i("triangle-down",{fontCharacter:"\\eb6e"}),i.triangleLeft=new i("triangle-left",{fontCharacter:"\\eb6f"}),i.triangleRight=new i("triangle-right",{fontCharacter:"\\eb70"}),i.triangleUp=new i("triangle-up",{fontCharacter:"\\eb71"}),i.twitter=new i("twitter",{fontCharacter:"\\eb72"}),i.unfold=new i("unfold",{fontCharacter:"\\eb73"}),i.unlock=new i("unlock",{fontCharacter:"\\eb74"}),i.unmute=new i("unmute",{fontCharacter:"\\eb75"}),i.unverified=new i("unverified",{fontCharacter:"\\eb76"}),i.verified=new i("verified",{fontCharacter:"\\eb77"}),i.versions=new i("versions",{fontCharacter:"\\eb78"}),i.vmActive=new i("vm-active",{fontCharacter:"\\eb79"}),i.vmOutline=new i("vm-outline",{fontCharacter:"\\eb7a"}),i.vmRunning=new i("vm-running",{fontCharacter:"\\eb7b"}),i.watch=new i("watch",{fontCharacter:"\\eb7c"}),i.whitespace=new i("whitespace",{fontCharacter:"\\eb7d"}),i.wholeWord=new i("whole-word",{fontCharacter:"\\eb7e"}),i.window=new i("window",{fontCharacter:"\\eb7f"}),i.wordWrap=new i("word-wrap",{fontCharacter:"\\eb80"}),i.zoomIn=new i("zoom-in",{fontCharacter:"\\eb81"}),i.zoomOut=new i("zoom-out",{fontCharacter:"\\eb82"}),i.listFilter=new i("list-filter",{fontCharacter:"\\eb83"}),i.listFlat=new i("list-flat",{fontCharacter:"\\eb84"}),i.listSelection=new i("list-selection",{fontCharacter:"\\eb85"}),i.selection=new i("selection",{fontCharacter:"\\eb85"}),i.listTree=new i("list-tree",{fontCharacter:"\\eb86"}),i.debugBreakpointFunctionUnverified=new i("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),i.debugBreakpointFunction=new i("debug-breakpoint-function",{fontCharacter:"\\eb88"}),i.debugBreakpointFunctionDisabled=new i("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),i.debugStackframeActive=new i("debug-stackframe-active",{fontCharacter:"\\eb89"}),i.debugStackframeDot=new i("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),i.debugStackframe=new i("debug-stackframe",{fontCharacter:"\\eb8b"}),i.debugStackframeFocused=new i("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),i.debugBreakpointUnsupported=new i("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),i.symbolString=new i("symbol-string",{fontCharacter:"\\eb8d"}),i.debugReverseContinue=new i("debug-reverse-continue",{fontCharacter:"\\eb8e"}),i.debugStepBack=new i("debug-step-back",{fontCharacter:"\\eb8f"}),i.debugRestartFrame=new i("debug-restart-frame",{fontCharacter:"\\eb90"}),i.callIncoming=new i("call-incoming",{fontCharacter:"\\eb92"}),i.callOutgoing=new i("call-outgoing",{fontCharacter:"\\eb93"}),i.menu=new i("menu",{fontCharacter:"\\eb94"}),i.expandAll=new i("expand-all",{fontCharacter:"\\eb95"}),i.feedback=new i("feedback",{fontCharacter:"\\eb96"}),i.groupByRefType=new i("group-by-ref-type",{fontCharacter:"\\eb97"}),i.ungroupByRefType=new i("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),i.account=new i("account",{fontCharacter:"\\eb99"}),i.bellDot=new i("bell-dot",{fontCharacter:"\\eb9a"}),i.debugConsole=new i("debug-console",{fontCharacter:"\\eb9b"}),i.library=new i("library",{fontCharacter:"\\eb9c"}),i.output=new i("output",{fontCharacter:"\\eb9d"}),i.runAll=new i("run-all",{fontCharacter:"\\eb9e"}),i.syncIgnored=new i("sync-ignored",{fontCharacter:"\\eb9f"}),i.pinned=new i("pinned",{fontCharacter:"\\eba0"}),i.githubInverted=new i("github-inverted",{fontCharacter:"\\eba1"}),i.debugAlt=new i("debug-alt",{fontCharacter:"\\eb91"}),i.serverProcess=new i("server-process",{fontCharacter:"\\eba2"}),i.serverEnvironment=new i("server-environment",{fontCharacter:"\\eba3"}),i.pass=new i("pass",{fontCharacter:"\\eba4"}),i.stopCircle=new i("stop-circle",{fontCharacter:"\\eba5"}),i.playCircle=new i("play-circle",{fontCharacter:"\\eba6"}),i.record=new i("record",{fontCharacter:"\\eba7"}),i.debugAltSmall=new i("debug-alt-small",{fontCharacter:"\\eba8"}),i.vmConnect=new i("vm-connect",{fontCharacter:"\\eba9"}),i.cloud=new i("cloud",{fontCharacter:"\\ebaa"}),i.merge=new i("merge",{fontCharacter:"\\ebab"}),i.exportIcon=new i("export",{fontCharacter:"\\ebac"}),i.graphLeft=new i("graph-left",{fontCharacter:"\\ebad"}),i.magnet=new i("magnet",{fontCharacter:"\\ebae"}),i.notebook=new i("notebook",{fontCharacter:"\\ebaf"}),i.redo=new i("redo",{fontCharacter:"\\ebb0"}),i.checkAll=new i("check-all",{fontCharacter:"\\ebb1"}),i.pinnedDirty=new i("pinned-dirty",{fontCharacter:"\\ebb2"}),i.passFilled=new i("pass-filled",{fontCharacter:"\\ebb3"}),i.circleLargeFilled=new i("circle-large-filled",{fontCharacter:"\\ebb4"}),i.circleLargeOutline=new i("circle-large-outline",{fontCharacter:"\\ebb5"}),i.combine=new i("combine",{fontCharacter:"\\ebb6"}),i.gather=new i("gather",{fontCharacter:"\\ebb6"}),i.table=new i("table",{fontCharacter:"\\ebb7"}),i.variableGroup=new i("variable-group",{fontCharacter:"\\ebb8"}),i.typeHierarchy=new i("type-hierarchy",{fontCharacter:"\\ebb9"}),i.typeHierarchySub=new i("type-hierarchy-sub",{fontCharacter:"\\ebba"}),i.typeHierarchySuper=new i("type-hierarchy-super",{fontCharacter:"\\ebbb"}),i.gitPullRequestCreate=new i("git-pull-request-create",{fontCharacter:"\\ebbc"}),i.runAbove=new i("run-above",{fontCharacter:"\\ebbd"}),i.runBelow=new i("run-below",{fontCharacter:"\\ebbe"}),i.notebookTemplate=new i("notebook-template",{fontCharacter:"\\ebbf"}),i.debugRerun=new i("debug-rerun",{fontCharacter:"\\ebc0"}),i.workspaceTrusted=new i("workspace-trusted",{fontCharacter:"\\ebc1"}),i.workspaceUntrusted=new i("workspace-untrusted",{fontCharacter:"\\ebc2"}),i.workspaceUnspecified=new i("workspace-unspecified",{fontCharacter:"\\ebc3"}),i.terminalCmd=new i("terminal-cmd",{fontCharacter:"\\ebc4"}),i.terminalDebian=new i("terminal-debian",{fontCharacter:"\\ebc5"}),i.terminalLinux=new i("terminal-linux",{fontCharacter:"\\ebc6"}),i.terminalPowershell=new i("terminal-powershell",{fontCharacter:"\\ebc7"}),i.terminalTmux=new i("terminal-tmux",{fontCharacter:"\\ebc8"}),i.terminalUbuntu=new i("terminal-ubuntu",{fontCharacter:"\\ebc9"}),i.terminalBash=new i("terminal-bash",{fontCharacter:"\\ebca"}),i.arrowSwap=new i("arrow-swap",{fontCharacter:"\\ebcb"}),i.copy=new i("copy",{fontCharacter:"\\ebcc"}),i.personAdd=new i("person-add",{fontCharacter:"\\ebcd"}),i.filterFilled=new i("filter-filled",{fontCharacter:"\\ebce"}),i.wand=new i("wand",{fontCharacter:"\\ebcf"}),i.debugLineByLine=new i("debug-line-by-line",{fontCharacter:"\\ebd0"}),i.inspect=new i("inspect",{fontCharacter:"\\ebd1"}),i.layers=new i("layers",{fontCharacter:"\\ebd2"}),i.layersDot=new i("layers-dot",{fontCharacter:"\\ebd3"}),i.layersActive=new i("layers-active",{fontCharacter:"\\ebd4"}),i.compass=new i("compass",{fontCharacter:"\\ebd5"}),i.compassDot=new i("compass-dot",{fontCharacter:"\\ebd6"}),i.compassActive=new i("compass-active",{fontCharacter:"\\ebd7"}),i.azure=new i("azure",{fontCharacter:"\\ebd8"}),i.issueDraft=new i("issue-draft",{fontCharacter:"\\ebd9"}),i.gitPullRequestClosed=new i("git-pull-request-closed",{fontCharacter:"\\ebda"}),i.gitPullRequestDraft=new i("git-pull-request-draft",{fontCharacter:"\\ebdb"}),i.debugAll=new i("debug-all",{fontCharacter:"\\ebdc"}),i.debugCoverage=new i("debug-coverage",{fontCharacter:"\\ebdd"}),i.runErrors=new i("run-errors",{fontCharacter:"\\ebde"}),i.folderLibrary=new i("folder-library",{fontCharacter:"\\ebdf"}),i.dropDownButton=new i("drop-down-button",i.chevronDown.definition)},"56dc":function(e,t,i){},"56f3":function(e,t,i){},5717:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("codeEditorService")},"580d":function(e,t,i){"use strict";function n(e,t){let i=0;for(let n=0;nt!==e&&(t instanceof c.d&&(o=Object(s.x)(Object(s.Q)(t.value).pop())),!0));const r=Object(s.d)(o,i);n=n.replace(/(\r\n|\r|\n)(.*)/g,(e,t,i)=>""+t+o.substr(r)+i)}return n}}}class x{constructor(e,t){this._labelService=e,this._model=t}resolve(e){const t=e["name"];if("TM_FILENAME"===t)return g.a(this._model.uri.fsPath);if("TM_FILENAME_BASE"!==t)return"TM_DIRECTORY"===t&&this._labelService?"."===g.b(this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(p.d)(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):"RELATIVE_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri,{relative:!0,noPrefix:!0}):void 0;{const t=g.a(this._model.uri.fsPath);return e=t.lastIndexOf("."),e<=0?t:t.slice(0,e)}}}class k{constructor(e,t,i,n){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=i,this._spread=n}resolve(e){if("CLIPBOARD"===e.name){const t=this._readClipboardText();if(t)return this._spread&&(e=t.split(/\r\n|\n|\r/).filter(e=>!Object(s.C)(e)),e.length===this._selectionCount)?e[this._selectionIdx]:t}}}class D{constructor(e,t){this._model=e,this._selection=t}resolve(e){e=e["name"];var t=this._model.getLanguageIdAtPosition(this._selection.selectionStartLineNumber,this._selection.selectionStartColumn);t=m.a.getComments(t);if(t)return"LINE_COMMENT"===e?t.lineCommentToken||void 0:"BLOCK_COMMENT_START"===e?t.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===e&&t.blockCommentEndToken||void 0}}class N{constructor(){this._date=new Date}resolve(e){return e=e.name,"CURRENT_YEAR"===e?String(this._date.getFullYear()):"CURRENT_YEAR_SHORT"===e?String(this._date.getFullYear()).slice(-2):"CURRENT_MONTH"===e?String(this._date.getMonth().valueOf()+1).padStart(2,"0"):"CURRENT_DATE"===e?String(this._date.getDate().valueOf()).padStart(2,"0"):"CURRENT_HOUR"===e?String(this._date.getHours().valueOf()).padStart(2,"0"):"CURRENT_MINUTE"===e?String(this._date.getMinutes().valueOf()).padStart(2,"0"):"CURRENT_SECOND"===e?String(this._date.getSeconds().valueOf()).padStart(2,"0"):"CURRENT_DAY_NAME"===e?N.dayNames[this._date.getDay()]:"CURRENT_DAY_NAME_SHORT"===e?N.dayNamesShort[this._date.getDay()]:"CURRENT_MONTH_NAME"===e?N.monthNames[this._date.getMonth()]:"CURRENT_MONTH_NAME_SHORT"===e?N.monthNamesShort[this._date.getMonth()]:"CURRENT_SECONDS_UNIX"===e?String(Math.floor(this._date.getTime()/1e3)):void 0}}N.dayNames=[u.a("Sunday","Sunday"),u.a("Monday","Monday"),u.a("Tuesday","Tuesday"),u.a("Wednesday","Wednesday"),u.a("Thursday","Thursday"),u.a("Friday","Friday"),u.a("Saturday","Saturday")],N.dayNamesShort=[u.a("SundayShort","Sun"),u.a("MondayShort","Mon"),u.a("TuesdayShort","Tue"),u.a("WednesdayShort","Wed"),u.a("ThursdayShort","Thu"),u.a("FridayShort","Fri"),u.a("SaturdayShort","Sat")],N.monthNames=[u.a("January","January"),u.a("February","February"),u.a("March","March"),u.a("April","April"),u.a("May","May"),u.a("June","June"),u.a("July","July"),u.a("August","August"),u.a("September","September"),u.a("October","October"),u.a("November","November"),u.a("December","December")],N.monthNamesShort=[u.a("JanuaryShort","Jan"),u.a("FebruaryShort","Feb"),u.a("MarchShort","Mar"),u.a("AprilShort","Apr"),u.a("MayShort","May"),u.a("JuneShort","Jun"),u.a("JulyShort","Jul"),u.a("AugustShort","Aug"),u.a("SeptemberShort","Sep"),u.a("OctoberShort","Oct"),u.a("NovemberShort","Nov"),u.a("DecemberShort","Dec")];class O{constructor(e){this._workspaceService=e}resolve(e){if(this._workspaceService){var t=(t=this._workspaceService.getWorkspace()).configuration?{id:t.id,configPath:t.configuration}:1===t.folders.length?{id:t.id,uri:t.folders[0].uri}:void 0;if(t)return"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0}}_resolveWorkspaceName(e){if(b(e))return g.a(e.uri.path);let t=g.a(e.configPath.path);return t.endsWith(_)?t.substr(0,t.length-_.length-1):t}_resoveWorkspacePath(e){if(b(e))return Object(v.b)(e.uri.fsPath);var t=g.a(e.configPath.path);let i=e.configPath.fsPath;return(i=i.endsWith(t)?i.substr(0,i.length-t.length-1):i)?Object(v.b)(i):"/"}}class E{resolve(e){var t;e=e["name"];return"RANDOM"===e?Math.random().toString().slice(-6):"RANDOM_HEX"===e?Math.random().toString(16).slice(-6):"UUID"===e?(y(C),C[6]=15&C[6]|64,C[8]=63&C[8]|128,e=0,t="",(t+=w[C[e++]])+w[C[e++]]+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+"-"+w[C[e++]]+w[C[e++]]+w[C[e++]]+w[C[e++]]+w[C[+e]]+w[C[15]]):void 0}}u=i("b7d0");var I=i("303e"),M=i("47cb");Object(u.f)((e,t)=>{function i(t){const i=e.getColor(t);return i?i.toString():"transparent"}t.addRule(`.monaco-editor .snippet-placeholder { background-color: ${i(I.Ec)}; outline-color: ${i(I.Fc)}; }`),t.addRule(`.monaco-editor .finish-snippet-placeholder { background-color: ${i(I.Cc)}; outline-color: ${i(I.Dc)}; }`)});class T{constructor(e,t,i,o){this._editor=e,this._snippet=t,this._offset=i,this._snippetLineLeadingWhitespace=o,this._nestingLevel=1,this._placeholderGroups=Object(n.l)(t.placeholders,c.b.compareByIndex),this._placeholderGroupsIdx=-1}dispose(){this._placeholderDecorations&&this._editor.deltaDecorations([...this._placeholderDecorations.values()],[]),this._placeholderGroups.length=0}_initDecorations(){if(!this._placeholderDecorations){this._placeholderDecorations=new Map;const e=this._editor.getModel();this._editor.changeDecorations(t=>{for(const o of this._snippet.placeholders){var i=this._snippet.offset(o),n=this._snippet.fullLen(o);i=a.a.fromPositions(e.getPositionAt(this._offset+i),e.getPositionAt(this._offset+i+n)),n=o.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive,i=t.addDecoration(i,n);this._placeholderDecorations.set(o,i)}})}}move(e){if(!this._editor.hasModel())return[];if(this._initDecorations(),0<=this._placeholderGroupsIdx){let e=[];for(const n of this._placeholderGroups[this._placeholderGroupsIdx])if(n.transform){var t=this._placeholderDecorations.get(n),i=(t=this._editor.getModel().getDecorationRange(t),this._editor.getModel().getValueInRange(t));const o=n.transform.resolve(i).split(/\r\n|\r|\n/);for(let e=1;e{const t=new Set,i=[];for(const h of this._placeholderGroups[this._placeholderGroupsIdx]){var o=this._placeholderDecorations.get(h),s=this._editor.getModel().getDecorationRange(o);i.push(new l.a(s.startLineNumber,s.startColumn,s.endLineNumber,s.endColumn)),n=n&&this._hasPlaceholderBeenCollapsed(h),e.changeDecorationOptions(o,h.isFinalTabstop?T._decor.activeFinal:T._decor.active),t.add(h);for(const i of this._snippet.enclosingPlaceholders(h)){var r=this._placeholderDecorations.get(i);e.changeDecorationOptions(r,i.isFinalTabstop?T._decor.activeFinal:T._decor.active),t.add(i)}}for(var[a,d]of this._placeholderDecorations)t.has(a)||e.changeDecorationOptions(d,a.isFinalTabstop?T._decor.inactiveFinal:T._decor.inactive);return i});return n?this.move(e):null!=o?o:[]}_hasPlaceholderBeenCollapsed(e){let t=e;for(;t;){if(t instanceof c.b){var i=this._placeholderDecorations.get(t);const e=this._editor.getModel().getDecorationRange(i);if(e.isEmpty()&&0{for(const n of this._placeholderGroups[this._placeholderGroupsIdx]){const d=e.shift();var o=d._snippet.placeholderInfo.last.index;for(const e of d._snippet.placeholderInfo.all)e.isFinalTabstop?e.index=n.index+(o+1)/this._nestingLevel:e.index=n.index+e.index/this._nestingLevel;this._snippet.replace(n,d._snippet.children);var s=this._placeholderDecorations.get(n);i.removeDecoration(s),this._placeholderDecorations.delete(n);for(const e of d._snippet.placeholders){var r=d._snippet.offset(e),l=d._snippet.fullLen(e);r=a.a.fromPositions(t.getPositionAt(d._offset+r),t.getPositionAt(d._offset+r+l)),l=i.addDecoration(r,T._decor.inactive);this._placeholderDecorations.set(e,l)}}this._placeholderGroups=Object(n.l)(this._snippet.placeholders,c.b.compareByIndex)})}}T._decor={active:t.a.register({description:"snippet-placeholder-1",stickiness:0,className:"snippet-placeholder"}),inactive:t.a.register({description:"snippet-placeholder-2",stickiness:1,className:"snippet-placeholder"}),activeFinal:t.a.register({description:"snippet-placeholder-3",stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:t.a.register({description:"snippet-placeholder-4",stickiness:1,className:"finish-snippet-placeholder"})};const A={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0,overtypingCapturer:void 0};class R{constructor(e,t,i=A){this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=i}static adjustWhitespace(e,t,i,n,o){var r=e.getLineContent(t.lineNumber);const a=Object(s.x)(r,0,t.column-1);let l;return i.walk(t=>{if(t instanceof c.d&&!(t.parent instanceof c.a)){const s=t.value.split(/\r\n|\r|\n/);if(n){var o=i.offset(t);0===o?s[0]=e.normalizeIndentation(s[0]):10!==(o=(l=null!==l&&void 0!==l?l:i.toString()).charCodeAt(o-1))&&13!==o||(s[0]=e.normalizeIndentation(a+s[0]));for(let t=1;te.get(d.a,h.d)),f=e.invokeWithinContext(e=>new x(e.get(M.a,h.d),F)),_=()=>l;let B=0;var b,v,C=F.getValueInRange(R.adjustSelection(F,e.getSelection(),i,0)),w=F.getValueInRange(R.adjustSelection(F,e.getSelection(),0,n)),y=F.getLineFirstNonWhitespaceColumn(e.getSelection().positionLineNumber),I=e.getSelections().map((e,t)=>({selection:e,idx:t})).sort((e,t)=>a.a.compareRangesUsingStarts(e.selection,t.selection));for({selection:b,idx:v}of I){let a=R.adjustSelection(F,b,i,0),l=R.adjustSelection(F,b,0,n);C!==F.getValueInRange(a)&&(a=b),w!==F.getValueInRange(l)&&(l=b);const d=b.setStartPosition(a.startLineNumber,a.startColumn).setEndPosition(l.endLineNumber,l.endColumn),h=(new c.c).parse(t,!0,o);var A=d.getStartPosition(),P=R.adjustWhitespace(F,A,h,s||0 ")}"`}insert(){var e,t;this._editor.hasModel()&&(({edits:e,snippets:t}=R.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText,this._options.overtypingCapturer)),this._snippets=t,this._editor.executeEdits("snippet",e,e=>this._snippets[0].hasPlaceholder?this._move(!0):e.filter(e=>!!e.identifier).map(e=>l.a.fromPositions(e.range.getEndPosition()))),this._editor.revealRange(this._editor.getSelections()[0]))}merge(e,t=A){if(this._editor.hasModel()){this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,e]);const{edits:i,snippets:n}=R.createEditsAndSnippets(this._editor,e,t.overwriteBefore,t.overwriteAfter,!0,t.adjustWhitespace,t.clipboardText,t.overtypingCapturer);this._editor.executeEdits("snippet",i,e=>{for(const t of this._snippets)t.merge(n);return this._snippets[0].hasPlaceholder?this._move(void 0):e.filter(e=>!!e.identifier).map(e=>l.a.fromPositions(e.range.getEndPosition()))})}}next(){const e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}prev(){const e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())}_move(e){const t=[];for(const n of this._snippets){var i=n.move(e);t.push(...i)}return t}get isAtFirstPlaceholder(){return this._snippets[0].isAtFirstPlaceholder}get isAtLastPlaceholder(){return this._snippets[0].isAtLastPlaceholder}get hasPlaceholder(){return this._snippets[0].hasPlaceholder}get choice(){return this._snippets[0].choice}isSelectionWithinPlaceholders(){if(!this.hasPlaceholder)return!1;const e=this._editor.getSelections();if(e.length{e.push(...o.get(t))})}for(var[o,s]of(e.sort(a.a.compareRangesUsingStarts),t))if(s.length!==e.length)t.delete(o);else{s.sort(a.a.compareRangesUsingStarts);for(let i=0;ithis.cancelHasListener=!0})),this.onDidCancel=this._onDidCancel.event,this.cancelHasListener=!1,this._onDidRun=this._register(new a.b),this.onDidRun=this._onDidRun.event,this._onBeforeRun=this._register(new a.b),this.onBeforeRun=this._onBeforeRun.event,this.options=t,this._context=null!=(i=t.context)?i:null,this._orientation=null!=(i=this.options.orientation)?i:0,this._triggerKeys={keyDown:null!=(i=null==(i=this.options.triggerKeys)?void 0:i.keyDown)&&i,keys:null!=(i=null==(i=this.options.triggerKeys)?void 0:i.keys)?i:[3,10]},this.options.actionRunner?this._actionRunner=this.options.actionRunner:(this._actionRunner=new r.b,this._register(this._actionRunner)),this._register(this._actionRunner.onDidRun(e=>this._onDidRun.fire(e))),this._register(this._actionRunner.onBeforeRun(e=>this._onBeforeRun.fire(e))),this._actionIds=[],this.viewItems=[],this.focusedItem=void 0,this.domNode=document.createElement("div"),!(this.domNode.className="monaco-action-bar")!==t.animated&&this.domNode.classList.add("animated"),this._orientation){case 0:l=[15],d=[17];break;case 1:l=[16],d=[18],this.domNode.className+=" vertical"}this._register(n.i(this.domNode,n.d.KEY_DOWN,e=>{const t=new o.a(e);let i=!0;e="number"==typeof this.focusedItem?this.viewItems[this.focusedItem]:void 0,l&&(t.equals(l[0])||t.equals(l[1]))?i=this.focusPrevious():d&&(t.equals(d[0])||t.equals(d[1]))?i=this.focusNext():t.equals(9)&&this.cancelHasListener?this._onDidCancel.fire():t.equals(14)?i=this.focusFirst():t.equals(13)?i=this.focusLast():t.equals(2)&&e instanceof s.b&&e.trapsArrowNavigation?i=this.focusNext():this.isTriggerKeyEvent(t)?this._triggerKeys.keyDown?this.doTrigger(t):this.triggerKeyDown=!0:i=!1,i&&(t.preventDefault(),t.stopPropagation())})),this._register(n.i(this.domNode,n.d.KEY_UP,e=>{const t=new o.a(e);this.isTriggerKeyEvent(t)?(!this._triggerKeys.keyDown&&this.triggerKeyDown&&(this.triggerKeyDown=!1,this.doTrigger(t)),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&this.updateFocusedItem()})),this.focusTracker=this._register(n.Y(this.domNode)),this._register(this.focusTracker.onDidBlur(()=>{n.y()!==this.domNode&&n.L(n.y(),this.domNode)||(this._onDidBlur.fire(),this.focusedItem=void 0,this.triggerKeyDown=!1)})),this._register(this.focusTracker.onDidFocus(()=>this.updateFocusedItem())),this.actionsList=document.createElement("ul"),this.actionsList.className="actions-container",this.actionsList.setAttribute("role","toolbar"),this.options.ariaLabel&&this.actionsList.setAttribute("aria-label",this.options.ariaLabel),this.domNode.appendChild(this.actionsList),e.appendChild(this.domNode)}isTriggerKeyEvent(e){let t=!1;return this._triggerKeys.keys.forEach(i=>{t=t||e.equals(i)}),t}updateFocusedItem(){for(let t=0;tt.setActionContext(e))}get actionRunner(){return this._actionRunner}set actionRunner(e){e&&(this._actionRunner=e,this.viewItems.forEach(t=>t.actionRunner=e))}getContainer(){return this.domNode}push(e,t={}){const i=Array.isArray(e)?e:[e];let o=d.i(t.index)?t.index:null;i.forEach(e=>{const i=document.createElement("li");let r;i.className="action-item",i.setAttribute("role","presentation"),this.options.allowContextMenu||this._register(n.i(i,n.d.CONTEXT_MENU,e=>{n.c.stop(e,!0)})),(r=(r=this.options.actionViewItemProvider?this.options.actionViewItemProvider(e):r)||new s.a(this.context,e,t)).actionRunner=this._actionRunner,r.setActionContext(this.context),r.render(i),this.focusable&&r instanceof s.b&&0===this.viewItems.length&&r.setFocusable(!0),null===o||o<0||o>=this.actionsList.children.length?(this.actionsList.appendChild(i),this.viewItems.push(r),this._actionIds.push(e.id)):(this.actionsList.insertBefore(i,this.actionsList.children[o]),this.viewItems.splice(o,0,r),this._actionIds.splice(o,0,e.id),o++)}),"number"==typeof this.focusedItem&&this.focus(this.focusedItem)}clear(){Object(l.f)(this.viewItems),this.viewItems=[],this._actionIds=[],n.t(this.actionsList)}length(){return this.viewItems.length}focus(e){let t=!1,i=void 0;void 0===e?t=!0:"number"==typeof e?i=e:"boolean"==typeof e&&(t=e),t&&void 0===this.focusedItem?(e=this.viewItems.findIndex(e=>e.isEnabled()),this.focusedItem=-1===e?void 0:e):void 0!==i&&(this.focusedItem=i),this.updateFocus()}focusFirst(){return this.focusedItem=1=this.viewItems.length)return this.focusedItem=e,!1}while(this.focusedItem=(this.focusedItem+1)%this.viewItems.length,t=this.viewItems[this.focusedItem],this.focusedItem!==e&&this.options.focusOnlyEnabledItems&&!t.isEnabled());return this.updateFocus(),!0}focusPrevious(){if(void 0===this.focusedItem)this.focusedItem=0;else if(this.viewItems.length<=1)return!1;var e=this.focusedItem;let t;do{if(this.focusedItem=this.focusedItem-1,this.focusedItem<0){if(this.options.preventLoopNavigation)return this.focusedItem=e,!1;this.focusedItem=this.viewItems.length-1}}while(t=this.viewItems[this.focusedItem],this.focusedItem!==e&&this.options.focusOnlyEnabledItems&&!t.isEnabled());return this.updateFocus(!0),!0}updateFocus(e,t){void 0===this.focusedItem&&this.actionsList.focus({preventScroll:t});for(let i=0;iy(void 0,void 0,void 0,(function*(){var[i,n,o]=t;Object(C.c)(v.a.isUri(i)),Object(C.c)(m.a.isIPosition(n)),Object(C.c)("string"==typeof o||!o);const s=yield e.get(w.a).createModelReference(i);try{const e=yield L(s.object.textEditorModel,m.a.lift(n),{triggerKind:f.C.Invoke,isRetrigger:!1,triggerCharacter:o},_.a.None);if(e)return setTimeout(()=>e.dispose(),0),e.value}finally{s.dispose()}})));b=i("5bd7");var x,k=i("303e"),D=i("b7d0"),N=i("5fe7"),O=i("3170"),E=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))},I=x=x||{};I.Default={type:0},I.Pending=class{constructor(e,t){this.request=e,this.previouslyActiveHints=t,this.type=2}},I.Active=class{constructor(e){this.hints=e,this.type=1}};class M extends o.a{constructor(e,t=M.DEFAULT_DELAY){super(),this._onChangedHints=this._register(new c.b),this.onChangedHints=this._onChangedHints.event,this.triggerOnType=!1,this._state=x.Default,this._pendingTriggers=[],this._lastSignatureHelpResult=this._register(new o.d),this.triggerChars=new O.b,this.retriggerChars=new O.b,this.triggerId=0,this.editor=e,this.throttledDelayer=new N.a(t),this._register(this.editor.onDidBlurEditorWidget(()=>this.cancel())),this._register(this.editor.onDidChangeConfiguration(()=>this.onEditorConfigurationChange())),this._register(this.editor.onDidChangeModel(e=>this.onModelChanged())),this._register(this.editor.onDidChangeModelLanguage(e=>this.onModelChanged())),this._register(this.editor.onDidChangeCursorSelection(e=>this.onCursorChange(e))),this._register(this.editor.onDidChangeModelContent(e=>this.onModelContentChange())),this._register(f.B.onDidChange(this.onModelChanged,this)),this._register(this.editor.onDidType(e=>this.onDidType(e))),this.onEditorConfigurationChange(),this.onModelChanged()}get state(){return this._state}set state(e){2===this._state.type&&this._state.request.cancel(),this._state=e}cancel(e=!1){this.state=x.Default,this.throttledDelayer.cancel(),e||this._onChangedHints.fire(void 0)}trigger(e,t){var i=this.editor.getModel();if(i&&f.B.has(i)){const i=++this.triggerId;this._pendingTriggers.push(e),this.throttledDelayer.trigger(()=>this.doTrigger(i),t).catch(p.f)}}next(){var e,t,i,n;1===this.state.type&&(e=this.state.hints.signatures.length,i=(t=this.state.hints.activeSignature)%e==e-1,n=this.editor.getOption(75).cycle,(e<2||i)&&!n?this.cancel():this.updateActiveSignature(i&&n?0:t+1))}previous(){var e,t,i,n;1===this.state.type&&(e=this.state.hints.signatures.length,i=0===(t=this.state.hints.activeSignature),n=this.editor.getOption(75).cycle,(e<2||i)&&!n?this.cancel():this.updateActiveSignature(i&&n?e-1:t-1))}updateActiveSignature(e){1===this.state.type&&(this.state=new x.Active(Object.assign(Object.assign({},this.state.hints),{activeSignature:e})),this._onChangedHints.fire(this.state.hints))}doTrigger(e){return E(this,void 0,void 0,(function*(){var t=1===this.state.type||2===this.state.type,i=this.getLastActiveHints();if(this.cancel(!0),0===this._pendingTriggers.length)return!1;var n=this._pendingTriggers.reduce(T);this._pendingTriggers=[];const o={triggerKind:n.triggerKind,triggerCharacter:n.triggerCharacter,isRetrigger:t,activeSignatureHelp:i};if(!this.editor.hasModel())return!1;const s=this.editor.getModel(),r=this.editor.getPosition();this.state=new x.Pending(Object(N.h)(e=>L(s,r,o,e)),i);try{const t=yield this.state.request;return e!==this.triggerId?(null!==t&&void 0!==t&&t.dispose(),!1):t&&t.value.signatures&&0!==t.value.signatures.length?(this.state=new x.Active(t.value),this._lastSignatureHelpResult.value=t,this._onChangedHints.fire(this.state.hints),!0):(null!==t&&void 0!==t&&t.dispose(),this._lastSignatureHelpResult.clear(),this.cancel(),!1)}catch(t){return e===this.triggerId&&(this.state=x.Default),Object(p.f)(t),!1}}))}getLastActiveHints(){switch(this.state.type){case 1:return this.state.hints;case 2:return this.state.previouslyActiveHints;default:return}}get isTriggered(){return 1===this.state.type||2===this.state.type||this.throttledDelayer.isTriggered()}onModelChanged(){this.cancel(),this.triggerChars=new O.b,this.retriggerChars=new O.b;var e=this.editor.getModel();if(e)for(const t of f.B.ordered(e)){for(const e of t.signatureHelpTriggerCharacters||[])this.triggerChars.add(e.charCodeAt(0)),this.retriggerChars.add(e.charCodeAt(0));for(const e of t.signatureHelpRetriggerCharacters||[])this.retriggerChars.add(e.charCodeAt(0))}}onDidType(e){var t,i;this.triggerOnType&&(t=e.length-1,i=e.charCodeAt(t),(this.triggerChars.has(i)||this.isTriggered&&this.retriggerChars.has(i))&&this.trigger({triggerKind:f.C.TriggerCharacter,triggerCharacter:e.charAt(t)}))}onCursorChange(e){"mouse"===e.source?this.cancel():this.isTriggered&&this.trigger({triggerKind:f.C.ContentChange})}onModelContentChange(){this.isTriggered&&this.trigger({triggerKind:f.C.ContentChange})}onEditorConfigurationChange(){this.triggerOnType=this.editor.getOption(75).enabled,this.triggerOnType||this.cancel()}dispose(){this.cancel(!0),super.dispose()}}function T(e,t){switch(t.triggerKind){case f.C.Invoke:return t;case f.C.ContentChange:return e;default:return f.C.TriggerCharacter,t}}M.DEFAULT_DELAY=120;var A=i("3742"),R=(I=i("561a"),i("9c41")),P=(i=i("bf5b"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e?(this.show(),this.render(e)):this.hide()}))}createParameterHintDOMNodes(){const e=B(".editor-widget.parameter-hints-widget"),t=l.q(e,B(".phwrapper"));t.tabIndex=-1;var i=l.q(t,B(".controls")),n=l.q(i,B(".button"+D.d.asCSSSelector(W))),o=l.q(i,B(".overloads"));i=l.q(i,B(".button"+D.d.asCSSSelector(j))),this._register(l.i(n,"click",e=>{l.c.stop(e),this.previous()})),this._register(l.i(i,"click",e=>{l.c.stop(e),this.next()})),n=B(".body");const s=new h.a(n,{});this._register(s),t.appendChild(s.getDomNode()),i=l.q(n,B(".signature")),n=l.q(n,B(".docs")),e.style.userSelect="text",this.domNodes={element:e,signature:i,overloads:o,docs:n,scrollbar:s},this.editor.addContentWidget(this),this.hide(),this._register(this.editor.onDidChangeCursorSelection(e=>{this.visible&&this.editor.layoutContentWidget(this)})),i=()=>{var e;this.domNodes&&(e=this.editor.getOption(42),this.domNodes.element.style.fontSize=e.fontSize+"px")},i(),this._register(c.c.chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter(e=>e.hasChanged(42)).on(i,null)),this._register(this.editor.onDidLayoutChange(e=>this.updateMaxHeight())),this.updateMaxHeight()}show(){this.visible||(this.domNodes||this.createParameterHintDOMNodes(),this.keyVisible.set(!0),this.visible=!0,setTimeout(()=>{this.domNodes&&this.domNodes.element.classList.add("visible")},100),this.editor.layoutContentWidget(this))}hide(){this.renderDisposeables.clear(),this.visible&&(this.keyVisible.reset(),this.visible=!1,this.announcedLabel=null,this.domNodes&&this.domNodes.element.classList.remove("visible"),this.editor.layoutContentWidget(this))}getPosition(){return this.visible?{position:this.editor.getPosition(),preference:[1,2]}:null}render(e){if(this.renderDisposeables.clear(),this.domNodes){var t=1{var e;null!=(e=this.domNodes)&&e.scrollbar.scanDomNode()}}));return t.element.classList.add("markdown-docs"),t}hasDocs(e,t){return!!(t&&"string"==typeof t.documentation&&0{const i=e.getColor(k.F);i&&(n=e.type===R.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .parameter-hints-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .parameter-hints-widget.multiple .body { border-left: 1px solid ${i.transparent(.5)}; }`),t.addRule(`.monaco-editor .parameter-hints-widget .signature.has-docs { border-bottom: 1px solid ${i.transparent(.5)}; }`));var n=e.getColor(k.E);n&&t.addRule(`.monaco-editor .parameter-hints-widget { background-color: ${n}; }`),n=e.getColor(k.Jc),n&&t.addRule(`.monaco-editor .parameter-hints-widget a { color: ${n}; }`),n=e.getColor(k.Ic),n&&t.addRule(`.monaco-editor .parameter-hints-widget a:hover { color: ${n}; }`),n=e.getColor(k.G),n&&t.addRule(`.monaco-editor .parameter-hints-widget { color: ${n}; }`),n=e.getColor(k.Hc);n&&t.addRule(`.monaco-editor .parameter-hints-widget code { background-color: ${n}; }`)}),i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.cancel(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:9,secondary:[1033]}})),Object(a.k)(new U({id:"showPrevParameterHint",precondition:r.a.and(S.Visible,S.MultipleSignatures),handler:e=>e.previous(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:16,secondary:[528],mac:{primary:16,secondary:[528,302]}}})),Object(a.k)(new U({id:"showNextParameterHint",precondition:r.a.and(S.Visible,S.MultipleSignatures),handler:e=>e.next(),kbOpts:{weight:175,kbExpr:s.a.focus,primary:18,secondary:[530],mac:{primary:18,secondary:[530,300]}}}))},"5bd7":function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return l})),i.d(t,"c",(function(){return d}));var n=i("a666"),o=i("3742"),s=i("6d8e"),r=(t=i("0a0f"),function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))});const a=Object(t.c)("openerService"),l=Object.freeze({_serviceBrand:void 0,registerOpener(){return n.a.None},registerValidator(){return n.a.None},registerExternalUriResolver(){return n.a.None},setDefaultExternalOpener(){},registerExternalOpener(){return n.a.None},open(){return r(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return r(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return s.a.isUri(e)?Object(o.r)(e.scheme,t):Object(o.R)(e,t+":")}},"5d08":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return i.e("chunk-2d238465").then(i.bind(null,"ff4c"))}})},"5d28":function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("0f70"),o=i("e757"),s=i("30db");class r{constructor(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"==typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop),e=o.a.getPositionOfChildWindowRelativeToAncestorWindow(self,e.view),this.posx-=e.left,this.posy-=e.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}class a{constructor(e,t=0,i=0){this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=i,this.deltaX=t,e&&(t=i=e,void 0!==i.wheelDeltaY?this.deltaY=i.wheelDeltaY/120:void 0!==t.VERTICAL_AXIS&&t.axis===t.VERTICAL_AXIS?this.deltaY=-t.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.g&&!s.f?this.deltaY=-e.deltaY/3:this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40),void 0!==i.wheelDeltaX?n.h&&s.i?this.deltaX=-i.wheelDeltaX/120:this.deltaX=i.wheelDeltaX/120:void 0!==t.HORIZONTAL_AXIS&&t.axis===t.HORIZONTAL_AXIS?this.deltaX=-e.detail/3:"wheel"===e.type&&(e.deltaMode===e.DOM_DELTA_LINE?n.g&&!s.f?this.deltaX=-e.deltaX/3:this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120))}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}},"5d70":function(e,t,i){},"5d75":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("telemetryService")},"5ed2":function(e,t,i){"use strict";i.r(t),i.d(t,"getOccurrencesAtPosition",(function(){return k}));var n=i("dff7"),o=i("e8e3"),s=i("5fe7"),r=i("2504"),a=i("fdcc"),l=i("a666"),d=(t=i("b2cc"),i("6a89")),h=i("c101"),c=i("3352"),u=i("b57f"),g=i("b707"),p=i("4fc3"),m=i("303e"),f=i("b7d0"),_=i("3813"),b=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3()=>Promise.resolve(n.provideDocumentHighlights(e,t,i)).then(void 0,a.g)),o.n)}class D{constructor(e,t,i){this._wordRange=this._getCurrentWordRange(e,t),this.result=Object(s.h)(n=>this._compute(e,t,i,n))}_getCurrentWordRange(e,t){return e=e.getWordAtPosition(t.getPosition()),e?new d.a(t.startLineNumber,e.startColumn,t.startLineNumber,e.endColumn):null}isValid(e,t,i){var n=t.startLineNumber,o=t.startColumn,s=t.endColumn;t=this._getCurrentWordRange(e,t);let r=Boolean(this._wordRange&&this._wordRange.equalsRange(t));for(let l=0,d=i.length;!r&&l=s&&(r=!0)}return r}cancel(){this.result.cancel()}}class N extends D{_compute(e,t,i,n){return k(e,t.getPosition(),n).then(e=>e||[])}}class O extends D{constructor(e,t,i){super(e,t,i),this._selectionIsEmpty=t.isEmpty()}_compute(e,t,i,n){return Object(s.n)(250,n).then(()=>{if(!t.isEmpty())return[];var n=e.getWordAtPosition(t.getPosition());if(!n||1e3({range:e.range,kind:g.h.Text}))})}isValid(e,t,i){var n=t.isEmpty();return this._selectionIsEmpty===n&&super.isValid(e,t,i)}}Object(t.n)("_executeDocumentHighlights",(e,t)=>k(e,t,r.a.None));class E{constructor(e,t){this.toUnhook=new l.b,this.workerRequestTokenId=0,this.workerRequestCompleted=!1,this.workerRequestValue=[],this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1,this.editor=e,this._hasWordHighlights=x.bindTo(t),this._ignorePositionChangeEvent=!1,this.occurrencesHighlight=this.editor.getOption(71),this.model=this.editor.getModel(),this.toUnhook.add(e.onDidChangeCursorPosition(e=>{this._ignorePositionChangeEvent||this.occurrencesHighlight&&this._onPositionChanged(e)})),this.toUnhook.add(e.onDidChangeModelContent(e=>{this._stopAll()})),this.toUnhook.add(e.onDidChangeConfiguration(e=>{var t=this.editor.getOption(71);this.occurrencesHighlight!==t&&(this.occurrencesHighlight=t,this._stopAll())})),this._decorationIds=[],this.workerRequestTokenId=0,this.workerRequest=null,this.workerRequestCompleted=!1,this.lastCursorPositionChangeTime=0,this.renderDecorationsTimer=-1}hasDecorations(){return 0this.model.getDecorationRange(e)).sort(d.a.compareRangesUsingStarts))}moveNext(){let e=this._getSortedHighlights();var t=(e.findIndex(e=>e.containsPosition(this.editor.getPosition()))+1)%e.length;let i=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);var n,o=this._getWord();o&&(n=this.editor.getModel().getLineContent(i.startLineNumber),Object(_.a)(`${n}, ${1+t} of ${e.length} for '${o.word}'`))}finally{this._ignorePositionChangeEvent=!1}}moveBack(){let e=this._getSortedHighlights();var t=(e.findIndex(e=>e.containsPosition(this.editor.getPosition()))-1+e.length)%e.length;let i=e[t];try{this._ignorePositionChangeEvent=!0,this.editor.setPosition(i.getStartPosition()),this.editor.revealRangeInCenterIfOutsideViewport(i);var n,o=this._getWord();o&&(n=this.editor.getModel().getLineContent(i.startLineNumber),Object(_.a)(`${n}, ${1+t} of ${e.length} for '${o.word}'`))}finally{this._ignorePositionChangeEvent=!1}}_removeDecorations(){0t||n.endColumn{t===this.workerRequestTokenId&&(this.workerRequestCompleted=!0,this.workerRequestValue=e||[],this._beginRenderDecorations())},a.f)}}}_beginRenderDecorations(){var e=(new Date).getTime(),t=this.lastCursorPositionChangeTime+250;t<=e?(this.renderDecorationsTimer=-1,this.renderDecorations()):this.renderDecorationsTimer=setTimeout(()=>{this.renderDecorations()},t-e)}renderDecorations(){this.renderDecorationsTimer=-1;let e=[];for(const t of this.workerRequestValue)t.range&&e.push({range:t.range,options:E._getDecorationOptions(t.kind)});this._decorationIds=this.editor.deltaDecorations(this._decorationIds,e),this._hasWordHighlights.set(this.hasDecorations())}static _getDecorationOptions(e){return e===g.h.Write?this._WRITE_OPTIONS:e===g.h.Text?this._TEXT_OPTIONS:this._REGULAR_OPTIONS}dispose(){this._stopAll(),this.toUnhook.dispose()}}E._WRITE_OPTIONS=u.a.register({description:"word-highlight-strong",stickiness:1,className:"wordHighlightStrong",overviewRuler:{color:Object(f.g)(L),position:c.d.Center}}),E._TEXT_OPTIONS=u.a.register({description:"selection-highlight",stickiness:1,className:"selectionHighlight",overviewRuler:{color:Object(f.g)(m.jc),position:c.d.Center}}),E._REGULAR_OPTIONS=u.a.register({description:"word-highlight",stickiness:1,className:"wordHighlight",overviewRuler:{color:Object(f.g)(S),position:c.d.Center}});let I=class e extends l.a{constructor(e,t){super(),this.wordHighlighter=null;const i=()=>{e.hasModel()&&(this.wordHighlighter=new E(e,t))};this._register(e.onDidChangeModel(e=>{this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),i()})),i()}static get(t){return t.getContribution(e.ID)}saveViewState(){return!(!this.wordHighlighter||!this.wordHighlighter.hasDecorations())}moveNext(){this.wordHighlighter&&this.wordHighlighter.moveNext()}moveBack(){this.wordHighlighter&&this.wordHighlighter.moveBack()}restoreViewState(e){this.wordHighlighter&&e&&this.wordHighlighter.restore()}dispose(){this.wordHighlighter&&(this.wordHighlighter.dispose(),this.wordHighlighter=null),super.dispose()}};I.ID="editor.contrib.wordHighlighter",I=i([b(1,p.b)],I);class M extends t.b{constructor(e,t){super(t),this._isNext=e}run(e,t){const i=I.get(t);i&&(this._isNext?i.moveNext():i.moveBack())}}class T extends t.b{constructor(){super({id:"editor.action.wordHighlight.trigger",label:n.a("wordHighlight.trigger.label","Trigger Symbol Highlight"),alias:"Trigger Symbol Highlight",precondition:x.toNegated(),kbOpts:{kbExpr:h.a.editorTextFocus,primary:0,weight:100}})}run(e,t,i){const n=I.get(t);n&&n.restoreViewState(!0)}}Object(t.l)(I.ID,I),Object(t.j)(class extends M{constructor(){super(!0,{id:"editor.action.wordHighlight.next",label:n.a("wordHighlight.next.label","Go to Next Symbol Highlight"),alias:"Go to Next Symbol Highlight",precondition:x,kbOpts:{kbExpr:h.a.editorTextFocus,primary:65,weight:100}})}}),Object(t.j)(class extends M{constructor(){super(!1,{id:"editor.action.wordHighlight.prev",label:n.a("wordHighlight.previous.label","Go to Previous Symbol Highlight"),alias:"Go to Previous Symbol Highlight",precondition:x,kbOpts:{kbExpr:h.a.editorTextFocus,primary:1089,weight:100}})}}),Object(t.j)(T),Object(f.f)((e,t)=>{const i=e.getColor(m.T);i&&(t.addRule(`.monaco-editor .focused .selectionHighlight { background-color: ${i}; }`),t.addRule(`.monaco-editor .selectionHighlight { background-color: ${i.transparent(.5)}; }`));var n=e.getColor(v);n&&t.addRule(`.monaco-editor .wordHighlight { background-color: ${n}; }`),n=e.getColor(C),n&&t.addRule(`.monaco-editor .wordHighlightStrong { background-color: ${n}; }`),n=e.getColor(m.U),n&&t.addRule(`.monaco-editor .selectionHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${n}; box-sizing: border-box; }`),n=e.getColor(w),n&&t.addRule(`.monaco-editor .wordHighlight { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; box-sizing: border-box; }`),n=e.getColor(y);n&&t.addRule(`.monaco-editor .wordHighlightStrong { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; box-sizing: border-box; }`)})},"5fe7":function(e,t,i){"use strict";i.d(t,"k",(function(){return l})),i.d(t,"h",(function(){return d})),i.d(t,"l",(function(){return h})),i.d(t,"a",(function(){return u})),i.d(t,"f",(function(){return g})),i.d(t,"n",(function(){return p})),i.d(t,"i",(function(){return m})),i.d(t,"j",(function(){return f})),i.d(t,"g",(function(){return _})),i.d(t,"c",(function(){return b})),i.d(t,"e",(function(){return v})),i.d(t,"m",(function(){return C})),i.d(t,"b",(function(){return w})),i.d(t,"d",(function(){return n}));var n,o=i("2504"),s=i("fdcc"),r=i("a666"),a=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function l(e){return!!e&&"function"==typeof e.then}function d(e){const t=new o.b,i=e(t.token),n=new Promise((e,n)=>{const o=t.token.onCancellationRequested(()=>{o.dispose(),t.dispose(),n(Object(s.b)())});Promise.resolve(i).then(i=>{o.dispose(),t.dispose(),e(i)},e=>{o.dispose(),t.dispose(),n(e)})});return new class{cancel(){t.cancel()}then(e,t){return n.then(e,t)}catch(e){return this.then(void 0,e)}finally(e){return n.finally(e)}}}function h(e,t,i){return Promise.race([e,new Promise(e=>t.onCancellationRequested(()=>e(i)))])}class c{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const e=()=>{this.queuedPromise=null;var e=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,e};this.queuedPromise=new Promise(t=>{this.activePromise.then(e,e).then(t)})}return new Promise((e,t)=>{this.queuedPromise.then(e,t)})}return this.activePromise=e(),new Promise((e,t)=>{this.activePromise.then(t=>{this.activePromise=null,e(t)},e=>{this.activePromise=null,t(e)})})}}class u{constructor(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,t=this.defaultDelay){return this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((e,t)=>{this.doResolve=e,this.doReject=t}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const e=this.task;return this.task=null,e()}})),this.timeout=setTimeout(()=>{this.timeout=null,this.doResolve&&this.doResolve(null)},t),this.completionPromise}isTriggered(){return null!==this.timeout}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(Object(s.b)()),this.completionPromise=null)}cancelTimeout(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)}dispose(){this.cancel()}}class g{constructor(e){this.delayer=new u(e),this.throttler=new c}trigger(e,t){return this.delayer.trigger(()=>this.throttler.queue(e),t)}dispose(){this.delayer.dispose()}}function p(e,t){return t?new Promise((i,n)=>{const o=setTimeout(()=>{r.dispose(),i()},e),r=t.onCancellationRequested(()=>{clearTimeout(o),r.dispose(),n(Object(s.b)())})}):d(t=>p(e,t))}function m(e,t=0){const i=setTimeout(e,t);return Object(r.i)(()=>clearTimeout(i))}function f(e,t=(e=>!!e),i=null){let n=0;const o=e.length,s=()=>{if(n>=o)return Promise.resolve(i);const r=e[n++],a=Promise.resolve(r());return a.then(e=>t(e)?Promise.resolve(e):s())};return s()}class _{constructor(e,t){this._token=-1,"function"==typeof e&&"number"==typeof t&&this.setIfNotSet(e,t)}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},t)}setIfNotSet(e,t){-1===this._token&&(this._token=setTimeout(()=>{this._token=-1,e()},t))}}class b{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){-1!==this._token&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,t){this.cancel(),this._token=setInterval(()=>{e()},t)}}class v{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}let C;if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){const e=Object.freeze({didTimeout:!0,timeRemaining(){return 15}});C=t=>{const i=setTimeout(()=>t(e));let n=!1;return{dispose(){n||(n=!0,clearTimeout(i))}}}}else C=(e,t)=>{const i=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(i))}}};class w{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(e){this._error=e}finally{this._didRun=!0}},this._handle=C(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}(n||(n={})).settled=function(e){return a(this,void 0,void 0,(function*(){let t=void 0;var i=yield Promise.all(e.map(e=>e.then(e=>e,e=>{t=t||e})));if(void 0!==t)throw t;return i}))}},"607c":function(e,t,i){},"62bd":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("308f");const o=new class{constructor(){this._zoomLevel=0,this._onDidChangeZoomLevel=new n.b,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))}}},6424:function(e,t,i){"use strict";function n(e,t,i){let n=null,o=null;if("function"==typeof i.value?(n="value",(o=i.value).length):"function"==typeof i.get&&(n="get",o=i.get),!o)throw new Error("not supported");const s="$memoize$"+t;i[n]=function(...e){return this.hasOwnProperty(s)||Object.defineProperty(this,s,{configurable:!1,enumerable:!1,writable:!1,value:o.apply(this,e)}),this[s]}}i.d(t,"a",(function(){return n}))},6483:function(e,t,i){"use strict";i.d(t,"b",(function(){return d})),i.d(t,"a",(function(){return h}));var n=i("2504"),o=i("fdcc"),s=i("6d8e"),r=i("6a89"),a=i("b707"),l=i("1b69");t=i("9e74");function d(e,t){const i=[],n=a.c.ordered(e).reverse();var o=n.map(n=>Promise.resolve(n.provideDocumentColors(e,t)).then(e=>{if(Array.isArray(e))for(var t of e)i.push({colorInfo:t,provider:n})}));return Promise.all(o).then(()=>i)}function h(e,t,i,n){return Promise.resolve(i.provideColorPresentations(e,t,n))}t.a.registerCommand("_executeDocumentColorProvider",(function(e,...t){var[t]=t;if(!(t instanceof s.a))throw Object(o.c)();const i=e.get(l.a).getModel(t);if(!i)throw Object(o.c)();const r=[],d=a.c.ordered(i).reverse();return e=d.map(e=>Promise.resolve(e.provideDocumentColors(i,n.a.None)).then(e=>{if(Array.isArray(e))for(var t of e)r.push({range:t.range,color:[t.color.red,t.color.green,t.color.blue,t.color.alpha]})})),Promise.all(e).then(()=>r)})),t.a.registerCommand("_executeColorPresentationProvider",(function(e,...t){var[t,i]=t,{uri:i,range:d}=i;if(!(i instanceof s.a&&Array.isArray(t)&&4===t.length&&r.a.isIRange(d)))throw Object(o.c)();var[t,h,c,u]=t;const g=e.get(l.a).getModel(i);if(!g)throw Object(o.c)();const p={range:d,color:{red:t,green:h,blue:c,alpha:u}},m=[],f=a.c.ordered(g).reverse();return e=f.map(e=>Promise.resolve(e.provideColorPresentations(g,p,n.a.None)).then(e=>{Array.isArray(e)&&m.push(...e)})),Promise.all(e).then(()=>m)}))},"650e":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s}));const n={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:i("b9b4").a.text,TERMINALS:"Terminals"};class o{constructor(e){this.data=e}update(){}getData(){return this.data}}const s={CurrentDragAndDropData:void 0}},6640:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return i.e("chunk-2d0af08c").then(i.bind(null,"0d35"))}})},6653:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o}));class n{constructor(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")}setHeight(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")}setTop(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")}unsetTop(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")}setLeft(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")}setBottom(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")}setRight(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setLineHeight(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,t){this.domNode.classList.toggle(e,t),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,t){this.domNode.setAttribute(e,t)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function o(e){return new n(e)}},"66bd":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("0a0f"),o=i("cdd6");i.d(t,"b",(function(){return o.a}));const s=Object(n.c)("quickInputService")},"66f1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return i.e("chunk-2d217e5b").then(i.bind(null,"c94c"))}})},"675a4":function(e,t,i){},"67b4":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("7061"),o=i("6a89"),s=i("db88"),r=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class a{provideSelectionRanges(e,t){return r(this,void 0,void 0,(function*(){const i=[];for(const n of t){const t=[],o=(i.push(t),new Map);yield new Promise(t=>a._bracketsRightYield(t,0,e,n,o)),yield new Promise(i=>a._bracketsLeftYield(i,0,e,n,o,t))}return i}))}static _bracketsRightYield(e,t,i,n,o){const r=new Map;for(var l=Date.now();;){if(t>=a._maxRounds){e();break}if(!n){e();break}let c=i.findNextBracket(n);if(!c){e();break}if(Date.now()-l>a._maxDuration){setTimeout(()=>a._bracketsRightYield(e,t+1,i,n,o));break}var d=c.close[0];if(c.isOpen){var h=r.has(d)?r.get(d):0;r.set(d,h+1)}else if(h=r.has(d)?r.get(d):0,--h,r.set(d,Math.max(0,h)),h<0){let e=o.get(d);e||(e=new s.a,o.set(d,e)),e.push(c.range)}n=c.range.getEndPosition()}}static _bracketsLeftYield(e,t,i,n,s,r){const l=new Map;for(var d=Date.now();;){if(t>=a._maxRounds&&0===s.size){e();break}if(!n){e();break}let g=i.findPrevBracket(n);if(!g){e();break}if(Date.now()-d>a._maxDuration){setTimeout(()=>a._bracketsLeftYield(e,t+1,i,n,s,r));break}var h=g.close[0];if(g.isOpen){var c=l.has(h)?l.get(h):0;if(--c,l.set(h,Math.max(0,c)),c<0){let e=s.get(h);if(e){let t=e.shift();0===e.size&&s.delete(h);c=o.a.fromPositions(g.range.getEndPosition(),t.getStartPosition());var u=o.a.fromPositions(g.range.getStartPosition(),t.getEndPosition());r.push({range:c}),r.push({range:u}),a._addBracketLeading(i,u,r)}}}else c=l.has(h)?l.get(h):0,l.set(h,c+1);n=g.range.getStartPosition()}}static _addBracketLeading(e,t,i){if(t.startLineNumber!==t.endLineNumber){var s=t.startLineNumber;const r=e.getLineFirstNonWhitespaceColumn(s);if(0!==r&&r!==t.startColumn&&(i.push({range:o.a.fromPositions(new n.a(s,r),t.getEndPosition())}),i.push({range:o.a.fromPositions(new n.a(s,1),t.getEndPosition())})),s-=1,0{e.hasChanged(69)&&(e=l(this._editor.getOption(69)),this._opts.equals(e)||(this._opts=e,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()))})),this._register(this._editor.onMouseMove(e=>this._onEditorMouseMove(new s(e,this._opts)))),this._register(this._editor.onMouseDown(e=>this._onEditorMouseDown(new s(e,this._opts)))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(new s(e,this._opts)))),this._register(this._editor.onKeyDown(e=>this._onEditorKeyDown(new r(e,this._opts)))),this._register(this._editor.onKeyUp(e=>this._onEditorKeyUp(new r(e,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(e=>this._onDidChangeCursorSelection(e))),this._register(this._editor.onDidChangeModel(e=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(e=>{(e.scrollTopChanged||e.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(e){this._lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])}_onEditorMouseDown(e){this._hasTriggerKeyOnMouseDown=e.hasTriggerModifier,this._lineNumberOnMouseDown=e.target.position?e.target.position.lineNumber:0}_onEditorMouseUp(e){var t=e.target.position?e.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===t&&this._onExecute.fire(e)}_onEditorKeyDown(e){this._lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},"6a38":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return i.e("chunk-2d0abc00").then(i.bind(null,"1737"))}})},"6a5d":function(e,t,i){"use strict";i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return m}));var n=i("308f"),o=i("eda7"),s=i("a666"),r=i("40355"),a=i("49d9"),l=i("9768"),d=i("32b8"),h=i("1b69");function c(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(c):!!e.exclusive)}class u{constructor(){this._clock=0,this._entries=[],this._onDidChange=new n.b}get onDidChange(){return this._onDidChange.event}register(e,t){let i={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(i),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s.i)(()=>{var e;i&&0<=(e=this._entries.indexOf(i))&&(this._entries.splice(e,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),i=void 0)})}has(e){return 0t.push(e.provider)),t}orderedGroups(e){const t=[];let i,n;return this._orderedForEach(e,e=>{i&&n===e._score?i.push(e.provider):(n=e._score,i=[e.provider],t.push(i))}),t}_orderedForEach(e,t){if(e){this._updateScores(e);for(const e of this._entries)0r&&(r=s)}return r}if("string"==typeof t)return o?"*"===t?5:t===n?10:0:0;if(t){var{language:t,pattern:r,scheme:a,hasAccessToAllModels:h}=t;if(!o&&!h)return 0;let e=0;if(a)if(a===i.scheme)e=10;else{if("*"!==a)return 0;e=5}if(t)if(t===n)e=10;else{if("*"!==t)return 0;e=Math.max(e,5)}if(r){let t;if((t="string"==typeof r?r:Object.assign(Object.assign({},r),{base:Object(d.d)(r.base)}))!==i.fsPath&&!Object(l.a)(t,i.fsPath))return 0;e=10}return e}return 0}(i.selector,e.uri,e.getLanguageIdentifier().language,Object(h.b)(e)),c(i.selector)&&0t._score?-1:e._timet._time?-1:0}}const g=new WeakMap;let p=0;class m{constructor(e,t,i=Number.MAX_SAFE_INTEGER){this._registry=e,this.min=t,this.max=i,this._cache=new r.a(50,.7)}_key(e){return e.id+this._registry.all(e).reduce((e,t)=>Object(o.b)(function(e){let t=g.get(e);return void 0===t&&(t=++p,g.set(e,t)),t}(t),e),0)}_clamp(e){return void 0===e?this.min:Math.min(this.max,Math.max(this.min,Math.floor(1.3*e)))}get(e){return e=this._key(e),e=this._cache.get(e),this._clamp(null==e?void 0:e.value)}update(e,t){var i=this._key(e);let n=this._cache.get(i);return n||(n=new a.a,this._cache.set(i,n)),n.update(t),this.get(e)}}},"6a89":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7061");class o{constructor(e,t,i,n){ie.endLineNumber)&&!(t.lineNumber===e.startLineNumber&&t.columne.endColumn)}containsRange(e){return o.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)}strictContainsRange(e){return o.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return o.plusRange(this,e)}static plusRange(e,t){let i,n,s,r;return n=t.startLineNumbere.endLineNumber?(s=t.endLineNumber,t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,e.endColumn),new o(i,n,s,r)}intersectRanges(e){return o.intersectRanges(this,e)}static intersectRanges(e,t){let i=e.startLineNumber,n=e.startColumn,s=e.endLineNumber,r=e.endColumn;e=t.startLineNumber;var a=t.startColumn,l=t.endLineNumber;t=t.endColumn;return il?(s=l,r=t):s===l&&(r=Math.min(r,t)),i>s||i===s&&n>r?null:new o(i,n,s,r)}equalsRange(e){return o.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return o.getEndPosition(this)}static getEndPosition(e){return new n.a(e.endLineNumber,e.endColumn)}getStartPosition(){return o.getStartPosition(this)}static getStartPosition(e){return new n.a(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new o(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new o(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return o.collapseToStart(this)}static collapseToStart(e){return new o(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new o(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}}},"6c8c":function(e,t,i){"use strict";i.r(t);var n=i("89cd"),o=i("2f1e"),s=(t=i("03d9"),i("a666")),r=i("dff7"),a=(i=i("66bd"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),i.add(t.onDidChangeValue(t=>{t=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length)),t&&t.prefix&&t.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(t.prefix,{preserveValue:!0})}));var{editorProviders:n,globalProviders:o}=this.getQuickAccessProviders();return t.items=0===n.length||0===o.length?[...0===n.length?o:n]:[{label:Object(r.a)("globalCommands","global commands"),type:"separator"},...o,{label:Object(r.a)("editorCommands","editor commands"),type:"separator"},...n],i}getQuickAccessProviders(){const t=[],i=[];for(const s of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(s.prefix!==e.PREFIX)for(const e of s.helpEntries){var n=e.prefix||s.prefix,o=n||"…";(e.needsEditor?i:t).push({prefix:n,label:o,ariaLabel:Object(r.a)("helpPickAriaLabel","{0}, {1}",o,e.description),description:e.description})}return{editorProviders:i,globalProviders:t}}};d.PREFIX="?",d=a([l(0,i.a)],d),n.a.as(o.b.Quickaccess).registerQuickAccessProvider({ctor:d,prefix:"",helpEntries:[{description:t.e.helpQuickAccessActionLabel,needsEditor:!0}]})},"6d8e":function(e,t,i){"use strict";i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return f}));var n=i("32b8"),o=i("30db");const s=/^\w[\w\d+.-]*$/,r=/^\//,a=/^\/\//;function l(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!r.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(e,t,i,n,o,s=!1){var r;"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=(r=s,(e=e)||r?e:"file"),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?"/"!==t[0]&&(t="/"+t):t="/"}return t}(this.scheme,i||""),this.query=n||"",this.fragment=o||"",l(this,s))}static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}get fsPath(){return f(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:i,path:n,query:o,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===i?i=this.authority:null===i&&(i=""),void 0===n?n=this.path:null===n&&(n=""),void 0===o?o=this.query:null===o&&(o=""),void 0===s?s=this.fragment:null===s&&(s=""),t===this.scheme&&i===this.authority&&n===this.path&&o===this.query&&s===this.fragment?this:new u(t,i,n,o,s)}static parse(e,t=!1){return e=d.exec(e),e?new u(e[2]||"",v(e[4]||""),v(e[5]||""),v(e[7]||""),v(e[9]||""),t):new u("","","","","")}static file(e){let t="";var i;return"/"===(e=o.i?e.replace(/\\/g,"/"):e)[0]&&"/"===e[1]&&(e=-1===(i=e.indexOf("/",2))?(t=e.substring(2),"/"):(t=e.substring(2,i),e.substring(i)||"/")),new u("file",t,e,"","")}static from(e){return e=new u(e.scheme,e.authority,e.path,e.query,e.fragment),l(e,!0),e}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return i=o.i&&"file"===e.scheme?h.file(n.i.join(f(e,!0),...t)).path:n.e.join(e.path,...t),e.with({path:i})}toString(e=!1){return _(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new u(e);return t._formatted=e.external,t._fsPath=e._sep===c?e.fsPath:null,t}}return e}}const c=o.i?1:void 0;class u extends h{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=f(this,!1)),this._fsPath}toString(e=!1){return e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=c),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const g={[58]:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function p(e,t){let i=void 0,n=-1;for(let s=0;sfunction t(i){try{return decodeURIComponent(i)}catch(e){return 3e.startOffset>>16}static getCharIndex(e){return(65535&e)>>>0}setColumnInfo(e,t,i,n){this._data[e-1]=(t<<16|i<<0)>>>0,this._absoluteOffsets[e-1]=n+i}getAbsoluteOffset(e){return 0===this._absoluteOffsets.length?0:this._absoluteOffsets[e-1]}charOffsetToPartData(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){e=this.charOffsetToPartData(e-1);var t=h.getPartIndex(e);e=h.getCharIndex(e);return new d(t,e)}getColumn(e,t){return this.partDataToCharOffset(e.partIndex,t,e.charIndex)+1}partDataToCharOffset(e,t,i){if(0===this.length)return 0;var n=(e<<16|i<<0)>>>0;let o=0,s=this.length-1;for(;o+1>>1,a=this._data[r];if(a===n)return r;n=k.endOffset&&(x++,k=c&&c[x]),(e=(e=Iw||9===O||32===O&&(!u||!!L||32===(N=I+1I:e)&&g&&(e=y||I>w),L){if(!e||!h&&D>=l){if(p)for(let e=(0a)&&(m[f++]=new r(I,b,0),D%=l);for(9===O?D=l:n.D(O)?D+=2:D++,L=e;I===v&&++_h&&(h=m.startOffset,l[d++]=new r(h,g,p)),!(m.endOffset+1<=u)){h=u,l[d++]=new r(h,g+" "+m.className,p|m.metadata);break}h=m.endOffset+1,l[d++]=new r(h,g+" "+m.className,p|m.metadata),a++}u>h&&(h=u,l[d++]=new r(h,g,p))}var f=t[t.length-1].endIndex;if(a'):o.appendASCIIString("");for(let e=0,t=L.length;e=x&&(i+=p)}}for(u&&(o.appendASCIIString(' style="width:'),o.appendASCIIString(String(O*t)),o.appendASCIIString('px"')),o.appendASCII(62);R=x&&(P+=t)}j=t}else{let t=0;for(o.appendASCII(62);R=x&&(P+=s)}j=t}g?B++:B=0,R>=y&&!A&&t.isPseudoAfter()&&(A=!0,T.setColumnInfo(R+1,e,F,W)),o.appendASCIIString("")}return A||T.setColumnInfo(y+1,L.length-1,F,W),S&&o.appendASCIIString("…"),o.appendASCIIString(""),new c(T,N,C)}if(0");let i=0,n=0,o=0;for(const r of e.lineDecorations)1!==r.type&&2!==r.type||(t.appendASCIIString(''),1===r.type&&(o|=1,i++),2===r.type&&(o|=2,n++));t.appendASCIIString("");const s=new h(1,i+n);return s.setColumnInfo(1,i,0,0),new c(s,!1,o)}return t.appendASCIIString(""),new c(new h(0,0),!1,0)}class g{constructor(e,t,i,n){this.characterMapping=e,this.html=t,this.containsRTL=i,this.containsForeignElements=n}}function p(e){let t=Object(o.a)(1e4);return e=u(e,t),new g(e.characterMapping,t.build(),e.containsRTL,e.containsForeignElements)}class m{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=i,this.len=n,this.isOverflowing=o,this.parts=s,this.containsForeignElements=r,this.fauxIndentLength=a,this.tabSize=l,this.startVisibleColumn=d,this.containsRTL=h,this.spaceWidth=c,this.renderSpaceCharCode=u,this.renderWhitespace=g,this.renderControlCharacters=p}}},"6daf":function(e,t,i){"use strict";i.r(t);var n=i("dff7"),o=(t=i("b2cc"),i("2c29")),s=i("6a89"),r=i("c101"),a=i("f85a");class l extends t.b{constructor(){super({id:"editor.action.transposeLetters",label:n.a("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:r.a.writable,kbOpts:{kbExpr:r.a.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(t.hasModel()){let e=t.getModel(),h=[];var i,n,r,l,d;for(i of t.getSelections())i.isEmpty()&&(n=i.startLineNumber,l=i.startColumn,d=e.getLineMaxColumn(n),1===n&&(1===l||2===l&&2===d)||(n=l===d?i.getPosition():a.a.rightPosition(e,i.getPosition().lineNumber,i.getPosition().column),l=a.a.leftPosition(e,n),d=a.a.leftPosition(e,l),r=e.getValueInRange(s.a.fromPositions(d,l)),l=e.getValueInRange(s.a.fromPositions(l,n)),d=s.a.fromPositions(d,n),h.push(new o.a(d,l+r))));0this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(63),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(e=>{"never"!==this._matchBrackets&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(e=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(e=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(e=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(e=>{e.hasChanged(63)&&(this._matchBrackets=this._editor.getOption(63),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())}))}static get(e){return e.getContribution(b.ID)}jumpToBracket(){if(this._editor.hasModel()){const t=this._editor.getModel();var e=this._editor.getSelections().map(e=>{e=e.getStartPosition();const i=t.matchBracket(e);let n=null;if(i)i[0].containsPosition(e)?n=i[1].getStartPosition():i[1].containsPosition(e)&&(n=i[0].getStartPosition());else{const i=t.findEnclosingBrackets(e);if(i)n=i[0].getStartPosition();else{const i=t.findNextBracket(e);i&&i.range&&(n=i.range.getStartPosition())}}return n?new l.a(n.lineNumber,n.column,n.lineNumber,n.column):new l.a(e.lineNumber,e.column,e.lineNumber,e.column)});this._editor.setSelections(e),this._editor.revealRange(e[0])}}selectToBracket(e){if(this._editor.hasModel()){const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{n=n.getStartPosition();let o=t.matchBracket(n);if(!o&&!(o=t.findEnclosingBrackets(n))){const e=t.findNextBracket(n);e&&e.range&&(o=t.matchBracket(e.range.getStartPosition()))}let s=null,r=null;if(o){o.sort(a.a.compareRangesUsingStarts);const[t,i]=o;s=e?t.getStartPosition():t.getEndPosition(),r=e?i.getEndPosition():i.getStartPosition(),i.containsPosition(n)&&(n=s,s=r,r=n)}s&&r&&i.push(new l.a(s.lineNumber,s.column,r.lineNumber,r.column))}),0{var i=e.getColor(u.j);i&&t.addRule(`.monaco-editor .bracket-match { background-color: ${i}; }`),i=e.getColor(u.k);i&&t.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)}),i.d.appendMenuItem(i.b.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:n.a({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})},"6e62":function(e,t,i){"use strict";i.r(t),i.d(t,"getInlayHints",(function(){return S})),i.d(t,"InlayHintsController",(function(){return L}));var n=i("5fe7"),o=i("fdcc"),s=i("eda7"),r=i("a666"),a=(t=i("b2cc"),i("5717")),l=i("b707"),d=i("e8e3"),h=i("303e"),c=i("2504"),u=i("b7d0"),g=i("6a89"),p=i("6a5d"),m=i("9e74"),f=i("6d8e"),_=i("ef8e9"),b=i("b78f"),v=i("7061"),C=(i=i("fbba"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.map(t=>Promise.resolve(s.provideInlayHints(e,t,i)).then(e=>{e=null==e?void 0:e.filter(e=>t.containsPosition(e.position)),null!=e&&e.length&&n.push({list:e,provider:s})},e=>{Object(o.g)(e)}))));return yield Promise.all(r),n}))}let L=class{constructor(e,t,i,n){this._editor=e,this._codeEditorService=t,this._themeService=i,this._configurationService=n,this._disposables=new r.b,this._sessionDisposables=new r.b,this._getInlayHintsDelays=new p.b(l.r,25,2500),this._decorationsTypeIds=[],this._decorationIds=[],this._disposables.add(l.r.onDidChange(()=>this._update())),this._disposables.add(i.onDidColorThemeChange(()=>this._update())),this._disposables.add(e.onDidChangeModel(()=>this._update())),this._disposables.add(e.onDidChangeModelLanguage(()=>this._update())),this._disposables.add(e.onDidChangeConfiguration(e=>{e.hasChanged(126)&&this._update()})),this._update()}dispose(){this._sessionDisposables.dispose(),this._removeAllDecorations(),this._disposables.dispose()}_update(){if(this._sessionDisposables.clear(),this._editor.getOption(126).enabled){const e=this._editor.getModel();if(e&&l.r.has(e)){const t=new n.e(()=>y(this,void 0,void 0,(function*(){var i=Date.now();const n=new c.b;this._sessionDisposables.add(Object(r.i)(()=>n.dispose(!0)));var o=this._editor.getVisibleRangesPlusViewportAboveBelow();o=yield S(e,o,n.token),i=this._getInlayHintsDelays.update(e,Date.now()-i);t.delay=i,this._updateHintsDecorators(o)})),this._getInlayHintsDelays.get(e)),i=(this._sessionDisposables.add(t),this._sessionDisposables.add(this._editor.onDidChangeModelContent(()=>t.schedule())),this._disposables.add(this._editor.onDidScrollChange(()=>t.schedule())),t.schedule(),new r.b);this._sessionDisposables.add(i);for(const n of l.r.all(e))"function"==typeof n.onDidChangeInlayHints&&i.add(n.onDidChangeInlayHints(()=>t.schedule()))}else this._removeAllDecorations()}else this._removeAllDecorations()}_updateHintsDecorators(e){var{fontSize:t,fontFamily:i}=this._getLayoutInfo(),n=this._themeService.getColorTheme().getColor(h.N),o=this._themeService.getColorTheme().getColor(h.O);const r=[],a=[];var l="--inlayHintsFontFamily";this._editor.getContainerDomNode().style.setProperty(l,i);const d=this._configurationService.getValue("editor.useInjectedText");var c,u=void 0===d||!!d;for({list:c}of e)for(let e=0;et)&&(i=.9*t|0),t=e.fontFamily||this._editor.getOption(41),{fontSize:i,fontFamily:t}}_removeAllDecorations(){this._decorationIds=this._editor.deltaDecorations(this._decorationIds,[]),this._decorationsTypeIds.forEach(this._codeEditorService.removeDecorationType,this._codeEditorService),this._decorationsTypeIds=[]}};L.ID="editor.contrib.InlayHints",L=C([w(1,a.a),w(2,u.b),w(3,i.a)],L),Object(t.l)(L.ID,L),m.a.registerCommand("_executeInlayHintProvider",(e,...t)=>y(void 0,void 0,void 0,(function*(){var[i,n]=t;Object(_.c)(f.a.isUri(i)),Object(_.c)(g.a.isIRange(n));const o=yield e.get(b.a).createModelReference(i);try{const e=yield S(o.object.textEditorModel,[g.a.lift(n)],c.a.None);return Object(d.k)(e.map(e=>e.list)).sort((e,t)=>v.a.compare(e.position,t.position))}finally{o.dispose()}})))},7061:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t){this.lineNumber=e,this.column=t}with(e=this.lineNumber,t=this.column){return e===this.lineNumber&&t===this.column?this:new n(e,t)}delta(e=0,t=0){return this.with(this.lineNumber+e,this.column+t)}equals(e){return n.equals(this,e)}static equals(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column}isBefore(e){return n.isBefore(this,e)}static isBefore(e,t){return e.lineNumberthis._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(c.x.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){if(this._callOnModel.clear(),this._editor.getOption(47)&&this._editor.hasModel()){var e=this._editor.getModel(),[e]=c.x.ordered(e);if(e&&e.autoFormatTriggerCharacters){let i=new l.b;for(var t of e.autoFormatTriggerCharacters)i.add(t.charCodeAt(0));this._callOnModel.add(this._editor.onDidType(e=>{e=e.charCodeAt(e.length-1),i.has(e)&&this._trigger(String.fromCharCode(e))}))}}}_trigger(e){if(this._editor.hasModel()&&!(1{if(e.isFlush)o=!0,s.dispose();else for(let t=0,n=e.changes.length;t{s.dispose(),o||Object(n.n)(e)&&(p.a.execute(this._editor,e,!0),Object(g.b)(e))},e=>{throw s.dispose(),e})}}},L=(S.ID="editor.contrib.autoFormat",S=i([w(1,u.a)],S),class{constructor(e,t){this.editor=e,this._instantiationService=t,this._callOnDispose=new r.b,this._callOnModel=new r.b,this._callOnDispose.add(e.onDidChangeConfiguration(()=>this._update())),this._callOnDispose.add(e.onDidChangeModel(()=>this._update())),this._callOnDispose.add(e.onDidChangeModelLanguage(()=>this._update())),this._callOnDispose.add(c.j.onDidChange(this._update,this))}dispose(){this._callOnDispose.dispose(),this._callOnModel.dispose()}_update(){this._callOnModel.clear(),this.editor.getOption(46)&&this.editor.hasModel()&&c.j.has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste(({range:e})=>this._trigger(e)))}_trigger(e){!this.editor.hasModel()||1e.isEmpty()?new d.a(e.startLineNumber,1,e.startLineNumber,s.getLineMaxColumn(e.startLineNumber)):e);const r=e.get(C.a);yield r.showWhile(n.invokeFunction(g.c,t,i,1,C.b.None,o.a.None),250)}}))}}Object(t.l)(S.ID,S),Object(t.l)(L.ID,L),Object(t.j)(x),Object(t.j)(k),f.a.registerCommand("editor.action.format",e=>y(void 0,void 0,void 0,(function*(){const t=e.get(a.a).getFocusedCodeEditor();if(t&&t.hasModel()){const i=e.get(f.b);t.getSelection().isEmpty()?yield i.executeCommand("editor.action.formatDocument"):yield i.executeCommand("editor.action.formatSelection")}})))},"708a":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("2e5d");class o{static whitespaceVisibleColumn(e,t,i){var o=e.length;let s=0,r=-1,a=-1;for(let l=0;lthis.onPointerStart(e,new p),this)),this._register(new r.a(this.el,"dblclick")).event),f=(this._register(o(this.onPointerDoublePress,this)),this._register(new r.a(this.el,"mouseenter")).event),b=(this._register(f(()=>_.onMouseEnter(this))),this._register(new r.a(this.el,"mouseleave")).event),v=(this._register(b(()=>_.onMouseLeave(this))),this._register(a.b.addTarget(this.el)),d.c.map(this._register(new r.a(this.el,a.a.Start)).event,e=>Object.assign(Object.assign({},e),{target:null!=(e=e.initialTarget)?e:null})));this._register(v(e=>this.onPointerStart(e,new m(this.el)),this)),e=this._register(new r.a(this.el,a.a.Tap)).event;const C=d.c.map(d.c.filter(d.c.debounce(e,(e,t)=>({event:t,count:(null!=(t=null==e?void 0:e.count)?t:0)+1}),250),({count:e})=>2===e),({event:e})=>Object.assign(Object.assign({},e),{target:null!=(e=e.initialTarget)?e:null}));this._register(C(this.onPointerDoublePress,this)),"number"==typeof i.size?(this.size=i.size,0===i.orientation?this.el.style.width=this.size+"px":this.el.style.height=this.size+"px"):(this.size=4,this._register(u.event(e=>{this.size=e,this.layout()}))),this._register(g.event(e=>this.hoverDelay=e)),this.hidden=!1,this.layoutProvider=t,this.orthogonalStartSash=i.orthogonalStartSash,this.orthogonalEndSash=i.orthogonalEndSash,this.orientation=i.orientation||0,1===this.orientation?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",!1),this.layout()}get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle("disabled",0===e),this.el.classList.toggle("minimum",1===e),this.el.classList.toggle("maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){var t;this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),e&&(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(t=t=>{this.orthogonalStartDragHandleDisposables.clear(),0!==t&&(this._orthogonalStartDragHandle=Object(s.q)(this.el,Object(s.a)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add(Object(h.i)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new r.a(this._orthogonalStartDragHandle,"mouseenter")).event(()=>_.onMouseEnter(e),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new r.a(this._orthogonalStartDragHandle,"mouseleave")).event(()=>_.onMouseLeave(e),void 0,this.orthogonalStartDragHandleDisposables))},this)),t(e.state)),this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){var t;this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),e&&(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(t=t=>{this.orthogonalEndDragHandleDisposables.clear(),0!==t&&(this._orthogonalEndDragHandle=Object(s.q)(this.el,Object(s.a)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add(Object(h.i)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new r.a(this._orthogonalEndDragHandle,"mouseenter")).event(()=>_.onMouseEnter(e),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new r.a(this._orthogonalEndDragHandle,"mouseleave")).event(()=>_.onMouseLeave(e),void 0,this.orthogonalEndDragHandleDisposables))},this)),t(e.state)),this._orthogonalEndSash=e}onPointerStart(e,t){s.c.stop(e);let i=!1;if(!e.__orthogonalSashEvent){const n=this.getOrthogonalSash(e);n&&(i=!0,e.__orthogonalSashEvent=!0,n.onPointerStart(e,new f(t)))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onPointerStart(e,new f(t))),this.state){const n=Object(s.E)("iframe");for(const e of n)e.style.pointerEvents="none";const o=e.pageX,r=e.pageY,a=e.altKey;e={startX:o,currentX:o,startY:r,currentY:r,altKey:a},this.el.classList.add("active"),this._onDidStart.fire(e);const l=Object(s.w)(this.el);e=()=>{let e="";e=i?"all-scroll":1===this.orientation?1===this.state?"s-resize":2===this.state?"n-resize":c.f?"row-resize":"ns-resize":1===this.state?"e-resize":2===this.state?"w-resize":c.f?"col-resize":"ew-resize",l.textContent=`* { cursor: ${e} !important; }`};const d=new h.b;e(),i||this.onDidEnablementChange(e,null,d),t.onPointerMove(e=>{s.c.stop(e,!1),e={startX:o,currentX:e.pageX,startY:r,currentY:e.pageY,altKey:a},this._onDidChange.fire(e)},null,d),t.onPointerUp(e=>{s.c.stop(e,!1),this.el.removeChild(l),this.el.classList.remove("active"),this._onDidEnd.fire(),d.dispose();for(const t of n)t.style.pointerEvents="auto"},null,d),d.add(t)}}onPointerDoublePress(e){const t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(e,t=!1){e.el.classList.contains("active")?(e.hoverDelayer.cancel(),e.el.classList.add("hover")):e.hoverDelayer.trigger(()=>e.el.classList.add("hover"),e.hoverDelay).then(void 0,()=>{}),!t&&e.linkedSash&&_.onMouseEnter(e.linkedSash,!0)}static onMouseLeave(e,t=!1){e.hoverDelayer.cancel(),e.el.classList.remove("hover"),!t&&e.linkedSash&&_.onMouseLeave(e.linkedSash,!0)}clearSashHoverState(){_.onMouseLeave(this)}layout(){if(0===this.orientation){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}hide(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")}getOrthogonalSash(e){return e.target&&e.target instanceof HTMLElement&&e.target.classList.contains("orthogonal-drag-handle")?e.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash:void 0}dispose(){super.dispose(),this.el.remove()}}},"70cb":function(e,t,i){"use strict";i.d(t,"a",(function(){return C}));var n=i("308f"),o=i("a666"),s=i("3742"),r=i("d093"),a=i("2837"),l=i("045b");class d{constructor(e){var t;e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(e=>new a.c(e)):e.brackets?this._autoClosingPairs=e.brackets.map(e=>new a.c({open:e[0],close:e[1]})):this._autoClosingPairs=[],e.colorizedBracketPairs?this._colorizedBracketPairs=e.colorizedBracketPairs.map(e=>[e[0],e[1]]):e.brackets?this._colorizedBracketPairs=e.brackets.map(e=>[e[0],e[1]]):this._colorizedBracketPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment&&(t=e.__electricCharacterSupport.docComment,this._autoClosingPairs.push(new a.c({open:t.open,close:t.close||""}))),this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}static shouldAutoClosePair(e,t,i){return 0===t.getTokenCount()||(i=t.findTokenIndexAtOffset(i-2),t=t.getStandardTokenType(i),e.isOK(t))}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t";var h=i("1080");class c{constructor(e){this._richEditBrackets=e}getElectricCharacters(){let e=[];if(this._richEditBrackets)for(const i of this._richEditBrackets.brackets)for(const n of i.close){var t=n.charAt(n.length-1);e.push(t)}return e.filter((e,t,i)=>i.indexOf(e)===t)}onElectricCharacter(e,t,i){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var n=t.findTokenIndexAtOffset(i-1);if(Object(l.b)(t.getStandardTokenType(n)))return null;n=this._richEditBrackets.reversedRegex;const o=t.getLineContent().substring(0,i-1)+e;return i=h.a.findPrevBracketInRange(n,1,o,0,o.length),i&&(e=o.substring(i.startColumn-1,i.endColumn-1).toLowerCase(),!this._richEditBrackets.textIsOpenBracket[e]&&(n=t.getActualLineContentBefore(i.startColumn-1),/^\s*$/.test(n)))?{matchOpenBracket:e}:null}}function u(e){return e.global&&(e.lastIndex=0),1}class g{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&u(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&u(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&u(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&u(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t}}var p=i("fdcc");class m{constructor(e){(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(e=>{var t=m._createOpenBracketRegExp(e[0]),i=m._createCloseBracketRegExp(e[1]);t&&i&&this._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:i})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,t,i,n){if(3<=e)for(let o=0,s=this._regExpRules.length;o!e.reg||(e.reg.lastIndex=0,e.reg.test(e.text))))return e.action}if(2<=e&&0{for(let e=0;e{s.dispose(),this._onDidChange.fire(new _(e))})}_getRichEditSupport(e){const t=this._entries2.get(e);return t?t.getRichEditSupport():null}getIndentationRules(e){return e=this._getRichEditSupport(e),e&&e.indentationRules||null}_getElectricCharacterSupport(e){return e=this._getRichEditSupport(e),e&&e.electricCharacter||null}getElectricCharacters(e){let t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]}onElectricCharacter(e,t,i){t=Object(l.a)(t,i-1);let n=this._getElectricCharacterSupport(t.languageId);return n?n.onElectricCharacter(e,t,i-t.firstCharOffset):null}getComments(e){return e=this._getRichEditSupport(e),e&&e.comments||null}_getCharacterPairSupport(e){return e=this._getRichEditSupport(e),e&&e.characterPair||null}getAutoClosingPairs(e){const t=this._getCharacterPairSupport(e);return new a.a(t?t.getAutoClosingPairs():[])}getAutoCloseBeforeSet(e){let t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():d.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED}getSurroundingPairs(e){let t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]}shouldAutoClosePair(e,t,i){return t=Object(l.a)(t,i-1),d.shouldAutoClosePair(e,t,i-t.firstCharOffset)}getWordDefinition(e){return e=this._getRichEditSupport(e),e?Object(r.c)(e.wordDefinition||null):Object(r.c)(null)}getFoldingRules(e){return e=this._getRichEditSupport(e),e?e.foldingRules:{}}getIndentRulesSupport(e){return e=this._getRichEditSupport(e),e&&e.indentRulesSupport||null}getPrecedingValidLine(e,t,i){var n=e.getLanguageIdAtPosition(t,0);if(1t.getLineTokens(e),getLanguageIdentifier:()=>t.getLanguageIdentifier(),getLanguageIdAtPosition:(e,i)=>t.getLanguageIdAtPosition(e,i),getLineContent:e=>e===i.startLineNumber?p:t.getLineContent(e)},_=s.x(o.getLineContent());e=this.getInheritIndentForLine(e,f,i.startLineNumber+1);if(!e)return{beforeEnter:f=u?_:m,afterEnter:f};let b=u?_:e.indentation;return e.action===a.b.Indent&&(b=n.shiftIndent(b)),g.shouldDecrease(c)&&(b=n.unshiftIndent(b)),{beforeEnter:u?_:m,afterEnter:b}}getIndentActionForType(e,t,i,n,o){if(e<4)return null;const s=this.getScopedLineTokens(t,i.startLineNumber,i.startColumn);if(s.firstCharOffset)return null;const r=this.getIndentRulesSupport(s.languageId);if(!r)return null;const l=s.getLineContent();var d=l.substr(0,i.startColumn-1-s.firstCharOffset);let h;if(i.isEmpty())h=l.substr(i.startColumn-1-s.firstCharOffset);else{const e=this.getScopedLineTokens(t,i.endLineNumber,i.endColumn);h=e.getLineContent().substr(i.endColumn-1-s.firstCharOffset)}if(r.shouldDecrease(d+h)||!r.shouldDecrease(d+n+h))return null;{if(d=this.getInheritIndentForLine(e,t,i.startLineNumber,!1),!d)return null;let n=d.indentation;return n=d.action!==a.b.Indent?o.unshiftIndent(n):n}}getIndentMetadata(e,t){const i=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return!i||t<1||t>e.getLineCount()?null:i.getIndentMetadata(e.getLineContent(t))}getEnterAction(e,t,i){const n=this.getScopedLineTokens(t,i.startLineNumber,i.startColumn),o=this._getRichEditSupport(n.languageId);if(!o)return null;const s=n.getLineContent();var r=s.substr(0,i.startColumn-1-n.firstCharOffset);let l;if(i.isEmpty())l=s.substr(i.startColumn-1-n.firstCharOffset);else{const e=this.getScopedLineTokens(t,i.endLineNumber,i.endColumn);l=e.getLineContent().substr(i.endColumn-1-n.firstCharOffset)}let d="";if(1i-1?n.substring(0,i-1):n}getScopedLineTokens(e,t,i){e.forceTokenization(t);var n=e.getLineTokens(t);e=void 0===i?e.getLineMaxColumn(t)-1:i-1;return Object(l.a)(n,e)}getBracketsSupport(e){return e=this._getRichEditSupport(e),e&&e.brackets||null}getColorizedBracketPairs(e){return(null==(e=this._getRichEditSupport(e))?void 0:e.characterPair.getColorizedBrackets())||[]}}},"70f5":function(e,t,i){"use strict";i.d(t,"a",(function(){return u}));var n=i("e8e3"),o=i("2504"),s=i("fdcc"),r=(t=i("40355"),i("6a89")),a=i("b707"),l=i("258a");i=i("6a5d");class d{remove(){this.parent&&this.parent.children.delete(this.id)}static findId(e,t){let i,n=("string"==typeof e?i=t.id+"/"+e:(i=t.id+"/"+e.name,void 0!==t.children.get(i)&&(i=`${t.id}/${e.name}_${e.range.startLineNumber}_`+e.range.startColumn)),i);for(let o=0;void 0!==t.children.get(n);o++)n=i+"_"+o;return n}static empty(e){return 0===e.children.size}}class h extends d{constructor(e,t,i){super(),this.id=e,this.parent=t,this.symbol=i,this.children=new Map}}class c extends d{constructor(e,t,i,n){super(),this.id=e,this.parent=t,this.label=i,this.order=n,this.children=new Map}}class u extends d{constructor(e){super(),this.uri=e,this.id="root",this.parent=void 0,this._groups=new Map,this.children=new Map,this.id="root",this.parent=void 0}static create(e,t){let i=this._keys.for(e,!0),n=u._requests.get(i);if(!n){var s=new o.b;n={promiseCnt:0,source:s,promise:u._create(e,s.token),model:void 0},u._requests.set(i,n);const t=Date.now();n.promise.then(()=>{this._requestDurations.update(e,Date.now()-t)})}return n.model?Promise.resolve(n.model):(n.promiseCnt+=1,t.onCancellationRequested(()=>{0==--n.promiseCnt&&(n.source.cancel(),u._requests.delete(i))}),new Promise((e,t)=>{n.promise.then(t=>{n.model=t,e(t)},e=>{u._requests.delete(i),t(e)})}))}static _create(e,t){const i=new o.b(t),r=new u(e.uri),l=a.m.ordered(e);var h=l.map((t,n)=>{var o;let a=d.findId("provider_"+n,r),l=new c(a,r,null!=(o=t.displayName)?o:"Unknown Outline Provider",n);return Promise.resolve(t.provideDocumentSymbols(e,i.token)).then(e=>{for(const t of e||[])u._makeOutlineElement(t,l);return l},e=>(Object(s.g)(e),l)).then(e=>{d.empty(e)?e.remove():r._groups.set(a,e)})});const g=a.m.onDidChange(()=>{var t=a.m.ordered(e);Object(n.h)(t,l)||i.cancel()});return Promise.all(h).then(()=>i.token.isCancellationRequested&&!t.isCancellationRequested?u._create(e,t):r._compact()).finally(()=>{g.dispose()})}static _makeOutlineElement(e,t){var i=d.findId(e,t),n=new h(i,t,e);if(e.children)for(const o of e.children)u._makeOutlineElement(o,n);t.children.set(n.id,n)}_compact(){let e=0;for(var[t,i]of this._groups)0===i.children.size?this._groups.delete(t):e+=1;var n;if(1!==e)this.children=this._groups;else for([,n]of l.a.first(this._groups.values()).children)(n.parent=this).children.set(n.id,n);return this}getTopLevelSymbols(){const e=[];for(const t of this.children.values())t instanceof h?e.push(t.symbol):e.push(...l.a.map(t.children.values(),e=>e.symbol));return e.sort((e,t)=>r.a.compareRangesUsingStarts(e.range,t.range))}asListOfDocumentSymbols(){var e=this.getTopLevelSymbols();const t=[];return u._flattenDocumentSymbols(t,e,""),t.sort((e,t)=>r.a.compareRangesUsingStarts(e.range,t.range))}static _flattenDocumentSymbols(e,t,i){for(const n of t)e.push({kind:n.kind,tags:n.tags,name:n.name,detail:n.detail,containerName:n.containerName||i,range:n.range,selectionRange:n.selectionRange,children:void 0}),n.children&&u._flattenDocumentSymbols(e,n.children,n.name)}}u._requestDurations=new i.b(a.m,350),u._requests=new t.a(9,.75),u._keys=new class{constructor(){this._counter=1,this._data=new WeakMap}for(e,t){return`${e.id}/${t?e.getVersionId():""}/`+this._hash(a.m.all(e))}_hash(e){let t="";for(const i of e){let e=this._data.get(i);void 0===e&&(e=this._counter++,this._data.set(i,e)),t+=e}return t}}},"722f":function(e,t,i){},7257:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return i.e("chunk-26d4603e").then(i.bind(null,"ed797"))}})},"725e":function(e,t,i){},"72a7":function(e,t,i){"use strict";i.d(t,"e",(function(){return N})),i.d(t,"f",(function(){return O})),i.d(t,"a",(function(){return I})),i.d(t,"h",(function(){return A})),i.d(t,"g",(function(){return R})),i.d(t,"d",(function(){return F})),i.d(t,"b",(function(){return B})),i.d(t,"c",(function(){return q}));var n=i("11f7"),o=i("e32d"),s=i("b835"),r=i("a60f"),a=i("3813");class l{constructor(e){this.spliceables=e}splice(e,t,i){this.spliceables.forEach(n=>n.splice(e,t,i))}}var d=i("e8e3"),h=i("5fe7"),c=(t=i("ceb8"),i("6424")),u=i("308f"),g=i("7e93"),p=i("a666"),m=i("49d9"),f=i("aa3d"),_=i("30db"),b=i("ef8e9");i("e2b8");class v extends Error{constructor(e,t){super(`ListError [${e}] `+t)}}var C,w,y=i("7de1"),S=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.templateData===i);if(0<=n){const e=this.renderedElements[n];this.trait.unrender(i),e.index=t}else this.renderedElements.push({index:t,templateData:i});this.trait.renderIndex(t,i)}splice(e,t,i){const n=[];for(const o of this.renderedElements)o.index=e+t&&n.push({index:o.index+i-t,templateData:o.templateData});this.renderedElements=n}renderIndexes(e){for(var{index:t,templateData:i}of this.renderedElements)-1t.templateData===e);t<0||this.renderedElements.splice(t,1)}}class x{constructor(e){this._trait=e,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new u.b,this.onChange=this._onChange.event}get trait(){return this._trait}get renderer(){return new L(this)}splice(e,t,i){t=Math.max(0,Math.min(t,this.length-e));const n=i.length-t,o=e+t,s=[...this.sortedIndexes.filter(t=>tt?i+e:-1).filter(e=>-1!==e),...this.sortedIndexes.filter(e=>e>=o).map(e=>e+n)];var r,a=this.length+n;0e<=t))?r:a-1,s.push(Math.min(r,a-1))),this.renderer.splice(e,t,i.length),this._set(s,s),this.length=a}renderIndex(e,t){t.classList.toggle(this._trait,this.contains(e))}unrender(e){e.classList.remove(this._trait)}set(e,t){return this._set(e,[...e].sort(H),t)}_set(e,t,i){var n=this.indexes,o=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t,t=V(o,e);return this.renderer.renderIndexes(t),this._onChange.fire({indexes:e,browserEvent:i}),n}get(){return this.indexes}contains(e){return 0<=Object(d.d)(this.sortedIndexes,e,H)}dispose(){Object(p.f)(this._onChange)}}i([c.a],x.prototype,"renderer",null);class k extends x{constructor(e){super("selected"),this.setAriaSelected=e}renderIndex(e,t){super.renderIndex(e,t),this.setAriaSelected&&(this.contains(e)?t.setAttribute("aria-selected","true"):t.setAttribute("aria-selected","false"))}}class D{constructor(e,t,i){this.trait=e,this.view=t,this.identityProvider=i}splice(e,t,i){if(!this.identityProvider)return this.trait.splice(e,t,i.map(()=>!1));const n=this.trait.get().map(e=>this.identityProvider.getId(this.view.element(e)).toString());i=i.map(e=>-13===e.keyCode).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(e=>16===e.keyCode).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(e=>18===e.keyCode).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(e=>11===e.keyCode).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(e=>12===e.keyCode).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(e=>9===e.keyCode).on(this.onEscape,this,this.disposables),!1!==i.multipleSelectionSupport&&this.onKeyDown.filter(e=>(_.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keydown")).event).filter(e=>!N(e.target)).map(e=>new s.a(e))}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionDisposables.clear(),e.multipleSelectionSupport&&this.onKeyDown.filter(e=>(_.f?e.metaKey:e.ctrlKey)&&31===e.keyCode).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent)}onUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageUpArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onPageDownArrow(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()}onCtrlA(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(d.r)(this.list.length),e.browserEvent),this.view.domNode.focus()}onEscape(e){this.list.getSelection().length&&(e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}i([c.a],E.prototype,"onKeyDown",null),(w=C=C||{})[w.Idle=0]="Idle",w[w.Typing=1]="Typing";const I=new class{mightProducePrintableCharacter(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30||93<=e.keyCode&&e.keyCode<=102||80<=e.keyCode&&e.keyCode<=90)}};class M{constructor(e,t,i,n){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=i,this.delegate=n,this.enabled=!1,this.state=C.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new p.b,this.disposables=new p.b,this.updateOptions(e.options)}updateOptions(e){void 0===e.enableKeyboardNavigation||e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)}enable(){if(!this.enabled){var e=u.c.chain(this.enabledDisposables.add(new o.a(this.view.domNode,"keydown")).event).filter(e=>!N(e.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(e=>new s.a(e)).filter(e=>this.delegate.mightProducePrintableCharacter(e)).forEach(e=>{e.stopPropagation(),e.preventDefault()}).map(e=>e.browserEvent.key).event;const t=u.c.debounce(e,()=>null,800),i=u.c.reduce(u.c.any(e,t),(e,t)=>null===t?null:(e||"")+t);i(this.onInput,this,this.enabledDisposables),t(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}}disable(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var e,t=this.list.getFocus();0!N(e.target)).map(e=>new s.a(e));i.filter(e=>!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)).on(this.onTab,this,this.disposables)}onTab(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){const i=this.view.domElement(t[0]);if(i){const n=i.querySelector("[tabIndex]");n&&n instanceof HTMLElement&&-1!==n.tabIndex&&"hidden"!==(t=window.getComputedStyle(n)).visibility&&"none"!==t.display&&(e.preventDefault(),e.stopPropagation(),n.focus())}}}}dispose(){this.disposables.dispose()}}function A(e){return _.f?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function R(e){return e.browserEvent.shiftKey}const P={isSelectionSingleChangeEvent:A,isSelectionRangeChangeEvent:R};class F{constructor(e){this.list=e,this.disposables=new p.b,this._onPointer=new u.b,this.onPointer=this._onPointer.event,!1!==e.options.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||P),this.mouseSupport=void 0===e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(r.b.addTarget(e.getHTMLElement()))),u.c.any(e.onMouseClick,e.onMouseMiddleClick,e.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(e){void 0!==e.multipleSelectionSupport&&(this.multipleSelectionController=void 0,e.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||P))}isSelectionSingleChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionSingleChangeEvent(e)}isSelectionRangeChangeEvent(e){return!!this.multipleSelectionController&&this.multipleSelectionController.isSelectionRangeChangeEvent(e)}isSelectionChangeEvent(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)}onMouseDown(e){O(e.browserEvent.target)||document.activeElement!==e.browserEvent.target&&this.list.domFocus()}onContextMenu(e){var t;O(e.browserEvent.target)||(t=void 0===e.index?[]:[e.index],this.list.setFocus(t,e.browserEvent))}onViewPointer(e){if(this.mouseSupport&&!N(e.browserEvent.target)&&!O(e.browserEvent.target)){var t,i=e.index;if(void 0!==i)return this.isSelectionRangeChangeEvent(e)||this.isSelectionChangeEvent(e)?this.changeSelection(e):(this.list.setFocus([i],e.browserEvent),this.list.setAnchor(i),(t=e.browserEvent)instanceof MouseEvent&&2===t.button||this.list.setSelection([i],e.browserEvent),void this._onPointer.fire(e));this.list.setFocus([],e.browserEvent),this.list.setSelection([],e.browserEvent),this.list.setAnchor(void 0)}}onDoubleClick(e){var t;N(e.browserEvent.target)||O(e.browserEvent.target)||this.isSelectionChangeEvent(e)||(t=this.list.getFocus(),this.list.setSelection(t,e.browserEvent))}changeSelection(e){const t=e.index;let i=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(e)){void 0===i&&(n=this.list.getFocus()[0],i=null!=n?n:t,this.list.setAnchor(i));var n=Math.min(i,t),o=Math.max(i,t),s=(n=Object(d.r)(n,o+1),o=this.list.getSelection(),function(e,t){var i=e.indexOf(t);if(-1===i)return[];const n=[];let o=i-1;for(;0<=o&&e[o]===t-(i-o);)n.push(e[o--]);for(n.reverse(),o=i;o=e.length?i.push(t[o++]):o>=t.length?i.push(e[n++]):e[n]===t[o]?(n++,o++):e[n]e!==t),this.list.setFocus([t]),this.list.setAnchor(t),i.length===o.length?this.list.setSelection([...o,t],e.browserEvent):this.list.setSelection(o,e.browserEvent)}}dispose(){this.disposables.dispose()}}class B{constructor(e,t){this.styleElement=e,this.selectorSuffix=t}style(e){var t=this.selectorSuffix&&"."+this.selectorSuffix;const i=[];e.listBackground&&(e.listBackground.isOpaque()?i.push(`.monaco-list${t} .monaco-list-rows { background: ${e.listBackground}; }`):_.f),e.listFocusBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.focused { background-color: ${e.listFocusBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.focused:hover { background-color: ${e.listFocusBackground}; }`)),e.listFocusForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.focused { color: ${e.listFocusForeground}; }`),e.listActiveSelectionBackground&&(i.push(`.monaco-list${t}:focus .monaco-list-row.selected { background-color: ${e.listActiveSelectionBackground}; }`),i.push(`.monaco-list${t}:focus .monaco-list-row.selected:hover { background-color: ${e.listActiveSelectionBackground}; }`)),e.listActiveSelectionForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected { color: ${e.listActiveSelectionForeground}; }`),e.listActiveSelectionIconForeground&&i.push(`.monaco-list${t}:focus .monaco-list-row.selected .codicon { color: ${e.listActiveSelectionIconForeground}; }`),e.listFocusAndSelectionBackground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { background-color: ${e.listFocusAndSelectionBackground}; }\n\t\t\t`),e.listFocusAndSelectionForeground&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.selected.focused { color: ${e.listFocusAndSelectionForeground}; }\n\t\t\t`),e.listInactiveFocusForeground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { color: ${e.listInactiveFocusForeground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { color: ${e.listInactiveFocusForeground}; }`)),e.listInactiveSelectionIconForeground&&i.push(`.monaco-list${t} .monaco-list-row.focused .codicon { color: ${e.listInactiveSelectionIconForeground}; }`),e.listInactiveFocusBackground&&(i.push(`.monaco-list${t} .monaco-list-row.focused { background-color: ${e.listInactiveFocusBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.focused:hover { background-color: ${e.listInactiveFocusBackground}; }`)),e.listInactiveSelectionBackground&&(i.push(`.monaco-list${t} .monaco-list-row.selected { background-color: ${e.listInactiveSelectionBackground}; }`),i.push(`.monaco-list${t} .monaco-list-row.selected:hover { background-color: ${e.listInactiveSelectionBackground}; }`)),e.listInactiveSelectionForeground&&i.push(`.monaco-list${t} .monaco-list-row.selected { color: ${e.listInactiveSelectionForeground}; }`),e.listHoverBackground&&i.push(`.monaco-list${t}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${e.listHoverBackground}; }`),e.listHoverForeground&&i.push(`.monaco-list${t} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${e.listHoverForeground}; }`),e.listSelectionOutline&&i.push(`.monaco-list${t} .monaco-list-row.selected { outline: 1px dotted ${e.listSelectionOutline}; outline-offset: -1px; }`),e.listFocusOutline&&i.push(`\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list${t}:focus .monaco-list-row.focused { outline: 1px solid ${e.listFocusOutline}; outline-offset: -1px; }\n\t\t\t`),e.listInactiveFocusOutline&&i.push(`.monaco-list${t} .monaco-list-row.focused { outline: 1px dotted ${e.listInactiveFocusOutline}; outline-offset: -1px; }`),e.listHoverOutline&&i.push(`.monaco-list${t} .monaco-list-row:hover { outline: 1px dashed ${e.listHoverOutline}; outline-offset: -1px; }`),e.listDropBackground&&i.push(`\n\t\t\t\t.monaco-list${t}.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list${t} .monaco-list-row.drop-target { background-color: ${e.listDropBackground} !important; color: inherit !important; }\n\t\t\t`),e.listFilterWidgetBackground&&i.push(`.monaco-list-type-filter { background-color: ${e.listFilterWidgetBackground} }`),e.listFilterWidgetOutline&&i.push(`.monaco-list-type-filter { border: 1px solid ${e.listFilterWidgetOutline}; }`),e.listFilterWidgetNoMatchesOutline&&i.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${e.listFilterWidgetNoMatchesOutline}; }`),e.listMatchesShadow&&i.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${e.listMatchesShadow}; }`),e.tableColumnsBorder&&i.push(`\n\t\t\t\t.monaco-table:hover > .monaco-split-view2,\n\t\t\t\t.monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\t\t\tborder-color: ${e.tableColumnsBorder};\n\t\t\t}`),this.styleElement.textContent=i.join("\n")}}const j={listFocusBackground:t.a.fromHex("#7FB0D0"),listActiveSelectionBackground:t.a.fromHex("#0E639C"),listActiveSelectionForeground:t.a.fromHex("#FFFFFF"),listActiveSelectionIconForeground:t.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:t.a.fromHex("#094771"),listFocusAndSelectionForeground:t.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:t.a.fromHex("#3F3F46"),listInactiveSelectionIconForeground:t.a.fromHex("#FFFFFF"),listHoverBackground:t.a.fromHex("#2A2D2E"),listDropBackground:t.a.fromHex("#383B3D"),treeIndentGuidesStroke:t.a.fromHex("#a9a9a9"),tableColumnsBorder:t.a.fromHex("#cccccc").transparent(.2)},W={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function V(e,t){const i=[];let n=0,o=0;for(;n=e.length?i.push(t[o++]):o>=t.length?i.push(e[n++]):e[n]===t[o]?(i.push(e[n]),n++,o++):e[n]e-t;class z{constructor(e,t){this._templateId=e,this.renderers=t}get templateId(){return this._templateId}renderTemplate(e){return this.renderers.map(t=>t.renderTemplate(e))}renderElement(e,t,i,n){let o=0;for(const s of this.renderers)s.renderElement(e,t,i[o++],n)}disposeElement(e,t,i,n){let o=0;for(const s of this.renderers)s.disposeElement&&s.disposeElement(e,t,i[o],n),o+=1}disposeTemplate(e){let t=0;for(const i of this.renderers)i.disposeTemplate(e[t++])}}class U{constructor(e){this.accessibilityProvider=e,this.templateId="a18n"}renderTemplate(e){return e}renderElement(e,t,i){var n=this.accessibilityProvider.getAriaLabel(e);n?i.setAttribute("aria-label",n):i.removeAttribute("aria-label"),n=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"==typeof n?i.setAttribute("aria-level",""+n):i.removeAttribute("aria-level")}disposeTemplate(e){}}class K{constructor(e,t){this.list=e,this.dnd=t}getDragElements(e){const t=this.list.getSelectedElements();return-1new z(e.templateId,[...r,e]));var a=Object.assign(Object.assign({},s),{dnd:s.dnd&&new K(this,s.dnd)});this.view=new y.b(t,i,o,a),this.view.domNode.setAttribute("role",e),s.styleController?this.styleController=s.styleController(this.view.domId):(t=Object(n.w)(this.view.domNode),this.styleController=new B(t,this.view.domId)),this.spliceable=new l([new D(this.focus,this.view,s.identityProvider),new D(this.selection,this.view,s.identityProvider),new D(this.anchor,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new T(this,this.view)),"boolean"==typeof s.keyboardSupport&&!s.keyboardSupport||(this.keyboardController=new E(this,this.view,s),this.disposables.add(this.keyboardController)),s.keyboardNavigationLabelProvider&&(i=s.keyboardNavigationDelegate||I,this.typeLabelController=new M(this,this.view,s.keyboardNavigationLabelProvider,i),this.disposables.add(this.typeLabelController)),this.mouseController=this.createMouseController(s),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),!1!==this._options.multipleSelectionSupport&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return u.c.map(this.eventBufferer.wrapEvent(this.focus.onChange),e=>this.toListEvent(e))}get onDidChangeSelection(){return u.c.map(this.eventBufferer.wrapEvent(this.selection.onChange),e=>this.toListEvent(e))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let e=!1;var t=u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keydown")).event).map(e=>new s.a(e)).filter(t=>e=58===t.keyCode||t.shiftKey&&68===t.keyCode).map(o.b).filter(()=>!1).event,i=u.c.chain(this.disposables.add(new o.a(this.view.domNode,"keyup")).event).forEach(()=>e=!1).map(e=>new s.a(e)).filter(e=>58===e.keyCode||e.shiftKey&&68===e.keyCode).map(o.b).map(({browserEvent:e})=>{var t=this.getFocus();t=t.length?t[0]:void 0;return{index:t,element:void 0!==t?this.view.element(t):void 0,anchor:void 0!==t?this.view.domElement(t):this.view.domNode,browserEvent:e}}).event,n=u.c.chain(this.view.onContextMenu).filter(t=>!e).map(({element:e,index:t,browserEvent:i})=>({element:e,index:t,anchor:{x:i.pageX+1,y:i.pageY},browserEvent:i})).event;return u.c.any(t,i,n)}get onKeyDown(){return this.disposables.add(new o.a(this.view.domNode,"keydown")).event}get onDidFocus(){return u.c.signal(this.disposables.add(new o.a(this.view.domNode,"focus",!0)).event)}createMouseController(e){return new F(this)}updateOptions(e={}){var t;this._options=Object.assign(Object.assign({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),void 0!==this._options.multipleSelectionController&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(e),null!=(t=this.keyboardController)&&t.updateOptions(e),this.view.updateOptions(e)}get options(){return this._options}splice(e,t,i=[]){if(e<0||e>this.view.length)throw new v(this.user,"Invalid start index: "+e);if(t<0)throw new v(this.user,"Invalid delete count: "+t);0===t&&0===i.length||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(e,t,i))}rerender(){this.view.rerender()}element(e){return this.view.element(e)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(e){this.view.setScrollTop(e)}get ariaLabel(){return this._ariaLabel}set ariaLabel(e){this._ariaLabel=e,this.view.domNode.setAttribute("aria-label",e)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(e,t){this.view.layout(e,t)}setSelection(e,t){for(const i of e)if(i<0||i>=this.length)throw new v(this.user,"Invalid index "+i);this.selection.set(e,t)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(e=>this.view.element(e))}setAnchor(e){if(void 0===e)this.anchor.set([]);else{if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);this.anchor.set([e])}}getAnchor(){return Object(d.j)(this.anchor.get(),void 0)}getAnchorElement(){var e=this.getAnchor();return void 0===e?void 0:this.element(e)}setFocus(e,t){for(const i of e)if(i<0||i>=this.length)throw new v(this.user,"Invalid index "+i);this.focus.set(e,t)}focusNext(e=1,t=!1,i,n){var o;0!==this.length&&(o=this.focus.get(),-1<(o=this.findNextIndex(0=this.length&&!t)return-1;if(e%=this.length,!i||i(this.element(e)))return e;e++}return-1}findPreviousIndex(e,t=!1,i){for(let n=0;nthis.view.element(e))}reveal(e,t){if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);var i,n=this.view.getScrollTop(),o=this.view.elementTop(e);e=this.view.elementHeight(e);Object(b.i)(t)?(i=e-this.view.renderHeight,this.view.setScrollTop(i*Object(m.b)(t,0,1)+o)):(i=o+e,t=n+this.view.renderHeight,o=this.view.renderHeight?this.view.setScrollTop(o):t<=i&&this.view.setScrollTop(i-this.view.renderHeight)))}getRelativeTop(e){if(e<0||e>=this.length)throw new v(this.user,"Invalid index "+e);var t=this.view.getScrollTop(),i=this.view.elementTop(e);e=this.view.elementHeight(e);return it+this.view.renderHeight?null:(e-=this.view.renderHeight,Math.abs((t-i)/e))}getHTMLElement(){return this.view.domNode}style(e){this.styleController.style(e)}toListEvent({indexes:e,browserEvent:t}){return{indexes:e,elements:e.map(e=>this.view.element(e)),browserEvent:t}}_onFocusChange(){var e=this.focus.get();this.view.domNode.classList.toggle("element-focused",0o[0]&&l[1]=s||(a[l++]=new o(Math.max(1,d.startColumn-n+1),Math.min(1+r,d.endColumn-n+1),d.className,d.type));return a}static filter(e,t,i,n){if(0===e.length)return[];let s=[],r=0;for(let h=0,c=e.length;ht||c.isEmpty()&&(0===d.type||3===d.type)||(a=c.startLineNumber===t?c.startColumn:i,l=c.endLineNumber===t?c.endColumn:n,s[r++]=new o(a,l,d.inlineClassName,d.type))}return s}static _typeCompare(e,t){var i=[2,0,1,3];return i[e]-i[t]}static compare(e,t){var i;return e.startColumn!==t.startColumn?e.startColumn-t.startColumn:e.endColumn!==t.endColumn?e.endColumn-t.endColumn:0!==(i=o._typeCompare(e.type,t.type))?i:e.className!==t.className?e.className=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t),this.metadata.splice(n,0,i);break}this.count++}}class a{static normalize(e,t){if(0===t.length)return[];var i=[];const o=new r;let s=0;for(let r=0,u=t.length;re.lineNumber===t.lineNumber?e.column-t.column:e.lineNumber-t.lineNumber);for(let a=t.length-2;0<=a;a--)t[a].lineNumber===t[a+1].lineNumber&&t.splice(a,1);let i=[],n=0,o=0,s=t.length;for(let u=1,g=e.getLineCount();u<=g;u++){var r=e.getLineContent(u),h=r.length+1;let g=0;if(!(oe.getLineTokens(t),getLanguageIdentifier:()=>e.getLanguageIdentifier(),getLanguageIdAtPosition:(t,i)=>e.getLanguageIdAtPosition(t,i),getLineContent:null};if(l.startLineNumber===l.endLineNumber&&1===e.getLineMaxColumn(l.startLineNumber)){var s=l.startLineNumber,r=this._isMovingDown?s+1:s-1;1===e.getLineMaxColumn(r)?t.addEditOperation(new d.a(1,1,1,1),null):(t.addEditOperation(new d.a(s,1,s,1),e.getLineContent(r)),t.addEditOperation(new d.a(r,1,r,e.getLineMaxColumn(r)),null)),l=new g.a(r,1,r,1)}else{let c,u;if(this._isMovingDown){c=l.endLineNumber+1,u=e.getLineContent(c),t.addEditOperation(new d.a(c-1,e.getLineMaxColumn(c-1),c,e.getLineMaxColumn(c)),null);let g=u;this.shouldAutoIndent(e,l)?(null!==(s=this.matchEnterRule(e,n,i,c,l.startLineNumber-1))?(r=a.x(e.getLineContent(c)),s+=v.b(r,i),r=v.a(s,i,o),g=r+this.trimLeft(u)):(h.getLineContent=t=>t===l.startLineNumber?e.getLineContent(c):e.getLineContent(t),null!==(s=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(c,1),l.startLineNumber,n))&&(r=a.x(e.getLineContent(c)),(s=v.b(s,i))!==v.b(r,i)&&(r=v.a(s,i,o),g=r+this.trimLeft(u)))),t.addEditOperation(new d.a(l.startLineNumber,1,l.startLineNumber,1),g+"\n"),null!==(s=this.matchEnterRuleMovingDown(e,n,i,l.startLineNumber,c,g))?0!==s&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,s):(h.getLineContent=t=>t===l.startLineNumber?g:t>=l.startLineNumber+1&&t<=l.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t),null!==(r=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(c,1),l.startLineNumber+1,n))&&(s=a.x(e.getLineContent(l.startLineNumber)),(r=v.b(r,i))!==(s=v.b(s,i))&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,r-s)))):t.addEditOperation(new d.a(l.startLineNumber,1,l.startLineNumber,1),g+"\n")}else c=l.startLineNumber-1,u=e.getLineContent(c),t.addEditOperation(new d.a(c,1,c+1,1),null),t.addEditOperation(new d.a(l.endLineNumber,e.getLineMaxColumn(l.endLineNumber),l.endLineNumber,e.getLineMaxColumn(l.endLineNumber)),"\n"+u),this.shouldAutoIndent(e,l)&&(h.getLineContent=t=>t===c?e.getLineContent(l.startLineNumber):e.getLineContent(t),null!==(r=this.matchEnterRule(e,n,i,l.startLineNumber,l.startLineNumber-2))?0!==r&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,r):null!==(s=b.a.getGoodIndentForLine(this._autoIndent,h,e.getLanguageIdAtPosition(l.startLineNumber,1),c,n))&&(r=a.x(e.getLineContent(l.startLineNumber)),(n=v.b(s,i))!==(s=v.b(r,i))&&this.getIndentEditsOfMovingBlock(e,t,l,i,o,n-s)))}this._selectionId=t.trackSelection(l)}else this._selectionId=t.trackSelection(this._selection)}buildIndentConverter(e,t,i){return{shiftIndent:n=>f.a.shiftIndent(n,n.length+1,e,t,i),unshiftIndent:n=>f.a.unshiftIndent(n,n.length+1,e,t,i)}}parseEnterResult(e,t,i,n,o){if(o){let s=o.indentation;if(o.indentAction===_.b.None||o.indentAction===_.b.Indent?s=o.indentation+o.appendText:o.indentAction===_.b.IndentOutdent?s=o.indentation:o.indentAction===_.b.Outdent&&(s=t.unshiftIndent(o.indentation)+o.appendText),o=e.getLineContent(n),0<=this.trimLeft(o).indexOf(this.trimLeft(s))){o=a.x(e.getLineContent(n));let r=a.x(s);return e=b.a.getIndentMetadata(e,n),null!==e&&2&e&&(r=t.unshiftIndent(r)),n=v.b(r,i),n-v.b(o,i)}}return null}matchEnterRuleMovingDown(e,t,i,n,o,s){if(0<=a.I(s))return s=e.getLineMaxColumn(o),o=b.a.getEnterAction(this._autoIndent,e,new d.a(o,s,o,s)),this.parseEnterResult(e,t,i,n,o);{let l=n-1;for(;1<=l;){var r=e.getLineContent(l);if(0<=a.I(r))break;l--}return l<1||n>e.getLineCount()?null:(s=e.getLineMaxColumn(l),o=b.a.getEnterAction(this._autoIndent,e,new d.a(l,s,l,s)),this.parseEnterResult(e,t,i,n,o))}}matchEnterRule(e,t,i,n,o,s){let r=o;for(;1<=r;){let t;if(t=r===o&&void 0!==s?s:e.getLineContent(r),0<=a.I(t))break;r--}var l;return r<1||n>e.getLineCount()?null:(l=e.getLineMaxColumn(r),l=b.a.getEnterAction(this._autoIndent,e,new d.a(r,l,r,l)),this.parseEnterResult(e,t,i,n,l))}trimLeft(e){return e.replace(/^\s+/,"")}shouldAutoIndent(e,t){var i;return!(this._autoIndent<4)&&!!e.isCheapToTokenize(t.startLineNumber)&&(i=e.getLanguageIdAtPosition(t.startLineNumber,1))===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==b.a.getIndentRulesSupport(i)}getIndentEditsOfMovingBlock(e,t,i,n,o,s){for(let h=i.startLineNumber;h<=i.endLineNumber;h++){var r=e.getLineContent(h),l=(r=a.x(r),v.b(r,n));l=v.a(l+s,n,o);l!==r&&(t.addEditOperation(new d.a(h,1,h,r.length+1),l),h===i.endLineNumber&&i.endColumn<=r.length+1&&""===l&&(this._moveEndLineSelectionShrink=!0))}}computeCursorState(e,t){let i=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(i=i.setEndPosition(i.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&i.startLineNumber=o)return null;let s=[];for(let a=n;a<=o;a++)s.push(e.getLineContent(a));let r=s.slice(0);return r.sort(w.getCollator().compare),!0===i&&(r=r.reverse()),{startLineNumber:n,endLineNumber:o,before:s,after:r}}w._COLLATOR=null;var S=i("7e32");class L extends t.b{constructor(e,t){super(t),this.down=e}run(e,t){if(t.hasModel()){const e=t.getSelections().map((e,t)=>({selection:e,index:t,ignore:!1}));e.sort((e,t)=>d.a.compareRangesUsingStarts(e.selection,t.selection));let i=e[0];for(let t=1;tnew u.a(e.positionLineNumber,e.positionColumn)));i=t.getSelection();null!==i&&(i=new h(i,n),t.pushUndoStop(),t.executeCommands(this.id,[i]),t.pushUndoStop())}}E.ID="editor.action.trimTrailingWhitespace";class I extends t.b{constructor(){super({id:"editor.action.deleteLines",label:n.a("lines.delete","Delete Line"),alias:"Delete Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:3113,weight:100}})}run(e,t){if(t.hasModel()){var i=this._getLinesToRemove(t);let e=t.getModel();if(1!==e.getLineCount()||1!==e.getLineMaxColumn(1)){let o=0,s=[],r=[];for(let t=0,a=i.length;t{let t=e.endLineNumber;return e.startLineNumbere.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber),[]),n=t[0];for(let o=1;o=t[o].startLineNumber?n.endLineNumber=t[o].endLineNumber:(i.push(n),n=t[o]);return i.push(n),i}}class M extends t.b{constructor(){super({id:"editor.action.indentLines",label:n.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2137,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.indent(i.cursorConfig,t.getModel(),t.getSelections())),t.pushUndoStop())}}class T extends t.b{constructor(){super({id:"editor.action.outdentLines",label:n.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2135,weight:100}})}run(e,t){s.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)}}class A extends t.b{constructor(){super({id:"editor.action.insertLineBefore",label:n.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:3075,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.lineInsertBefore(i.cursorConfig,t.getModel(),t.getSelections())))}}class R extends t.b{constructor(){super({id:"editor.action.insertLineAfter",label:n.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:2051,weight:100}})}run(e,t){var i=t._getViewModel();i&&(t.pushUndoStop(),t.executeCommands(this.id,c.a.lineInsertAfter(i.cursorConfig,t.getModel(),t.getSelections())))}}class P extends t.b{run(e,t){if(t.hasModel()){var i=t.getSelection();let e=this._getRangesToDelete(t),r=[];for(let t=0,i=e.length-1;tl.a.replace(e,""));t.pushUndoStop(),t.executeEdits(this.id,s,i),t.pushUndoStop()}}}class F extends P{constructor(){super({id:"deleteAllLeft",label:n.a("lines.deleteAllLeft","Delete All Left"),alias:"Delete All Left",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:0,mac:{primary:2049},weight:100}})}_getEndCursorState(e,t){let i=null,n=[],o=0;return t.forEach(t=>{let s;var r;s=1===t.endColumn&&0{var t,i;return e.isEmpty()?1===e.startColumn?(t=Math.max(1,e.startLineNumber-1),i=1===e.startLineNumber?1:n.getLineContent(t).length+1,new d.a(t,i,e.startLineNumber,1)):new d.a(e.startLineNumber,1,e.startLineNumber,e.startColumn):new d.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)}))}}class B extends P{constructor(){super({id:"deleteAllRight",label:n.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:p.a.writable,kbOpts:{kbExpr:p.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})}_getEndCursorState(e,t){let i=null,n=[];for(let s=0,r=t.length;s{var i;return e.isEmpty()?(i=t.getLineMaxColumn(e.startLineNumber),e.startColumn===i?new d.a(e.startLineNumber,e.startColumn,e.startLineNumber+1,1):new d.a(e.startLineNumber,e.startColumn,e.startLineNumber,i)):e});return n.sort(d.a.compareRangesUsingStarts),n}}class j extends t.b{constructor(){super({id:"editor.action.joinLines",label:n.a("lines.joinLines","Join Lines"),alias:"Join Lines",precondition:p.a.writable,kbOpts:{kbExpr:p.a.editorTextFocus,primary:0,mac:{primary:296},weight:100}})}run(e,t){let i=t.getSelections();if(null!==i){let e=t.getSelection();if(null!==e){i.sort(d.a.compareRangesUsingStarts);let h=[];var n=i.reduce((t,i)=>t.isEmpty()?t.endLineNumber===i.startLineNumber?(e.equalsSelection(t)&&(e=i),i):i.startLineNumber>t.endLineNumber+1?(h.push(t),i):new g.a(t.startLineNumber,t.startColumn,i.endLineNumber,i.endColumn):i.startLineNumber>t.endLineNumber?(h.push(t),i):new g.a(t.startLineNumber,t.startColumn,i.endLineNumber,i.endColumn));h.push(n);let c=t.getModel();if(null!==c){let i=[],n=[],u=e,p=0;for(let t=0,m=h.length;t=n?i.lineNumber!==e.getLineCount()&&(n=new d.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber+1,1),n=e.getValueInRange(n).split("").reverse().join(""),a.push(new r.a(new g.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber+1,1),n))):(n=new d.a(i.lineNumber,Math.max(1,i.column-1),i.lineNumber,i.column+1),o=e.getValueInRange(n).split("").reverse().join(""),a.push(new r.b(n,o,new g.a(i.lineNumber,i.column+1,i.lineNumber,i.column+1)))))}t.pushUndoStop(),t.executeCommands(this.id,a),t.pushUndoStop()}}}}class V extends t.b{run(e,t){var i=t.getSelections();if(null!==i){const e=t.getModel();if(null!==e){var n,o,s=t.getOption(116);const r=[];for(const a of i)a.isEmpty()?(o=a.getStartPosition(),(n=t.getConfiguredWordAtPosition(o))&&(o=new d.a(o.lineNumber,n.startColumn,o.lineNumber,n.endColumn),n=e.getValueInRange(o),r.push(l.a.replace(o,this._modifyText(n,s))))):(o=e.getValueInRange(a),r.push(l.a.replace(a,this._modifyText(o,s))));t.pushUndoStop(),t.executeEdits(this.id,r),t.pushUndoStop()}}}}class H extends V{constructor(){super({id:"editor.action.transformToUppercase",label:n.a("editor.transformToUppercase","Transform to Uppercase"),alias:"Transform to Uppercase",precondition:p.a.writable})}_modifyText(e,t){return e.toLocaleUpperCase()}}class z extends V{constructor(){super({id:"editor.action.transformToLowercase",label:n.a("editor.transformToLowercase","Transform to Lowercase"),alias:"Transform to Lowercase",precondition:p.a.writable})}_modifyText(e,t){return e.toLocaleLowerCase()}}class U extends V{constructor(){super({id:"editor.action.transformToTitlecase",label:n.a("editor.transformToTitlecase","Transform to Title Case"),alias:"Transform to Title Case",precondition:p.a.writable})}_modifyText(e,t){const i="\r\n\t "+t,n=i.split("");let o="",s=!0;for(let r=0;rp(void 0,void 0,void 0,(function*(){var[i]=t,n=(Object(d.c)(i instanceof s.a),e.get(a.a).getModel(i));if(n){const t=b(n);return t?t.getLegend():e.get(l.b).executeCommand("_provideDocumentRangeSemanticTokensLegend",i)}}))),l.a.registerCommand("_provideDocumentSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i]=t;Object(d.c)(i instanceof s.a);const r=e.get(a.a).getModel(i);if(r){var h=_(r,null,n.a.None);if(!h)return e.get(l.b).executeCommand("_provideDocumentRangeSemanticTokens",i,r.getFullModelRange());const{provider:s,request:a}=h;let d;try{d=yield a}catch(t){return void Object(o.g)(t)}return d&&m(d)?(i=u({id:0,type:"full",data:d.data}),d.resultId&&s.releaseDocumentSemanticTokens(d.resultId),i):void 0}}))),l.a.registerCommand("_provideDocumentRangeSemanticTokensLegend",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i]=t,i=(Object(d.c)(i instanceof s.a),e.get(a.a).getModel(i));if(i){const e=v(i);if(e)return e.getLegend()}}))),l.a.registerCommand("_provideDocumentRangeSemanticTokens",(e,...t)=>p(void 0,void 0,void 0,(function*(){var[i,r]=t,i=(Object(d.c)(i instanceof s.a),Object(d.c)(g.a.isIRange(r)),e.get(a.a).getModel(i));if(i){const t=v(i);if(t){let s;try{s=yield t.provideDocumentRangeSemanticTokens(i,g.a.lift(r),n.a.None)}catch(e){return void Object(o.g)(e)}if(s&&m(s))return u({id:0,type:"full",data:s.data})}}})))},7605:function(e,t,i){"use strict";i.r(t),i.d(t,"FoldingController",(function(){return U})),i.d(t,"foldBackgroundBackground",(function(){return de})),i.d(t,"editorFoldForeground",(function(){return he})),i("0a33");var n=i("dff7"),o=i("ef8e9"),s=i("3742"),r=i("5fe7"),a=i("fe45"),l=i("a666"),d=i("b2cc"),h=i("308f");const c=16777215;class u{constructor(e,t,i){if(e.length!==t.length||65535{var i=o[o.length-1];return this.getStartLineNumber(i)<=e&&this.getEndLineNumber(i)>=t};for(let s=0,r=this._startIndexes.length;sc||i>c)throw new Error("startLineNumber or endLineNumber must not exceed "+c);for(;0>>24)+((4278190080&this._endIndexes[e])>>>16),65535==e?-1:e}contains(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t}findIndex(e){let t=0,i=this._startIndexes.length;if(0===i)return-1;for(;t=this.endLineNumber}containsLine(e){return this.startLineNumber<=e&&e<=this.endLineNumber}}class p{constructor(e,t){this._updateEventEmitter=new h.b,this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new u(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}get regions(){return this._regions}get textModel(){return this._textModel}get isInitialized(){return this._isInitialized}toggleCollapseState(e){if(e.length){e=e.sort((e,t)=>e.regionIndex-t.regionIndex);const t={};this._decorationProvider.changeDecorations(i=>{let n=0,o=-1,s=-1;var r,a=e=>{for(;ns&&(s=t),n++}};for(r of e){var l=r.regionIndex,d=this._editorDecorationIds[l];d&&!t[d]&&(t[d]=!0,a(l),d=!this._regions.isCollapsed(l),this._regions.setCollapsed(l,d),o=Math.max(o,this._regions.getEndLineNumber(l)))}a(this._regions.length)}),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}}update(e,t=[]){let i=[],n=(e,i)=>{for(var n of t)if(e{var r=e.getStartLineNumber(t),a=e.getEndLineNumber(t);(s=s||e.isCollapsed(t))&&n(r,a)&&(s=!1),e.setCollapsed(t,s),t=this._textModel.getLineMaxColumn(r),r={startLineNumber:r,startColumn:Math.max(t-1,1),endLineNumber:r,endColumn:t};i.push({range:r,options:this._decorationProvider.getDecorationOption(s,a<=o)}),s&&a>o&&(o=a)};let r=0;var a=()=>{for(;re.isCollapsed!==t&&ne.isCollapsed!==t&&ne.isCollapsed!==t&&n<=i),o.push(...s);e.toggleCollapseState(o)}function _(e,t,i){let n=[];for(var o of i)n.push(e.getAllRegionsAtLine(o,void 0)[0]);i=e.getRegionsInside(null,e=>n.every(t=>!t.containedBy(e)&&!e.containedBy(t))&&e.isCollapsed!==t),e.toggleCollapseState(i)}function b(e,t,i){let n=e.textModel,o=e.regions,s=[];for(let a=o.length-1;0<=a;a--){var r;i!==o.isCollapsed(a)&&(r=o.getStartLineNumber(a),t.test(n.getLineContent(r))&&s.push(o.toRegion(a)))}e.toggleCollapseState(s)}function v(e,t,i){let n=e.regions,o=[];for(let s=n.length-1;0<=s;s--)i!==n.isCollapsed(s)&&t===n.getType(s)&&o.push(n.toRegion(s));e.toggleCollapseState(o)}var C=i("b57f"),w=(t=i("561a"),i("bf5b")),y=i("b7d0");const S=Object(w.b)("folding-expanded",t.b.chevronDown,Object(n.a)("foldingExpandedIcon","Icon for expanded ranges in the editor glyph margin.")),L=Object(w.b)("folding-collapsed",t.b.chevronRight,Object(n.a)("foldingCollapsedIcon","Icon for collapsed ranges in the editor glyph margin."));class x{constructor(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}getDecorationOption(e,t){return t?x.HIDDEN_RANGE_DECORATION:e?this.showFoldingHighlights?x.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:x.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?x.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:x.EXPANDED_VISUAL_DECORATION}deltaDecorations(e,t){return this.editor.deltaDecorations(e,t)}changeDecorations(e){return this.editor.changeDecorations(e)}}x.COLLAPSED_VISUAL_DECORATION=C.a.register({description:"folding-collapsed-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(L)}),x.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=C.a.register({description:"folding-collapsed-highlighted-visual-decoration",stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(L)}),x.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=C.a.register({description:"folding-expanded-auto-hide-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:y.d.asClassName(S)}),x.EXPANDED_VISUAL_DECORATION=C.a.register({description:"folding-expanded-visual-decoration",stickiness:1,isWholeLine:!0,firstLineDecorationClassName:"alwaysShowFoldIcons "+y.d.asClassName(S)}),x.HIDDEN_RANGE_DECORATION=C.a.register({description:"folding-hidden-range-decoration",stickiness:1});var k=i("c101"),D=i("6a89"),N=i("e8e3");class O{constructor(e){this._updateEventEmitter=new h.b,this._foldingModel=e,this._foldingModelListener=e.onDidChange(e=>this.updateHiddenRanges()),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}get onDidChange(){return this._updateEventEmitter.event}get hiddenRanges(){return this._hiddenRanges}updateHiddenRanges(){let e=!1,t=[],i=0,n=0,o=Number.MAX_VALUE,s=-1,r=this._foldingModel.regions;for(;i({startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}))}applyHiddenRanges(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)}hasRanges(){return 0{var t,i;return(n=n&&(t=e,i=n,t>=i.startLineNumber&&t<=i.endLineNumber)?n:E(this._hiddenRanges,e))?n.startLineNumber-1:null};for(let r=0,a=e.length;rt=t?e[i]:null}var I=i("70cb");class M{constructor(e){this.editorModel=e,this.id="indent"}dispose(){}compute(e){var t=I.a.getFoldingRules(this.editorModel.getLanguageIdentifier().id),i=t&&!!t.offSide;t=t&&t.markers;return Promise.resolve(function(e,t,i,n=5e3){var o=e.getOptions().tabSize;let s=new T(n),r=void 0;i&&(r=new RegExp(`(${i.start.source})|(?:${i.end.source})`));let a=[],l=e.getLineCount()+1;a.push({indent:-1,endAbove:l,line:l});for(let c=e.getLineCount();0d){for(;a.pop(),(n=a[a.length-1]).indent>d;);var h=n.endAbove-1;1<=h-c&&s.insertFirst(c,h,d)}n.indent===d?n.endAbove=c:a.push({indent:d,endAbove:c,line:c})}}return s.toIndentRanges(e)}(this.editorModel,i,t))}}class T{constructor(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}insertFirst(e,t,i){var n;e>c||t>c||(n=this._length,this._startIndexes[n]=e,this._endIndexes[n]=t,this._length++,i<1e3&&(this._indentOccurrences[i]=(this._indentOccurrences[i]||0)+1))}toIndentRanges(e){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=this._length-1,n=0;0<=i;i--,n++)e[n]=this._startIndexes[i],t[n]=this._endIndexes[i];return new u(e,t)}{let s=0,r=this._indentOccurrences.length;for(let e=0;ethis._foldingRangesLimit){r=e;break}s+=t}}var i=e.getOptions().tabSize;let a=new Uint32Array(this._foldingRangesLimit),l=new Uint32Array(this._foldingRangesLimit);for(let t=this._length-1,d=0;0<=t;t--){var n=this._startIndexes[t],o=e.getLineContent(n);o=C.b.computeIndentLevel(o,i);(oPromise.resolve(e.provideFoldingRanges(t,P,i)).then(e=>{if(!i.isCancellationRequested&&Array.isArray(e)){Array.isArray(n)||(n=[]);var s,r=t.getLineCount();for(s of e)0s.start&&s.end<=r&&n.push({start:s.start,end:s.end,rank:o,kind:s.kind})}},R.g));return Promise.all(o).then(e=>n)}(this.providers,this.editorModel,e).then(e=>e?j(e,this.limit):null)}dispose(){var e;null!=(e=this.disposables)&&e.dispose()}}class B{constructor(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}add(e,t,i,n){var o;e>c||t>c||(o=this._length,this._startIndexes[o]=e,this._endIndexes[o]=t,this._nestingLevels[o]=n,this._types[o]=i,this._length++,n<30&&(this._nestingLevelCounts[n]=(this._nestingLevelCounts[n]||0)+1))}toIndentRanges(){if(this._length<=this._foldingRangesLimit){let e=new Uint32Array(this._length),t=new Uint32Array(this._length);for(let i=0;ithis._foldingRangesLimit){n=t;break}i+=e}}let o=new Uint32Array(this._foldingRangesLimit),s=new Uint32Array(this._foldingRangesLimit),r=[];for(let e=0,a=0;e{let i=e.start-t.start;return 0===i?e.rank-t.rank:i});let n=new B(t),o=void 0,s=[];for(i of e)if(o){if(i.start>o.start){if(i.end<=o.end)s.push(o),o=i;else if(i.start>o.end){for(;(o=s.pop())&&i.start>o.end;);o&&s.push(o),o=i}n.add(i.start,i.end,i.kind&&i.kind.value,s.length)}}else o=i,n.add(i.start,i.end,i.kind&&i.kind.value,s.length);return n.toIndentRanges()}class W{constructor(e,t,i,n){this.editorModel=e,this.id="init",t.length&&(this.decorationIds=e.deltaDecorations([],t.map(t=>({range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{description:"folding-initializing-range-provider",stickiness:1}}))),this.timeout=setTimeout(i,n))}dispose(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"==typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)}compute(e){let t=[];if(this.decorationIds)for(var i of this.decorationIds)i=this.editorModel.getDecorationRange(i),i&&t.push({start:i.startLineNumber,end:i.endLineNumber,rank:1});return Promise.resolve(j(t,Number.MAX_VALUE))}}w=i("4fc3"),t=i("303e");var V=i("bc04"),H=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.onModelChanged())),this._register(this.editor.onDidChangeConfiguration(e=>{if(e.hasChanged(36)&&(this._isEnabled=this.editor.getOptions().get(36),this.foldingEnabled.set(this._isEnabled),this.onModelChanged()),e.hasChanged(99)||e.hasChanged(38)){const e=this.editor.getOptions();this.foldingDecorationProvider.autoHideFoldingControls="mouseover"===e.get(99),this.foldingDecorationProvider.showFoldingHighlights=e.get(38),this.onModelContentChanged()}e.hasChanged(37)&&(this._useFoldingProviders="indentation"!==this.editor.getOptions().get(37),this.onFoldingStrategyChanged()),e.hasChanged(40)&&(this._unfoldOnClickAfterEndOfLine=this.editor.getOptions().get(40)),e.hasChanged(39)&&(this._foldingImportsByDefault=this.editor.getOptions().get(39))})),this.onModelChanged()}static get(t){return t.getContribution(e.ID)}saveViewState(){let e=this.editor.getModel();var t,i;return e&&this._isEnabled&&!e.isTooLargeForTokenization()?this.foldingModel?(t=(this.foldingModel.isInitialized?this.foldingModel:this.hiddenRangeModel).getMemento(),i=this.rangeProvider?this.rangeProvider.id:void 0,{collapsedRegions:t,lineCount:e.getLineCount(),provider:i,foldedImports:this._currentModelHasFoldedImports}):void 0:{}}restoreViewState(e){let t=this.editor.getModel();if(t&&this._isEnabled&&!t.isTooLargeForTokenization()&&this.hiddenRangeModel&&e&&e.lineCount===t.getLineCount()&&(this._currentModelHasFoldedImports=!!e.foldedImports,e.collapsedRegions)){"syntax"!==e.provider&&"init"!==e.provider||(this.foldingStateMemento=e);const t=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(t)){const e=this.getFoldingModel();e&&e.then(e=>{if(e){this._restoringViewState=!0;try{e.applyMemento(t)}finally{this._restoringViewState=!1}}}).then(void 0,R.f)}}}onModelChanged(){this.localToDispose.clear();let e=this.editor.getModel();this._isEnabled&&e&&!e.isTooLargeForTokenization()&&(this._currentModelHasFoldedImports=!1,this.foldingModel=new p(e,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new O(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange(e=>this.onHiddenRangesChanges(e))),this.updateScheduler=new r.a(200),this.cursorChangedScheduler=new r.e(()=>this.revealCursor(),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(A.o.onDidChange(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration(()=>this.onFoldingStrategyChanged())),this.localToDispose.add(this.editor.onDidChangeModelContent(()=>this.onModelContentChanged())),this.localToDispose.add(this.editor.onDidChangeCursorPosition(()=>this.onCursorPositionChanged())),this.localToDispose.add(this.editor.onMouseDown(e=>this.onEditorMouseDown(e))),this.localToDispose.add(this.editor.onMouseUp(e=>this.onEditorMouseUp(e))),this.localToDispose.add({dispose:()=>{this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.updateScheduler&&this.updateScheduler.cancel(),this.updateScheduler=null,this.foldingModel=null,this.foldingModelPromise=null,this.hiddenRangeModel=null,this.cursorChangedScheduler=null,this.foldingStateMemento=null,this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null}}),this.onModelContentChanged())}onFoldingStrategyChanged(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()}getRangeProvider(e){if(!this.rangeProvider){if(this.rangeProvider=new M(e),this._useFoldingProviders&&this.foldingModel){var t=A.o.ordered(this.foldingModel.textModel);if(0===t.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions)return this.rangeProvider=new W(e,this.foldingStateMemento.collapsedRegions,()=>{this.foldingStateMemento=null,this.onFoldingStrategyChanged()},3e4);0this.onModelContentChanged()))}this.foldingStateMemento=null}return this.rangeProvider}getFoldingModel(){return this.foldingModelPromise}onModelContentChanged(){this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger(()=>{const e=this.foldingModel;if(!e)return null;const t=this.getRangeProvider(e.textModel);let i=this.foldingRegionPromise=Object(r.h)(e=>t.compute(e));return i.then(t=>{if(t&&i===this.foldingRegionPromise){let i;!this._foldingImportsByDefault||this._currentModelHasFoldedImports||(n=t.setCollapsedAllOfType(A.n.Imports.value,!0))&&(i=V.c.capture(this.editor),this._currentModelHasFoldedImports=n);let o=this.editor.getSelections();var n=o?o.map(e=>e.startLineNumber):[];e.update(t,n),i&&i.restore(this.editor)}return e})}).then(void 0,e=>(Object(R.f)(e),null)))}onHiddenRangesChanges(e){var t;this.hiddenRangeModel&&e.length&&!this._restoringViewState&&(t=this.editor.getSelections())&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t),this.editor.setHiddenAreas(e)}onCursorPositionChanged(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()}revealCursor(){const e=this.getFoldingModel();e&&e.then(e=>{if(e){let i=this.editor.getSelections();if(i&&0e.isCollapsed&&i>e.startLineNumber))}n.length&&(e.toggleCollapseState(n),this.reveal(i[0].getPosition()))}}}).then(void 0,R.f)}onEditorMouseDown(e){if(this.mouseDownInfo=null,this.hiddenRangeModel&&e.target&&e.target.range&&(e.event.leftButton||e.event.middleButton)){var t=e.target.range;let o=!1;switch(e.target.type){case 4:var i=e.target.detail,n=e.target.element.offsetLeft;if(i.offsetX-n<5)return;o=!0;break;case 7:if(this._unfoldOnClickAfterEndOfLine&&this.hiddenRangeModel.hasRanges()&&!e.target.detail.isAfterLines)break;return;case 6:if(this.hiddenRangeModel.hasRanges()){let e=this.editor.getModel();if(e&&t.startColumn===e.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:o}}}onEditorMouseUp(e){const t=this.getFoldingModel();if(t&&this.mouseDownInfo&&e.target){let n=this.mouseDownInfo.lineNumber,o=this.mouseDownInfo.iconClicked;var i=e.target.range;if(i&&i.startLineNumber===n){if(o){if(4!==e.target.type)return}else{let e=this.editor.getModel();if(!e||i.startColumn!==e.getLineMaxColumn(n))return}t.then(t=>{if(t){let r=t.getRegionAtLine(n);if(r&&r.startLineNumber===n){var i=r.isCollapsed;if(o||i){let o=[];if(e.event.altKey){var s=t.getRegionsInside(null,e=>!e.containedBy(r)&&!r.containedBy(e));for(const e of s)e.isCollapsed&&o.push(e);0===o.length&&(o=s)}else{if(s=e.event.middleButton||e.event.shiftKey,s)for(const e of t.getRegionsInside(r))e.isCollapsed===i&&o.push(e);!i&&s&&0!==o.length||o.push(r)}t.toggleCollapseState(o),this.reveal({lineNumber:n,column:1})}}}}).then(void 0,R.f)}}}reveal(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)}};U.ID="editor.contrib.folding",U=i([H(1,w.b)],U);class K extends d.b{runEditorCommand(e,t,i){let n=U.get(t);if(n){let o=n.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then(e=>{if(e){this.invoke(n,e,t,i);const o=t.getSelection();o&&n.reveal(o.getStartPosition())}})):void 0}}getSelectedLines(e){let t=e.getSelections();return t?t.map(e=>e.startLineNumber):[]}getLineNumbers(e,t){return e&&e.selectionLines?e.selectionLines.map(e=>e+1):this.getSelectedLines(t)}run(e,t){}}function q(e){if(!o.l(e)){if(!o.j(e))return!1;const t=e;if(!o.l(t.levels)&&!o.i(t.levels))return!1;if(!o.l(t.direction)&&!o.k(t.direction))return!1;if(!(o.l(t.selectionLines)||o.f(t.selectionLines)&&t.selectionLines.every(o.i)))return!1}return!0}class $ extends K{constructor(){super({id:"editor.unfold",label:n.a("unfoldAction.label","Unfold"),alias:"Unfold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:q,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){var o=n&&n.levels||1;i=this.getLineNumbers(n,i);(n&&"up"===n.direction?f:m)(t,!1,o,i)}}class G extends K{constructor(){super({id:"editor.unfoldRecursively",label:n.a("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:Object(a.a)(2089,2137),weight:100}})}invoke(e,t,i,n){m(t,!1,Number.MAX_VALUE,this.getSelectedLines(i))}}class Z extends K{constructor(){super({id:"editor.fold",label:n.a("foldAction.label","Fold"),alias:"Fold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:q,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})}invoke(e,t,i,n){i=this.getLineNumbers(n,i);var o=n&&n.levels;n=n&&n.direction;if("number"!=typeof o&&"string"!=typeof n){var s=t,r=!0,a=i;let e=[];for(var l of a)l=s.getAllRegionsAtLine(l,e=>e.isCollapsed!==r),0e.isCollapsed!==t&&it===n&&e.isCollapsed!==o&&!s.some(t=>e.containsLine(t))),t.toggleCollapseState(i)}}se.ID_PREFIX="editor.foldLevel",se.ID=e=>se.ID_PREFIX+e;class re extends K{constructor(){super({id:"editor.gotoParentFold",label:n.a("gotoParentFold.label","Go to Parent Fold"),alias:"Go to Parent Fold",precondition:z,kbOpts:{kbExpr:k.a.editorTextFocus,weight:100}})}invoke(e,t,i){var n=this.getSelectedLines(i);0=e)return null;if(i.parentIndex===n)return i.startLineNumber}}else if(0e)return i.startLineNumber;i=i.regionIndex{var i=e.getColor(de);i&&t.addRule(`.monaco-editor .folded-background { background-color: ${i}; }`),i=e.getColor(he);i&&t.addRule(`\n\t\t.monaco-editor .cldr${y.d.asCSSSelector(S)},\n\t\t.monaco-editor .cldr${y.d.asCSSSelector(L)} {\n\t\t\tcolor: ${i} !important;\n\t\t}\n\t\t`)})},"77a4":function(e,t,i){"use strict";i.r(t),i.d(t,"CodeLensContribution",(function(){return H}));var n=i("5fe7"),o=i("fdcc"),s=i("a666"),r=i("bc04"),a=(t=i("b2cc"),i("b707")),l=i("2504"),d=i("6d8e"),h=i("1b69"),c=i("9e74"),u=i("ef8e9"),g=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class p{constructor(){this.lenses=[],this._disposables=new s.b}dispose(){this._disposables.dispose()}add(e,t){this._disposables.add(e);for(const i of e.lenses)this.lenses.push({symbol:i,provider:t})}}function m(e,t){return g(this,void 0,void 0,(function*(){const i=a.b.ordered(e),n=new Map,s=new p;var r=i.map((i,r)=>g(this,void 0,void 0,(function*(){n.set(i,r);try{var a=yield Promise.resolve(i.provideCodeLenses(e,t));a&&s.add(a,i)}catch(a){Object(o.g)(a)}})));return yield Promise.all(r),s.lenses=s.lenses.sort((e,t)=>e.symbol.range.startLineNumbert.symbol.range.startLineNumber?1:n.get(e.provider)n.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0),s}))}c.a.registerCommand("_executeCodeLensProvider",(function(e,...t){let[i,n]=t;Object(u.c)(d.a.isUri(i)),Object(u.c)("number"==typeof n||!n);const r=e.get(h.a).getModel(i);if(!r)throw Object(o.c)();const a=[],c=new s.b;return m(r,l.a.None).then(e=>{c.add(e);let t=[];for(const i of e.lenses)void 0===n||null===n||Boolean(i.symbol.command)?a.push(i.symbol):0a.push(e||i.symbol)));return Promise.all(t)}).then(()=>a).finally(()=>{setTimeout(()=>c.dispose(),100)})})),i("44c7");var f=i("11f7"),_=i("6a89"),b=i("b57f"),v=i("918c"),C=i("303e"),w=i("b7d0"),y=i("7ddc");class S{constructor(e,t,i){this.afterLineNumber=e,this.heightInPx=t,this._onHeight=i,this.suppressMouseDown=!0,this.domNode=document.createElement("div")}onComputedHeight(e){void 0===this._lastHeight?this._lastHeight=e:this._lastHeight!==e&&(this._lastHeight=e,this._onHeight())}}class L{constructor(e,t,i){this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._isEmpty=!0,this._editor=e,this._id="codelens.widget-"+L._idPool++,this.updatePosition(i),this._domNode=document.createElement("span"),this._domNode.className="codelens-decoration "+t}withCommands(e,t){this._commands.clear();let i=[],n=!1;for(let s=0;s{e.symbol.command&&l.push(e.symbol),n.addDecoration({range:e.symbol.range,options:b.a.EMPTY},e=>this._decorationIds[t]=e),a=a?_.a.plusRange(a,e.symbol.range):_.a.lift(e.symbol.range)}),this._viewZone=new S(a.startLineNumber-1,s,r),this._viewZoneId=o.addZone(this._viewZone),0{const i=this._editor.getModel().getDecorationRange(e);return e=this._data[t].symbol,!(!i||_.a.isEmpty(e.range)!==i.isEmpty())})}updateCodeLensSymbols(e,t){this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((e,i)=>{t.addDecoration({range:e.symbol.range,options:b.a.EMPTY},e=>this._decorationIds[i]=e)})}updateHeight(e,t){this._viewZone.heightInPx=e,t.layoutZone(this._viewZoneId),this._contentWidget&&this._editor.layoutContentWidget(this._contentWidget)}computeIfNecessary(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(let i=0;i{var i=e.getColor(v.l);i&&(t.addRule(`.monaco-editor .codelens-decoration { color: ${i}; }`),t.addRule(`.monaco-editor .codelens-decoration .codicon { color: ${i}; }`)),i=e.getColor(C.q);i&&(t.addRule(`.monaco-editor .codelens-decoration > a:hover { color: ${i} !important; }`),t.addRule(`.monaco-editor .codelens-decoration > a:hover .codicon { color: ${i} !important; }`))});var D=i("b0cd"),N=(w=i("0a0f"),i("f5f3")),O=i("40355"),E=i("03e8"),I=i("0bfb"),M=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.remove("codelens/cache",1));const t="codelens/cache2";var i=e.get(t,1,"{}");this._deserialize(i),Object(I.a)(e.onWillSaveState)(i=>{i.reason===E.c.SHUTDOWN&&e.store(t,this._serialize(),1,1)})}put(e,t){t=t.lenses.map(e=>({range:e.symbol.range,command:e.symbol.command&&{id:"",title:null==(e=e.symbol.command)?void 0:e.title}}));const i=new p;i.add({lenses:t,dispose:()=>{}},this._fakeProvider),t=new A(e.getLineCount(),i),this._cache.set(e.uri.toString(),t)}get(e){var t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0}delete(e){this._cache.delete(e.uri.toString())}_serialize(){const e=Object.create(null);for(var[t,i]of this._cache){const n=new Set;for(const e of i.data.lenses)n.add(e.symbol.range.startLineNumber);e[t]={lineCount:i.lineCount,lines:[...n.values()]}}return JSON.stringify(e)}_deserialize(e){try{var t=JSON.parse(e);for(const e in t){var i=t[e];const n=[];for(const e of i.lines)n.push({range:new _.a(e,1,e,11)});const o=new p;o.add({lenses:n,dispose(){}},this._fakeProvider),this._cache.set(e,new A(i.lineCount,o))}}catch(e){}}},P=(R=M([T(0,E.a)],R),Object(N.b)(w,R),i("eda7")),F=i("66bd"),B=i("dff7"),j=i("c101"),W=i("6a5d"),V=(M=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._resolveCodeLensesInViewport(),this._resolveCodeLensesDelays.min),this._disposables.add(this._editor.onDidChangeModel(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>this._onModelChange())),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(42)||e.hasChanged(15)||e.hasChanged(14))&&this._updateLensStyle(),e.hasChanged(13)&&this._onModelChange()})),this._disposables.add(a.b.onDidChange(this._onModelChange,this)),this._onModelChange(),this._styleClassName="_"+Object(P.c)(this._editor.getId()).toString(16),this._styleElement=f.w(f.O(this._editor.getContainerDomNode())?this._editor.getContainerDomNode():void 0),this._updateLensStyle()}dispose(){var e;this._localDispose(),this._disposables.dispose(),this._oldCodeLensModels.dispose(),null!=(e=this._currentCodeLensModel)&&e.dispose(),this._styleElement.remove()}_getLayoutInfo(){let e,t=this._editor.getOption(15);return{codeLensHeight:e=!t||t<5?(t=.9*this._editor.getOption(44)|0,this._editor.getOption(58)):t*Math.max(1.3,this._editor.getOption(58)/this._editor.getOption(44))|0,fontSize:t}}_updateLensStyle(){const{codeLensHeight:e,fontSize:t}=this._getLayoutInfo();var i=this._editor.getOption(14),n=this._editor.getOption(42),o="--codelens-font-family"+this._styleClassName,s="--codelens-font-features"+this._styleClassName;let r=`\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} { line-height: ${e}px; font-size: ${t}px; padding-right: ${Math.round(.5*t)}px; font-feature-settings: var(${s}) }\n\t\t.monaco-editor .codelens-decoration.${this._styleClassName} span.codicon { line-height: ${e}px; font-size: ${t}px; }\n\t\t`;i&&(r+=`.monaco-editor .codelens-decoration.${this._styleClassName} { font-family: var(${o})}`),this._styleElement.textContent=r,this._editor.getContainerDomNode().style.setProperty(o,null!=i?i:"inherit"),this._editor.getContainerDomNode().style.setProperty(s,n.fontFeatureSettings),this._editor.changeViewZones(t=>{for(var i of this._lenses)i.updateHeight(e,t)})}_localDispose(){var e;null!=(e=this._getCodeLensModelPromise)&&e.cancel(),this._getCodeLensModelPromise=void 0,null!=(e=this._resolveCodeLensesPromise)&&e.cancel(),this._resolveCodeLensesPromise=void 0,this._localToDispose.clear(),this._oldCodeLensModels.clear(),null!=(e=this._currentCodeLensModel)&&e.dispose()}_onModelChange(){this._localDispose();const e=this._editor.getModel();if(!e)return;if(!this._editor.getOption(13))return;const t=this._codeLensCache.get(e);if(t&&this._renderCodeLensSymbols(t),!a.b.has(e))return void(t&&this._localToDispose.add(Object(n.i)(()=>{var i=this._codeLensCache.get(e);t===i&&(this._codeLensCache.delete(e),this._onModelChange())},3e4)));for(const n of a.b.all(e)){var i;"function"==typeof n.onDidChange&&(i=n.onDidChange(()=>l.schedule()),this._localToDispose.add(i))}const l=new n.e(()=>{var t;const i=Date.now();null!=(t=this._getCodeLensModelPromise)&&t.cancel(),this._getCodeLensModelPromise=Object(n.h)(t=>m(e,t)),this._getCodeLensModelPromise.then(t=>{this._currentCodeLensModel&&this._oldCodeLensModels.add(this._currentCodeLensModel),this._currentCodeLensModel=t,this._codeLensCache.put(e,t);var n=this._getCodeLensModelDelays.update(e,Date.now()-i);l.delay=n,this._renderCodeLensSymbols(t),this._resolveCodeLensesInViewportSoon()},o.f)},this._getCodeLensModelDelays.get(e));this._localToDispose.add(l),this._localToDispose.add(Object(s.i)(()=>this._resolveCodeLensesScheduler.cancel())),this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{let i=[],n=-1,o=(this._lenses.forEach(e=>{e.isValid()&&n!==e.getLineNumber()?(e.update(t),n=e.getLineNumber()):i.push(e)}),new x);i.forEach(e=>{e.dispose(o,t),this._lenses.splice(this._lenses.indexOf(e),1)}),o.commit(e)})}),l.schedule()})),this._localToDispose.add(this._editor.onDidFocusEditorWidget(()=>{l.schedule()})),this._localToDispose.add(this._editor.onDidScrollChange(e=>{e.scrollTopChanged&&0{this._resolveCodeLensesInViewportSoon()})),this._localToDispose.add(Object(s.i)(()=>{if(this._editor.getModel()){const e=r.c.capture(this._editor);this._editor.changeDecorations(e=>{this._editor.changeViewZones(t=>{this._disposeAllLenses(e,t)})}),e.restore(this._editor)}else this._disposeAllLenses(void 0,void 0)})),this._localToDispose.add(this._editor.onMouseDown(e=>{if(9===e.target.type){let i=e.target.element;if("A"===(null===(i="SPAN"===(null===i||void 0===i?void 0:i.tagName)?i.parentElement:i)||void 0===i?void 0:i.tagName))for(const e of this._lenses){var t=e.getCommand(i);if(t){this._commandService.executeCommand(t.id,...t.arguments||[]).catch(e=>this._notificationService.error(e));break}}}})),l.schedule()}_disposeAllLenses(e,t){const i=new x;for(const n of this._lenses)n.dispose(i,t);e&&i.commit(e),this._lenses.length=0}_renderCodeLensSymbols(e){if(this._editor.hasModel()){var t,i=this._editor.getModel().getLineCount();let o,s=[];for(t of e.lenses){var n=t.symbol.range.startLineNumber;n<1||i{this._editor.changeViewZones(t=>{const i=new x;let n=0,o=0;for(;othis._resolveCodeLensesInViewportSoon())),n++,o++)}for(;nthis._resolveCodeLensesInViewportSoon())),o++;i.commit(e)})}),a.restore(this._editor)}}_resolveCodeLensesInViewportSoon(){this._editor.getModel()&&this._resolveCodeLensesScheduler.schedule()}_resolveCodeLensesInViewport(){var e;null!=(e=this._resolveCodeLensesPromise)&&e.cancel(),this._resolveCodeLensesPromise=void 0;const t=this._editor.getModel();if(t){const e=[],i=[];if(this._lenses.forEach(n=>{var o=n.computeIfNecessary(t);o&&(e.push(o),i.push(n))}),0!==e.length){const s=Date.now(),r=Object(n.h)(n=>{var s=e.map((e,s)=>{const r=new Array(e.length);return e=e.map((e,i)=>e.symbol.command||"function"!=typeof e.provider.resolveCodeLens?(r[i]=e.symbol,Promise.resolve(void 0)):Promise.resolve(e.provider.resolveCodeLens(t,e.symbol,n)).then(e=>{r[i]=e},o.g)),Promise.all(e).then(()=>{n.isCancellationRequested||i[s].isDisposed()||i[s].updateCommands(r)})});return Promise.all(s)});this._resolveCodeLensesPromise=r,this._resolveCodeLensesPromise.then(()=>{var e=this._resolveCodeLensesDelays.update(t,Date.now()-s);this._resolveCodeLensesScheduler.delay=e,this._currentCodeLensModel&&this._codeLensCache.put(t,this._currentCodeLensModel),this._oldCodeLensModels.clear(),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)},e=>{Object(o.f)(e),r===this._resolveCodeLensesPromise&&(this._resolveCodeLensesPromise=void 0)})}}}getLenses(){return this._lenses}};H.ID="css.editor.codeLens",H=M([T(1,c.b),T(2,D.a),T(3,w)],H),Object(t.l)(H.ID,H),Object(t.j)(class extends t.b{constructor(){super({id:"codelens.showLensesInCurrentLine",precondition:j.a.hasCodeLensProvider,label:Object(B.a)("showLensOnLine","Show CodeLens Commands For Current Line"),alias:"Show CodeLens Commands For Current Line"})}run(e,t){return V(this,void 0,void 0,(function*(){if(t.hasModel()){const r=e.get(F.a),a=e.get(c.b),l=e.get(D.a);var i,n=t.getSelection().positionLineNumber;const d=t.getContribution(H.ID),h=[];for(i of d.getLenses())if(i.getLineNumber()===n)for(var o of i.getItems())o=o.symbol["command"],o&&h.push({label:o.title,command:o});if(0!==h.length){var s=yield r.pick(h,{canPickMany:!1});if(s)try{yield a.executeCommand(s.command.id,...s.command.arguments||[])}catch(i){l.error(i)}}}}))}})},"77db":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return i.e("chunk-2d0a3196").then(i.bind(null,"0176"))}})},"780f":function(e,t,i){"use strict";i("d585"),i("9c1d"),i("4a64"),i("d0b6"),i("3765"),i("6e4e"),i("2935"),i("6daf"),i("c36f"),i("0b112"),i("77a4"),i("db2d"),i("9f4d"),i("7c3e"),i("e516"),i("fd11"),i("a106"),i("7605"),i("6df4"),i("7082"),i("891c"),i("2e66"),i("f187"),i("1f84"),i("958f"),i("aee8"),i("bc61"),i("6e62"),i("1af3"),i("747f"),i("7eb7"),i("d844"),i("f17c"),i("5b02"),i("43ad"),i("d741"),i("b574"),i("7a9e");var n=i("dff7"),o=i("b2cc"),s=i("e58e");class r extends o.b{constructor(){super({id:"editor.action.forceRetokenize",label:n.a("forceRetokenize","Developer: Force Retokenize"),alias:"Developer: Force Retokenize",precondition:void 0})}run(e,t){if(t.hasModel()){const e=t.getModel(),i=(e.resetTokenization(),new s.a(!0));e.forceTokenization(e.getLineCount()),i.stop()}}}Object(o.j)(r),i("93ba"),i("87a3"),i("23ec"),i("5ed2"),i("b3b2"),i("2d47"),i("03d9"),i("b9db")},"782d":function(e,t,i){},"78bc":function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"d",(function(){return a})),i.d(t,"c",(function(){return l}));var n=i("fdcc"),o=i("1097");class s{constructor(e="",t=!1){if(this.value=e,"string"!=typeof this.value)throw Object(n.c)("value");"boolean"==typeof t?(this.isTrusted=t,this.supportThemeIcons=!1):(this.isTrusted=null!=(e=t.isTrusted)?e:void 0,this.supportThemeIcons=null!=(e=t.supportThemeIcons)&&e)}appendText(e,t=0){return this.value+=(this.supportThemeIcons?Object(o.a)(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace(/([ \t]+)/g,(e,t)=>" ".repeat(t.length)).replace(/^>/gm,"\\>").replace(/\n/g,1===t?"\\\n":"\n\n"),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+="\n",this.value+=t,this.value+="\n```\n",this}}function r(e){return function(e){return e instanceof s?1:e&&"object"==typeof e?!("string"!=typeof e.value||"boolean"!=typeof e.isTrusted&&void 0!==e.isTrusted||"boolean"!=typeof e.supportThemeIcons&&void 0!==e.supportThemeIcons):void 0}(e)?!e.value:!Array.isArray(e)||e.every(r)}function a(e){return e&&e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}function l(e){const t=[];var i,n,o,s=e.split("|").map(e=>e.trim());e=s[0],s=s[1];return s&&(i=/height=(\d+)/.exec(s),s=/width=(\d+)/.exec(s),i=i?i[1]:"",s=s?s[1]:"",n=isFinite(parseInt(s)),o=isFinite(parseInt(i)),n&&t.push(`width="${s}"`),o&&t.push(`height="${i}"`)),{href:e,dimensions:t}}},7944:function(e,t,i){"use strict";i.d(t,"c",(function(){return x})),i.d(t,"a",(function(){return k})),i.d(t,"b",(function(){return O}));var n=i("11f7"),o=i("b835"),s=(t=i("eff2"),i("a60f")),r=i("f070"),a=i("308f");i("40c2");class l extends r.b{constructor(e,t){super(),this._onDidChangeVisibility=new a.b,this.onDidChangeVisibility=this._onDidChangeVisibility.event,this._element=Object(n.q)(e,Object(n.a)(".monaco-dropdown")),this._label=Object(n.q)(this._element,Object(n.a)(".dropdown-label"));let i=t.labelRenderer;i=i||(e=>(e.textContent=t.label||"",null));for(const o of[n.d.CLICK,n.d.MOUSE_DOWN,s.a.Tap])this._register(Object(n.i)(this.element,o,e=>n.c.stop(e,!0)));for(const o of[n.d.MOUSE_DOWN,s.a.Tap])this._register(Object(n.i)(this._label,o,e=>{e instanceof MouseEvent&&1{const t=new o.a(e);(t.equals(3)||t.equals(10))&&(n.c.stop(e,!0),this.visible?this.hide():this.show())})),e=i(this._label),e&&this._register(e),this._register(s.b.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class d extends l{constructor(e,t){super(e,t),this._actions=[],this._contextMenuProvider=t.contextMenuProvider,this.actions=t.actions||[],this.actionProvider=t.actionProvider,this.menuClassName=t.menuClassName||"",this.menuAsChild=!!t.menuAsChild}set menuOptions(e){this._menuOptions=e}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(e){this._actions=e}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:e=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(e):void 0,getKeyBinding:e=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(e):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class h extends t.b{constructor(e,t,i,n=Object.create(null)){super(null,e,n),this.actionItem=null,this._onDidChangeVisibility=this._register(new a.b),this.menuActionsOrProvider=t,this.contextMenuProvider=i,this.options=n,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(e){this.actionItem=e;var t=Array.isArray(this.menuActionsOrProvider);t={contextMenuProvider:this.contextMenuProvider,labelRenderer:e=>{this.element=Object(n.q)(e,Object(n.a)("a.action-label"));let t=[];return"string"==typeof this.options.classNames?t=this.options.classNames.split(/\s+/g).filter(e=>!!e):this.options.classNames&&(t=this.options.classNames),t.find(e=>"icon"===e)||t.push("codicon"),this.element.classList.add(...t),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},menuAsChild:this.options.menuAsChild,actions:t?this.menuActionsOrProvider:void 0,actionProvider:t?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new d(e,t)),this._register(this.dropdownMenu.onDidChangeVisibility(e=>{var t;null!=(t=this.element)&&t.setAttribute("aria-expanded",""+e),this._onDidChangeVisibility.fire(e)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const e=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return e.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(e){super.setActionContext(e),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=e:this.dropdownMenu.menuOptions={context:e})}updateEnabled(){var e,t=!this.getAction().enabled;null!=(e=this.actionItem)&&e.classList.toggle("disabled",t),null!=(e=this.element)&&e.classList.toggle("disabled",t)}}var c=i("8b4e"),u=i("a666"),g=i("30db"),p=(i("afa2"),i("dff7")),m=i("7e32"),f=i("4fc3"),_=i("533b"),b=i("0a0f"),v=i("6dec"),C=i("b0cd"),w=i("03e8"),y=i("b7d0"),S=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e===n:n;{var l,d,h,c,g,[i,p,f,_=(e=>"navigation"===e),b=Number.MAX_SAFE_INTEGER,v=(()=>!1),C=!1]=[e,i,!1,t,o,s,a];let n,u;u=Array.isArray(p)?n=p:(n=p.primary,p.secondary);const L=new Set;for([l,d]of i){let e;for(var w of(_(l)?0<(e=n).length&&C&&e.push(new r.d):0<(e=u).length&&e.push(new r.d),d)){f&&(w=w instanceof m.c&&w.alt?w.alt:w);var y=e.push(w);w instanceof r.e&&L.add({group:l,action:w,index:y-1})}}for({group:h,action:c,index:g}of L){const e=_(h)?n:u;var S=c.actions;(S.length<=1||e.length+S.length-2<=b)&&v(c,h,e.length)&&e.splice(g,1,...S)}n!==u&&n.length>b&&(p=n.splice(b,n.length-b),u.unshift(...p,new r.d))}{t=e;const i=new u.b;for(var[,L]of t)for(const e of L)i.add(e);return i}}let k=class extends t.a{constructor(e,t,i,o,s){super(void 0,e,{icon:!(!e.class&&!e.item.icon),label:!e.class&&!e.item.icon,draggable:null==t?void 0:t.draggable}),this._keybindingService=i,this._notificationService=o,this._contextKeyService=s,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new u.d),this._altKey=n.e.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(e){return L(this,void 0,void 0,(function*(){e.preventDefault(),e.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(e){this._notificationService.error(e)}}))}render(e){super.render(e),e.classList.add("menu-entry"),this._updateItemClass(this._menuItemAction.item);let t=!1,i=this._altKey.keyStatus.altKey||(g.i||g.d)&&this._altKey.keyStatus.shiftKey;const o=()=>{var e=t&&i;e!==this._wantsAltCommand&&(this._wantsAltCommand=e,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event(e=>{i=e.altKey||(g.i||g.d)&&e.shiftKey,o()})),this._register(Object(n.i)(e,"mouseleave",e=>{t=!1,o()})),this._register(Object(n.i)(e,"mouseenter",e=>{t=!0,o()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const i=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService);var e=i&&i.getLabel(),t=this._commandAction.tooltip||this._commandAction.label;let n=e?Object(p.a)("titleAndKb","{0} ({1})",t,e):t;if(!this._wantsAltCommand&&this._menuItemAction.alt){e=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label;const i=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService);t=i&&i.getLabel(),t=t?Object(p.a)("titleAndKb","{0} ({1})",e,t):e,n+=`\n[${c.b.modifierLabels[g.a].altKey}] `+t}this.label.title=n}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(e){this._itemClassDispose.value=void 0;const{element:t,label:i}=this;if(t&&i){var o=(this._commandAction.checked&&null!=(o=e.toggled)&&o.icon?e.toggled:e).icon;if(o)if(y.d.isThemeIcon(o)){const e=y.d.asClassNameArray(o);i.classList.add(...e),this._itemClassDispose.value=Object(u.i)(()=>{i.classList.remove(...e)})}else o.light&&i.style.setProperty("--menu-entry-icon-light",Object(n.s)(o.light)),o.dark&&i.style.setProperty("--menu-entry-icon-dark",Object(n.s)(o.dark)),i.classList.add("icon"),this._itemClassDispose.value=Object(u.i)(()=>{i.classList.remove("icon"),i.style.removeProperty("--menu-entry-icon-light"),i.style.removeProperty("--menu-entry-icon-dark")})}}},D=(k=i([S(2,v.a),S(3,C.a),S(4,f.b)],k),class extends h{constructor(e,t,i){var n;t=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null==(n=null==t?void 0:t.menuAsChild)||n,classNames:null!=(n=null==t?void 0:t.classNames)?n:y.d.isThemeIcon(e.item.icon)?y.d.asClassName(e.item.icon):void 0});super(e,{getActions:()=>e.actions},i,t)}render(e){super.render(e),this.element&&(e.classList.add("menu-entry"),e=this._action.item["icon"],e&&!y.d.isThemeIcon(e)&&(this.element.classList.add("icon"),e.light&&this.element.style.setProperty("--menu-entry-icon-light",Object(n.s)(e.light)),e.dark&&this.element.style.setProperty("--menu-entry-icon-dark",Object(n.s)(e.dark))))}}),N=(D=i([S(2,_.a)],D),class extends t.b{constructor(e,t,i,n,o,s,a,l){super(null,e),this._keybindingService=i,this._notificationService=n,this._contextMenuService=o,this._menuService=s,this._instaService=a,this._storageService=l,this._container=null,this._storageKey=e.item.submenu._debugName+"_lastActionId";let d,c=l.get(this._storageKey,1);d=(d=c?e.actions.find(e=>c===e.id):d)||e.actions[0],this._defaultAction=this._instaService.createInstance(k,d,void 0),s=Object.assign({},null!=t?t:Object.create(null),{menuAsChild:null==(i=null==t?void 0:t.menuAsChild)||i,classNames:null!=(n=null==t?void 0:t.classNames)?n:["codicon","codicon-chevron-down"],actionRunner:null!=(o=null==t?void 0:t.actionRunner)?o:new r.b}),this._dropdown=new h(e,e.actions,this._contextMenuService,s),this._dropdown.actionRunner.onDidRun(e=>{e.action instanceof m.c&&this.update(e.action)})}update(e){this._storageService.store(this._storageKey,e.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(k,e,void 0),this._defaultAction.actionRunner=new class extends r.b{runAction(e,t){return L(this,void 0,void 0,(function*(){yield e.run(void 0)}))}},this._container&&this._defaultAction.render(Object(n.P)(this._container,Object(n.a)(".action-container")))}setActionContext(e){super.setActionContext(e),this._defaultAction.setActionContext(e),this._dropdown.setActionContext(e)}render(e){this._container=e,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default"),e=Object(n.a)(".action-container"),this._defaultAction.render(Object(n.q)(this._container,e)),this._register(Object(n.i)(e,n.d.KEY_DOWN,e=>{const t=new o.a(e);t.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),t.stopPropagation())})),e=Object(n.a)(".dropdown-action-container"),this._dropdown.render(Object(n.q)(this._container,e)),this._register(Object(n.i)(e,n.d.KEY_DOWN,e=>{const t=new o.a(e);t.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),null!=(e=this._defaultAction.element)&&e.focus(),t.stopPropagation())}))}focus(e){(e?this._dropdown:(this._defaultAction.element.tabIndex=0,this._defaultAction.element)).focus()}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(e){e?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}});function O(e,t,i){return t instanceof m.c?e.createInstance(k,t,void 0):t instanceof m.e?t.item.rememberDefaultAction?e.createInstance(N,t,i):e.createInstance(D,t,i):void 0}N=i([S(2,v.a),S(3,C.a),S(4,_.a),S(5,m.a),S(6,b.a),S(7,w.a)],N)},"7a2c":function(e,t,i){},"7a9e":function(e,t,i){"use strict";i.r(t),i.d(t,"SuggestController",(function(){return $e})),i.d(t,"TriggerSuggestAction",(function(){return Ge}));var n=i("3813"),o=i("e8e3"),s=i("fdcc"),r=i("fe45"),a=i("a666"),l=i("bc04"),d=(t=i("b2cc"),i("d3f4")),h=i("6a89"),c=i("c101"),u=i("b574"),g=i("b800"),p=i("40355"),m=i("03e8"),f=i("b707"),_=i("5fe7"),b=i("0a0f"),v=i("fbba"),C=i("f5f3"),w=i("5818"),y=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._saveState(),500),this._disposables.add(e.onWillSaveState(e=>{e.reason===m.c.SHUTDOWN&&this._saveState()}))}dispose(){this._disposables.dispose(),this._persistSoon.dispose()}memorize(e,t,i){this._withStrategy(e,t).memorize(e,t,i),this._persistSoon.schedule()}select(e,t,i){return this._withStrategy(e,t).select(e,t,i)}_withStrategy(t,i){if(i=this._configService.getValue("editor.suggestSelection",{overrideIdentifier:null==(i=this._modeService.getLanguageIdentifier(t.getLanguageIdAtPosition(i.lineNumber,i.column)))?void 0:i.language,resource:t.uri}),(null==(t=this._strategy)?void 0:t.name)!==i){this._saveState();const s=e._strategyCtors.get(i)||x;this._strategy=new s;try{var n=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,o=this._storageService.get(e._storagePrefix+"/"+i,n);o&&this._strategy.fromJSON(JSON.parse(o))}catch(t){}}return this._strategy}_saveState(){var t,i;this._strategy&&(t=this._configService.getValue("editor.suggest.shareSuggestSelections")?0:1,i=JSON.stringify(this._strategy),this._storageService.store(e._storagePrefix+"/"+this._strategy.name,i,t,1))}},D=(y=(k._strategyCtors=new Map([["recentlyUsedByPrefix",class extends L{constructor(){super("recentlyUsedByPrefix"),this._trie=p.c.forStrings(),this._seq=0}memorize(e,t,i){t=e.getWordUntilPosition(t).word,e=e.getLanguageIdentifier().language+"/"+t,this._trie.set(e,{type:i.completion.kind,insertText:i.completion.insertText,touch:this._seq++})}select(e,t,i){var n=e.getWordUntilPosition(t)["word"];if(n){n=e.getLanguageIdentifier().language+"/"+n;let t=this._trie.get(n);if(t=t||this._trie.findSubstr(n))for(let e=0;ee.push([i,t])),e.sort((e,t)=>-(e[1].touch-t[1].touch)).forEach((e,t)=>e[1].touch=t),e.slice(0,200)}fromJSON(e){if(this._trie.clear(),0a&&l.type===i[d].completion.kind&&l.insertText===i[d].completion.insertText&&(a=l.touch,r=d),i[d].completion.preselect&&-1===s)return d}return-1!==r?r:-1!==s?s:0}toJSON(){return this._cache.toJSON()}fromJSON(e){var t,i;for([t,i]of(this._cache.clear(),e))i.touch=0,i.type="number"==typeof i.type?i.type:Object(f.H)(i.type),this._cache.set(t,i);this._seq=this._cache.size}}],["first",x]]),k._storagePrefix="suggest/memories",k=y([S(0,m.a),S(1,w.a),S(2,v.a)],k),Object(b.c)("ISuggestMemories")),Object(C.b)(y,k,!0),i("dff7")),N=(S=i("9e74"),i("4fc3")),O=(C=i("9eb8"),i("4153")),E=(k=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._ignore||this.reset()}),this._ckOtherSuggestions.set(!0))}static _moveIndex(e,t,i){let n=i;for(;;){if((n=(n+t.items.length+(e?1:-1))%t.items.length)===i)break;if(!t.items[n].completion.additionalTextEdits)break}return n}next(){this._move(!0)}prev(){this._move(!1)}_move(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}}};I.OtherSuggestions=new N.c("hasOtherSuggestions",!1),I=k([E(1,N.b)],I);var M=i("308f"),T=i("8025"),A=i("7e93"),R=i("3742");class P{constructor(e,t,i,n,o,s,r){this.clipboardText=r,this._snippetCompareFn=P._compareCompletionItems,this._items=e,this._column=t,this._wordDistance=n,this._options=o,this._refilterKind=1,this._lineContext=i,"top"===s?this._snippetCompareFn=P._compareCompletionItemsSnippetsUp:"bottom"===s&&(this._snippetCompareFn=P._compareCompletionItemsSnippetsDown)}get lineContext(){return this._lineContext}set lineContext(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta=h)u.score=A.a.Default;else if("string"==typeof u.completion.filterText){if(h=l(n,s,e,u.completion.filterText,u.filterTextLow,0,!1),!h)continue;0===Object(R.g)(u.completion.filterText,u.textLabel)?u.score=h:(u.score=Object(A.b)(n,s,e,u.textLabel,u.labelLow,0),u.score[0]=h[0])}else{if(h=l(n,s,e,u.textLabel,u.labelLow,0,!1),!h)continue;u.score=h}}u.idx=o,u.distance=this._wordDistance.distance(u.position,u.completion),a.push(u),e.push(u.textLabel.length)}}this._filteredItems=a.sort(this._snippetCompareFn),this._refilterKind=0,this._stats={pLabelLen:e.length?Object(o.q)(e.length-.85,e,(e,t)=>e-t):0}}static _compareCompletionItems(e,t){return e.score[0]>t.score[0]?-1:e.score[0]t.distance?1:e.idxt.idx?1:0}static _compareCompletionItemsSnippetsDown(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return 1;if(27===t.completion.kind)return-1}return P._compareCompletionItems(e,t)}static _compareCompletionItemsSnippetsUp(e,t){if(e.completion.kind!==t.completion.kind){if(27===e.completion.kind)return-1;if(27===t.completion.kind)return 1}return P._compareCompletionItems(e,t)}}var F=i("2504"),B=(k=i("a40b"),i("67b4")),j=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class W{static create(e,t){return j(this,void 0,void 0,(function*(){if(!t.getOption(106).localityBonus)return W.None;if(!t.hasModel())return W.None;const i=t.getModel(),n=t.getPosition();if(!e.canComputeWordRanges(i.uri))return W.None;const[s]=yield(new B.a).provideSelectionRanges(i,[n]);if(0===s.length)return W.None;const r=yield e.computeWordRanges(i.uri,s[0].range);var a;return r?(a=i.getWordUntilPosition(n),delete r[a.word],new class extends W{distance(e,i){if(!n.equals(t.getPosition()))return 0;if(17===i.kind)return 2<<20;if(i=("string"==typeof i.label?i:i.label).label,i=r[i],Object(o.m)(i))return 2<<20;e=Object(o.d)(i,h.a.fromPositions(e),h.a.compareRangesUsingStarts);var a=0<=e?i[e]:i[Math.max(0,~e-1)];let l=s.length;for(const t of s){if(!h.a.containsRange(t.range,a))break;--l}return l}}):W.None}))}}W.None=new class extends W{distance(){return 0}};E=i("f577");var V=i("5d75"),H=i("d3d7"),z=function(e,t){return function(i,n){t(i,n,e)}},U=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class K{constructor(e,t,i,n){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=i,this.shy=n}static shouldAutoTrigger(e){if(!e.hasModel())return!1;const t=e.getModel();e=e.getPosition();var i=(t.tokenizeIfCheap(e.lineNumber),t.getWordAtPosition(e));return!!i&&i.endColumn===e.column&&!!isNaN(Number(i.word))}}let q=class e{constructor(e,t,i,n,o,s,r){this._editor=e,this._editorWorkerService=t,this._clipboardService=i,this._telemetryService=n,this._logService=o,this._contextKeyService=s,this._configurationService=r,this._toDispose=new a.b,this._quickSuggestDelay=10,this._triggerCharacterListener=new a.b,this._triggerQuickSuggest=new _.g,this._state=0,this._completionDisposables=new a.b,this._onDidCancel=new M.b,this._onDidTrigger=new M.b,this._onDidSuggest=new M.b,this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._telemetryGate=0,this._currentSelection=this._editor.getSelection()||new T.a(1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeModelLanguage(()=>{this._updateTriggerCharacters(),this.cancel()})),this._toDispose.add(this._editor.onDidChangeConfiguration(()=>{this._updateTriggerCharacters(),this._updateQuickSuggest()})),this._toDispose.add(f.d.onDidChange(()=>{this._updateTriggerCharacters(),this._updateActiveSuggestSession()})),this._toDispose.add(this._editor.onDidChangeCursorSelection(e=>{this._onCursorChange(e)}));let l=!1;this._toDispose.add(this._editor.onDidCompositionStart(()=>{l=!0})),this._toDispose.add(this._editor.onDidCompositionEnd(()=>{l=!1,this._refilterCompletionItems()})),this._toDispose.add(this._editor.onDidChangeModelContent(()=>{l||this._refilterCompletionItems()})),this._updateTriggerCharacters(),this._updateQuickSuggest()}dispose(){Object(a.f)(this._triggerCharacterListener),Object(a.f)([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()}_updateQuickSuggest(){this._quickSuggestDelay=this._editor.getOption(79),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)}_updateTriggerCharacters(){if(this._triggerCharacterListener.clear(),!this._editor.getOption(80)&&this._editor.hasModel()&&this._editor.getOption(109)){const t=new Map;for(const e of f.d.all(this._editor.getModel()))for(const i of e.triggerCharacters||[]){let n=t.get(i);n||((n=new Set).add(Object(O.c)()),t.set(i,n)),n.add(e)}var e=e=>{if(i=this._contextKeyService,n=this._configurationService,(!Boolean(i.getContextKeyValue("inlineSuggestionVisible"))||Boolean(n.getValue("editor.inlineSuggest.allowSuggestOnTriggerCharacters")))&&!K.shouldAutoTrigger(this._editor)){if(!e){var i=this._editor.getPosition();const t=this._editor.getModel();e=t.getLineContent(i.lineNumber).substr(0,i.column-1)}let o="";Object(R.F)(e.charCodeAt(e.length-1))?Object(R.E)(e.charCodeAt(e.length-2))&&(o=e.substr(e.length-2)):o=e.charAt(e.length-1);var n=t.get(o);n&&(i=this._completionModel?{items:this._completionModel.adopt(n),clipboardText:this._completionModel.clipboardText}:void 0,this.trigger({auto:!0,shy:!1,triggerCharacter:o},Boolean(this._completionModel),n,i))}};this._triggerCharacterListener.add(this._editor.onDidType(e)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(e))}}get state(){return this._state}cancel(e=!1){var t;0!==this._state&&(this._triggerQuickSuggest.cancel(),null!=(t=this._requestToken)&&t.cancel(),this._requestToken=void 0,this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))}clear(){this._completionDisposables.clear()}_updateActiveSuggestSession(){0!==this._state&&(this._editor.hasModel()&&f.d.has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())}_onCursorChange(e){if(this._editor.hasModel()){var t=this._editor.getModel();const i=this._currentSelection;this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason&&3!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source?this.cancel():f.d.has(t)&&(0===this._state&&0===e.reason?!1===this._editor.getOption(78)||!i.containsRange(this._currentSelection)&&!i.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition())||this._editor.getOption(106).snippetsPreventQuickSuggestions&&u.SnippetController2.get(this._editor).isInSnippet()||(this.cancel(),this._triggerQuickSuggest.cancelAndSet(()=>{if(0===this._state&&K.shouldAutoTrigger(this._editor)&&this._editor.hasModel()){const i=this._editor.getModel();var e=this._editor.getPosition(),t=this._editor.getOption(78);if(!1!==t){if(!0!==t){i.tokenizeIfCheap(e.lineNumber);const n=i.getLineTokens(e.lineNumber);e=n.getStandardTokenType(n.findTokenIndexAtOffset(Math.max(e.column-1-1,0)));if(!(t.other&&0===e||t.comments&&1===e||t.strings&&2===e))return}t=this._contextKeyService,e=this._configurationService,Boolean(t.getContextKeyValue("inlineSuggestionVisible"))&&!Boolean(e.getValue("editor.inlineSuggest.allowQuickSuggestions"))||this.trigger({auto:!0,shy:!1})}}},this._quickSuggestDelay)):0!==this._state&&3===e.reason&&this._refilterCompletionItems())}}_refilterCompletionItems(){Promise.resolve().then(()=>{var e,t;0!==this._state&&this._editor.hasModel()&&(t=this._editor.getModel(),e=this._editor.getPosition(),t=new K(t,e,2===this._state,!1),this._onNewContext(t))})}trigger(t,i=!1,n,o){if(this._editor.hasModel()){var r=this._editor.getModel();const d=t.auto;var a=new K(r,this._editor.getPosition(),d,t.shy);this.cancel(i),this._state=d?2:1,this._onDidTrigger.fire({auto:d,shy:t.shy,position:this._editor.getPosition()}),this._context=a;let h={triggerKind:null!=(i=t.triggerKind)?i:0};t.triggerCharacter&&(h={triggerKind:1,triggerCharacter:t.triggerCharacter}),this._requestToken=new F.b,a=this._editor.getOption(101);let c=1;switch(a){case"top":c=0;break;case"bottom":c=2}var{itemKind:i,showDeprecated:a}=e._createSuggestFilter(this._editor),l=W.create(this._editorWorkerService,this._editor);r=Object(O.e)(r,this._editor.getPosition(),new O.a(c,i,n,a),h,this._requestToken.token);Promise.all([r,l]).then(([e,i])=>U(this,void 0,void 0,(function*(){if(null!=(n=this._requestToken)&&n.dispose(),this._editor.hasModel()){let r=null==o?void 0:o.clipboardText;if(!r&&e.needsClipboard&&(r=yield this._clipboardService.readText()),0!==this._state){var n=this._editor.getModel();let a=e.items;o&&(s=Object(O.d)(c),a=a.concat(o.items).sort(s));var s=new K(n,this._editor.getPosition(),d,t.shy);this._completionModel=new P(a,this._context.column,{leadingLineContent:s.leadingLineContent,characterCountDelta:s.column-this._context.column},i,this._editor.getOption(106),this._editor.getOption(101),r),this._completionDisposables.add(e.disposable),this._onNewContext(s),this._reportDurationsTelemetry(e.durations)}}}))).catch(s.f)}}_reportDurationsTelemetry(e){this._telemetryGate++%230==0&&setTimeout(()=>{this._telemetryService.publicLog2("suggest.durations.json",{data:JSON.stringify(e)}),this._logService.debug("suggest.durations.json",e)})}static _createSuggestFilter(e){const t=new Set;return"none"===e.getOption(101)&&t.add(27),e=e.getOption(106),e.showMethods||t.add(0),e.showFunctions||t.add(1),e.showConstructors||t.add(2),e.showFields||t.add(3),e.showVariables||t.add(4),e.showClasses||t.add(5),e.showStructs||t.add(6),e.showInterfaces||t.add(7),e.showModules||t.add(8),e.showProperties||t.add(9),e.showEvents||t.add(10),e.showOperators||t.add(11),e.showUnits||t.add(12),e.showValues||t.add(13),e.showConstants||t.add(14),e.showEnums||t.add(15),e.showEnumMembers||t.add(16),e.showKeywords||t.add(17),e.showWords||t.add(18),e.showColors||t.add(19),e.showFiles||t.add(20),e.showReferences||t.add(21),e.showColors||t.add(22),e.showFolders||t.add(23),e.showTypeParameters||t.add(24),e.showSnippets||t.add(27),e.showUsers||t.add(25),e.showIssues||t.add(26),{itemKind:t,showDeprecated:e.showDeprecated}}_onNewContext(e){if(this._context)if(e.lineNumber!==this._context.lineNumber)this.cancel();else if(Object(R.x)(e.leadingLineContent)!==Object(R.x)(this._context.leadingLineContent))this.cancel();else if(e.columnthis._context.leadingWord.startColumn){const e=new Set(f.d.all(this._editor.getModel()));for(var t of this._completionModel.allProvider)e.delete(t);var i=this._completionModel.adopt(new Set);this.trigger({auto:this._context.auto,shy:!1},!0,e,{items:i,clipboardText:this._completionModel.clipboardText})}else if(e.column>this._context.column&&0this._size.width},{orientation:0}),this._westSash=new ie.b(this.domNode,{getVerticalSashLeft:()=>0},{orientation:0}),this._northSash=new ie.b(this.domNode,{getHorizontalSashTop:()=>0},{orientation:1,orthogonalEdge:ie.a.North}),this._southSash=new ie.b(this.domNode,{getHorizontalSashTop:()=>this._size.height},{orientation:1,orthogonalEdge:ie.a.South}),this._northSash.orthogonalStartSash=this._westSash,this._northSash.orthogonalEndSash=this._eastSash,this._southSash.orthogonalStartSash=this._westSash,this._southSash.orthogonalEndSash=this._eastSash;let e,t=0,i=0;this._sashListener.add(M.c.any(this._northSash.onDidStart,this._eastSash.onDidStart,this._southSash.onDidStart,this._westSash.onDidStart)(()=>{void 0===e&&(this._onDidWillResize.fire(),e=this._size,t=0,i=0)})),this._sashListener.add(M.c.any(this._northSash.onDidEnd,this._eastSash.onDidEnd,this._southSash.onDidEnd,this._westSash.onDidEnd)(()=>{void 0!==e&&(e=void 0,t=0,i=0,this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(this._eastSash.onDidChange(n=>{e&&(i=n.currentX-n.startX,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,east:!0}))})),this._sashListener.add(this._westSash.onDidChange(n=>{e&&(i=-(n.currentX-n.startX),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,west:!0}))})),this._sashListener.add(this._northSash.onDidChange(n=>{e&&(t=-(n.currentY-n.startY),this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,north:!0}))})),this._sashListener.add(this._southSash.onDidChange(n=>{e&&(t=n.currentY-n.startY,this.layout(e.height+t,e.width+i),this._onDidResize.fire({dimension:this._size,done:!1,south:!0}))})),this._sashListener.add(M.c.any(this._eastSash.onDidReset,this._westSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._size.height,this._preferredSize.width),this._onDidResize.fire({dimension:this._size,done:!0}))})),this._sashListener.add(M.c.any(this._northSash.onDidReset,this._southSash.onDidReset)(e=>{this._preferredSize&&(this.layout(this._preferredSize.height,this._size.width),this._onDidResize.fire({dimension:this._size,done:!0}))}))}dispose(){this._northSash.dispose(),this._southSash.dispose(),this._eastSash.dispose(),this._westSash.dispose(),this._sashListener.dispose(),this._onDidResize.dispose(),this._onDidWillResize.dispose(),this.domNode.remove()}enableSashes(e,t,i,n){this._northSash.state=e?3:0,this._eastSash.state=t?3:0,this._southSash.state=i?3:0,this._westSash.state=n?3:0}layout(e=this.size.height,t=this.size.width){var{height:i,width:n}=this._minSize,{height:o,width:s}=this._maxSize,i=(e=Math.max(i,Math.min(o,e)),t=Math.max(n,Math.min(s,t)),new $.b(t,e));$.b.equals(i,this._size)||(this.domNode.style.height=e+"px",this.domNode.style.width=t+"px",this._size=i,this._northSash.layout(),this._eastSash.layout(),this._southSash.layout(),this._westSash.layout())}clearSashHoverState(){this._eastSash.clearSashHoverState(),this._westSash.clearSashHoverState(),this._northSash.clearSashHoverState(),this._southSash.clearSashHoverState()}get size(){return this._size}set maxSize(e){this._maxSize=e}get maxSize(){return this._maxSize}set minSize(e){this._minSize=e}get minSize(){return this._minSize}set preferredSize(e){this._preferredSize=e}get preferredSize(){return this._preferredSize}}function oe(e){return e&&Boolean(e.completion.documentation||e.completion.detail&&e.completion.detail!==e.completion.label)}let se=class{constructor(e,t){this._editor=e,this._onDidClose=new M.b,this.onDidClose=this._onDidClose.event,this._onDidChangeContents=new M.b,this.onDidChangeContents=this._onDidChangeContents.event,this._disposables=new a.b,this._renderDisposeable=new a.b,this._borderWidth=1,this._size=new $.b(330,0),this.domNode=$.a(".suggest-details"),this.domNode.classList.add("no-docs"),this._markdownRenderer=t.createInstance(J.a,{editor:e}),this._body=$.a(".body"),this._scrollbar=new Q.a(this._body,{}),$.q(this.domNode,this._scrollbar.getDomNode()),this._disposables.add(this._scrollbar),this._header=$.q(this._body,$.a(".header")),this._close=$.q(this._header,$.a("span"+te.b.close.cssSelector)),this._close.title=D.a("details.close","Close"),this._type=$.q(this._header,$.a("p.type")),this._docs=$.q(this._body,$.a("p.docs")),this._configureFont(),this._disposables.add(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(42)&&this._configureFont()}))}dispose(){this._disposables.dispose(),this._renderDisposeable.dispose()}_configureFont(){const e=this._editor.getOptions();var t=e.get(42),i=t.fontFamily,n=e.get(107)||t.fontSize,o=e.get(108)||t.lineHeight,s=t.fontWeight;o+="px";this.domNode.style.fontSize=n+"px",this.domNode.style.lineHeight=o,this.domNode.style.fontWeight=s,this.domNode.style.fontFeatureSettings=t.fontFeatureSettings,this._type.style.fontFamily=i,this._close.style.height=o,this._close.style.width=o}getLayoutInfo(){var e=this._editor.getOption(108)||this._editor.getOption(42).lineHeight,t=this._borderWidth;return{lineHeight:e,borderWidth:t,borderHeight:2*t,verticalPadding:22,horizontalPadding:14}}renderLoading(){this._type.textContent=D.a("loading","Loading..."),this._docs.textContent="",this.domNode.classList.remove("no-docs","no-type"),this.layout(this.size.width,2*this.getLayoutInfo().lineHeight),this._onDidChangeContents.fire(this)}renderItem(e,t){var i,n;this._renderDisposeable.clear();let{detail:o,documentation:s}=e.completion;t&&(n="",n=(n=(n=(n=(n=(n+=`score: ${e.score[0]}\n`)+`prefix: ${null!=(i=e.word)?i:"(no prefix)"}\n`)+`word: ${e.completion.filterText?e.completion.filterText+" (filterText)":e.textLabel}\n`)+`distance: ${e.distance} (localityBonus-setting)\n`)+`index: ${e.idx}, based on ${e.completion.sortText&&`sortText: "${e.completion.sortText}"`||"label"}\n`)+`commit_chars: ${null==(i=e.completion.commitCharacters)?void 0:i.join("")}\n`,s=(new ee.a).appendCodeblock("empty",n),o="Provider: "+e.provider._debugDisplayName),t||oe(e)?(this.domNode.classList.remove("no-docs","no-type"),o?(i=1e5{this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)}))),this.domNode.style.userSelect="text",this.domNode.tabIndex=-1,this._close.onmousedown=e=>{e.preventDefault(),e.stopPropagation()},this._close.onclick=e=>{e.preventDefault(),e.stopPropagation(),this._onDidClose.fire()},this._body.scrollTop=0,this.layout(this._size.width,this._type.clientHeight+this._docs.clientHeight),this._onDidChangeContents.fire(this)):this.clearContents()}clearContents(){this.domNode.classList.add("no-docs"),this._type.textContent="",this._docs.textContent=""}get size(){return this._size}layout(e,t){var i=new $.b(e,t);$.b.equals(i,this._size)||(this._size=i,$.X(this.domNode,e,t)),this._scrollbar.scanDomNode()}scrollDown(e=8){this._body.scrollTop+=e}scrollUp(e=8){this._body.scrollTop-=e}scrollTop(){this._body.scrollTop=0}scrollBottom(){this._body.scrollTop=this._body.scrollHeight}pageDown(){this.scrollDown(80)}pageUp(){this.scrollUp(80)}set borderWidth(e){this._borderWidth=e}get borderWidth(){return this._borderWidth}};se=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{i=this._topLeft,n=this._resizable.size})),this._disposables.add(this._resizable.onDidResize(e=>{if(i&&n){this.widget.layout(e.dimension.width,e.dimension.height);let t=!1;e.west&&(s=n.width-e.dimension.width,t=!0),e.north&&(o=n.height-e.dimension.height,t=!0),t&&this._applyTopLeft({top:i.top+o,left:i.left+s})}e.done&&(i=void 0,n=void 0,o=0,s=0,this._userSize=e.dimension)})),this._disposables.add(this.widget.onDidChangeContents(()=>{var e;this._anchorBox&&this._placeAtAnchor(this._anchorBox,null!=(e=this._userSize)?e:this.widget.size)}))}dispose(){this._resizable.dispose(),this._disposables.dispose(),this.hide()}getId(){return"suggest.details"}getDomNode(){return this._resizable.domNode}getPosition(){return null}show(){this._added||(this._editor.addOverlayWidget(this),this.getDomNode().style.position="fixed",this._added=!0)}hide(e=!1){this._resizable.clearSashHoverState(),this._added&&(this._editor.removeOverlayWidget(this),this._added=!1,this._anchorBox=void 0,this._topLeft=void 0),e&&(this._userSize=void 0,this.widget.clearContents())}placeAtAnchor(e){e=$.D(e);this._anchorBox=e,this._placeAtAnchor(this._anchorBox,null!=(e=this._userSize)?e:this.widget.size)}_placeAtAnchor(e,t){var i=$.z(document.body),n=this.widget.getLayoutInfo();let o,s,r=new $.b(220,2*n.lineHeight),a=0,l=e.top;var d=e.top+e.height-n.borderHeight;let h,c,u,g=i.width-(e.left+e.width+n.borderWidth+n.horizontalPadding),p=(a=-n.borderWidth+e.left+e.width,c=!0,o=new $.b(g,i.height-e.top-n.borderHeight-n.verticalPadding),s=o.with(void 0,e.top+e.height-n.borderHeight-n.verticalPadding),t.width>g&&(e.left>g&&(g=e.left-n.borderWidth-n.horizontalPadding,c=!1,a=Math.max(n.horizontalPadding,e.left-t.width-n.borderWidth),o=o.with(g),s=o.with(void 0,s.height)),e.width>1.3*g&&i.height-(e.top+e.height)>e.height&&(g=e.width,a=e.left,l=-n.borderWidth+e.top+e.height,o=new $.b(e.width-n.borderHeight,i.height-e.top-e.height-n.verticalPadding),s=o.with(void 0,e.top-n.verticalPadding),r=r.with(o.width))),t.height);i=Math.max(o.height,s.height),p>i&&(p=i),u=p<=o.height?(h=!0,o):(h=!1,s),this._applyTopLeft({left:a,top:h?l:d-p}),this.getDomNode().style.position="fixed",this._resizable.enableSashes(!h,c,h,!c),this._resizable.minSize=r,this._resizable.maxSize=u,this._resizable.layout(p,Math.min(u.width,t.width)),this.widget.layout(this._resizable.size.width,this._resizable.size.height)}_applyTopLeft(e){this._topLeft=e,this.getDomNode().style.left=this._topLeft.left+"px",this.getDomNode().style.top=this._topLeft.top+"px"}}var ae=i("5aa5"),le=(k=i("7944"),i("7e32"));E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e instanceof le.c?t.createInstance(de,e,void 0):void 0,this._leftActions=new ae.a(this.element,{actionViewItemProvider:i}),this._rightActions=new ae.a(this.element,{actionViewItemProvider:i}),this._leftActions.domNode.classList.add("left"),this._rightActions.domNode.classList.add("right")}dispose(){this._menuDisposables.dispose(),this.element.remove()}show(){const e=this._menuService.createMenu(O.g,this._contextKeyService),t=()=>{const t=[],i=[];for(var[n,o]of e.getActions())("left"===n?t:i).push(...o);this._leftActions.clear(),this._leftActions.push(t),this._rightActions.clear(),this._rightActions.push(i)};this._menuDisposables.add(e.onDidChange(()=>t())),this._menuDisposables.add(e)}hide(){this._menuDisposables.clear()}};he=E([V(1,b.a),V(2,le.a),V(3,N.b)],he);var ce,ue=i("c4e3"),ge=i("b589"),pe=i("82c9"),me=i("32a4");function fe(e,t,i,n){const o=n===ce.ROOT_FOLDER?["rootfolder-icon"]:n===ce.FOLDER?["folder-icon"]:["file-icon"];if(i){let s;if(i.scheme===ge.c.data){const e=pe.a.parseMetaData(i);s=e.get(pe.a.META_DATA_LABEL)}else s=_e(Object(pe.c)(i).toLowerCase());if(n===ce.FOLDER)o.push(s+"-name-folder-icon");else{if(s){if(o.push(s+"-name-file-icon"),s.length<=255){const e=s.split(".");for(let t=1;t{const e=this._editor.getOptions();var n=e.get(42),o=n.fontFamily,s=n.fontFeatureSettings,r=e.get(107)||n.fontSize,a=e.get(108)||n.lineHeight;n=n.fontWeight,r+="px",a+="px";t.root.style.fontSize=r,t.root.style.fontWeight=n,i.style.fontFamily=o,i.style.fontFeatureSettings=s,i.style.lineHeight=a,t.icon.style.height=a,t.icon.style.width=a,t.readMore.style.height=a,t.readMore.style.width=a});return n(),t.disposables.add(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(42)||e.hasChanged(107)||e.hasChanged(108))&&n()})),t}renderElement(e,t,i){const n=e["completion"],s=(i.root.id=ve(t),{labelEscapeNewLines:!(i.colorspan.style.backgroundColor=""),matches:Object(A.c)(e.score)});var r;t=[];19===n.kind&&we.extract(e,t)?(i.icon.className="icon customcolor",i.iconContainer.className="icon hide",i.colorspan.style.backgroundColor=t[0]):20===n.kind&&this._themeService.getFileIconTheme().hasFileIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",t=fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:e.textLabel}),ce.FILE),r=fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:n.detail}),ce.FILE),s.extraClasses=t.length>r.length?t:r):23===n.kind&&this._themeService.getFileIconTheme().hasFolderIcons?(i.icon.className="icon hide",i.iconContainer.className="icon hide",s.extraClasses=Object(o.k)([fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:e.textLabel}),ce.FOLDER),fe(this._modelService,this._modeService,be.a.from({scheme:"fake",path:n.detail}),ce.FOLDER)])):(i.icon.className="icon hide",i.iconContainer.className="",i.iconContainer.classList.add("suggest-icon",...Object(f.I)(n.kind).split(" "))),n.tags&&0<=n.tags.indexOf(1)&&(s.extraClasses=(s.extraClasses||[]).concat(["deprecated"]),s.matches=[]),i.iconLabel.setLabel(e.textLabel,void 0,s),"string"==typeof n.label?(i.parametersLabel.textContent="",i.detailsLabel.textContent=Se(n.detail||""),i.root.classList.add("string-label")):(i.parametersLabel.textContent=Se(n.label.detail||""),i.detailsLabel.textContent=Se(n.label.description||""),i.root.classList.remove("string-label")),(this._editor.getOption(106).showInlineDetails?Object($.W):Object($.K))(i.detailsLabel),oe(e)?(i.right.classList.add("can-expand-details"),Object($.W)(i.readMore),i.readMore.onmousedown=e=>{e.stopPropagation(),e.preventDefault()},i.readMore.onclick=e=>{e.stopPropagation(),e.preventDefault(),this._onDidToggleDetails.fire()}):(i.right.classList.remove("can-expand-details"),Object($.K)(i.readMore),i.readMore.onmousedown=null,i.readMore.onclick=null)}disposeTemplate(e){e.disposables.dispose()}};function Se(e){return e.replace(/\r\n|\r|\n/g,"")}ye=E([V(1,v.a),V(2,w.a),V(3,Y.b)],ye);var Le=i("d379"),xe=i("49d9"),ke=(k=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._contentWidget.lockPreference(),r=new s(this._persistedSize.restore(),this.element.size)})),this._disposables.add(this.element.onDidResize(e=>{var t;if(this._resize(e.dimension.width,e.dimension.height),r&&(r.persistHeight=r.persistHeight||!!e.north||!!e.south,r.persistWidth=r.persistWidth||!!e.east||!!e.west),e.done){if(r){var{itemHeight:e,defaultSize:i}=this.getLayoutInfo();e=Math.round(e/2);let{width:n,height:o}=this.element.size;(!r.persistHeight||Math.abs(r.currentSize.height-o)<=e)&&(o=null!=(t=null==(t=r.persistedSize)?void 0:t.height)?t:i.height),(!r.persistWidth||Math.abs(r.currentSize.width-n)<=e)&&(n=null!=(e=null==(t=r.persistedSize)?void 0:t.width)?e:i.width),this._persistedSize.store(new $.b(n,o))}this._contentWidget.unlockPreference(),r=void 0}})),this._messageElement=$.q(this.element.domNode,$.a(".message")),this._listElement=$.q(this.element.domNode,$.a(".tree"));const l=o.createInstance(se,this.editor),d=(l.onDidClose(this.toggleDetails,this,this._disposables),this._details=new re(l,this.editor),()=>this.element.domNode.classList.toggle("no-icons",!this.editor.getOption(106).showIcons)),h=(d(),o.createInstance(ye,this.editor)),c=(this._disposables.add(h),this._disposables.add(h.onDidToggleDetails(()=>this.toggleDetails())),this._list=new G.c("SuggestWidget",this._listElement,{getHeight:e=>this.getLayoutInfo().itemHeight,getTemplateId:e=>"suggestion"},[h],{alwaysConsumeMouseWheel:!0,useShadows:!1,mouseSupport:!1,accessibilityProvider:{getRole:()=>"option",getAriaLabel:e=>{var t,i;return e.isResolved&&this._isDetailsVisible()?(({documentation:t,detail:i}=e.completion),i=R.v("{0}{1}",i||"",t?"string"==typeof t?t:t.value:""),D.a("ariaCurrenttSuggestionReadDetails","{0}, docs: {1}",e.textLabel,i)):e.textLabel},getWidgetAriaLabel:()=>D.a("suggest","Suggest"),getWidgetRole:()=>"listbox"}}),this._status=o.createInstance(he,this.element.domNode),()=>this.element.domNode.classList.toggle("with-status-bar",this.editor.getOption(106).showStatusBar));c(),this._disposables.add(Object(Z.b)(this._list,n,{listInactiveFocusBackground:Me,listInactiveFocusOutline:X.b})),this._disposables.add(n.onDidColorThemeChange(e=>this._onThemeChange(e))),this._onThemeChange(n.getColorTheme()),this._disposables.add(this._list.onMouseDown(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onTap(e=>this._onListMouseDownOrTap(e))),this._disposables.add(this._list.onDidChangeSelection(e=>this._onListSelection(e))),this._disposables.add(this._list.onDidChangeFocus(e=>this._onListFocus(e))),this._disposables.add(this.editor.onDidChangeCursorSelection(()=>this._onCursorSelectionChanged())),this._disposables.add(this.editor.onDidChangeConfiguration(e=>{e.hasChanged(106)&&(c(),d())})),this._ctxSuggestWidgetVisible=O.b.Visible.bindTo(i),this._ctxSuggestWidgetDetailsVisible=O.b.DetailsVisible.bindTo(i),this._ctxSuggestWidgetMultipleSuggestions=O.b.MultipleSuggestions.bindTo(i),this._disposables.add($.o(this._details.widget.domNode,"keydown",e=>{this._onDetailsKeydown.fire(e)})),this._disposables.add(this.editor.onMouseDown(e=>this._onEditorMouseDown(e)))}dispose(){var e;this._details.widget.dispose(),this._details.dispose(),this._list.dispose(),this._status.dispose(),this._disposables.dispose(),null!=(e=this._loadingTimeout)&&e.dispose(),this._showTimeout.dispose(),this._contentWidget.dispose(),this.element.dispose()}_onEditorMouseDown(e){this._details.widget.domNode.contains(e.target.element)?this._details.widget.domNode.focus():this.element.domNode.contains(e.target.element)&&this.editor.focus()}_onCursorSelectionChanged(){0!==this._state&&this._contentWidget.layout()}_onListMouseDownOrTap(e){void 0!==e.element&&void 0!==e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this._select(e.element,e.index))}_onListSelection(e){e.elements.length&&this._select(e.elements[0],e.indexes[0])}_select(e,t){var i=this._completionModel;i&&(this._onDidSelect.fire({item:e,index:t,model:i}),this.editor.focus())}_onThemeChange(e){const t=e.getColor(De),i=(t&&(this.element.domNode.style.backgroundColor=t.toString(),this._messageElement.style.backgroundColor=t.toString(),this._details.widget.domNode.style.backgroundColor=t.toString()),e.getColor(Ne)),n=(i&&(this.element.domNode.style.borderColor=i.toString(),this._messageElement.style.borderColor=i.toString(),this._status.element.style.borderTopColor=i.toString(),this._details.widget.domNode.style.borderColor=i.toString(),this._detailsBorderColor=i.toString()),e.getColor(X.db));n&&(this._detailsFocusBorderColor=n.toString()),this._details.widget.borderWidth="hc"===e.type?2:1}_onListFocus(e){if(!this._ignoreFocusEvents)if(e.elements.length){if(this._completionModel){const t=e.elements[0],i=e.indexes[0];t!==this._focusedItem&&(null!=(e=this._currentSuggestionDetails)&&e.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=t,this._list.reveal(i),this._currentSuggestionDetails=Object(_.h)(e=>ke(this,void 0,void 0,(function*(){const i=Object(_.i)(()=>{this._isDetailsVisible()&&this.showDetails(!0)},250);e.onCancellationRequested(()=>i.dispose());var n=yield t.resolve(e);return i.dispose(),n}))),this._currentSuggestionDetails.then(()=>{i>=this._list.length||t!==this._list.element(i)||(this._ignoreFocusEvents=!0,this._list.splice(i,1,[t]),this._list.setFocus([i]),this._ignoreFocusEvents=!1,this._isDetailsVisible()?this.showDetails(!1):this.element.domNode.classList.remove("docs-side"),this.editor.setAriaOptions({activeDescendant:ve(i)}))}).catch(s.f)),this._onDidFocus.fire({item:t,index:i,model:this._completionModel})}}else this._currentSuggestionDetails&&(this._currentSuggestionDetails.cancel(),this._currentSuggestionDetails=void 0,this._focusedItem=void 0),this.editor.setAriaOptions({activeDescendant:void 0})}_setState(t){if(this._state!==t)switch(this._state=t,this.element.domNode.classList.toggle("frozen",4===t),this.element.domNode.classList.remove("message"),t){case 0:$.K(this._messageElement,this._listElement,this._status.element),this._details.hide(!0),this._status.hide(),this._contentWidget.hide(),this._ctxSuggestWidgetVisible.reset(),this._ctxSuggestWidgetMultipleSuggestions.reset(),this._showTimeout.cancel(),this.element.domNode.classList.remove("visible"),this._list.splice(0,this._list.length),this._focusedItem=void 0,this._cappedHeight=void 0,this._explainMode=!1;break;case 1:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.LOADING_MESSAGE,$.K(this._listElement,this._status.element),$.W(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 2:this.element.domNode.classList.add("message"),this._messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,$.K(this._listElement,this._status.element),$.W(this._messageElement),this._details.hide(),this._show(),this._focusedItem=void 0;break;case 3:case 4:$.K(this._messageElement),$.W(this._listElement,this._status.element),this._show();break;case 5:$.K(this._messageElement),$.W(this._listElement,this._status.element),this._details.show(),this._show()}}_show(){this._status.show(),this._contentWidget.show(),this._layout(this._persistedSize.restore()),this._ctxSuggestWidgetVisible.set(!0),this._showTimeout.cancelAndSet(()=>{this.element.domNode.classList.add("visible"),this._onDidShow.fire(this)},100)}showTriggered(e,t){0===this._state&&(this._contentWidget.setPosition(this.editor.getPosition()),this._isAuto=!!e,this._isAuto||(this._loadingTimeout=Object(_.i)(()=>this._setState(1),t)))}showSuggestions(e,t,i,n){var o;this._contentWidget.setPosition(this.editor.getPosition()),null!=(o=this._loadingTimeout)&&o.dispose(),null!=(o=this._currentSuggestionDetails)&&o.cancel(),this._currentSuggestionDetails=void 0,this._completionModel!==e&&(this._completionModel=e),i&&2!==this._state&&0!==this._state?this._setState(4):(e=0===(o=this._completionModel.items.length),this._ctxSuggestWidgetMultipleSuggestions.set(1n&&(c=n),this._completionModel?this._completionModel.stats.pLabelLen*i.typicalHalfwidthCharacterWidth:c),s=i.statusBarHeight+this._list.contentHeight+i.borderHeight,r=i.itemHeight+i.statusBarHeight,a=$.D(this.editor.getDomNode()),l=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),d=a.top+l.top+l.height;t=Math.min(t.height-d-i.verticalPadding,s),d=a.top+l.top-i.verticalPadding,a=Math.min(d,s);let u=Math.min(Math.max(a,t)+i.borderHeight,s);(h=(h=h===(null==(l=this._cappedHeight)?void 0:l.capped)?this._cappedHeight.wanted:h)u&&(h=u),u=h>t||this._forceRenderingAbove&&150{var i=e.getColor(Te),n=(i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: ${i}; }`),e.getColor(Ae));i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .monaco-highlighted-label .highlight { color: ${n}; }`),i=e.getColor(Oe),i&&t.addRule(`.monaco-editor .suggest-widget, .monaco-editor .suggest-details { color: ${i}; }`),n=e.getColor(Ee),n&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused { color: ${n}; }`),i=e.getColor(Ie),i&&t.addRule(`.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon { color: ${i}; }`),n=e.getColor(X.Jc),n&&t.addRule(`.monaco-editor .suggest-details a { color: ${n}; }`),i=e.getColor(X.Ic),i&&t.addRule(`.monaco-editor .suggest-details a:hover { color: ${i}; }`),n=e.getColor(X.Hc);n&&t.addRule(`.monaco-editor .suggest-details code { background-color: ${n}; }`)}),E=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.hasChanged(111)&&this._update()),this._update()}dispose(){var e;this._configListener.dispose(),null!=(e=this._selectionListener)&&e.dispose(),this._ckAtEnd.reset()}_update(){var e="on"===this._editor.getOption(111);this._enabled!==e&&(this._enabled=e,this._enabled?(this._selectionListener=this._editor.onDidChangeCursorSelection(e=()=>{if(this._editor.hasModel()){const t=this._editor.getModel(),i=this._editor.getSelection();var e=t.getWordAtPosition(i.getStartPosition());e?this._ckAtEnd.set(e.endColumn===i.getStartPosition().column):this._ckAtEnd.set(!1)}else this._ckAtEnd.set(!1)}),e()):this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0))}};Be.AtEnd=new N.c("atEndOfWord",!1),Be=E([v(1,N.b)],Be);var je=i("ef8e9"),We=i("3170");class Ve{constructor(e,t,i){this._disposables=new a.b,this._disposables.add(t.onDidShow(()=>this._onItem(t.getFocusedItem()))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType(n=>{this._active&&!t.isFrozen()&&(n=n.charCodeAt(n.length-1),this._active.acceptCharacters.has(n)&&e.getOption(0)&&i(this._active.item))}))}_onItem(e){if(e&&Object(o.n)(e.item.completion.commitCharacters)){if(!this._active||this._active.item.item!==e.item){const t=new We.b;for(const i of e.item.completion.commitCharacters)0{if(this._empty&&e.hasModel()){const n=e.getSelections();var t=n.length;let o=!1;for(let e=0;eHe._maxSelectionLength)return;this._lastOvertyped[e]={value:o.getValueInRange(i),multiline:i.startLineNumber!==i.endLineNumber}}this._empty=!1}}})),this._disposables.add(t.onDidCancel(e=>{this._empty||e.retrigger||(this._empty=!0)}))}getLastOvertypedInfo(e){if(!this._empty&&0<=e&&el.set(e.getOption(106).insertMode)),this.widget=this._toDispose.add(new _.b(()=>{const e=this._instantiationService.createInstance(Pe,this.editor),t=(this._toDispose.add(e),this._toDispose.add(e.onDidSelect(e=>this._insertSuggestion(e,0),this)),new Ve(this.editor,e,e=>this._insertSuggestion(e,2))),i=(this._toDispose.add(t),this._toDispose.add(this.model.onDidSuggest(e=>{0===e.completionModel.items.length&&t.reset()})),O.b.MakesTextEdit.bindTo(this._contextKeyService)),n=O.b.HasInsertAndReplaceRange.bindTo(this._contextKeyService),o=O.b.CanResolve.bindTo(this._contextKeyService);return this._toDispose.add(Object(a.i)(()=>{i.reset(),n.reset(),o.reset()})),this._toDispose.add(e.onDidFocus(({item:e})=>{var t=this.editor.getPosition(),s=e.editStart.column,r=t.column;let a=!0;"smart"!==this.editor.getOption(1)||2!==this.model.state||e.completion.command||e.completion.additionalTextEdits||4&e.completion.insertTextRules||r-s!==e.completion.insertText.length||(s=this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:s,endLineNumber:t.lineNumber,endColumn:r}),a=s!==e.completion.insertText),i.set(a),n.set(!ze.a.equals(e.editInsertEnd,e.editReplaceEnd)),o.set(Boolean(e.provider.resolveCompletionItem)||Boolean(e.completion.documentation)||e.completion.detail!==e.completion.label)})),this._toDispose.add(e.onDetailsKeyDown(e=>{e.toKeybinding().equals(new r.e(!0,!1,!1,!1,33))||Ue.f&&e.toKeybinding().equals(new r.e(!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||this.editor.focus()})),e})),this._overtypingCapturer=this._toDispose.add(new _.b(()=>this._toDispose.add(new He(this.editor,this.model)))),this._alternatives=this._toDispose.add(new _.b(()=>this._toDispose.add(new I(this.editor,this._contextKeyService)))),this._toDispose.add(o.createInstance(Be,e)),this._toDispose.add(this.model.onDidTrigger(e=>{this.widget.value.showTriggered(e.auto,e.shy?250:50),this._lineSuffix.value=new qe(this.editor.getModel(),e.position)})),this._toDispose.add(this.model.onDidSuggest(e=>{var t;e.shy||(t=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.completionModel.items),this.widget.value.showSuggestions(e.completionModel,t,e.isFrozen,e.auto))})),this._toDispose.add(this.model.onDidCancel(e=>{e.retrigger||this.widget.value.hideWidget()})),this._toDispose.add(this.editor.onDidBlurEditorWidget(()=>{this.model.cancel(),this.model.clear()}));let d=O.b.AcceptSuggestionsOnEnter.bindTo(n),h=()=>{var e=this.editor.getOption(1);d.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration(()=>h())),h()}static get(t){return t.getContribution(e.ID)}dispose(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()}_insertSuggestion(e,t){if(e&&e.item){if(this.editor.hasModel()){const n=this.editor.getModel(),o=n.getAlternativeVersionId(),r=e["item"],a=[],c=new F.b;1&t||this.editor.pushUndoStop();var i=this.getOverwriteInfo(r,Boolean(8&t));if(this._memoryService.memorize(n,this.editor.getPosition(),r),Array.isArray(r.completion.additionalTextEdits)){const e=l.c.capture(this.editor);this.editor.executeEdits("suggestController.additionalTextEdits.sync",r.completion.additionalTextEdits.map(e=>d.a.replace(h.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor)}else if(!r.isResolved){const e=new Ke.a(!0);let i;const o=n.onDidChangeContent(e=>{if(e.isFlush)c.cancel(),o.dispose();else for(var t of e.changes)t=h.a.getEndPosition(t.range),i&&!ze.a.isBefore(t,i)||(i=t)});let s=t,u=(t|=2,!1),g=this.editor.onWillType(()=>{g.dispose(),u=!0,2&s||this.editor.pushUndoStop()});a.push(r.resolve(c.token).then(()=>{if(!r.completion.additionalTextEdits||c.token.isCancellationRequested)return!1;if(i&&r.completion.additionalTextEdits.some(e=>ze.a.isBefore(i,h.a.getStartPosition(e.range))))return!1;u&&this.editor.pushUndoStop();const e=l.c.capture(this.editor);return this.editor.executeEdits("suggestController.additionalTextEdits.async",r.completion.additionalTextEdits.map(e=>d.a.replace(h.a.lift(e.range),e.text))),e.restoreRelativeVerticalPositionOfCursor(this.editor),!u&&2&s||this.editor.pushUndoStop(),!0}).then(t=>{this._logService.trace("[suggest] async resolving of edits DONE (ms, applied?)",e.elapsed(),t),o.dispose(),g.dispose()}))}let p=r.completion["insertText"];4&r.completion.insertTextRules||(p=g.c.escape(p)),u.SnippetController2.get(this.editor).insert(p,{overwriteBefore:i.overwriteBefore,overwriteAfter:i.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&r.completion.insertTextRules),clipboardText:e.model.clipboardText,overtypingCapturer:this._overtypingCapturer.value}),2&t||this.editor.pushUndoStop(),r.completion.command?r.completion.command.id===Ge.id?this.model.trigger({auto:!0,shy:!1},!0):(a.push(this._commandService.executeCommand(r.completion.command.id,...r.completion.command.arguments?[...r.completion.command.arguments]:[]).catch(s.f)),this.model.cancel()):this.model.cancel(),4&t&&this._alternatives.value.set(e,e=>{for(c.cancel();n.canUndo();){o!==n.getAlternativeVersionId()&&n.undo(),this._insertSuggestion(e,3|(8&t?8:0));break}}),this._alertCompletionItem(r),Promise.all(a).finally(()=>{this.model.clear(),c.dispose()})}}else this._alternatives.value.reset(),this.model.cancel(),this.model.clear()}getOverwriteInfo(e,t){Object(je.c)(this.editor.hasModel());let i="replace"===this.editor.getOption(106).insertMode;t&&(i=!i);t=e.position.column-e.editStart.column;var n=(i?e.editReplaceEnd:e.editInsertEnd).column-e.position.column;return{overwriteBefore:t+(this.editor.getPosition().column-e.position.column),overwriteAfter:n+(this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0)}}_alertCompletionItem(e){Object(o.n)(e.completion.additionalTextEdits)&&(e=D.a("aria.alert.snippet","Accepting '{0}' made {1} additional edits",e.textLabel,e.completion.additionalTextEdits.length),Object(n.a)(e))}triggerSuggest(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())}triggerSuggestAndAcceptBest(e){if(this.editor.hasModel()){const t=this.editor.getPosition(),i=()=>{t.equals(this.editor.getPosition())&&this._commandService.executeCommand(e.fallback)},n=e=>{var t,i,n;return!!(4&e.completion.insertTextRules||e.completion.additionalTextEdits)||(t=this.editor.getPosition(),i=e.editStart.column,(n=t.column)-i!==e.completion.insertText.length||this.editor.getModel().getValueInRange({startLineNumber:t.lineNumber,startColumn:i,endLineNumber:t.lineNumber,endColumn:n})!==e.completion.insertText)};M.c.once(this.model.onDidTrigger)(e=>{let t=[];M.c.any(this.model.onDidTrigger,this.model.onDidCancel)(()=>{Object(a.f)(t),i()},void 0,t),this.model.onDidSuggest(({completionModel:e})=>{var o,s;Object(a.f)(t),0!==e.items.length&&(o=this._memoryService.select(this.editor.getModel(),this.editor.getPosition(),e.items),s=e.items[o],n(s))?(this.editor.pushUndoStop(),this._insertSuggestion({index:o,item:s,model:e},7)):i()},void 0,t)}),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(t.lineNumber,0),this.editor.focus()}}acceptSelectedSuggestion(e,t){var i=this.widget.value.getFocusedItem();let n=0;e&&(n|=4),t&&(n|=8),this._insertSuggestion(i,n)}acceptNextSuggestion(){this._alternatives.value.next()}acceptPrevSuggestion(){this._alternatives.value.prev()}cancelSuggestWidget(){this.model.cancel(),this.model.clear(),this.widget.value.hideWidget()}selectNextSuggestion(){this.widget.value.selectNext()}selectNextPageSuggestion(){this.widget.value.selectNextPage()}selectLastSuggestion(){this.widget.value.selectLast()}selectPrevSuggestion(){this.widget.value.selectPrevious()}selectPrevPageSuggestion(){this.widget.value.selectPreviousPage()}selectFirstSuggestion(){this.widget.value.selectFirst()}toggleSuggestionDetails(){this.widget.value.toggleDetails()}toggleExplainMode(){this.widget.value.toggleExplainMode()}toggleSuggestionFocus(){this.widget.value.toggleDetailsFocus()}resetWidgetSize(){this.widget.value.resetPersistedSize()}forceRenderingAbove(){this.widget.value.forceRenderingAbove()}stopForceRenderingAbove(){this.widget.isInitialized&&this.widget.value.stopForceRenderingAbove()}};$e.ID="editor.contrib.suggestController",$e=w([V(1,y),V(2,S.b),V(3,N.b),V(4,b.a),V(5,H.b)],$e);class Ge extends t.b{constructor(){super({id:Ge.id,label:D.a("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:N.a.and(c.a.writable,c.a.hasCompletionItemProvider),kbOpts:{kbExpr:c.a.textInputFocus,primary:2058,secondary:[2087],mac:{primary:266,secondary:[521,2087]},weight:100}})}run(e,t){const i=$e.get(t);i&&i.triggerSuggest()}}Ge.id="editor.action.triggerSuggest",Object(t.l)($e.ID,$e),Object(t.j)(Ge);const Ze=t.c.bindToContribution($e.get);Object(t.k)(new Ze({id:"acceptSelectedSuggestion",precondition:O.b.Visible,handler(e){e.acceptSelectedSuggestion(!0,!1)}})),C.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:N.a.and(O.b.Visible,c.a.textInputFocus),primary:2,weight:190}),C.a.registerKeybindingRule({id:"acceptSelectedSuggestion",when:N.a.and(O.b.Visible,c.a.textInputFocus,O.b.AcceptSuggestionsOnEnter,O.b.MakesTextEdit),primary:3,weight:190}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.insert","Insert")},group:"left",order:1,when:O.b.HasInsertAndReplaceRange.toNegated()}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.insert","Insert")},group:"left",order:1,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("insert"))}),le.d.appendMenuItem(O.g,{command:{id:"acceptSelectedSuggestion",title:D.a("accept.replace","Replace")},group:"left",order:1,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("replace"))}),Object(t.k)(new Ze({id:"acceptAlternativeSelectedSuggestion",precondition:N.a.and(O.b.Visible,c.a.textInputFocus),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:1027,secondary:[1026]},handler(e){e.acceptSelectedSuggestion(!1,!0)},menuOpts:[{menuId:O.g,group:"left",order:2,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("insert")),title:D.a("accept.replace","Replace")},{menuId:O.g,group:"left",order:2,when:N.a.and(O.b.HasInsertAndReplaceRange,O.b.InsertMode.isEqualTo("replace")),title:D.a("accept.insert","Insert")}]})),S.a.registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(t.k)(new Ze({id:"hideSuggestWidget",precondition:O.b.Visible,handler:e=>e.cancelSuggestWidget(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:9,secondary:[1033]}})),Object(t.k)(new Ze({id:"selectNextSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectNextSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(t.k)(new Ze({id:"selectNextPageSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectNextPageSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:12,secondary:[2060]}})),Object(t.k)(new Ze({id:"selectLastSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectLastSuggestion()})),Object(t.k)(new Ze({id:"selectPrevSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectPrevSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(t.k)(new Ze({id:"selectPrevPageSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectPrevPageSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:11,secondary:[2059]}})),Object(t.k)(new Ze({id:"selectFirstSuggestion",precondition:N.a.and(O.b.Visible,O.b.MultipleSuggestions),handler:e=>e.selectFirstSuggestion()})),Object(t.k)(new Ze({id:"toggleSuggestionDetails",precondition:O.b.Visible,handler:e=>e.toggleSuggestionDetails(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2058,mac:{primary:266}},menuOpts:[{menuId:O.g,group:"right",order:1,when:N.a.and(O.b.DetailsVisible,O.b.CanResolve),title:D.a("detail.more","show less")},{menuId:O.g,group:"right",order:1,when:N.a.and(O.b.DetailsVisible.toNegated(),O.b.CanResolve),title:D.a("detail.less","show more")}]})),Object(t.k)(new Ze({id:"toggleExplainMode",precondition:O.b.Visible,handler:e=>e.toggleExplainMode(),kbOpts:{weight:100,primary:2133}})),Object(t.k)(new Ze({id:"toggleSuggestionFocus",precondition:O.b.Visible,handler:e=>e.toggleSuggestionFocus(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2570,mac:{primary:778}}})),Object(t.k)(new Ze({id:"insertBestCompletion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),Be.AtEnd,O.b.Visible.toNegated(),I.OtherSuggestions.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:(e,t)=>{e.triggerSuggestAndAcceptBest(Object(je.j)(t)?Object.assign({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:190,primary:2}})),Object(t.k)(new Ze({id:"insertNextSuggestion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),I.OtherSuggestions,O.b.Visible.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:e=>e.acceptNextSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:2}})),Object(t.k)(new Ze({id:"insertPrevSuggestion",precondition:N.a.and(c.a.textInputFocus,N.a.equals("config.editor.tabCompletion","on"),I.OtherSuggestions,O.b.Visible.toNegated(),u.SnippetController2.InSnippetMode.toNegated()),handler:e=>e.acceptPrevSuggestion(),kbOpts:{weight:190,kbExpr:c.a.textInputFocus,primary:1026}})),Object(t.j)(class extends t.b{constructor(){super({id:"editor.action.resetSuggestSize",label:D.a("suggest.reset.label","Reset Suggest Widget Size"),alias:"Reset Suggest Widget Size",precondition:void 0})}run(e,t){$e.get(t).resetWidgetSize()}})},"7aad":function(e,t,i){},"7ab3":function(e,t,i){"use strict";i.d(t,"c",(function(){return h})),i.d(t,"d",(function(){return c})),i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return g}));var n=i("3742"),o=i("30db"),s=i("1e93");let r,a,l;function d(){return r=r||new TextDecoder("UTF-16LE")}function h(){return l=l||(o.e()?d():a=a||new TextDecoder("UTF-16BE"))}const c="undefined"!=typeof TextDecoder;let u,g;function p(e,t,i){let n=[],o=0;for(let a=0;anew m(e),function(e,t,i){var n=new Uint16Array(e.buffer,t,i);return 0new f,p);class m{constructor(e){this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}reset(){this._completedStrings=null,this._bufferLength=0}build(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()}_buildBuffer(){var e;return 0===this._bufferLength?"":(e=new Uint16Array(this._buffer.buffer,0,this._bufferLength),h().decode(e))}_flushBuffer(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e}write1(e){var t=this._capacity-this._bufferLength;t<=1&&(0!=t&&!n.E(e)||this._flushBuffer()),this._buffer[this._bufferLength++]=e}appendASCII(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e}appendASCIIString(e){var t=e.length;if(this._bufferLength+t>=this._capacity)this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;else for(let i=0;ithis._onContextMenu(e))),this._toDispose.add(this._editor.onMouseWheel(e=>{var t;0{58===e.keyCode&&(e.preventDefault(),e.stopPropagation(),this.showContextMenu())}))}static get(t){return t.getContribution(e.ID)}_onContextMenu(e){if(this._editor.hasModel())if(this._editor.getOption(19)){if(12!==e.target.type&&(e.event.preventDefault(),e.event.stopPropagation(),6===e.target.type||7===e.target.type||1===e.target.type)){if(this._editor.focus(),e.target.position){let t=!1;for(const i of this._editor.getSelections())if(i.containsPosition(e.target.position)){t=!0;break}t||this._editor.setPosition(e.target.position)}let t=null;1!==e.target.type&&(t={x:e.event.posx-1,width:2,y:e.event.posy-1,height:2}),this.showContextMenu(t)}}else this._editor.focus(),e.target.position&&!this._editor.getSelection().containsPosition(e.target.position)&&this._editor.setPosition(e.target.position)}showContextMenu(e){var t;this._editor.getOption(19)&&this._editor.hasModel()&&(this._contextMenuService?0<(t=this._getMenuActions(this._editor.getModel(),this._editor.isSimpleWidget?l.b.SimpleEditorContext:l.b.EditorContext)).length&&this._doShowContextMenu(t,e):this._editor.focus())}_getMenuActions(e,t){const i=[],n=this._menuService.createMenu(t,this._contextKeyService);var o;t=n.getActions({arg:e.uri});for(o of(n.dispose(),t)){var r,[,a]=o;let t=0;for(const n of a)n instanceof l.e?0<(r=this._getMenuActions(e,n.item.submenu)).length&&(i.push(new s.e(n.id,n.label,r)),t++):(i.push(n),t++);t&&i.push(new s.d)}return i.length&&i.pop(),i}_doShowContextMenu(e,t=null){if(this._editor.hasModel()){const r=this._editor.getOption(52);this._editor.updateOptions({hover:{enabled:!1}}),t||(this._editor.revealPosition(this._editor.getPosition(),1),this._editor.render(),s=this._editor.getScrolledVisiblePosition(this._editor.getPosition()),i=(n=o.D(this._editor.getDomNode())).left+s.left,n=n.top+s.top+s.height,t={x:i,y:n});var i,n,s=this._editor.getOption(114)&&!g.c;this._contextMenuIsBeingShownCount++,this._contextMenuService.showContextMenu({domForShadowRoot:s?this._editor.getDomNode():void 0,getAnchor:()=>t,getActions:()=>e,getActionViewItem:e=>{const t=this._keybindingFor(e);if(t)return new u.a(e,e,{label:!0,keybinding:t.getLabel(),isMenu:!0});const i=e;return"function"==typeof i.getActionViewItem?i.getActionViewItem():new u.a(e,e,{icon:!0,label:!0,isMenu:!0})},getKeyBinding:e=>this._keybindingFor(e),onHide:e=>{this._contextMenuIsBeingShownCount--,this._editor.focus(),this._editor.updateOptions({hover:r})}})}}_keybindingFor(e){return this._keybindingService.lookupKeybinding(e.id)}dispose(){0=n.range.end)){if(e.end({range:_(e.range,n),size:e.size})),i=i.map((t,i)=>({range:{start:e+i,end:e+i+1},size:t.size}));this.groups=function(e){{e=e.reduce((e,t)=>e.concat(t),[]);const o=[];let s=null;for(var t of e){var i=t.range.start,n=t.range.end;t=t.size;s&&t===s.size?s.range.end=n:(s={range:{start:i,end:n},size:t},o.push(s))}return o}}([o,i,t]),this._size=this.groups.reduce((e,t)=>e+t.size*(t.range.end-t.range.start),0)}get count(){var e=this.groups.length;return e?this.groups[e-1].range.end:0}get size(){return this._size}indexAt(e){if(e<0)return-1;let t=0,i=0;for(var n of this.groups){var o=n.range.end-n.range.start,s=i+o*n.size;if(e{for(const i of e){const e=this.getRenderer(t);e.disposeTemplate(i.templateData),i.templateData=null}}),this.cache.clear()}getRenderer(e){var t=this.renderers.get(e);if(t)return t;throw new Error("No renderer found for "+e)}}i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3i,null!=e&&e.getPosInSet?this.getPosInSet=e.getPosInSet.bind(e):this.getPosInSet=(e,t)=>t+1,null!=e&&e.getRole?this.getRole=e.getRole.bind(e):this.getRole=e=>"listitem",null!=e&&e.isChecked?this.isChecked=e.isChecked.bind(e):this.isChecked=e=>{}}}class x{constructor(e,t,i,n=C){if(this.virtualDelegate=t,this.domId="list_id_"+ ++x.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new h.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=u.a.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=u.a.None,this.onDragLeaveTimeout=u.a.None,this.disposables=new u.b,this._onDidChangeContentHeight=new c.b,this._horizontalScrolling=!1,n.horizontalScrolling&&n.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new b;for(const o of i)this.renderers.set(o.templateId,o);this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support","boolean"!=typeof n.mouseSupport||n.mouseSupport),this._horizontalScrolling=Object(g.e)(n,e=>e.horizontalScrolling,C.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=void 0===n.additionalScrollHeight?0:n.additionalScrollHeight,this.accessibilityProvider=new L(n.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",Object(g.e)(n,e=>e.transformOptimization,C.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(a.b.addTarget(this.rowsContainer)),this.scrollable=new m.a(Object(g.e)(n,e=>e.smoothScrolling,!1)?125:0,e=>Object(s.V)(e)),this.scrollableElement=this.disposables.add(new l.c(this.rowsContainer,{alwaysConsumeMouseWheel:Object(g.e)(n,e=>e.alwaysConsumeMouseWheel,C.alwaysConsumeMouseWheel),horizontal:1,vertical:Object(g.e)(n,e=>e.verticalScrollMode,C.verticalScrollMode),useShadows:Object(g.e)(n,e=>e.useShadows,C.useShadows),mouseWheelScrollSensitivity:n.mouseWheelScrollSensitivity,fastScrollSensitivity:n.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add(Object(s.i)(this.rowsContainer,a.a.Change,e=>this.onTouchChange(e))),this.disposables.add(Object(s.i)(this.scrollableElement.getDomNode(),"scroll",e=>e.target.scrollTop=0)),this.disposables.add(Object(s.i)(this.domNode,"dragover",e=>this.onDragOver(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"drop",e=>this.onDrop(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"dragleave",e=>this.onDragLeave(this.toDragEvent(e)))),this.disposables.add(Object(s.i)(this.domNode,"dragend",e=>this.onDragEnd(e))),this.setRowLineHeight=Object(g.e)(n,e=>e.setRowLineHeight,C.setRowLineHeight),this.setRowHeight=Object(g.e)(n,e=>e.setRowHeight,C.setRowHeight),this.supportDynamicHeights=Object(g.e)(n,e=>e.supportDynamicHeights,C.supportDynamicHeights),this.dnd=Object(g.e)(n,e=>e.dnd,C.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(e){if(e!==this._horizontalScrolling){if(e&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=e,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const e of this.items)this.measureItemWidth(e);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:Object(s.C)(this.domNode)}),this.rowsContainer.style.width=Math.max(this.scrollWidth||0,this.renderWidth)+"px"}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(e){void 0!==e.additionalScrollHeight&&(this.additionalScrollHeight=e.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),void 0!==e.smoothScrolling&&this.scrollable.setSmoothScrollDuration(e.smoothScrolling?125:0),void 0!==e.horizontalScrolling&&(this.horizontalScrolling=e.horizontalScrolling),void 0!==e.mouseWheelScrollSensitivity&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:e.mouseWheelScrollSensitivity}),void 0!==e.fastScrollSensitivity&&this.scrollableElement.updateOptions({fastScrollSensitivity:e.fastScrollSensitivity})}splice(e,t,i=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,i)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(e,t,i=[]){var n=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=p.a.intersect(n,{start:e,end:e+t});const s=new Map;for(let u=o.start;u({id:String(this.itemId++),element:e,templateId:this.virtualDelegate.getTemplateId(e),size:this.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:u.a.None})),0===e&&t>=this.items.length?(this.rangeMap=new b,this.rangeMap.splice(0,0,r),d=this.items,this.items=r):(this.rangeMap.splice(e,t,r),d=this.items.splice(e,t,...r));const h=i.length-t,c=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);n=_(a,h);var g=p.a.intersect(c,n);for(let u=g.start;u_(e,h));const m={start:e,end:e+i.length};t=[m,...r].map(e=>p.a.intersect(c,e));var f=this.getNextToLastElement(t);for(const u of t)for(let e=u.start;ee.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=Object(s.V)(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){this.horizontalScrolling?this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth()):this.scrollableElementWidthDelayer.cancel()}updateScrollWidth(){if(this.horizontalScrolling){let e=0;for(const t of this.items)void 0!==t.width&&(e=Math.max(e,t.width));this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:0===e?0:e+10})}}rerender(){if(this.supportDynamicHeights){for(const e of this.items)e.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(e){return this.items[e].element}domElement(e){return e=this.items[e].row,e&&e.domNode}elementHeight(e){return this.items[e].size}elementTop(e){return this.rangeMap.positionAt(e)}indexAt(e){return this.rangeMap.indexAt(e)}indexAfter(e){return this.rangeMap.indexAfter(e)}layout(e,t){let i={height:"number"==typeof e?e:Object(s.B)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,i.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(i),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:Object(s.C)(this.domNode)})}render(e,t,i,n,o,s=!1){var r=this.getRenderRange(t,i),a=p.a.relativeComplement(r,e),l=p.a.relativeComplement(e,r),d=this.getNextToLastElement(a);if(s){var h=p.a.intersect(e,r);for(let e=h.start;ethis.onDragStart(n.element,r,e))),this.horizontalScrolling&&(this.measureItemWidth(n),this.eventuallyUpdateScrollWidth())}measureItemWidth(e){var t;e.row&&e.row.domNode&&(e.row.domNode.style.width=n.g?"-moz-fit-content":"fit-content",e.width=Object(s.C)(e.row.domNode),(t=window.getComputedStyle(e.row.domNode)).paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width="")}updateItemInDOM(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",this.setRowHeight&&(e.row.domNode.style.height=e.size+"px"),this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),e.row.domNode.classList.toggle("drop-target",e.dropTarget)}removeItemFromDOM(e){const t=this.items[e];if(t.dragStartDisposable.dispose(),t.row){const i=this.renderers.get(t.templateId);i&&i.disposeElement&&i.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(e,t){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e,reuseAnimation:t})}get scrollTop(){return this.getScrollTop()}set scrollTop(e){this.setScrollTop(e)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return c.c.map(this.disposables.add(new r.a(this.domNode,"click")).event,e=>this.toMouseEvent(e))}get onMouseDblClick(){return c.c.map(this.disposables.add(new r.a(this.domNode,"dblclick")).event,e=>this.toMouseEvent(e))}get onMouseMiddleClick(){return c.c.filter(c.c.map(this.disposables.add(new r.a(this.domNode,"auxclick")).event,e=>this.toMouseEvent(e)),e=>1===e.browserEvent.button)}get onMouseDown(){return c.c.map(this.disposables.add(new r.a(this.domNode,"mousedown")).event,e=>this.toMouseEvent(e))}get onContextMenu(){return c.c.any(c.c.map(this.disposables.add(new r.a(this.domNode,"contextmenu")).event,e=>this.toMouseEvent(e)),c.c.map(this.disposables.add(new r.a(this.domNode,a.a.Contextmenu)).event,e=>this.toGestureEvent(e)))}get onTouchStart(){return c.c.map(this.disposables.add(new r.a(this.domNode,"touchstart")).event,e=>this.toTouchEvent(e))}get onTap(){return c.c.map(this.disposables.add(new r.a(this.rowsContainer,a.a.Tap)).event,e=>this.toGestureEvent(e))}toMouseEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toTouchEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toGestureEvent(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}toDragEvent(e){var t=this.getItemIndexFromEventTarget(e.target||null),i=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:i&&i.element}}onScroll(e){try{var t=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(t,e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height,e.inSmoothScrolling)}catch(e){throw e}}onTouchChange(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY}onDragStart(e,t,i){if(i.dataTransfer){if(e=this.dnd.getDragElements(e),i.dataTransfer.effectAllowed="copyMove",i.dataTransfer.setData(o.a.TEXT,t),i.dataTransfer.setDragImage){let t;void 0===(t=this.dnd.getDragLabel?this.dnd.getDragLabel(e,i):t)&&(t=String(e.length));const n=Object(s.a)(".monaco-drag-image");n.textContent=t,document.body.appendChild(n),i.dataTransfer.setDragImage(n,-10,-10),setTimeout(()=>document.body.removeChild(n),0)}this.currentDragData=new w(e),o.c.CurrentDragAndDropData=new y(e),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,i)}}onDragOver(e){if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),o.c.CurrentDragAndDropData&&"vscode-ui"===o.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(o.c.CurrentDragAndDropData)this.currentDragData=o.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new S}var t=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof t?t:t.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;let i;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof t&&0===t.effect?"copy":"move",i="boolean"!=typeof t&&t.feedback?t.feedback:void 0===e.index?[-1]:[e.index],i=-1===(i=Object(d.f)(i).filter(e=>-1<=e&&ee-t))[0]?[-1]:i,t=this.currentDragFeedback,e=i,Array.isArray(t)&&Array.isArray(e)?!Object(d.h)(t,e):t!==e)if(this.currentDragFeedback=i,this.currentDragFeedbackDisposable.dispose(),-1===i[0])this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=Object(u.i)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const e of i){const t=this.items[e];t.dropTarget=!0,t.row&&t.row.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=Object(u.i)(()=>{for(const e of i){const t=this.items[e];t.dropTarget=!1,t.row&&t.row.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(e){var t,i;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(h.i)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&null!=(i=(t=this.dnd).onDragLeave)&&i.call(t,this.currentDragData,e.element,e.index,e.browserEvent)}onDrop(e){if(this.canDrop){const t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.c.CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}}onDragEnd(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,o.c.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=u.a.None}setupDragAndDropScrollTopAnimation(e){var t;this.dragOverAnimationDisposable||(t=Object(s.G)(this.domNode).top,this.dragOverAnimationDisposable=Object(s.p)(this.animateDragAndDropScrollTop.bind(this,t))),this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(h.i)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY}animateDragAndDropScrollTop(e){var t;void 0!==this.dragOverMouseY&&(e=this.dragOverMouseY-e,t=this.renderHeight-35,e<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(e-35))):te===p.CommandPalette}}addCommand(e){return this.addCommands(r.a.single(e))}addCommands(e){for(const t of e)this._commands.set(t.id,t);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(a.i)(()=>{let t=!1;for(const i of e)t=this._commands.delete(i.id)||t;t&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(e){return this._commands.get(e)}getCommands(){const e=new Map;return this._commands.forEach((t,i)=>e.set(i,t)),e}appendMenuItem(e,t){return this.appendMenuItems(r.a.single({id:e,item:t}))}appendMenuItems(e){const t=new Set,i=new l.a;for(var{id:n,item:o}of e){let e=this._menuItems.get(n);e||(e=new l.a,this._menuItems.set(n,e)),i.push(e.push(o)),t.add(n)}return this._onDidChangeMenu.fire(t),Object(a.i)(()=>{if(0{t.has(n)||e.push({command:i})})}};class _ extends n.e{constructor(e,t,i,n){super("submenuitem."+e.submenu.id,"string"==typeof e.title?e.title:e.title.value,[],"submenu"),this.item=e,this._menuService=t,this._contextKeyService=i,this._options=n}get actions(){const e=[],t=this._menuService.createMenu(this.item.submenu,this._contextKeyService);var i,o=t.getActions(this._options);for([,i]of(t.dispose(),o))0/?".split("").forEach(e=>u.add(e.charCodeAt(0)));const w=s(r,b,a),y=s(r,b,(function(e,t){return function e(t,i,n,o){if(n===t.length)return[];if(o===i.length)return null;if(t[n]!==i[o])return e(t,i,n,o+1);{let s=null;return(s=e(t,i,n+1,o+1))?f({start:o,end:o+1},s):null}}(e.toLowerCase(),t.toLowerCase(),0,0)})),S=new t.a(1e4);function L(e,t,i=!1){if("string"!=typeof e||"string"!=typeof t)return null;let n=S.get(e);n||(n=new RegExp(o.p(e),"i"),S.set(e,n));var s=n.exec(t);return s?[{start:s.index,end:s.index+s[0].length}]:(i?y:w)(e,t)}function x(e,t,i,n,o,s){for(var r=Math.min(13,e.length);i=e.length)return!1;var i=e.codePointAt(t);switch(i){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!o.B(i)}}function F(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function B(e,t,i){return t[e]!==i[e]}function j(e,t,i,n,o,s,r){var a=e.length>D?D:e.length,l=n.length>D?D:n.length;if(!(a<=i||l<=s||l-s=c&&n>=u;)g[e]===p[n]&&(I[e]=n,e--),n--}let L=1,x=1,k=i,D=s;var m=[!1];for(L=1,k=i;kf,C=v?T[L][x-1]+(0f+1&&0=d))T[L][x]=y,A[L][x]=3,M[L][x]=0;else if(v&&(!a||C>=d))T[L][x]=C,A[L][x]=2,M[L][x]=0;else{if(!a)throw new Error("not possible");T[L][x]=d,A[L][x]=1,M[L][x]=M[L-1][x-1]+1}}}if(R&&(d=n,h=s,e.substr(i),d=d.substr(h)),m[0]||r){L--,x--;const e=[T[L][x],s];let r=0,d=0;for(;1<=L;){let a=x;do{var S=A[L][a];if(3===S)a-=2;else{if(2!==S)break;a-=1}}while(1<=a);(a=1M[L][a]?x:a)===x?r++:r=1,d=d||a,L--,x=a-1,e.push(x)}return l===a&&(e[0]+=2),h=d-a,e[0]-=h,e}}}function W(e,t,i,n,o,s,r){{var a=e,l=(e=t,i),d=n,h=o,c=s,u=(t=!0,r);let p=j(a,e,l,d,h,c,u);if((!p||t)&&3<=a.length){var g=Math.min(7,a.length-1);for(let e=l+1;e=e.length)){var i=e[t],n=e[t+1];return i!==n?e.slice(0,t)+n+i+e.slice(t+2):void 0}}(a,e);if(t){const e=j(t,t.toLowerCase(),l,d,h,c,u);e&&(e[0]-=3,(!p||e[0]>p[0])&&(p=e))}}}return p}}(i=n=n||{}).Default=[-100,0],i.isDefault=function(e){return!e||2===e.length&&-100===e[0]&&0===e[1]}},"7eb7":function(e,t,i){"use strict";i.r(t),i.d(t,"CONTEXT_ONTYPE_RENAME_INPUT_VISIBLE",(function(){return L})),i.d(t,"LinkedEditingContribution",(function(){return k})),i.d(t,"LinkedEditingAction",(function(){return D})),i.d(t,"editorLinkedEditingBackground",(function(){return E}));var n=i("dff7"),o=(t=i("b2cc"),i("e8e3")),s=i("a666"),r=i("7061"),a=i("2504"),l=i("6a89"),d=i("b707"),h=i("5fe7"),c=i("b57f"),u=i("4fc3"),g=i("c101"),p=i("6d8e"),m=i("5717"),f=i("fdcc"),_=i("3742"),b=i("303e"),v=i("b7d0"),C=i("ceb8"),w=i("70cb"),y=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.reinitialize(!0))),this._register(this._editor.onDidChangeConfiguration(e=>{(e.hasChanged(61)||e.hasChanged(81))&&this.reinitialize(!1)})),this._register(d.w.onDidChange(()=>this.reinitialize(!1))),this._register(this._editor.onDidChangeModelLanguage(()=>this.reinitialize(!0))),this.reinitialize(!0)}static get(t){return t.getContribution(e.ID)}reinitialize(e){const t=this._editor.getModel();var i=null!==t&&(this._editor.getOption(61)||this._editor.getOption(81))&&d.w.has(t);if((i!==this._enabled||e)&&(this._enabled=i,this.clearRanges(),this._localToDispose.clear(),i&&null!==t)){this._languageWordPattern=w.a.getWordDefinition(t.getLanguageIdentifier().id),this._localToDispose.add(t.onDidChangeLanguageConfiguration(()=>{this._languageWordPattern=w.a.getWordDefinition(t.getLanguageIdentifier().id)}));const e=new h.a(this._debounceDuration),i=()=>{this._rangeUpdateTriggerPromise=e.trigger(()=>this.updateRanges(),this._debounceDuration)},n=new h.a(0),o=e=>{this._rangeSyncTriggerPromise=n.trigger(()=>this._syncRanges(e))};this._localToDispose.add(this._editor.onDidChangeCursorPosition(()=>{i()})),this._localToDispose.add(this._editor.onDidChangeModelContent(e=>{if(!this._ignoreChangeEvent&&0i.intersectRanges(e.range)))return void o(this._currentDecorations)}i()})),this._localToDispose.add({dispose:()=>{e.cancel(),n.cancel()}}),this.updateRanges()}}_syncRanges(e){if(this._editor.hasModel()&&e===this._currentDecorations&&0!==e.length){const a=this._editor.getModel();var t=a.getDecorationRange(e[0]);if(!t||t.startLineNumber!==t.endLineNumber)return this.clearRanges();const d=a.getValueInRange(t);if(this._currentWordPattern&&(t=d.match(this._currentWordPattern),(t?t[0].length:0)!==d.length))return this.clearRanges();let h=[];for(let t=1,r=e.length;tS(this,void 0,void 0,(function*(){try{var r,a,d=yield O(t,i,s);if(o===this._currentRequest&&(this._currentRequest=null,n===t.getVersionId())){let t=[],n=(null!=d&&d.ranges&&(t=d.ranges),this._currentWordPattern=(null==d?void 0:d.wordPattern)||this._languageWordPattern,!1);for(let e=0,o=t.length;e({range:t,options:e.DECORATION})),this._visibleContextKey.set(!0),this._currentDecorations=this._editor.deltaDecorations(this._currentDecorations,a)):this.clearRanges()}}catch(a){Object(f.e)(a)||Object(f.f)(a),this._currentRequest!==o&&this._currentRequest||this.clearRanges()}})));return this._currentRequest=o}}this.clearRanges()}))}};k.ID="editor.contrib.linkedEditing",k.DECORATION=c.a.register({description:"linked-editing",stickiness:0,className:x}),k=i([y(1,u.b)],k);class D extends t.b{constructor(){super({id:"editor.action.linkedEditing",label:n.a("linkedEditing.label","Start Linked Editing"),alias:"Start Linked Editing",precondition:u.a.and(g.a.writable,g.a.hasRenameProvider),kbOpts:{kbExpr:g.a.editorTextFocus,primary:3132,weight:100}})}runCommand(e,t){const i=e.get(m.a),[n,o]=Array.isArray(t)&&t||[void 0,void 0];return p.a.isUri(n)&&r.a.isIPosition(o)?i.openCodeEditor({resource:n},i.getActiveCodeEditor()).then(e=>{e&&(e.setPosition(o),e.invokeWithinContext(t=>(this.reportTelemetry(t,e),this.run(t,e))))},f.f):super.runCommand(e,t)}run(e,t){const i=k.get(t);return i?Promise.resolve(i.updateRanges(!0)):Promise.resolve()}}const N=t.c.bindToContribution(k.get);function O(e,t,i){const n=d.w.ordered(e);return Object(h.j)(n.map(n=>()=>S(this,void 0,void 0,(function*(){try{return yield n.provideLinkedEditingRanges(e,t,i)}catch(n){Object(f.g)(n)}}))),e=>!!e&&o.n(null==e?void 0:e.ranges))}Object(t.k)(new N({id:"cancelLinkedEditingInput",precondition:L,handler:e=>e.clearRanges(),kbOpts:{kbExpr:g.a.editorTextFocus,weight:199,primary:9,secondary:[1033]}}));const E=Object(b.wc)("editor.linkedEditingBackground",{dark:C.a.fromHex("#f00").transparent(.3),light:C.a.fromHex("#f00").transparent(.3),hc:C.a.fromHex("#f00").transparent(.3)},n.a("editorLinkedEditingBackground","Background color when the editor auto renames on type."));Object(v.f)((e,t)=>{e=e.getColor(E),e&&t.addRule(`.monaco-editor .${x} { background: ${e}; border-left-color: ${e}; }`)}),Object(t.n)("_executeLinkedEditingProvider",(e,t)=>O(e,t,a.a.None)),Object(t.l)(k.ID,k),Object(t.j)(D)},8025:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("7061");class o extends i("6a89").a{constructor(e,t,i,n){super(e,t,i,n),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=i,this.positionColumn=n}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return o.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new o(this.startLineNumber,this.startColumn,e,t):new o(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new n.a(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new o(e,t,this.endLineNumber,this.endColumn):new o(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new o(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new o(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(e||t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;ithis.stop())),this._register(this._editor.onDidChangeModelLanguage(e=>this.stop())),this._register(r.F.onDidChange(e=>this.stop())),this._register(this._editor.onKeyUp(e=>9===e.keyCode&&this.stop()))}static get(t){return t.getContribution(e.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new _(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};m.ID="editor.contrib.inspectTokens",m=i([p(1,d.a),p(2,l.a)],m);class f extends s.b{constructor(){super({id:"editor.action.inspectTokens",label:u.c.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(e,t){let i=m.get(t);i&&i.launch()}}class _ extends t.a{constructor(e,t){var i;super(),this.allowEditorOverflow=!0,this._editor=e,this._modeService=t,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=(i=this._model.getLanguageIdentifier(),r.F.get(i.language)||{getInitialState:()=>a.c,tokenize:(e,t,n,o)=>Object(a.d)(i.language,e,n,o),tokenize2:(e,t,n,o)=>Object(a.e)(i.id,e,n,o)}),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(e=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return _._ID}_compute(e){var t,i=this._getTokensAtLine(e.lineNumber);let s=0;for(let n=i.tokens1.length-1;0<=n;n--){var r=i.tokens1[n];if(e.column-1>=r.offset){s=n;break}}let a=0;for(let n=i.tokens2.length>>>1;0<=n;n--)if(e.column-1>=i.tokens2[n<<1]){a=n;break}let l=this._model.getLineContent(e.lineNumber),d="";s{var i=e.getColor(h.F),n=(i&&(n=e.type===g.a.HIGH_CONTRAST?2:1,t.addRule(`.monaco-editor .tokens-inspect-widget { border: ${n}px solid ${i}; }`),t.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${i}; }`)),e.getColor(h.E));n&&t.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${n}; }`),i=e.getColor(h.G);i&&t.addRule(`.monaco-editor .tokens-inspect-widget { color: ${i}; }`)})},"82a1":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return i.e("chunk-2d0e22d6").then(i.bind(null,"7e1c"))}}),Object(t.a)({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return i.e("chunk-2d0e22d6").then(i.bind(null,"7e1c"))}})},"82c9":function(e,t,i){"use strict";i.d(t,"i",(function(){return h})),i.d(t,"e",(function(){return c})),i.d(t,"f",(function(){return u})),i.d(t,"c",(function(){return g})),i.d(t,"b",(function(){return p})),i.d(t,"d",(function(){return m})),i.d(t,"g",(function(){return f})),i.d(t,"h",(function(){return _})),i.d(t,"j",(function(){return b})),i.d(t,"a",(function(){return n}));var n,o,s=i("3d378"),r=i("b589"),a=i("32b8"),l=i("3742"),d=i("6d8e");function h(e){return Object(d.b)(e,!0)}const c=new class{constructor(e){this._ignorePathCasing=e}compare(e,t,i=!1){return e===t?0:Object(l.f)(this.getComparisonKey(e,i),this.getComparisonKey(t,i))}isEqual(e,t,i=!1){return e===t||!(!e||!t)&&this.getComparisonKey(e,i)===this.getComparisonKey(t,i)}getComparisonKey(e,t=!1){return e.with({path:this._ignorePathCasing(e)?e.path.toLowerCase():void 0,fragment:t?null:void 0}).toString()}joinPath(e,...t){return d.a.joinPath(e,...t)}basenameOrAuthority(e){return p(e)||e.authority}basename(e){return a.e.basename(e.path)}dirname(e){if(0===e.path.length)return e;let t;return e.scheme===r.c.file?t=d.a.file(a.b(h(e))).path:(t=a.e.dirname(e.path),e.authority&&t.length&&47!==t.charCodeAt(0)&&(t="/")),e.with({path:t})}normalizePath(e){if(!e.path.length)return e;let t;return t=e.scheme===r.c.file?d.a.file(a.d(h(e))).path:a.e.normalize(e.path),e.with({path:t})}resolvePath(e,t){var i;return e.scheme===r.c.file?(i=d.a.file(a.g(h(e),t)),e.with({authority:i.authority,path:i.path})):(t=s.d(t),e.with({path:a.e.resolve(e.path,t)}))}}(()=>!1),u=c.isEqual.bind(c),g=c.basenameOrAuthority.bind(c),p=c.basename.bind(c),m=c.dirname.bind(c),f=c.joinPath.bind(c),_=c.normalizePath.bind(c),b=c.resolvePath.bind(c);(o=n=n||{}).META_DATA_LABEL="label",o.META_DATA_DESCRIPTION="description",o.META_DATA_SIZE="size",o.META_DATA_MIME="mime",o.parseMetaData=function(e){const t=new Map,i=e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";"));return i.split(";").forEach(e=>{var[e,i]=e.split(":");e&&i&&t.set(e,i)}),(e=e.path.substring(0,e.path.indexOf(";")))&&t.set(o.META_DATA_MIME,e),t}},8452:function(e,t,i){"use strict";i.r(t),i.d(t,"StandaloneGotoSymbolQuickAccessProvider",(function(){return A})),i.d(t,"GotoLineAction",(function(){return R})),i("b9db"),i("dbc9");var n=i("dff7"),o=i("2504"),s=i("a666"),r=i("6a89"),a=(t=i("1fe0"),i("b707")),l=i("70f5"),d=i("3742"),h=i("7e93"),c=i("32b8"),u=i("30db");const g=[void 0,[]];function p(e,t,i=0,n=0){var o=t;if(o.values&&1e.start-t.start),i=[];let n=void 0;for(const o of t)n&&function(e,t){if(!(e.ende.original).join(_)):b(e.original)}var w=i("561a"),y=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class S extends t.a{constructor(e=Object.create(null)){super(e),this.options=e,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(e){return this.provideLabelPick(e,Object(n.a)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),s.a.None}provideWithTextEditor(e,t,i){var n=e.editor;n=this.getModel(n);return n?a.m.has(n)?this.doProvideWithEditorSymbols(e,n,t,i):this.doProvideWithoutEditorSymbols(e,n,t,i):s.a.None}doProvideWithoutEditorSymbols(e,t,i,o){const r=new s.b;return this.provideLabelPick(i,Object(n.a)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),y(this,void 0,void 0,(function*(){(yield this.waitForLanguageSymbolRegistry(t,r))&&!o.isCancellationRequested&&r.add(this.doProvideWithEditorSymbols(e,t,i,o))})),r}provideLabelPick(e,t){e.items=[{label:t,index:0,kind:14}],e.ariaLabel=t}waitForLanguageSymbolRegistry(e,t){return y(this,void 0,void 0,(function*(){if(a.m.has(e))return!0;let i;var n=new Promise(e=>i=e);const o=t.add(a.m.onDidChange(()=>{a.m.has(e)&&(o.dispose(),i(!0))}));return t.add(Object(s.i)(()=>i(!1))),n}))}doProvideWithEditorSymbols(e,t,i,r){const a=e.editor,l=new s.b,d=(l.add(i.onDidAccept(t=>{var[n]=i.selectedItems;n&&n.range&&(this.gotoLocation(e,{range:n.range.selection,keyMods:i.keyMods,preserveFocus:t.inBackground}),t.inBackground||i.hide())})),l.add(i.onDidTriggerItemButton(({item:t})=>{t&&t.range&&(this.gotoLocation(e,{range:t.range.selection,keyMods:i.keyMods,forceSideBySide:!0}),i.hide())})),this.getDocumentSymbols(t,r));let h=void 0;const c=()=>y(this,void 0,void 0,(function*(){null!==h&&void 0!==h&&h.dispose(!0),i.busy=!1,h=new o.b(r),i.busy=!0;try{var e=b(i.value.substr(S.PREFIX.length).trim()),t=yield this.doGetSymbolPicks(d,e,void 0,h.token);r.isCancellationRequested||(0c())),c();let u=!0;return l.add(i.onDidChangeActive(()=>{var[e]=i.activeItems;e&&e.range&&(u?u=!1:(a.revealRangeInCenter(e.range.selection,0),this.addDecorations(a,e.range.decoration)))})),l}doGetSymbolPicks(e,t,i,o){return y(this,void 0,void 0,(function*(){var s=yield e;if(o.isCancellationRequested)return[];const l=0===t.original.indexOf(S.SCOPE_PREFIX);var h=l?1:0;let c,u;t.values&&1h){let e=!1;if(c!==t&&([b,v]=p(f,Object.assign(Object.assign({},t),{values:void 0}),h,_),"number"==typeof b&&(e=!0)),"number"!=typeof b&&([b,v]=p(f,c,h,_),"number"!=typeof b))continue;if(!e&&u){if(l&&0{var e=null!=(e=this.options)&&e.openSideBySideDirection&&null!=(e=this.options)?e.openSideBySideDirection():void 0;if(e)return[{iconClass:("right"===e?w.b.splitHorizontal:w.b.splitVertical).classNames,tooltip:"right"===e?Object(n.a)("openToSide","Open to the Side"):Object(n.a)("openToBottom","Open to the Bottom")}]})()})}var b=g.sort((e,t)=>l?this.compareByKindAndScore(e,t):this.compareByScore(e,t));let v=[];if(l){let e=void 0,t=void 0,i=0;function y(){t&&"number"==typeof e&&0t.score)return-1;if(e.scoret.index?1:0}compareByKindAndScore(e,t){const i=x[e.kind]||L;var n=x[t.kind]||L;n=i.localeCompare(n);return 0===n?this.compareByScore(e,t):n}getDocumentSymbols(e,t){return y(this,void 0,void 0,(function*(){const i=yield l.a.create(e,t);return t.isCancellationRequested?[]:i.asListOfDocumentSymbols()}))}}S.PREFIX="@",S.SCOPE_PREFIX=":",S.PREFIX_BY_CATEGORY=""+S.PREFIX+S.SCOPE_PREFIX;const L=Object(n.a)("property","properties ({0})"),x={[5]:Object(n.a)("method","methods ({0})"),11:Object(n.a)("function","functions ({0})"),8:Object(n.a)("_constructor","constructors ({0})"),12:Object(n.a)("variable","variables ({0})"),4:Object(n.a)("class","classes ({0})"),22:Object(n.a)("struct","structs ({0})"),23:Object(n.a)("event","events ({0})"),24:Object(n.a)("operator","operators ({0})"),10:Object(n.a)("interface","interfaces ({0})"),2:Object(n.a)("namespace","namespaces ({0})"),3:Object(n.a)("package","packages ({0})"),25:Object(n.a)("typeParameter","type parameters ({0})"),1:Object(n.a)("modules","modules ({0})"),6:Object(n.a)("property","properties ({0})"),9:Object(n.a)("enum","enumerations ({0})"),21:Object(n.a)("enumMember","enumeration members ({0})"),14:Object(n.a)("string","strings ({0})"),0:Object(n.a)("file","files ({0})"),17:Object(n.a)("array","arrays ({0})"),15:Object(n.a)("number","numbers ({0})"),16:Object(n.a)("boolean","booleans ({0})"),18:Object(n.a)("object","objects ({0})"),19:Object(n.a)("key","keys ({0})"),7:Object(n.a)("field","fields ({0})"),13:Object(n.a)("constant","constants ({0})")};t=i("89cd");var k=i("2f1e"),D=i("5717"),N=i("ef8e9"),O=i("03d9"),E=i("308f"),I=i("b2cc"),M=i("c101"),T=i("66bd");let A=class extends S{constructor(e){super(),this.editorService=e,this.onDidActiveTextEditorControlChange=E.c.None}get activeTextEditorControl(){return Object(N.o)(this.editorService.getFocusedCodeEditor())}};A=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!e.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Object(n.n)(e.diagnostics)?Object(n.n)(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(n.n)(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&g.b.QuickFix.contains(new g.b(e.kind))&&!!e.isPreferred)}}const S={actions:[],documentation:void 0};function L(e,t,i,o,a){var d;const h=i.filter||{},u={only:null==(b=h.include)?void 0:b.value,trigger:i.type},p=new l.d(e,a),f=(d=h,c.a.all(e).filter(e=>!e.providedCodeActionKinds||e.providedCodeActionKinds.some(e=>Object(g.d)(d,new g.b(e))))),_=new r.b;var b=f.map(i=>m(this,void 0,void 0,(function*(){try{o.report(i);const s=yield i.provideCodeActions(e,t,u,p.token);if(s&&_.add(s),p.token.isCancellationRequested)return S;const r=((null===s||void 0===s?void 0:s.actions)||[]).filter(e=>e&&Object(g.c)(h,e));var n=function(e,t,i){if(e.documentation){var n=e.documentation.map(e=>({kind:new g.b(e.kind),command:e.command}));if(i){let e;for(const t of n)!t.kind.contains(i)||e&&!e.kind.contains(t.kind)||(e=t);if(e)return null===e||void 0===e?void 0:e.command}for(const e of t)if(e.kind)for(const t of n)if(t.kind.contains(new g.b(e.kind)))return t.command}}(i,r,h.include);return{actions:r.map(e=>new w(e,i)),documentation:n}}catch(n){if(Object(s.e)(n))throw n;return Object(s.g)(n),S}})));const v=c.a.onDidChange(()=>{var t=c.a.all(e);Object(n.h)(t,f)||p.cancel()});return Promise.all(b).then(e=>{var t=Object(n.k)(e.map(e=>e.actions));e=Object(n.e)(e.map(e=>e.documentation));return new y(t,e,_)}).finally(()=>{v.dispose(),p.dispose()})}t.a.registerCommand("_executeCodeActionProvider",(function(e,t,i,n,r){return m(this,void 0,void 0,(function*(){if(!(t instanceof a.a))throw Object(s.c)();const l=e.get(u.a).getModel(t);if(!l)throw Object(s.c)();var c=h.a.isISelection(i)?h.a.liftSelection(i):d.a.isIRange(i)?l.validateRange(i):void 0;if(!c)throw Object(s.c)();var m="string"==typeof n?new g.b(n):void 0;const f=yield L(l,c,{type:1,filter:{includeSourceActions:!0,include:m}},p.b.None,o.a.None),_=[];var b=Math.min(f.validActions.length,"number"==typeof r?r:0);for(let e=0;ee.action)}finally{setTimeout(()=>f.dispose(),100)}}))}))},"84df":function(e,t,i){"use strict";i.d(t,"b",(function(){return L})),i.d(t,"a",(function(){return k})),i.d(t,"c",(function(){return D})),i.d(t,"d",(function(){return O})),i.d(t,"e",(function(){return I}));var n=i("3813"),o=i("e8e3"),s=i("2504"),r=i("fdcc"),a=i("6d8e"),l=i("bc04"),d=i("b055"),h=i("7061"),c=i("6a89"),u=i("8025"),g=i("b707"),p=i("a40b"),m=i("1b69"),f=i("09db"),_=i("dff7");class b{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return"string"==typeof e?e.toLowerCase():e._lower}}var v=i("0a0f"),C=(t=i("db88"),i("9e74")),w=i("ef8e9"),y=i("258a"),S=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function L(e){if((e=e.filter(e=>e.range)).length){let o=e[0]["range"];for(let t=1;tS(this,void 0,void 0,(function*(){return(yield t.provideDocumentRangeFormattingEdits(a,e,a.getFormattingOptions(),h.token))||[]}));const w=[],y=[];try{for(var x of g){if(h.token.isCancellationRequested)return!0;y.push(yield C(x))}for(let e=0;e{if(e.length&&t.length){const o=e.reduce((e,t)=>c.a.plusRange(e,t.range),e[0].range);if(t.some(e=>c.a.intersectRanges(o,e.range)))for(var i of e)for(var n of t)if(c.a.intersectRanges(i.range,n.range))return!0}return!1})(y[e],y[t])&&(v=yield C(b=c.a.plusRange(g[e],g[t])),g.splice(t,1),g.splice(e,1),g.push(b),y.splice(t,1),y.splice(e,1),y.push(v),e=0,t=0)}for(var k of y){if(h.token.isCancellationRequested)return!0;var D=yield r.computeMoreMinimalEdits(a.uri,k);D&&w.push(...D)}}finally{h.dispose()}if(0===w.length)return!1;if(Object(d.b)(i))f.a.execute(i,w,!0),L(w),i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1);else{var[{range:N}]=w;const e=new u.a(N.startLineNumber,N.startColumn,N.endLineNumber,N.endColumn);a.pushEditOperations([e],w.map(e=>({text:e.text,range:c.a.lift(e.range),forceMoveMarkers:!0})),t=>{for(var{range:i}of t)if(c.a.areIntersectingOrTouching(i,e))return[new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0}))}function O(e,t,i,n,o){return S(this,void 0,void 0,(function*(){const s=e.get(v.a);var r=Object(d.b)(t)?t.getModel():t,a=x(r);a=yield k.select(a,r,i);a&&(n.report(a),yield s.invokeFunction(E,a,t,i,o))}))}function E(e,t,i,n,o){return S(this,void 0,void 0,(function*(){const s=e.get(p.a);let r,a,h;a=Object(d.b)(i)?(r=i.getModel(),new l.b(i,5,void 0,o)):(r=i,new l.d(i,o));try{var g=yield t.provideDocumentFormattingEdits(r,r.getFormattingOptions(),a.token);if(h=yield s.computeMoreMinimalEdits(r.uri,g),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!h||0===h.length)return!1;if(Object(d.b)(i))f.a.execute(i,h,2!==n),2!==n&&(L(h),i.revealPositionInCenterIfOutsideViewport(i.getPosition(),1));else{var[{range:g}]=h;const e=new u.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn);r.pushEditOperations([e],h.map(e=>({text:e.text,range:c.a.lift(e.range),forceMoveMarkers:!0})),t=>{for(var{range:i}of t)if(c.a.areIntersectingOrTouching(i,e))return[new u.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)];return null})}return!0}))}function I(e,t,i,n,o){const a=g.x.ordered(t);return 0===a.length||a[0].autoFormatTriggerCharacters.indexOf(n)<0?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(t,i,n,o,s.a.None)).catch(r.g).then(i=>e.computeMoreMinimalEdits(t.uri,i))}k._selectors=new t.a,C.a.registerCommand("_executeFormatRangeProvider",(function(e,...t){var[t,i,n]=t;Object(w.c)(a.a.isUri(t)),Object(w.c)(c.a.isIRange(i)),t=e.get(m.a).getModel(t);if(t)return function(e,t,i,n,s){return S(this,void 0,void 0,(function*(){for(const l of g.j.ordered(t)){var a=yield Promise.resolve(l.provideDocumentRangeFormattingEdits(t,i,n,s)).catch(r.g);if(Object(o.n)(a))return yield e.computeMoreMinimalEdits(t.uri,a)}}))}(e.get(p.a),t,c.a.lift(i),n,s.a.None);throw Object(r.c)("resource")})),C.a.registerCommand("_executeFormatDocumentProvider",(function(e,...t){var[t,i]=t;Object(w.c)(a.a.isUri(t)),t=e.get(m.a).getModel(t);if(t)return function(e,t,i,n){return S(this,void 0,void 0,(function*(){for(const a of x(t)){var s=yield Promise.resolve(a.provideDocumentFormattingEdits(t,i,n)).catch(r.g);if(Object(o.n)(s))return yield e.computeMoreMinimalEdits(t.uri,s)}}))}(e.get(p.a),t,i,s.a.None);throw Object(r.c)("resource")})),C.a.registerCommand("_executeFormatOnTypeProvider",(function(e,...t){var[t,i,n,o]=t;Object(w.c)(a.a.isUri(t)),Object(w.c)(h.a.isIPosition(i)),Object(w.c)("string"==typeof n),t=e.get(m.a).getModel(t);if(t)return I(e.get(p.a),t,h.a.lift(i),n,o);throw Object(r.c)("resource")}))},"87a3":function(e,t,i){"use strict";i.r(t),i.d(t,"UnusualLineTerminatorsDetector",(function(){return c}));var n=i("dff7"),o=(t=i("a666"),i("b2cc")),s=i("5717"),r=i("eafb"),a=i("82c9"),l=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e.hasChanged(113)&&(this._config=this._editor.getOption(113),this._checkForUnusualLineTerminators())})),this._register(this._editor.onDidChangeModel(()=>{this._checkForUnusualLineTerminators()})),this._register(this._editor.onDidChangeModelContent(e=>{e.isUndoing||this._checkForUnusualLineTerminators()}))}_checkForUnusualLineTerminators(){return d(this,void 0,void 0,(function*(){if("off"!==this._config&&this._editor.hasModel()){const o=this._editor.getModel();var e,t,i;o.mightContainUnusualLineTerminators()&&(e=this._codeEditorService,t=o,!0===e.getModelProperty(t.uri,h)||this._editor.getOption(80)||("auto"===this._config||(yield this._dialogService.confirm({title:n.a("unusualLineTerminators.title","Unusual Line Terminators"),message:n.a("unusualLineTerminators.message","Detected unusual line terminators"),detail:n.a("unusualLineTerminators.detail","The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.",Object(a.b)(o.uri)),primaryButton:n.a("unusualLineTerminators.fix","Remove Unusual Line Terminators"),secondaryButton:n.a("unusualLineTerminators.ignore","Ignore")})).confirmed?o.removeUnusualLineTerminators(this._editor.getSelections()):(e=this._codeEditorService,t=o,i=!0,e.setModelProperty(t.uri,h,i))))}}))}};c.ID="editor.contrib.unusualLineTerminatorsDetector",c=i([l(1,r.a),l(2,s.a)],c),Object(o.l)(c.ID,c)},8830:function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return v})),i.d(t,"d",(function(){return D})),i.d(t,"c",(function(){return N}));t=i("dff7");var n=i("308f"),o=i("a666"),s=i("aa3d"),r=i("e8e3"),a=i("fd49"),l=i("62bd"),d=i("fb71"),h=i("0910"),c=i("89cd"),u=i("be5f");const g=new class{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new n.b,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))}},p=Object.hasOwnProperty;class m{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class f{constructor(){this._values=[]}_read(e){return this._values[e]}_write(e,t){this._values[e]=t}}class _{static readOptions(e){var t=e;const i=new f;for(const o of a.l){var n="_never_"===o.name?void 0:t[o.name];i._write(o.id,n)}return i}static validateOptions(e){const t=new a.j;for(const i of a.l)t._write(i.id,i.validate(e._read(i.id)));return t}static computeOptions(e,t){const i=new m;for(const n of a.l)i._write(n.id,n.compute(t,i,e._read(n.id)));return i}static _deepEquals(e,t){if("object"!=typeof e||"object"!=typeof t)return e===t;if(Array.isArray(e)||Array.isArray(t))return!(!Array.isArray(e)||!Array.isArray(t))&&r.h(e,t);for(var i in e)if(!_._deepEquals(e[i],t[i]))return!1;return!0}static checkEquals(e,t){const i=[];let n=!1;for(const s of a.l){var o=!_._deepEquals(e._read(s.id),t._read(s.id));(i[s.id]=o)&&(n=!0)}return n?new a.b(i):null}}function b(e){e=s.b(e);{var t=e,i=t.wordWrap;!0===i?t.wordWrap="on":!1===i&&(t.wordWrap="off"),!0===(i=t.lineNumbers)?t.lineNumbers="on":!1===i&&(t.lineNumbers="off"),!1===(i=t.autoClosingBrackets)&&(t.autoClosingBrackets="never",t.autoClosingQuotes="never",t.autoSurround="never"),"visible"===(i=t.cursorBlinking)&&(t.cursorBlinking="solid"),!0===(i=t.renderWhitespace)?t.renderWhitespace="boundary":!1===i&&(t.renderWhitespace="none"),!0===(i=t.renderLineHighlight)?t.renderLineHighlight="line":!1===i&&(t.renderLineHighlight="none"),!0===(i=t.acceptSuggestionOnEnter)?t.acceptSuggestionOnEnter="on":!1===i&&(t.acceptSuggestionOnEnter="off"),!1===(i=t.tabCompletion)?t.tabCompletion="off":!0===i&&(t.tabCompletion="onlySnippets");const n=t.suggest;if(n&&"object"==typeof n.filteredTypes&&n.filteredTypes){const e={method:"showMethods",function:"showFunctions",constructor:"showConstructors",deprecated:"showDeprecated",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(u.b)(e,e=>{var t=n.filteredTypes[e.key];!1===t&&(n[e.value]=t)})}!0===(i=t.hover)?t.hover={enabled:!0}:!1===i&&(t.hover={enabled:!1}),!0===(i=t.parameterHints)?t.parameterHints={enabled:!0}:!1===i&&(t.parameterHints={enabled:!1}),!0===(i=t.autoIndent)?t.autoIndent="full":!1===i&&(t.autoIndent="advanced"),!0===(i=t.matchBrackets)?t.matchBrackets="always":!1===i&&(t.matchBrackets="never")}return e}class v extends o.a{constructor(e,t){super(),this._onDidChange=this._register(new n.b),this.onDidChange=this._onDidChange.event,this._onDidChangeFast=this._register(new n.b),this.onDidChangeFast=this._onDidChangeFast.event,this.isSimpleWidget=e,this._isDominatedByLongLines=!1,this._computeOptionsMemory=new a.a,this._viewLineCount=1,this._lineNumbersDigitCount=1,this._rawOptions=b(t),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._register(l.a.onDidChangeZoomLevel(e=>this._recomputeOptions())),this._register(g.onDidChangeTabFocus(e=>this._recomputeOptions()))}observeReferenceElement(e){}updatePixelRatio(){}_recomputeOptions(){var e=this.options,t=this._computeInternalOptions();e?null!==(e=_.checkEquals(e,t))&&(this.options=t,this._onDidChangeFast.fire(e),this._onDidChange.fire(e)):this.options=t}getRawOptions(){return this._rawOptions}_computeInternalOptions(){var e=this._getEnvConfiguration(),t=d.a.createFromValidatedSettings(this._validatedOptions,e.zoomLevel,e.pixelRatio,this.isSimpleWidget);t={memory:this._computeOptionsMemory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,viewLineCount:this._viewLineCount,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:g.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return _.computeOptions(this._validatedOptions,t)}static _subsetEquals(e,t){for(const o in t)if(p.call(t,o)){var i=t[o],n=e[o];if(n!==i){if(Array.isArray(n)&&Array.isArray(i)){if(r.h(n,i))continue}else if(n&&"object"==typeof n&&i&&"object"==typeof i&&this._subsetEquals(n,i))continue;return!1}}return!0}updateOptions(e){void 0!==e&&(e=b(e),v._subsetEquals(this._rawOptions,e)||(this._rawOptions=s.f(this._rawOptions,e||{}),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._recomputeOptions()))}setIsDominatedByLongLines(e){this._isDominatedByLongLines=e,this._recomputeOptions()}setMaxLineNumber(e){e=v._digitCount(e),this._lineNumbersDigitCount!==e&&(this._lineNumbersDigitCount=e,this._recomputeOptions())}setViewLineCount(e){this._viewLineCount!==e&&(this._viewLineCount=e,this._recomputeOptions())}static _digitCount(e){let t=0;for(;e;)e=Math.floor(e/10),t++;return t||1}}var C;i=Object.freeze({id:"editor",order:5,type:"object",title:t.a("editorConfigurationTitle","Editor"),scope:5});const w=c.a.as(h.a.Configuration),y=Object.assign(Object.assign({},i),{properties:{"editor.tabSize":{type:"number",default:a.d.tabSize,minimum:1,markdownDescription:t.a("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:a.d.insertSpaces,markdownDescription:t.a("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:a.d.detectIndentation,markdownDescription:t.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:a.d.trimAutoWhitespace,description:t.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:a.d.largeFileOptimizations,description:t.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:t.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.wordBasedSuggestionsMode":{enum:["currentDocument","matchingDocuments","allDocuments"],default:"matchingDocuments",enumDescriptions:[t.a("wordBasedSuggestionsMode.currentDocument","Only suggest words from the active document."),t.a("wordBasedSuggestionsMode.matchingDocuments","Suggest words from all open documents of the same language."),t.a("wordBasedSuggestionsMode.allDocuments","Suggest words from all open documents.")],description:t.a("wordBasedSuggestionsMode","Controls from which documents word based completions are computed.")},"editor.semanticHighlighting.enabled":{enum:[!0,!1,"configuredByTheme"],enumDescriptions:[t.a("semanticHighlighting.true","Semantic highlighting enabled for all color themes."),t.a("semanticHighlighting.false","Semantic highlighting disabled for all color themes."),t.a("semanticHighlighting.configuredByTheme","Semantic highlighting is configured by the current color theme's `semanticHighlighting` setting.")],default:"configuredByTheme",description:t.a("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:t.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:t.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:t.a("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:t.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:t.a("ignoreTrimWhitespace","When enabled, the diff editor ignores changes in leading or trailing whitespace.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:t.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")},"diffEditor.codeLens":{type:"boolean",default:!1,description:t.a("codeLens","Controls whether the editor shows CodeLens.")},"diffEditor.wordWrap":{type:"string",enum:["off","on","inherit"],default:"inherit",markdownEnumDescriptions:[t.a("wordWrap.off","Lines will never wrap."),t.a("wordWrap.on","Lines will wrap at the viewport width."),t.a("wordWrap.inherit","Lines will wrap according to the `#editor.wordWrap#` setting.")]}}});for(const O of a.l){var S=O.schema;if(void 0!==S)if(void 0!==(C=S).type||void 0!==C.anyOf)y.properties["editor."+O.name]=S;else for(var L in S)p.call(S,L)&&(y.properties[L]=S[L])}let x=null;function k(){return null===x&&(x=Object.create(null),Object.keys(y.properties).forEach(e=>{x[e]=!0})),x}function D(e){return k()["editor."+e]||!1}function N(e){return k()["diffEditor."+e]||!1}w.registerConfiguration(y)},8899:function(e,t,i){},"88b6":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return i.e("chunk-2d22c2b8").then(i.bind(null,"f1a8"))}})},"88d4":function(e,t,i){"use strict";i.d(t,"a",(function(){return N})),i.d(t,"b",(function(){return C})),i.d(t,"d",(function(){return O})),i.d(t,"c",(function(){return I})),i.d(t,"p",(function(){return M})),i.d(t,"q",(function(){return T})),i.d(t,"r",(function(){return A})),i.d(t,"e",(function(){return R})),i.d(t,"j",(function(){return P})),i.d(t,"l",(function(){return F})),i.d(t,"k",(function(){return B})),i.d(t,"n",(function(){return j})),i.d(t,"o",(function(){return W})),i.d(t,"f",(function(){return V})),i.d(t,"g",(function(){return H})),i.d(t,"m",(function(){return z})),i.d(t,"h",(function(){return U})),i.d(t,"i",(function(){return K})),i("7b59");var n=i("11f7"),o=i("5aa5"),s=i("f070"),r=(t=i("ceb8"),i("308f")),a=i("aa3d"),l=i("5717"),d=i("d379"),h=(i("b968"),i("70c3")),c=i("9c3e"),u=i("a666"),g=i("6a89"),p=i("b57f"),m=new t.a(new t.c(0,122,204));const f={showArrow:!0,showFrame:!0,className:"",frameColor:m,arrowColor:m,keepEditorSelection:!1};class _{constructor(e,t,i,n,o,s){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=i,this.heightInLines=n,this._onDomNodeTop=o,this._onComputedHeight=s}onDomNodeTop(e){this._onDomNodeTop(e)}onComputedHeight(e){this._onComputedHeight(e)}}class b{constructor(e,t){this._id=e,this._domNode=t}getId(){return this._id}getDomNode(){return this._domNode}getPosition(){return null}}class v{constructor(e){this._editor=e,this._ruleName=v._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}dispose(){this.hide(),n.Q(this._ruleName)}set color(e){this._color!==e&&(this._color=e,this._updateStyle())}set height(e){this._height!==e&&(this._height=e,this._updateStyle())}_updateStyle(){n.Q(this._ruleName),n.v(".monaco-editor "+this._ruleName,`border-style: solid; border-color: transparent; border-bottom-color: ${this._color}; border-width: ${this._height}px; bottom: -${this._height}px; margin-left: -${this._height}px; `)}show(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:g.a.fromPositions(e),options:{description:"zone-widget-arrow",className:this._ruleName,stickiness:1}}])}hide(){this._editor.deltaDecorations(this._decorations,[])}}v._IdGenerator=new c.a(".arrow-decoration-");var C,w=i("dff7"),y=(m=i("4fc3"),c=i("0a0f"),i("f5f3")),S=i("b2cc"),L=i("303e"),x=i("561a"),k=i("7944"),D=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{const i=this._widgets.get(e);i&&i.widget===t&&(i.listener.dispose(),this._widgets.delete(e))})})}}),(y=C=C||{}).inPeekEditor=new m.c("inReferenceSearchEditor",!0,w.a("inReferenceSearchEditor","Whether the current code editor is embedded inside peek")),y.notInPeekEditor=y.inPeekEditor.toNegated(),y=class{constructor(e,t){e instanceof d.a&&C.inPeekEditor.bindTo(t)}dispose(){}},y.ID="editor.contrib.referenceController",y=i([D(1,m.b)],y),Object(S.l)(y.ID,y);const E={headerBackgroundColor:t.a.white,primaryHeadingColor:t.a.fromHex("#333333"),secondaryHeadingColor:t.a.fromHex("#6c6c6cb3")};let I=class extends class{constructor(e,t={}){this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new u.b,this.container=null,this._isShowing=!1,this.editor=e,this.options=a.b(t),a.f(this.options,f,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange(e=>{var t=this._getWidth(e);this.domNode.style.width=t+"px",this.domNode.style.left=this._getLeft(e)+"px",this._onWidth(t)}))}dispose(){this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._viewZone=null}),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()}create(){this.domNode.classList.add("zone-widget"),this.options.className&&this.domNode.classList.add(this.options.className),this.container=document.createElement("div"),this.container.classList.add("zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new v(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()}style(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()}_applyStyles(){var e;this.container&&this.options.frameColor&&(e=this.options.frameColor.toString(),this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e),this._arrow&&this.options.arrowColor&&(e=this.options.arrowColor.toString(),this._arrow.color=e)}_getWidth(e){return e.width-e.minimap.minimapWidth-e.verticalScrollbarWidth}_getLeft(e){return 0{this._viewZone&&e.removeZone(this._viewZone.id)}),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()}_decoratingElementsHeight(){var e,t=this.editor.getOption(58);let i=0;return this.options.showArrow&&(e=Math.round(t/3),i+=2*e),this.options.showFrame&&(e=Math.round(t/9),i+=2*e),i}_showImpl(e,t){const i=e.getStartPosition();var n=this.editor.getLayoutInfo();const o=this._getWidth(n),s=(this.domNode.style.width=o+"px",this.domNode.style.left=this._getLeft(n)+"px",document.createElement("div"));s.style.overflow="hidden";n=this.editor.getOption(58);var r=Math.max(12,this.editor.getLayoutInfo().height/n*.8);t=Math.min(t,r);let a=0,l=0;if(this._arrow&&this.options.showArrow&&(a=Math.round(n/3),this._arrow.height=a,this._arrow.show(i)),this.options.showFrame&&(l=Math.round(n/9)),this.editor.changeViewZones(e=>{this._viewZone&&e.removeZone(this._viewZone.id),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this.domNode.style.top="-1000px",this._viewZone=new _(s,i.lineNumber,i.column,t,e=>this._onViewZoneTop(e),e=>this._onViewZoneHeight(e)),this._viewZone.id=e.addZone(this._viewZone),this._overlayWidget=new b("vs.editor.contrib.zoneWidget"+this._viewZone.id,this.domNode),this.editor.addOverlayWidget(this._overlayWidget)}),this.container&&this.options.showFrame){const e=this.options.frameWidth||l;this.container.style.borderTopWidth=e+"px",this.container.style.borderBottomWidth=e+"px"}r=t*n-this._decoratingElementsHeight(),this.container&&(this.container.style.top=a+"px",this.container.style.height=r+"px",this.container.style.overflow="hidden"),this._doLayout(r,o),this.options.keepEditorSelection||this.editor.setSelection(e);const d=this.editor.getModel();d&&((n=e.endLineNumber+1)<=d.getLineCount()?this.revealLine(n,!1):this.revealLine(d.getLineCount(),!0))}revealLine(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)}setCssClass(e,t){this.container&&(t&&this.container.classList.remove(t),this.container.classList.add(e))}_onWidth(e){}_doLayout(e,t){}_relayout(e){this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones(t=>{this._viewZone&&(this._viewZone.heightInLines=e,t.layoutZone(this._viewZone.id))})}_initSash(){if(!this._resizeSash){let e;this._resizeSash=this._disposables.add(new h.b(this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart(t=>{this._viewZone&&(e={startY:t.startY,heightInLines:this._viewZone.heightInLines})})),this._disposables.add(this._resizeSash.onDidEnd(()=>{e=void 0})),this._disposables.add(this._resizeSash.onDidChange(t=>{e&&(t=(t=(t.currentY-e.startY)/this.editor.getOption(58))<0?Math.ceil(t):Math.floor(t),5<(t=e.heightInLines+t)&&t<35&&this._relayout(t))}))}}getHorizontalSashLeft(){return 0}getHorizontalSashTop(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2}getHorizontalSashWidth(){var e=this.editor.getLayoutInfo();return e.width-e.minimap.minimapWidth}}{constructor(e,t,i){super(e,t),this.instantiationService=i,this._onDidClose=new r.b,this.onDidClose=this._onDidClose.event,a.f(this.options,E,!1)}dispose(){this.disposed||(this.disposed=!0,super.dispose(),this._onDidClose.fire(this))}style(e){let t=this.options;e.headerBackgroundColor&&(t.headerBackgroundColor=e.headerBackgroundColor),e.primaryHeadingColor&&(t.primaryHeadingColor=e.primaryHeadingColor),e.secondaryHeadingColor&&(t.secondaryHeadingColor=e.secondaryHeadingColor),super.style(e)}_applyStyles(){super._applyStyles();let e=this.options;this._headElement&&e.headerBackgroundColor&&(this._headElement.style.backgroundColor=e.headerBackgroundColor.toString()),this._primaryHeading&&e.primaryHeadingColor&&(this._primaryHeading.style.color=e.primaryHeadingColor.toString()),this._secondaryHeading&&e.secondaryHeadingColor&&(this._secondaryHeading.style.color=e.secondaryHeadingColor.toString()),this._bodyElement&&e.frameColor&&(this._bodyElement.style.borderColor=e.frameColor.toString())}_fillContainer(e){this.setCssClass("peekview-widget"),this._headElement=n.a(".head"),this._bodyElement=n.a(".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)}_fillHead(e,t){const i=n.a(".peekview-title");this.options.supportOnTitleClick&&(i.classList.add("clickable"),n.o(i,"click",e=>this._onTitleClick(e))),n.q(this._headElement,i),this._fillTitleIcon(i),this._primaryHeading=n.a("span.filename"),this._secondaryHeading=n.a("span.dirname"),this._metaHeading=n.a("span.meta"),n.q(i,this._primaryHeading,this._secondaryHeading,this._metaHeading);var r=n.a(".peekview-actions"),a=(n.q(this._headElement,r),this._getActionBarOptions());this._actionbarWidget=new o.a(r,a),this._disposables.add(this._actionbarWidget),t||this._actionbarWidget.push(new s.a("peekview.close",w.a("label.close","Close"),x.b.close.classNames,!0,()=>(this.dispose(),Promise.resolve())),{label:!1,icon:!0})}_fillTitleIcon(e){}_getActionBarOptions(){return{actionViewItemProvider:k.b.bind(void 0,this.instantiationService),orientation:0}}_onTitleClick(e){}setTitle(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerText=e,this._primaryHeading.setAttribute("title",e),t?this._secondaryHeading.innerText=t:n.t(this._secondaryHeading))}setMetaTitle(e){this._metaHeading&&(e?(this._metaHeading.innerText=e,n.W(this._metaHeading)):n.K(this._metaHeading))}_doLayout(e,t){var i;!this._isShowing&&e<0?this.dispose():(i=Math.ceil(1.2*this.editor.getOption(58)),e=Math.round(e-(i+2)),this._doLayoutHead(i,t),this._doLayoutBody(e,t))}_doLayoutHead(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)}_doLayoutBody(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")}};I=i([D(2,c.a)],I);const M=Object(L.wc)("peekViewTitle.background",{dark:Object(L.Lc)(L.M,.1),light:Object(L.Lc)(L.M,.1),hc:null},w.a("peekViewTitleBackground","Background color of the peek view title area.")),T=Object(L.wc)("peekViewTitleLabel.foreground",{dark:t.a.white,light:t.a.black,hc:t.a.white},w.a("peekViewTitleForeground","Color of the peek view title.")),A=Object(L.wc)("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},w.a("peekViewTitleInfoForeground","Color of the peek view title info.")),R=Object(L.wc)("peekView.border",{dark:L.M,light:L.M,hc:L.h},w.a("peekViewBorder","Color of the peek view borders and arrow.")),P=Object(L.wc)("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:t.a.black},w.a("peekViewResultsBackground","Background color of the peek view result list.")),F=Object(L.wc)("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:t.a.white},w.a("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),B=Object(L.wc)("peekViewResult.fileForeground",{dark:t.a.white,light:"#1E1E1E",hc:t.a.white},w.a("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),j=Object(L.wc)("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},w.a("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),W=Object(L.wc)("peekViewResult.selectionForeground",{dark:t.a.white,light:"#6C6C6C",hc:t.a.white},w.a("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),V=Object(L.wc)("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:t.a.black},w.a("peekViewEditorBackground","Background color of the peek view editor.")),H=Object(L.wc)("peekViewEditorGutter.background",{dark:V,light:V,hc:V},w.a("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),z=Object(L.wc)("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},w.a("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),U=Object(L.wc)("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},w.a("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),K=Object(L.wc)("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:L.b},w.a("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor."))},"891c":function(e,t,i){"use strict";i.r(t),i.d(t,"getDocumentSymbols",(function(){return h}));var n=i("6d8e"),o=i("1b69"),s=i("2504"),r=i("b78f"),a=i("70f5"),l=(t=i("9e74"),i("ef8e9")),d=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function h(e,t,i){return d(this,void 0,void 0,(function*(){const n=yield a.a.create(e,i);return t?n.asListOfDocumentSymbols():n.getTopLevelSymbols()}))}t.a.registerCommand("_executeDocumentSymbolProvider",(function(e,...t){return d(this,void 0,void 0,(function*(){var[i]=t,a=(Object(l.c)(n.a.isUri(i)),e.get(o.a).getModel(i));if(a)return h(a,!1,s.a.None);const d=yield e.get(r.a).createModelReference(i);try{return yield h(d.object.textEditorModel,!1,s.a.None)}finally{d.dispose()}}))}))},"89cd":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("1569"),o=i("ef8e9");const s=new class{constructor(){this.data=new Map}add(e,t){n.a(o.k(e)),n.a(o.j(t)),n.a(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}},"8a3f":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return i.e("chunk-2d2295e9").then(i.bind(null,"dcc7"))}})},"8ae8":function(e,t,i){"use strict";function n(e){return e&&"string"==typeof e.id}i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}));const o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"}},"8b4e":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s})),t=i("dff7");class n{constructor(e,t,i=t){this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=i}toLabel(e,t,i){if(0===t.length)return null;const n=[];for(let r=0,a=t.length;r>>0,new n.c(r,null===i?o:i)}},"8bf4":function(e,t,i){},"8c02":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"d",(function(){return h})),i.d(t,"c",(function(){return u})),i.d(t,"e",(function(){return g})),i.d(t,"b",(function(){return p}));var n=i("3742"),o=i("e6ff"),s=i("7061"),r=i("6a89"),a=i("3352");class l{constructor(e,t,i,n){this.searchString=e,this.isRegex=t,this.matchCase=i,this.wordSeparators=n}parseSearchRequest(){if(""===this.searchString)return null;let e,t=(e=this.isRegex?function(e){if(e&&0!==e.length)for(let i=0,n=e.length;i=n)break;var t=e.charCodeAt(i);if(110===t||114===t||87===t||119===t)return!0}return!1}(this.searchString):0<=this.searchString.indexOf("\n"),null);try{t=n.q(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let i=!this.isRegex&&!e;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new d(t,this.wordSeparators?Object(o.a)(this.wordSeparators):null,i?this.searchString:null)}}class d{constructor(e,t,i){this.regex=e,this.wordSeparators=t,this.simpleSearch=i}}function h(e,t,i){if(!i)return new a.b(e,null);let n=[];for(let o=0,s=t.length;o>0);t[o]>=e?n=o-1:t[o+1]>=e?(i=o,n=o):i=o+1}return i+1}}class u{static findMatches(e,t,i,n,o){return t=t.parseSearchRequest(),t?t.regex.multiline?this._doFindMatchesMultiline(e,i,new p(t.wordSeparators,t.regex),n,o):this._doFindMatchesLineByLine(e,i,t,n,o):[]}static _getMultilineMatchRange(e,t,i,n,o,s){let a,l,d=0;return a=n?t+o+(d=n.findLineFeedCountBeforeOffset(o)):t+o,l=n?(t=n.findLineFeedCountBeforeOffset(o+s.length)-d,a+s.length+t):a+s.length,n=e.getPositionAt(a),o=e.getPositionAt(l),new r.a(n.lineNumber,n.column,o.lineNumber,o.column)}static _doFindMatchesMultiline(e,t,i,n,o){var s,r=e.getOffsetAt(t.getStartPosition()),a=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new c(a):null;const d=[];let u=0;for(i.reset(0);s=i.next(a);)if(d[u++]=h(this._getMultilineMatchRange(e,r,a,l,s.index,s[0]),s,n),u>=o)return d;return d}static _doFindMatchesLineByLine(e,t,i,n,o){var s=[];let r=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);r=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,r,s,n,o)}else{const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);r=this._findMatchesInLine(i,a,t.startLineNumber,t.startColumn-1,r,s,n,o);for(let l=t.startLineNumber+1;l{var i=e.getColor(o.r);i&&t.addRule(`.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: ${i}; }`),i=e.getColor(o.B),i&&t.addRule(`.monaco-editor, .monaco-editor .inputarea.ime-input { color: ${i}; }`),i=e.getColor(x),i&&t.addRule(`.monaco-editor .margin { background-color: ${i}; }`),i=e.getColor(a),i&&t.addRule(`.monaco-editor .rangeHighlight { background-color: ${i}; }`),i=e.getColor(l),i&&t.addRule(`.monaco-editor .rangeHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${i}; }`),i=e.getColor(d),i&&t.addRule(`.monaco-editor .symbolHighlight { background-color: ${i}; }`),i=e.getColor(h),i&&t.addRule(`.monaco-editor .symbolHighlight { border: 1px ${"hc"===e.type?"dotted":"solid"} ${i}; }`),i=e.getColor(g);i&&(t.addRule(`.monaco-editor .mtkw { color: ${i} !important; }`),t.addRule(`.monaco-editor .mtkz { color: ${i} !important; }`))})},"91d3":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return i.e("chunk-2d229411").then(i.bind(null,"dd50"))}})},9240:function(e,t,i){"use strict";var n=i("c786");i.n(n).a},"92a6d":function(e,t,i){"use strict";i.d(t,"a",(function(){return m}));var n=i("5fe7"),o=i("ceb8"),s=i("fdcc"),r=i("eda7"),a=i("a666"),l=(t=i("b2cc"),i("5717")),d=i("6a89"),h=i("b57f"),c=i("b707"),u=i("6483"),g=(i=i("fbba"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._isEnabled=this.isEnabled(),this.onModelChanged()})),this._register(e.onDidChangeModelLanguage(()=>this.onModelChanged())),this._register(c.c.onDidChange(()=>this.onModelChanged())),this._register(e.onDidChangeConfiguration(()=>{var e=this._isEnabled;this._isEnabled=this.isEnabled(),e!==this._isEnabled&&(this._isEnabled?this.onModelChanged():this.removeAllDecorations())})),this._timeoutTimer=null,this._computePromise=null,this._isEnabled=this.isEnabled(),this.onModelChanged()}isEnabled(){const e=this._editor.getModel();if(!e)return!1;var t=e.getLanguageIdentifier();t=this._configurationService.getValue(t.language);return t&&"object"==typeof t&&(t=t.colorDecorators,t&&void 0!==t.enable&&!t.enable)?t.enable:this._editor.getOption(16)}static get(e){return e.getContribution(this.ID)}dispose(){this.stop(),this.removeAllDecorations(),super.dispose()}onModelChanged(){var t;this.stop(),!this._isEnabled||(t=this._editor.getModel())&&c.c.has(t)&&(this._localToDispose.add(this._editor.onDidChangeModelContent(()=>{this._timeoutTimer||(this._timeoutTimer=new n.g,this._timeoutTimer.cancelAndSet(()=>{this._timeoutTimer=null,this.beginCompute()},e.RECOMPUTE_TIME))})),this.beginCompute())}beginCompute(){this._computePromise=Object(n.h)(e=>{var t=this._editor.getModel();return t?Object(u.b)(t,e):Promise.resolve([])}),this._computePromise.then(e=>{this.updateDecorations(e),this.updateColorDecorators(e),this._computePromise=null},s.f)}stop(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()}updateDecorations(e){var t=e.map(e=>({range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:h.a.EMPTY}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,t),this._colorDatas=new Map,this._decorationsIds.forEach((t,i)=>this._colorDatas.set(t,e[i]))}updateColorDecorators(e){let t=[],i={};for(let d=0;d{i[e]||this._codeEditorService.removeDecorationType(e)}),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,t)}removeAllDecorations(){this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach(e=>{this._codeEditorService.removeDecorationType(e)})}getColorData(e){const t=this._editor.getModel();return t&&0!==(e=t.getDecorationsInRange(d.a.fromPositions(e,e)).filter(e=>this._colorDatas.has(e.id))).length?this._colorDatas.get(e[0].id):null}};m.ID="editor.contrib.colorDetector",m.RECOMPUTE_TIME=1e3,m=g([p(1,l.a),p(2,i.a)],m),Object(t.l)(m.ID,m)},"930f":function(e,t,i){},"93b9":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return i.e("chunk-2d0a43df").then(i.bind(null,"0636"))}})},"93ba":function(e,t,i){"use strict";i.r(t),i.d(t,"ToggleTabFocusModeAction",(function(){return r}));var n=i("dff7"),o=i("3813"),s=(t=i("b2cc"),i("8830"));class r extends t.b{constructor(){super({id:r.ID,label:n.a({key:"toggle.tabMovesFocus",comment:["Turn on/off use of tab key for moving focus around VS Code"]},"Toggle Tab Key Moves Focus"),alias:"Toggle Tab Key Moves Focus",precondition:void 0,kbOpts:{kbExpr:null,primary:2091,mac:{primary:1323},weight:100}})}run(e,t){var i=!s.b.getTabFocusMode();s.b.setTabFocusMode(i),i?Object(o.a)(n.a("toggle.tabMovesFocus.on","Pressing Tab will now move focus to the next focusable element")):Object(o.a)(n.a("toggle.tabMovesFocus.off","Pressing Tab will now insert the tab character"))}}r.ID="editor.action.toggleTabFocusMode",Object(t.j)(r)},"93d9":function(e,t,i){"use strict";i.d(t,"a",(function(){return We})),i.d(t,"b",(function(){return Ve})),i.d(t,"e",(function(){return Ue})),i.d(t,"d",(function(){return ct})),i.d(t,"c",(function(){return ft}));var n=i("11f7"),o=i("e8e3"),s=i("2504"),r=i("308f"),a=i("a666"),l=(i("e2b8"),i("72a7"));class d{constructor(e,t){this.renderer=e,this.modelProvider=t}get templateId(){return this.renderer.templateId}renderTemplate(e){return{data:this.renderer.renderTemplate(e),disposable:a.a.None}}renderElement(e,t,i,n){if(i.disposable&&i.disposable.dispose(),i.data){const t=this.modelProvider();if(t.isResolved(e))return this.renderer.renderElement(t.get(e),e,i.data,n);const o=new s.b,r=t.resolve(e,o.token);i.disposable={dispose:()=>o.cancel()},this.renderer.renderPlaceholder(e,i.data),r.then(t=>this.renderer.renderElement(t,e,i.data,n))}}disposeTemplate(e){e.disposable&&(e.disposable.dispose(),e.disposable=void 0),e.data&&(this.renderer.disposeTemplate(e.data),e.data=void 0)}}class h{constructor(e,t){this.modelProvider=e,this.accessibilityProvider=t}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(e){const t=this.modelProvider();return t.isResolved(e)?this.accessibilityProvider.getAriaLabel(t.get(e)):null}}class c{constructor(e,t,i,n,o={}){const s=()=>this.model;n=n.map(e=>new d(e,s)),this.list=new l.c(e,t,i,n,(e=s,t=o,Object.assign(Object.assign({},t),{accessibilityProvider:t.accessibilityProvider&&new h(e,t.accessibilityProvider)})))}updateOptions(e){this.list.updateOptions(e)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return r.c.map(this.list.onMouseDblClick,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onPointer(){return r.c.map(this.list.onPointer,({element:e,index:t,browserEvent:i})=>({element:void 0===e?void 0:this._model.get(e),index:t,browserEvent:i}))}get onDidChangeSelection(){return r.c.map(this.list.onDidChangeSelection,({elements:e,indexes:t,browserEvent:i})=>({elements:e.map(e=>this._model.get(e)),indexes:t,browserEvent:i}))}get model(){return this._model}set model(e){this._model=e,this.list.splice(0,this.list.length,Object(o.r)(e.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(e=>this.model.get(e))}style(e){this.list.style(e)}dispose(){this.list.dispose()}}var u=i("e385d");i("ec60");class g{constructor(e,t,i){this.columns=e,this.getColumnSize=i,this.templateId=g.TemplateId,this.renderedTemplates=new Set;const n=new Map(t.map(e=>[e.templateId,e]));this.renderers=[];for(const s of e){var o=n.get(s.templateId);if(!o)throw new Error(`Table cell renderer for template id ${s.templateId} not found.`);this.renderers.push(o)}}renderTemplate(e){var t=Object(n.q)(e,Object(n.a)(".monaco-table-tr"));const i=[],o=[];for(let s=0;snew p(e,t));var h;t={size:d.reduce((e,t)=>e+t.column.weight,0),views:d.map(e=>({size:e.column.weight,view:e}))};this.splitview=new u.b(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:t}),this.splitview.el.style.height=i.headerRowHeight+"px",this.splitview.el.style.lineHeight=i.headerRowHeight+"px";const c=new g(o,s,e=>this.splitview.getViewSize(e));this.list=new l.c(e,this.domNode,(h=i,{getHeight(e){return h.getHeight(e)},getTemplateId(){return g.TemplateId}}),[c],a),this.columnLayoutDisposable=r.c.any(...d.map(e=>e.onDidLayout))(([e,t])=>c.layoutColumn(e,t)),this.styleElement=Object(n.w)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(e){this.list.updateOptions(e)}splice(e,t,i=[]){this.list.splice(e,t,i)}getHTMLElement(){return this.domNode}style(e){const t=[];t.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {\n\t\t\ttop: ${this.virtualDelegate.headerRowHeight+1}px;\n\t\t\theight: calc(100% - ${this.virtualDelegate.headerRowHeight}px);\n\t\t}`),this.styleElement.textContent=t.join("\n"),this.list.style(e)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.splitview.dispose(),this.list.dispose(),this.columnLayoutDisposable.dispose()}}m.InstanceCount=0;var f,_=i("7de1"),b=i("650e"),v=i("e32d"),C=i("b835");(t=f=f||{})[t.Unknown=0]="Unknown",t[t.Twistie=1]="Twistie",t[t.Element=2]="Element";class w extends Error{constructor(e,t){super(`TreeError [${e}] `+t)}}class y{constructor(e){this.fn=e,this._map=new WeakMap}map(e){let t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t}}var S=i("1b0e"),L=i("258a");function x(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function k(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function D(e){return"boolean"==typeof e.collapsible}class N{constructor(e,t,i,n={}){this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new r.d,this._onDidChangeCollapseState=new r.b,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new r.b,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new r.b,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:i,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visibility:1,visible:!0,filterData:void 0}}splice(e,t,i=L.a.empty(),n={}){if(0===e.length)throw new w(this.user,"Invalid tree location");n.diffIdentityProvider?this.spliceSmart(n.diffIdentityProvider,e,t,i,n):this.spliceSimple(e,t,i,n)}spliceSmart(e,t,i,n,o,s){var r;void 0===n&&(n=L.a.empty()),void 0===s&&(s=null!=(r=o.diffDepth)?r:0);const a=this.getParentNodeWithListIndex(t)["parentNode"],l=[...n],d=t[t.length-1],h=new S.a({getElements:()=>a.children.map(t=>e.getId(t.element).toString())},{getElements:()=>[...a.children.slice(0,d),...l,...a.children.slice(d+i)].map(t=>e.getId(t.element).toString())}).ComputeDiff(!1);if(h.quitEarly)return this.spliceSimple(t,i,l,o);const c=t.slice(0,-1);var u=(t,i,n)=>{if(0t.originalStart-e.originalStart))u(g,p,g-(m.originalStart+m.originalLength)),g=m.originalStart,p=m.modifiedStart-d,this.spliceSimple([...c,g],m.originalLength,L.a.slice(l,p,p+m.modifiedLength),o);u(g,p,g)}spliceSimple(e,t,i=L.a.empty(),{onDidCreateNode:n,onDidDeleteNode:s}){const{parentNode:r,listIndex:a,revealed:l,visible:d}=this.getParentNodeWithListIndex(e),h=[];i=L.a.map(i,e=>this.createTreeNode(e,r,r.visible?1:0,l,h,n));var c=e[e.length-1],u=0e+(t.visible?t.renderNodeCount:0),0),this._updateAncestorsRenderNodeCount(r,_-i),this.list.splice(a,i,h)),0{s(t),t.children.forEach(e)};b.forEach(e)}t=0this._setCollapseState(e,n))}isCollapsed(e){return this.getTreeNode(e).collapsed}setCollapsed(e,t,i){var n=this.getTreeNode(e);const o={collapsed:t=void 0===t?!n.collapsed:t,recursive:i||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(e,o))}_setCollapseState(e,t){var{node:i,listIndex:n,revealed:o}=this.getTreeNodeWithListIndex(e),n=this._setListNodeCollapseState(i,n,o,t);if(i!==this.root&&this.autoExpandSingleChildren&&n&&!D(t)&&i.collapsible&&!i.collapsed&&!t.recursive){let n=-1;for(let e=0;e{let t=this.getTreeNode(e);for(;t.parent;)t=t.parent,e=e.slice(0,e.length-1),t.collapsed&&this._setCollapseState(e,{collapsed:!1,recursive:!1})})}refilter(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)}createTreeNode(e,t,i,n,o,s){const r={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"==typeof e.collapsible?e.collapsible:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},a=this._filterNode(r,i);r.visibility=a,n&&o.push(r),t=e.children||L.a.empty();const l=n&&0!==a&&!r.collapsed;let d=0,h=1;for(const c of L.a.map(t,e=>this.createTreeNode(e,r,a,l,o,s)))r.children.push(c),h+=c.renderNodeCount,c.visible&&(c.visibleChildIndex=d++);return r.collapsible=r.collapsible||0t.children.length)&&this.hasTreeNode(i,t.children[e]))}getTreeNode(e,t=this.root){if(!e||0===e.length)return t;var[e,...i]=e;if(e<0||e>t.children.length)throw new w(this.user,"Invalid tree location");return this.getTreeNode(i,t.children[e])}getTreeNodeWithListIndex(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var{parentNode:t,listIndex:i,revealed:n,visible:o}=this.getParentNodeWithListIndex(e);e=e[e.length-1];if(e<0||e>t.children.length)throw new w(this.user,"Invalid tree location");return t=t.children[e],{node:t,listIndex:i,revealed:n,visible:o&&t.visible}}getParentNodeWithListIndex(e,t=this.root,i=0,n=!0,o=!0){var[s,...e]=e;if(s<0||s>t.children.length)throw new w(this.user,"Invalid tree location");for(let r=0;re.element)),this.data=e}}function H(e){return e instanceof _.a?new V(e):e}class z{constructor(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=a.a.None}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(H(e),t)}onDragOver(e,t,i,n,s=!0){var r=this.dnd.onDragOver(H(e),t&&t.element,i,n),a=this.autoExpandNode!==t;if(a&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),void 0===t)return r;if(a&&"boolean"!=typeof r&&r.autoExpand&&(this.autoExpandDisposable=Object(R.i)(()=>{const e=this.modelProvider();var i=e.getNodeLocation(t);e.isCollapsed(i)&&e.setCollapsed(i,!1),this.autoExpandNode=void 0},500)),"boolean"==typeof r||!r.accept||void 0===r.bubble||r.feedback)return s?r:{accept:"boolean"==typeof r?r:r.accept,effect:"boolean"==typeof r?void 0:r.effect,feedback:[i]};if(1===r.bubble){const o=this.modelProvider(),r=o.getNodeLocation(t);return a=o.getParentNodeLocation(r),s=o.getNode(a),i=a&&o.getListIndex(a),this.onDragOver(e,s,i,n,!1)}const l=this.modelProvider(),d=l.getNodeLocation(t);return a=l.getListIndex(d),e=l.getListRenderCount(d),Object.assign(Object.assign({},r),{feedback:Object(o.r)(a,a+e)})}drop(e,t,i,n){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(H(e),t&&t.element,i,n)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}class U{constructor(e){this.delegate=e}getHeight(e){return this.delegate.getHeight(e.element)}getTemplateId(e){return this.delegate.getTemplateId(e.element)}hasDynamicHeight(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)}setDynamicHeight(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)}}(t=A=A||{}).None="none",t.OnHover="onHover",t.Always="always";class K{constructor(e,t=[]){this._elements=t,this.onDidChange=r.c.forEach(e,e=>this._elements=e)}get elements(){return this._elements}}class q{constructor(e,t,i,n,o={}){this.renderer=e,this.modelProvider=t,this.activeNodes=n,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=q.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new P.a,this.activeIndentNodes=new Set,this.indentGuidesDisposable=a.a.None,this.disposables=new a.b,this.templateId=e.templateId,this.updateOptions(o),r.c.map(i,e=>e.node)(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}updateOptions(e={}){var t;void 0!==e.indent&&(this.indent=Object(B.b)(e.indent,0,40)),void 0!==e.renderIndentGuides&&(t=e.renderIndentGuides!==A.None)!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t&&(t=new a.b,this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,t),this.indentGuidesDisposable=t,this._onDidChangeActiveNodes(this.activeNodes.elements))),void 0!==e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)}renderTemplate(e){var t=Object(n.q)(e,Object(n.a)(".monaco-tl-row")),i=Object(n.q)(t,Object(n.a)(".monaco-tl-indent")),o=Object(n.q)(t,Object(n.a)(".monaco-tl-twistie"));t=Object(n.q)(t,Object(n.a)(".monaco-tl-contents")),t=this.renderer.renderTemplate(t);return{container:e,indent:i,twistie:o,indentGuidesDisposable:a.a.None,templateData:t}}renderElement(e,t,i,n){"number"==typeof n&&(this.renderedNodes.set(e,{templateData:i,height:n}),this.renderedElements.set(e.element,e));var o=q.DefaultIndent+(e.depth-1)*this.indent;i.twistie.style.paddingLeft=o+"px",i.indent.style.width=o+this.indent-16+"px",this.renderTwistie(e,i),"number"==typeof n&&this.renderIndentGuides(e,i),this.renderer.renderElement(e,t,i.templateData,n)}disposeElement(e,t,i,n){i.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,i.templateData,n),"number"==typeof n&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}onDidChangeTwistieState(e){e=this.renderedElements.get(e),e&&this.onDidChangeNodeTwistieState(e)}onDidChangeNodeTwistieState(e){var t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))}renderTwistie(e,t){t.twistie.classList.remove(...O.classNamesArray);let i=!1;this.renderer.renderTwistie&&(i=this.renderer.renderTwistie(e.element,t.twistie)),e.collapsible&&(!this.hideTwistiesOfChildlessElements||0this.renderedIndentGuides.delete(e,l))),r=e}t.indentGuidesDisposable=o}}_onDidChangeActiveNodes(e){if(this.shouldRenderIndentGuides){const t=new Set,i=this.modelProvider();e.forEach(e=>{var n=i.getNodeLocation(e);try{var o=i.getParentNodeLocation(n);e.collapsible&&0{t.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.remove("active"))}),t.forEach(e=>{this.activeIndentNodes.has(e)||this.renderedIndentGuides.forEach(e,e=>e.classList.add("active"))}),this.activeIndentNodes=t}}dispose(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(a.f)(this.disposables)}}q.DefaultIndent=8;class ${constructor(e,t,i){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=i,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new a.b,e.onWillRefilter(this.reset,this,this.disposables)}get totalCount(){return this._totalCount}get matchCount(){return this._matchCount}set pattern(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()}filter(e,t){if(this._filter){if(t=this._filter.filter(e,t),this.tree.options.simpleKeyboardNavigation)return t;let i;if(0===(i="boolean"==typeof t?t?1:0:x(t)?k(t.visibility):t))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:F.a.Default,visibility:!0};t=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e);var i=Array.isArray(t)?t:[t];for(const o of i){const e=o&&o.toString();if(void 0===e)return{data:F.a.Default,visibility:!0};var n=Object(F.d)(this._pattern,this._lowercasePattern,0,e,e.toLowerCase(),0,!0);if(n)return this._matchCount++,1===i.length?{data:n,visibility:!0}:{data:{label:e,score:n},visibility:!0}}return this.tree.options.filterOnType?2:{data:F.a.Default,visibility:!0}}reset(){this._totalCount=0,this._matchCount=0}dispose(){Object(a.f)(this.disposables)}}class G{constructor(e,t,i,o,s){this.tree=e,this.view=i,this.filter=o,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new r.b,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new r.b,this.enabledDisposables=new a.b,this.disposables=new a.b,this.domNode=Object(n.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,this.disposables.add(Object(n.i)(this.domNode,"dragstart",()=>this.onDragStart())),this.messageDomNode=Object(n.q)(i.getHTMLElement(),Object(n.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(n.q)(this.domNode,Object(n.a)("span.label")),o=Object(n.q)(this.domNode,Object(n.a)(".controls")),this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(n.q)(o,Object(n.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitleAndIcon(),this.disposables.add(Object(n.i)(this.filterOnTypeDomNode,"input",()=>this.onDidChangeFilterOnType())),this.clearDomNode=Object(n.q)(o,Object(n.a)("button.clear"+M.cssSelector)),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(W.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}get enabled(){return this._enabled}get pattern(){return this._pattern}get filterOnType(){return this._filterOnType}updateOptions(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType,this.updateFilterOnTypeTitleAndIcon()),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")}enable(){var e,t;this._enabled||(e=this.enabledDisposables.add(new v.a(this.view.getHTMLElement(),"keydown")),e=r.c.chain(e.event).filter(e=>!Object(l.e)(e.target)||e.target===this.filterOnTypeDomNode).filter(e=>"Dead"!==e.key&&!/^Media/.test(e.key)).map(e=>new C.a(e)).filter(this.keyboardNavigationEventFilter||(()=>!0)).filter(()=>this.automaticKeyboardNavigation||this.triggered).filter(e=>this.keyboardNavigationDelegate.mightProducePrintableCharacter(e)&&!(18===e.keyCode||16===e.keyCode||15===e.keyCode||17===e.keyCode)||(0{e.stopPropagation(),e.preventDefault()}).event,t=this.enabledDisposables.add(new v.a(this.clearDomNode,"click")),r.c.chain(r.c.any(e,t.event)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1)}disable(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)}onEventOrInput(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(j.f?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)}onInput(e){const t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,e=>!F.a.isDefault(e.filterData));var i=this.tree.getFocus();0{switch(l){case"nw":this.domNode.style.top="4px",this.domNode.style.left="4px";break;case"ne":this.domNode.style.top="4px",this.domNode.style.left=i-s-6+"px"}},h=()=>{this.positionClassName=l,this.domNode.className="monaco-list-type-filter "+this.positionClassName,this.domNode.style.top="",this.domNode.style.left="",Object(a.f)(r)};d(),this.domNode.classList.remove(l),this.domNode.classList.add("dragging"),r.add(Object(a.i)(()=>this.domNode.classList.remove("dragging"))),r.add(Object(n.i)(document,"dragover",e=>{e.preventDefault();var i=e.clientX-t;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=ih())),b.c.CurrentDragAndDropData=new b.b("vscode-ui"),r.add(Object(a.i)(()=>b.c.CurrentDragAndDropData=void 0))}onDidSpliceModel(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())}onDidChangeFilterOnType(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitleAndIcon()}updateFilterOnTypeTitleAndIcon(){this.filterOnType?(this.filterOnTypeDomNode.classList.remove(...I.classNamesArray),this.filterOnTypeDomNode.classList.add(...E.classNamesArray),this.filterOnTypeDomNode.title=Object(W.a)("disable filter on type","Disable Filter on Type")):(this.filterOnTypeDomNode.classList.remove(...E.classNamesArray),this.filterOnTypeDomNode.classList.add(...I.classNamesArray),this.filterOnTypeDomNode.title=Object(W.a)("enable filter on type","Enable Filter on Type"))}render(){var e=0Y(e,t))}class X{constructor(e,t){this.getFirstViewElementWithTrait=e,this.identityProvider=t,this.nodes=[],this._onDidChange=new r.b,this.onDidChange=this._onDidChange.event}get nodeSet(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet}set(e,t){var i;(null!=(i=t)&&i.__forceEvent||!Object(o.h)(this.nodes,e))&&this._set(e,!1,t)}_set(e,t,i){if(this.nodes=[...e],this.elements=void 0,this._nodeSet=void 0,!t){const e=this;this._onDidChange.fire({get elements(){return e.get()},browserEvent:i})}}get(){return this.elements||(this.elements=this.nodes.map(e=>e.element)),[...this.elements]}getNodes(){return this.nodes}has(e){return this.nodeSet.has(e)}onDidModelSplice({insertedNodes:e,deletedNodes:t}){if(this.identityProvider){const n=new Set,o=e=>n.add(this.identityProvider.getId(e.element).toString()),s=(t.forEach(e=>Y(e,o)),new Map),r=e=>s.set(this.identityProvider.getId(e.element).toString(),e),a=(e.forEach(e=>Y(e,r)),[]);for(const e of this.nodes){var i=this.identityProvider.getId(e.element).toString();n.has(i)?(i=s.get(i))&&a.push(i):a.push(e)}0e.delete(t);t.forEach(e=>Y(e,i)),this.set([...e.values()])}}createNodeSet(){const e=new Set;for(const t of this.nodes)e.add(t);return e}}class Q extends l.d{constructor(e,t){super(e),this.tree=t}onViewPointer(e){if(!Object(l.e)(e.browserEvent.target)&&!Object(l.f)(e.browserEvent.target)){var t=e.element;if(!t)return super.onViewPointer(e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return super.onViewPointer(e);const o=e.browserEvent.target;var i=o.classList.contains("monaco-tl-twistie")||o.classList.contains("monaco-icon-label")&&o.classList.contains("folder-icon")&&e.browserEvent.offsetX<16;let s=!1;if((s="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick)&&!i&&2!==e.browserEvent.detail)return super.onViewPointer(e);if(!this.tree.expandOnDoubleClick&&2===e.browserEvent.detail)return super.onViewPointer(e);if(t.collapsible){const o=this.tree.model;t=o.getNodeLocation(t);var n=e.browserEvent.altKey;if(this.tree.setFocus([t]),o.setCollapsed(t,void 0,n),s&&i)return}super.onViewPointer(e)}}onDoubleClick(e){!e.browserEvent.target.classList.contains("monaco-tl-twistie")&&this.tree.expandOnDoubleClick&&super.onDoubleClick(e)}}class J extends l.c{constructor(e,t,i,n,o,s,r,a){super(e,t,i,n,a),this.focusTrait=o,this.selectionTrait=s,this.anchorTrait=r}createMouseController(e){return new Q(this,e.tree)}splice(e,t,i=[]){if(super.splice(e,t,i),0!==i.length){const t=[],n=[];let s;i.forEach((i,o)=>{this.focusTrait.has(i)&&t.push(e+o),this.selectionTrait.has(i)&&n.push(e+o),this.anchorTrait.has(i)&&(s=e+o)}),0this.element(e)),t)}setSelection(e,t,i=!1){super.setSelection(e,t),i||this.selectionTrait.set(e.map(e=>this.element(e)),t)}setAnchor(e,t=!1){super.setAnchor(e),t||(void 0===e?this.anchorTrait.set([]):this.anchorTrait.set([this.element(e)]))}}class ee{constructor(e,t,i,o,s={}){this._options=s,this.eventBufferer=new r.d,this.disposables=new a.b,this._onWillRefilter=new r.b,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new r.b;var d,h,c;i=new U(i);const u=new r.f,g=new r.f,p=new K(g.event);for(d of(this.renderers=o.map(e=>new q(e,()=>this.model,u.event,p,s)),this.renderers))this.disposables.add(d);let m;s.keyboardNavigationLabelProvider&&(m=new $(this,s.keyboardNavigationLabelProvider,s.filter),s=Object.assign(Object.assign({},s),{filter:m}),this.disposables.add(m)),this.focus=new X(()=>this.view.getFocusedElements()[0],s.identityProvider),this.selection=new X(()=>this.view.getSelectedElements()[0],s.identityProvider),this.anchor=new X(()=>this.view.getAnchorElement(),s.identityProvider),this.view=new J(e,t,i,this.renderers,this.focus,this.selection,this.anchor,Object.assign(Object.assign({},(h=()=>this.model,(c=s)&&Object.assign(Object.assign({},c),{identityProvider:c.identityProvider&&{getId(e){return c.identityProvider.getId(e.element)}},dnd:c.dnd&&new z(h,c.dnd),multipleSelectionController:c.multipleSelectionController&&{isSelectionSingleChangeEvent(e){return c.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))},isSelectionRangeChangeEvent(e){return c.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},e),{element:e.element}))}},accessibilityProvider:c.accessibilityProvider&&Object.assign(Object.assign({},c.accessibilityProvider),{getSetSize(e){const t=h();return e=t.getNodeLocation(e),e=t.getParentNodeLocation(e),t.getNode(e).visibleChildrenCount},getPosInSet(e){return e.visibleChildIndex+1},isChecked:c.accessibilityProvider&&c.accessibilityProvider.isChecked?e=>c.accessibilityProvider.isChecked(e.element):void 0,getRole:c.accessibilityProvider&&c.accessibilityProvider.getRole?e=>c.accessibilityProvider.getRole(e.element):()=>"treeitem",getAriaLabel(e){return c.accessibilityProvider.getAriaLabel(e.element)},getWidgetAriaLabel(){return c.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:c.accessibilityProvider&&c.accessibilityProvider.getWidgetRole?()=>c.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:c.accessibilityProvider&&c.accessibilityProvider.getAriaLevel?e=>c.accessibilityProvider.getAriaLevel(e.element):e=>e.depth,getActiveDescendantId:c.accessibilityProvider.getActiveDescendantId&&(e=>c.accessibilityProvider.getActiveDescendantId(e.element))}),keyboardNavigationLabelProvider:c.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},c.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(e){return c.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:c.simpleKeyboardNavigation}))),{tree:this})),this.model=this.createModel(e,this.view,s),u.input=this.model.onDidChangeCollapseState;const f=r.c.forEach(this.model.onDidSplice,e=>{this.eventBufferer.bufferEvents(()=>{this.focus.onDidModelSplice(e),this.selection.onDidModelSplice(e)})});if(f(()=>null,null,this.disposables),g.input=r.c.chain(r.c.any(f,this.focus.onDidChange,this.selection.onDidChange)).debounce(()=>null,0).map(()=>{const e=new Set;for(const t of this.focus.getNodes())e.add(t);for(const t of this.selection.getNodes())e.add(t);return[...e.values()]}).event,!1!==s.keyboardSupport){const e=r.c.chain(this.view.onKeyDown).filter(e=>!Object(l.e)(e.target)).map(e=>new C.a(e));e.filter(e=>15===e.keyCode).on(this.onLeftArrow,this,this.disposables),e.filter(e=>17===e.keyCode).on(this.onRightArrow,this,this.disposables),e.filter(e=>10===e.keyCode).on(this.onSpace,this,this.disposables)}if(s.keyboardNavigationLabelProvider){const e=s.keyboardNavigationDelegate||l.a;this.typeFilterController=new G(this,this.model,this.view,m,e),this.focusNavigationFilter=e=>this.typeFilterController.shouldAllowFocus(e),this.disposables.add(this.typeFilterController)}this.styleElement=Object(n.w)(this.view.getHTMLElement()),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===A.Always)}get onDidChangeFocus(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)}get onDidChangeSelection(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)}get onMouseDblClick(){return r.c.map(this.view.onMouseDblClick,Z)}get onPointer(){return r.c.map(this.view.onPointer,Z)}get onDidFocus(){return this.view.onDidFocus}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get expandOnDoubleClick(){return void 0===this._options.expandOnDoubleClick||this._options.expandOnDoubleClick}get expandOnlyOnTwistieClick(){return void 0===this._options.expandOnlyOnTwistieClick||this._options.expandOnlyOnTwistieClick}get onDidDispose(){return this.view.onDidDispose}updateOptions(e={}){this._options=Object.assign(Object.assign({},this._options),e);for(const t of this.renderers)t.updateOptions(e);this.view.updateOptions(Object.assign(Object.assign({},this._options),{enableKeyboardNavigation:this._options.simpleKeyboardNavigation})),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),this.getHTMLElement().classList.toggle("always",this._options.renderIndentGuides===A.Always)}get options(){return this._options}getHTMLElement(){return this.view.getHTMLElement()}get scrollTop(){return this.view.scrollTop}set scrollTop(e){this.view.scrollTop=e}domFocus(){this.view.domFocus()}layout(e,t){this.view.layout(e,t)}style(e){var t="."+this.view.domId;const i=[];e.treeIndentGuidesStroke&&(i.push(`.monaco-list${t}:hover .monaco-tl-indent > .indent-guide, .monaco-list${t}.always .monaco-tl-indent > .indent-guide { border-color: ${e.treeIndentGuidesStroke.transparent(.4)}; }`),i.push(`.monaco-list${t} .monaco-tl-indent > .indent-guide.active { border-color: ${e.treeIndentGuidesStroke}; }`)),this.styleElement.textContent=i.join("\n"),this.view.style(e)}collapse(e,t=!1){return this.model.setCollapsed(e,!0,t)}expand(e,t=!1){return this.model.setCollapsed(e,!1,t)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}refilter(){this._onWillRefilter.fire(void 0),this.model.refilter()}setSelection(e,t){var i=e.map(e=>this.model.getNode(e));this.selection.set(i,t),i=e.map(e=>this.model.getListIndex(e)).filter(e=>-1this.model.getNode(e));this.focus.set(i,t),i=e.map(e=>this.model.getListIndex(e)).filter(e=>-1e.visible)&&([e]=this.view.getFocus(),this.view.reveal(e+=1),this.view.setFocus([e]))}}onSpace(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();0!==t.length&&(t=t[0],t=this.model.getNodeLocation(t),e=e.browserEvent.altKey,this.model.setCollapsed(t,void 0,e))}dispose(){Object(a.f)(this.disposables),this.view.dispose()}}class te{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new N(e,t,null,i),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,i.sorter&&(this.sorter={compare(e,t){return i.sorter.compare(e.element,t.element)}}),this.identityProvider=i.identityProvider}setChildren(e,t=L.a.empty(),i={}){e=this.getElementLocation(e),this._setChildren(e,this.preserveCollapseState(t),i)}_setChildren(e,t=L.a.empty(),i){const n=new Set,o=new Set;this.model.splice([...e,0],Number.MAX_VALUE,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{var t;null!==e.element&&(e=e,n.add(e.element),this.nodes.set(e.element,e),this.identityProvider&&(t=this.identityProvider.getId(e.element).toString(),o.add(t),this.nodesByIdentity.set(t,e)),null!=(t=i.onDidCreateNode)&&t.call(i,e))},onDidDeleteNode:e=>{var t;null!==e.element&&(e=e,n.has(e.element)||this.nodes.delete(e.element),this.identityProvider&&(t=this.identityProvider.getId(e.element).toString(),o.has(t)||this.nodesByIdentity.delete(t)),null!=(t=i.onDidDeleteNode)&&t.call(i,e))}}))}preserveCollapseState(e=L.a.empty()){return this.sorter&&(e=[...e].sort(this.sorter.compare.bind(this.sorter))),L.a.map(e,e=>{let t=this.nodes.get(e.element);var i,n;return!t&&this.identityProvider&&(i=this.identityProvider.getId(e.element).toString(),t=this.nodesByIdentity.get(i)),t?(i=("boolean"==typeof e.collapsible?e:t).collapsible,n=(void 0!==e.collapsed?e:t).collapsed,Object.assign(Object.assign({},e),{collapsible:i,collapsed:n,children:this.preserveCollapseState(e.children)})):Object.assign(Object.assign({},e),{children:this.preserveCollapseState(e.children)})})}rerender(e){e=this.getElementLocation(e),this.model.rerender(e)}has(e){return this.nodes.has(e)}getListIndex(e){return e=this.getElementLocation(e),this.model.getListIndex(e)}getListRenderCount(e){return e=this.getElementLocation(e),this.model.getListRenderCount(e)}isCollapsible(e){return e=this.getElementLocation(e),this.model.isCollapsible(e)}setCollapsible(e,t){return e=this.getElementLocation(e),this.model.setCollapsible(e,t)}isCollapsed(e){return e=this.getElementLocation(e),this.model.isCollapsed(e)}setCollapsed(e,t,i){return e=this.getElementLocation(e),this.model.setCollapsed(e,t,i)}expandTo(e){e=this.getElementLocation(e),this.model.expandTo(e)}refilter(){this.model.refilter()}getNode(e=null){if(null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(t)return t;throw new w(this.user,"Tree element not found: "+e)}getNodeLocation(e){return e.element}getParentNodeLocation(e){if(null===e)throw new w(this.user,"Invalid getParentNodeLocation call");var t=this.nodes.get(e);if(t)return t=this.model.getNodeLocation(t),t=this.model.getParentNodeLocation(t),this.model.getNode(t).element;throw new w(this.user,"Tree element not found: "+e)}getElementLocation(e){if(null===e)return[];var t=this.nodes.get(e);if(t)return this.model.getNodeLocation(t);throw new w(this.user,"Tree element not found: "+e)}}function ie(e){return{element:{elements:[e.element],incompressible:e.incompressible||!1},children:L.a.map(L.a.from(e.children),ie),collapsible:e.collapsible,collapsed:e.collapsed}}function ne(e){const t=[e.element];var i=e.incompressible||!1;let n,o;for(;;){if([o,n]=L.a.consume(L.a.from(e.children),2),1!==o.length)break;if(o[0].incompressible)break;e=o[0],t.push(e.element)}return{element:{elements:t,incompressible:i},children:L.a.map(L.a.concat(o,n),ne),collapsible:e.collapsible,collapsed:e.collapsed}}function oe(e){return function e(t,i=0){let n;return n=ie(t,0)),0===i&&t.element.incompressible?{element:t.element.elements[i],children:n,incompressible:!0,collapsible:t.collapsible,collapsed:t.collapsed}:{element:t.element.elements[i],children:n,collapsible:t.collapsible,collapsed:t.collapsed}}(e,0)}class se{constructor(e,t,i={}){this.user=e,this.rootRef=null,this.nodes=new Map,this.model=new te(e,t,i),this.enabled=void 0===i.compressionEnabled||i.compressionEnabled,this.identityProvider=i.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(e,t=L.a.empty(),i){var n;i=i.diffIdentityProvider&&(n=i.diffIdentityProvider,{getId(e){return e.elements.map(e=>n.getId(e).toString()).join("\0")}});if(null===e)o=L.a.map(t,this.enabled?ne:ie),this._setChildren(null,o,{diffIdentityProvider:i,diffDepth:1/0});else{var o=this.nodes.get(e);if(!o)throw new Error("Unknown compressed tree node");const n=this.model.getNode(o);o=this.model.getParentNodeLocation(o);const s=this.model.getNode(o);o=function e(t,i,n){return t.element===i?Object.assign(Object.assign({},t),{children:n}):Object.assign(Object.assign({},t),{children:L.a.map(L.a.from(t.children),t=>e(t,i,n))})}(oe(n),e,t);const r=(this.enabled?ne:ie)(o);e=s.children.map(e=>e===n?r:e),this._setChildren(s.element,e,{diffIdentityProvider:i,diffDepth:n.depth-s.depth})}}setCompressionEnabled(e){var t;e!==this.enabled&&(this.enabled=e,t=this.model.getNode().children,t=L.a.map(t,oe),t=L.a.map(t,e?ne:ie),this._setChildren(null,t,{diffIdentityProvider:this.identityProvider,diffDepth:1/0}))}_setChildren(e,t,i){const n=new Set;this.model.setChildren(e,t,Object.assign(Object.assign({},i),{onDidCreateNode:e=>{for(const t of e.element.elements)n.add(t),this.nodes.set(t,e.element)},onDidDeleteNode:e=>{for(const t of e.element.elements)n.has(t)||this.nodes.delete(t)}}))}has(e){return this.nodes.has(e)}getListIndex(e){return e=this.getCompressedNode(e),this.model.getListIndex(e)}getListRenderCount(e){return e=this.getCompressedNode(e),this.model.getListRenderCount(e)}getNode(e){return void 0===e?this.model.getNode():(e=this.getCompressedNode(e),this.model.getNode(e))}getNodeLocation(e){return e=this.model.getNodeLocation(e),null===e?null:e.elements[e.elements.length-1]}getParentNodeLocation(e){return e=this.getCompressedNode(e),e=this.model.getParentNodeLocation(e),null===e?null:e.elements[e.elements.length-1]}isCollapsible(e){return e=this.getCompressedNode(e),this.model.isCollapsible(e)}setCollapsible(e,t){return e=this.getCompressedNode(e),this.model.setCollapsible(e,t)}isCollapsed(e){return e=this.getCompressedNode(e),this.model.isCollapsed(e)}setCollapsed(e,t,i){return e=this.getCompressedNode(e),this.model.setCollapsed(e,t,i)}expandTo(e){e=this.getCompressedNode(e),this.model.expandTo(e)}rerender(e){e=this.getCompressedNode(e),this.model.rerender(e)}refilter(){this.model.refilter()}getCompressedNode(e){if(null===e)return null;var t=this.nodes.get(e);if(t)return t;throw new w(this.user,"Tree element not found: "+e)}}const re=e=>e[e.length-1];class ae{constructor(e,t){this.unwrapper=e,this.node=t}get element(){return null===this.node.element?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(e=>new ae(this.unwrapper,e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class le{constructor(e,t,i={}){this.rootRef=null,this.elementMapper=i.elementMapper||re;const n=e=>this.elementMapper(e.elements);var o,s,r,a;this.nodeMapper=new y(e=>new ae(n,e)),this.model=new se(e,(r=this.nodeMapper,a=t,{splice(e,t,i){a.splice(e,t,i.map(e=>r.map(e)))},updateElementHeight(e,t){a.updateElementHeight(e,t)}}),(o=n,s=i,Object.assign(Object.assign({},s),{identityProvider:s.identityProvider&&{getId(e){return s.identityProvider.getId(o(e))}},sorter:s.sorter&&{compare(e,t){return s.sorter.compare(e.elements[0],t.elements[0])}},filter:s.filter&&{filter(e,t){return s.filter.filter(o(e),t)}}})))}get onDidSplice(){return r.c.map(this.model.onDidSplice,({insertedNodes:e,deletedNodes:t})=>({insertedNodes:e.map(e=>this.nodeMapper.map(e)),deletedNodes:t.map(e=>this.nodeMapper.map(e))}))}get onDidChangeCollapseState(){return r.c.map(this.model.onDidChangeCollapseState,({node:e,deep:t})=>({node:this.nodeMapper.map(e),deep:t}))}get onDidChangeRenderNodeCount(){return r.c.map(this.model.onDidChangeRenderNodeCount,e=>this.nodeMapper.map(e))}setChildren(e,t=L.a.empty(),i={}){this.model.setChildren(e,t,i)}setCompressionEnabled(e){this.model.setCompressionEnabled(e)}has(e){return this.model.has(e)}getListIndex(e){return this.model.getListIndex(e)}getListRenderCount(e){return this.model.getListRenderCount(e)}getNode(e){return this.nodeMapper.map(this.model.getNode(e))}getNodeLocation(e){return e.element}getParentNodeLocation(e){return this.model.getParentNodeLocation(e)}isCollapsible(e){return this.model.isCollapsible(e)}setCollapsible(e,t){return this.model.setCollapsible(e,t)}isCollapsed(e){return this.model.isCollapsed(e)}setCollapsed(e,t,i){return this.model.setCollapsed(e,t,i)}expandTo(e){return this.model.expandTo(e)}rerender(e){return this.model.rerender(e)}refilter(){return this.model.refilter()}getCompressedTreeNode(e=null){return this.model.getNode(e)}}t=i("6424");class de extends ee{constructor(e,t,i,n,o={}){super(e,t,i,n,o)}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}setChildren(e,t=L.a.empty(),i){this.model.setChildren(e,t,i)}rerender(e){void 0===e?this.view.rerender():this.model.rerender(e)}hasElement(e){return this.model.has(e)}createModel(e,t,i){return new te(e,t,i)}}class he{constructor(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}get compressedTreeNodeProvider(){return this._compressedTreeNodeProvider()}renderTemplate(e){return{compressedTreeNode:void 0,data:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){var o=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===o.element.elements.length?(i.compressedTreeNode=void 0,this.renderer.renderElement(e,t,i.data,n)):(i.compressedTreeNode=o,this.renderer.renderCompressedElements(o,t,i.data,n))}disposeElement(e,t,i,n){i.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(i.compressedTreeNode,t,i.data,n):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,i.data,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.data)}renderTwistie(e,t){return!!this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)}}(function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this;var r,a;super(e,t,i,n.map(e=>new he(s,e)),(r=s,(a=o)&&Object.assign(Object.assign({},a),{keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel(e){let t;try{t=r().getCompressedTreeNode(e)}catch(t){return a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e)}return 1===t.element.elements.length?a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e):a.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.element.elements)}}})))}setChildren(e,t=L.a.empty(),i){this.model.setChildren(e,t,i)}createModel(e,t,i){return new le(e,t,i)}updateOptions(e={}){super.updateOptions(e),void 0!==e.compressionEnabled&&this.model.setCompressionEnabled(e.compressionEnabled)}getCompressedTreeNode(e=null){return this.model.getCompressedTreeNode(e)}}var ue=i("fdcc"),ge=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function pe(e){return Object.assign(Object.assign({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function me(e,t){return!!t.parent&&(t.parent===e||me(e,t.parent))}class fe{constructor(e){this.node=e}get element(){return this.node.element.element}get children(){return this.node.children.map(e=>new fe(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class _e{constructor(e,t,i){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=i,this.renderedNodes=new Map,this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...T.classNamesArray),!0):(t.classList.remove(...T.classNamesArray),!1)}disposeElement(e,t,i,n){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear()}}function be(e){return{browserEvent:e.browserEvent,elements:e.elements.map(e=>e.element)}}function ve(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element,target:e.target}}class Ce extends _.a{constructor(e){super(e.elements.map(e=>e.element)),this.data=e}}function we(e){return e instanceof _.a?new Ce(e):e}class ye{constructor(e){this.dnd=e}getDragURI(e){return this.dnd.getDragURI(e.element)}getDragLabel(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(e=>e.element),t)}onDragStart(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(we(e),t)}onDragOver(e,t,i,n,o=0){return this.dnd.onDragOver(we(e),t&&t.element,i,n)}drop(e,t,i,n){this.dnd.drop(we(e),t&&t.element,i,n)}onDragEnd(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)}}function Se(e){return e&&Object.assign(Object.assign({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new ye(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))},isSelectionRangeChangeEvent(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(Object.assign(Object.assign({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&Object.assign(Object.assign({},e.accessibilityProvider),{getPosInSet:void 0,getSetSize:void 0,getRole:e.accessibilityProvider.getRole?t=>e.accessibilityProvider.getRole(t.element):()=>"treeitem",isChecked:e.accessibilityProvider.isChecked?t=>{var i;return!(null==(i=e.accessibilityProvider)||!i.isChecked(t.element))}:void 0,getAriaLabel(t){return e.accessibilityProvider.getAriaLabel(t.element)},getWidgetAriaLabel(){return e.accessibilityProvider.getWidgetAriaLabel()},getWidgetRole:e.accessibilityProvider.getWidgetRole?()=>e.accessibilityProvider.getWidgetRole():()=>"tree",getAriaLevel:e.accessibilityProvider.getAriaLevel&&(t=>e.accessibilityProvider.getAriaLevel(t.element)),getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&(t=>e.accessibilityProvider.getActiveDescendantId(t.element))}),filter:e.filter&&{filter(t,i){return e.filter.filter(t.element,i)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:void 0===e.expandOnlyOnTwistieClick?void 0:"function"!=typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:t=>e.expandOnlyOnTwistieClick(t.element),additionalScrollHeight:e.additionalScrollHeight})}function Le(e,t){t(e),e.children.forEach(e=>Le(e,t))}class xe{constructor(e,t,i,n,o,s={}){this.user=e,this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new r.b,this._onDidChangeNodeSlowState=new r.b,this.nodeMapper=new y(e=>new fe(e)),this.disposables=new a.b,this.identityProvider=s.identityProvider,this.autoExpandSingleChildren=void 0!==s.autoExpandSingleChildren&&s.autoExpandSingleChildren,this.sorter=s.sorter,this.collapseByDefault=s.collapseByDefault,this.tree=this.createTree(e,t,i,n,s),this.root=pe({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=Object.assign(Object.assign({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}get onDidChangeFocus(){return r.c.map(this.tree.onDidChangeFocus,be)}get onDidChangeSelection(){return r.c.map(this.tree.onDidChangeSelection,be)}get onMouseDblClick(){return r.c.map(this.tree.onMouseDblClick,ve)}get onPointer(){return r.c.map(this.tree.onPointer,ve)}get onDidFocus(){return this.tree.onDidFocus}get onDidDispose(){return this.tree.onDidDispose}createTree(e,t,i,n,o){return i=new U(i),n=n.map(e=>new _e(e,this.nodeMapper,this._onDidChangeNodeSlowState.event)),o=Se(o)||{},new de(e,t,i,n,o)}updateOptions(e={}){this.tree.updateOptions(e)}getHTMLElement(){return this.tree.getHTMLElement()}get scrollTop(){return this.tree.scrollTop}set scrollTop(e){this.tree.scrollTop=e}domFocus(){this.tree.domFocus()}layout(e,t){this.tree.layout(e,t)}style(e){this.tree.style(e)}getInput(){return this.root.element}setInput(e,t){return ge(this,void 0,void 0,(function*(){this.refreshPromises.forEach(e=>e.cancel()),this.refreshPromises.clear(),this.root.element=e;var i=t&&{viewState:t,focus:[],selection:[]};yield this._updateChildren(e,!0,!1,i),i&&(this.tree.setFocus(i.focus),this.tree.setSelection(i.selection)),t&&"number"==typeof t.scrollTop&&(this.scrollTop=t.scrollTop)}))}_updateChildren(e=this.root.element,t=!0,i=!1,n,o){return ge(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new w(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event));var s=this.getDataNode(e);if(yield this.refreshAndRenderNode(s,t,n,o),i)try{this.tree.rerender(s)}catch(s){}}))}rerender(e){void 0===e||e===this.root.element?this.tree.rerender():(e=this.getDataNode(e),this.tree.rerender(e))}collapse(e,t=!1){return e=this.getDataNode(e),this.tree.collapse(e===this.root?null:e,t)}expand(e,t=!1){return ge(this,void 0,void 0,(function*(){if(void 0===this.root.element)throw new w(this.user,"Tree input not set");this.root.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event));var i,n=this.getDataNode(e);return!(this.tree.hasElement(n)&&!this.tree.isCollapsible(n))&&(n.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event)),!(n!==this.root&&!n.refreshPromise&&!this.tree.isCollapsed(n))&&(i=this.tree.expand(n===this.root?null:n,t),n.refreshPromise&&(yield this.root.refreshPromise,yield r.c.toPromise(this._onDidRender.event)),i))}))}setSelection(e,t){e=e.map(e=>this.getDataNode(e)),this.tree.setSelection(e,t)}getSelection(){const e=this.tree.getSelection();return e.map(e=>e.element)}setFocus(e,t){e=e.map(e=>this.getDataNode(e)),this.tree.setFocus(e,t)}getFocus(){const e=this.tree.getFocus();return e.map(e=>e.element)}reveal(e,t){this.tree.reveal(this.getDataNode(e),t)}getDataNode(e){var t=this.nodes.get(e===this.root.element?null:e);if(t)return t;throw new w(this.user,"Data tree node not found: "+e)}refreshAndRenderNode(e,t,i,n){return ge(this,void 0,void 0,(function*(){yield this.refreshNode(e,t,i),this.render(e,i,n)}))}refreshNode(e,t,i){return ge(this,void 0,void 0,(function*(){let n;return this.subTreeRefreshPromises.forEach((o,s)=>{var r;n||(s=s)!==(r=e)&&!me(s,r)&&!me(r,s)||(n=o.then(()=>this.refreshNode(e,t,i)))}),n||this.doRefreshSubTree(e,t,i)}))}doRefreshSubTree(e,t,i){return ge(this,void 0,void 0,(function*(){let n;e.refreshPromise=new Promise(e=>n=e),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally(()=>{e.refreshPromise=void 0,this.subTreeRefreshPromises.delete(e)});try{const o=yield this.doRefreshNode(e,t,i);e.stale=!1,yield R.d.settled(o.map(e=>this.doRefreshSubTree(e,t,i)))}finally{n()}}))}doRefreshNode(e,t,i){return ge(this,void 0,void 0,(function*(){let n;if(e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren){const t=Object(R.n)(800);t.then(()=>{e.slow=!0,this._onDidChangeNodeSlowState.fire(e)},e=>null),n=this.doGetChildren(e).finally(()=>t.cancel())}else n=Promise.resolve(L.a.empty());try{var o=yield n;return this.setChildren(e,o,t,i)}catch(n){if(e!==this.root&&this.tree.hasElement(e)&&this.tree.collapse(e),Object(ue.e)(n))return[];throw n}finally{e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e))}}))}doGetChildren(e){let t=this.refreshPromises.get(e);return t||(t=Object(R.h)(()=>ge(this,void 0,void 0,(function*(){var t=yield this.dataSource.getChildren(e.element);return this.processChildren(t)}))),this.refreshPromises.set(e,t),t.finally(()=>{this.refreshPromises.delete(e)}))}_onDidChangeCollapseState({node:e,deep:t}){null!==e.element&&!e.collapsed&&e.element.stale&&(t?this.collapse(e.element.element):this.refreshAndRenderNode(e.element,!1).catch(ue.f))}setChildren(e,t,i,n){const o=[...t];if(0===e.children.length&&0===o.length)return[];const s=new Map,r=new Map;for(const h of e.children){var a;s.set(h.element,h),this.identityProvider&&(a=this.tree.isCollapsed(h),r.set(h.id,{node:h,collapsed:a}))}const l=[],d=o.map(t=>{var o=!!this.dataSource.hasChildren(t);if(!this.identityProvider){const i=pe({element:t,parent:e,hasChildren:o});return o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(i.collapsedByDefault=!1,l.push(i)),i}var a=this.identityProvider.getId(t).toString(),d=r.get(a);if(d){const e=d.node;return s.delete(e.element),this.nodes.delete(e.element),this.nodes.set(t,e),e.element=t,e.hasChildren=o,i?d.collapsed?(e.children.forEach(e=>Le(e,e=>this.nodes.delete(e.element))),e.children.splice(0,e.children.length),e.stale=!0):l.push(e):o&&this.collapseByDefault&&!this.collapseByDefault(t)&&(e.collapsedByDefault=!1,l.push(e)),e}const h=pe({element:t,parent:e,id:a,hasChildren:o});return n&&n.viewState.focus&&-1this.nodes.delete(e.element));for(const h of d)this.nodes.set(h.element,h);return e.children.splice(0,e.children.length,...d),e!==this.root&&this.autoExpandSingleChildren&&1===d.length&&0===l.length&&(d[0].collapsedByDefault=!1,l.push(d[0])),l}render(e,t,i){var n=e.children.map(e=>this.asTreeElement(e,t)),o=i&&Object.assign(Object.assign({},i),{diffIdentityProvider:i.diffIdentityProvider&&{getId(e){return i.diffIdentityProvider.getId(e.element)}}});this.tree.setChildren(e===this.root?null:e,n,o),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()}asTreeElement(e,t){if(e.stale)return{element:e,collapsible:e.hasChildren,collapsed:!0};let i;return i=!(t&&t.viewState.expanded&&e.id&&-1this.asTreeElement(e,t)):[],collapsible:e.hasChildren,collapsed:i}}processChildren(e){return this.sorter?[...e].sort(this.sorter.compare.bind(this.sorter)):e}dispose(){this.disposables.dispose()}}class ke{constructor(e){this.node=e}get element(){return{elements:this.node.element.elements.map(e=>e.element),incompressible:this.node.element.incompressible}}get children(){return this.node.children.map(e=>new ke(e))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}class De{constructor(e,t,i,n){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=i,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}renderTemplate(e){return{templateData:this.renderer.renderTemplate(e)}}renderElement(e,t,i,n){this.renderer.renderElement(this.nodeMapper.map(e),t,i.templateData,n)}renderCompressedElements(e,t,i,n){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}renderTwistie(e,t){return e.slow?(t.classList.add(...T.classNamesArray),!0):(t.classList.remove(...T.classNamesArray),!1)}disposeElement(e,t,i,n){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,i.templateData,n)}disposeCompressedElements(e,t,i,n){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,i.templateData,n)}disposeTemplate(e){this.renderer.disposeTemplate(e.templateData)}dispose(){this.renderedNodes.clear(),this.disposables=Object(a.f)(this.disposables)}}class Ne extends xe{constructor(e,t,i,n,o,s,r={}){super(e,t,i,o,s,r),this.compressionDelegate=n,this.compressibleNodeMapper=new y(e=>new ke(e)),this.filter=r.filter}createTree(e,t,i,n,o){var s;i=new U(i),n=n.map(e=>new De(e,this.nodeMapper,()=>this.compressibleNodeMapper,this._onDidChangeNodeSlowState.event)),o=(o=(s=o)&&Se(s))&&Object.assign(Object.assign({},o),{keyboardNavigationLabelProvider:o.keyboardNavigationLabelProvider&&Object.assign(Object.assign({},o.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel(e){return s.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(e.map(e=>e.element))}})})||{};return new ce(e,t,i,n,o)}asTreeElement(e,t){return Object.assign({incompressible:this.compressionDelegate.isIncompressible(e.element)},super.asTreeElement(e,t))}updateOptions(e={}){this.tree.updateOptions(e)}render(e,t){if(!this.identityProvider)return super.render(e,t);const i=e=>this.identityProvider.getId(e).toString();var n=e=>{const t=new Set;for(const o of e){var n=this.tree.getCompressedTreeNode(o===this.root?null:o);if(n.element)for(const e of n.element.elements)t.add(i(e.element))}return t};const o=n(this.tree.getSelection()),s=n(this.tree.getFocus()),r=(super.render(e,t),this.getSelection());let a=!1;const l=this.getFocus();let d=!1;const h=e=>{var t=e.element;if(t)for(let h=0;h{e=this.filter.filter(e,1),e="boolean"==typeof(e=e)?e?1:0:x(e)?k(e.visibility):k(e);if(2===e)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===e})),super.processChildren(e)}}class Oe extends ee{constructor(e,t,i,n,o,s={}){super(e,t,i,n,s),this.user=e,this.dataSource=o,this.identityProvider=s.identityProvider}createModel(e,t,i){return new te(e,t,i)}}t=i("4779");var Ee=i("fbba"),Ie=i("0910"),Me=i("4fc3"),Te=i("1665"),Ae=i("0a0f"),Re=i("6dec"),Pe=i("89cd"),Fe=i("a6d7"),Be=(i=i("b7d0"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.widget===e))throw new Error("Cannot register the same widget multiple times");const o={widget:e,extraContextKeys:t};return this.lists.push(o),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(a.e)(e.onDidFocus(()=>this._lastFocusedWidget=e),Object(a.i)(()=>this.lists.splice(this.lists.indexOf(o),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==o),this._lastFocusedWidget===e&&(this._lastFocusedWidget=void 0)}))}dispose(){this.disposables.dispose()}};Ve=Be([je(0,i.b)],Ve);const He=new Me.c("listFocus",!0),ze=new Me.c("listSupportsMultiselect",!0),Ue=Me.a.and(He,Me.a.not(Te.a)),Ke=new Me.c("listHasSelectionOrFocus",!1),qe=new Me.c("listDoubleSelection",!1),$e=new Me.c("listMultiSelection",!1),Ge=new Me.c("listSelectionNavigation",!1),Ze="listAutomaticKeyboardNavigation";function Ye(e,t){return e=e.createScoped(t.getHTMLElement()),He.bindTo(e),e}const Xe="workbench.list.multiSelectModifier",Qe="workbench.list.openMode",Je="workbench.list.horizontalScrolling",et="workbench.list.keyboardNavigation",tt="workbench.list.automaticKeyboardNavigation",it="workbench.tree.indent",nt="workbench.tree.renderIndentGuides",ot="workbench.list.smoothScrolling",st="workbench.list.mouseWheelScrollSensitivity",rt="workbench.list.fastScrollSensitivity",at="workbench.tree.expandMode";function lt(e){return"alt"===e.getValue(Xe)}class dt extends a.a{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=lt(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(Xe)&&(this.useAltAsMultipleSelectionModifier=lt(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(l.h)(e)}isSelectionRangeChangeEvent(e){return Object(l.g)(e)}}function ht(e,t,i){const n=new a.b;return[Object.assign(Object.assign({},e),{keyboardNavigationDelegate:{mightProducePrintableCharacter(e){return i.mightProducePrintableCharacter(e)}},smoothScrolling:Boolean(t.getValue(ot)),mouseWheelScrollSensitivity:t.getValue(st),fastScrollSensitivity:t.getValue(rt),multipleSelectionController:null!=(e=e.multipleSelectionController)?e:n.add(new dt(t))}),n]}let ct=class extends l.c{constructor(e,t,i,n,o,s,r,a,l,d){var h=void 0!==o.horizontalScrolling?o.horizontalScrolling:Boolean(l.getValue(Je)),[d,c]=ht(o,l,d);super(e,t,i,n,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(Fe.d)(a.getColorTheme(),Fe.e)),d),{horizontalScrolling:h})),this.disposables.add(c),this.contextKeyService=Ye(s,this),this.themeService=a,this.listSupportsMultiSelect=ze.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);const u=Ge.bindTo(this.contextKeyService);u.set(Boolean(o.selectionNavigation)),this.listHasSelectionOrFocus=Ke.bindTo(this.contextKeyService),this.listDoubleSelection=qe.bindTo(this.contextKeyService),this.listMultiSelection=$e.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=lt(l),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(0{var e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(l));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(l.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(l.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=l.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=l.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(d));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(d.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(d.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=d.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=d.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(0{var e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(0{e.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(h));let t={};var i;e.affectsConfiguration(Je)&&void 0===this.horizontalScrolling&&(i=Boolean(h.getValue(Je)),t=Object.assign(Object.assign({},t),{horizontalScrolling:i})),e.affectsConfiguration(ot)&&(i=Boolean(h.getValue(ot)),t=Object.assign(Object.assign({},t),{smoothScrolling:i})),e.affectsConfiguration(st)&&(i=h.getValue(st),t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:i})),e.affectsConfiguration(rt)&&(i=h.getValue(rt),t=Object.assign(Object.assign({},t),{fastScrollSensitivity:i})),0e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!=typeof(null==t?void 0:t.openOnSingleClick)&&null!=t&&t.configurationService?(this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(Qe)),this._register(null==t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null==t?void 0:t.configurationService.getValue(Qe))}))):this.openOnSingleClick=null==(e=null==t?void 0:t.openOnSingleClick)||e}onSelectionFromKeyboard(e){var t,i;1===e.elements.length&&(t="boolean"!=typeof(i=e.browserEvent).preserveFocus||i.preserveFocus,i="boolean"==typeof i.pinned?i.pinned:!t,this._open(this.getSelectedElement(),t,i,!1,e.browserEvent))}onPointer(e,t){var i,n;this.openOnSingleClick&&2!==t.detail&&(i=1===t.button,n=t.ctrlKey||t.metaKey||t.altKey,this._open(e,!0,i,n,t))}onMouseDblClick(e,t){if(t){const n=t.target;var i;n.classList.contains("monaco-tl-twistie")||n.classList.contains("monaco-icon-label")&&n.classList.contains("folder-icon")&&t.offsetX<16||(i=t.ctrlKey||t.metaKey||t.altKey,this._open(e,!1,!0,i,t))}}_open(e,t,i,n,o){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:n,element:e,browserEvent:o})}}class gt extends ut{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class pt extends ut{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class mt extends ut{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!=(e=this.widget.getSelection()[0])?e:void 0}}Ae=class extends de{constructor(e,t,i,n,o,s,r,a,l,d,h){var{options:d,getAutomaticKeyboardNavigation:c,disposable:u}=_t(t,o,s,l,d,h);super(e,t,i,n,d),this.disposables.add(u),this.internals=new bt(this,o,c,o.overrideStyles,s,r,a,l,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}},Be([je(5,Me.b),je(6,We),je(7,i.b),je(8,Ee.a),je(9,Re.a),je(10,t.b)],Ae),Te=class extends ce{constructor(e,t,i,n,o,s,r,a,l,d,h){var{options:d,getAutomaticKeyboardNavigation:c,disposable:u}=_t(t,o,s,l,d,h);super(e,t,i,n,d),this.disposables.add(u),this.internals=new bt(this,o,c,o.overrideStyles,s,r,a,l,h),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}},Be([je(5,Me.b),je(6,We),je(7,i.b),je(8,Ee.a),je(9,Re.a),je(10,t.b)],Te),Ae=class extends Oe{constructor(e,t,i,n,o,s,r,a,l,d,h,c){var{options:h,getAutomaticKeyboardNavigation:u,disposable:g}=_t(t,s,r,d,h,c);super(e,t,i,n,o,h),this.disposables.add(g),this.internals=new bt(this,s,u,s.overrideStyles,r,a,l,d,c),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}},Be([je(6,Me.b),je(7,We),je(8,i.b),je(9,Ee.a),je(10,Re.a),je(11,t.b)],Ae);let ft=class extends xe{constructor(e,t,i,n,o,s,r,a,l,d,h,c){var{options:h,getAutomaticKeyboardNavigation:u,disposable:g}=_t(t,s,r,d,h,c);super(e,t,i,n,o,h),this.disposables.add(g),this.internals=new bt(this,s,u,s.overrideStyles,r,a,l,d,c),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};function _t(e,t,i,n,o,s){var r=()=>{let e=Boolean(i.getContextKeyValue(Ze));return e&&Boolean(n.getValue(tt))},a=(s=s.isScreenReaderOptimized(),s=t.simpleKeyboardNavigation||s?"simple":n.getValue(et),void 0!==t.horizontalScrolling?t.horizontalScrolling:Boolean(n.getValue(Je))),[l,d]=ht(t,n,o),h=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:r,disposable:d,options:Object.assign(Object.assign({keyboardSupport:!1},l),{indent:"number"==typeof n.getValue(it)?n.getValue(it):void 0,renderIndentGuides:n.getValue(nt),smoothScrolling:Boolean(n.getValue(ot)),automaticKeyboardNavigation:r(),simpleKeyboardNavigation:"simple"===s,filterOnType:"filter"===s,horizontalScrolling:a,keyboardNavigationEventFilter:function(e,t){let i=!1;return n=>i?i=!1:(n=t.softDispatch(n,e))&&n.enterChord?!(i=!0):!(i=!1)}(e,o),additionalScrollHeight:h,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!=(d=t.expandOnlyOnTwistieClick)?d:"doubleClick"===n.getValue(at)})}}ft=Be([je(6,Me.b),je(7,We),je(8,i.b),je(9,Ee.a),je(10,Re.a),je(11,t.b)],ft),Te=class extends Ne{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u){var{options:c,getAutomaticKeyboardNavigation:g,disposable:p}=_t(t,r,a,h,c,u);super(e,t,i,n,o,s,c),this.disposables.add(p),this.internals=new bt(this,r,g,r.overrideStyles,a,l,d,h,u),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}},Be([je(7,Me.b),je(8,We),je(9,i.b),je(10,Ee.a),je(11,Re.a),je(12,t.b)],Te);let bt=class{constructor(e,t,i,n,o,s,r,a,l){this.tree=e,this.themeService=r,this.disposables=[],this.contextKeyService=Ye(o,e),this.listSupportsMultiSelect=ze.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);const d=Ge.bindTo(this.contextKeyService),h=(d.set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=Ke.bindTo(this.contextKeyService),this.hasDoubleSelection=qe.bindTo(this.contextKeyService),this.hasMultiSelection=$e.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=lt(a),new Set),c=(h.add(Ze),()=>{var t=l.isScreenReaderOptimized()?"simple":a.getValue(et);e.updateOptions({simpleKeyboardNavigation:"simple"===t,filterOnType:"filter"===t})});this.updateStyleOverrides(n),this.disposables.push(this.contextKeyService,s.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(0{var t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(0{let o={};var s;n.affectsConfiguration(Xe)&&(this._useAltAsMultipleSelectionModifier=lt(a)),n.affectsConfiguration(it)&&(s=a.getValue(it),o=Object.assign(Object.assign({},o),{indent:s})),n.affectsConfiguration(nt)&&(s=a.getValue(nt),o=Object.assign(Object.assign({},o),{renderIndentGuides:s})),n.affectsConfiguration(ot)&&(s=Boolean(!!a.getValue(ot)),o=Object.assign(Object.assign({},o),{smoothScrolling:s})),n.affectsConfiguration(et)&&c(),n.affectsConfiguration(tt)&&(o=Object.assign(Object.assign({},o),{automaticKeyboardNavigation:i()})),n.affectsConfiguration(Je)&&void 0===t.horizontalScrolling&&(s=Boolean(!!a.getValue(Je)),o=Object.assign(Object.assign({},o),{horizontalScrolling:s})),n.affectsConfiguration(at)&&void 0===t.expandOnlyOnTwistieClick&&(o=Object.assign(Object.assign({},o),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(at)})),n.affectsConfiguration(st)&&(s=a.getValue(st),o=Object.assign(Object.assign({},o),{mouseWheelScrollSensitivity:s})),n.affectsConfiguration(rt)&&(s=a.getValue(rt),o=Object.assign(Object.assign({},o),{fastScrollSensitivity:s})),0{t.affectsSome(h)&&e.updateOptions({automaticKeyboardNavigation:i()})}),l.onDidChangeScreenReaderOptimized(()=>c())),this.navigator=new mt(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){Object(a.f)(this.styler),this.styler=e?Object(Fe.b)(this.tree,this.themeService,e):a.a.None}dispose(){this.disposables=Object(a.f)(this.disposables),Object(a.f)(this.styler),this.styler=void 0}};bt=Be([je(4,Me.b),je(5,We),je(6,i.b),je(7,Ee.a),je(8,t.b)],bt);const vt=Pe.a.as(Ie.a.Configuration);vt.registerConfiguration({id:"workbench",order:7,title:Object(W.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:{"workbench.list.multiSelectModifier":{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(W.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(W.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(W.a)({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},"workbench.list.openMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(W.a)({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},"workbench.list.horizontalScrolling":{type:"boolean",default:!1,description:Object(W.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},"workbench.tree.indent":{type:"number",default:8,minimum:0,maximum:40,description:Object(W.a)("tree indent setting","Controls tree indentation in pixels.")},"workbench.tree.renderIndentGuides":{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(W.a)("render tree indent guides","Controls whether the tree should render indent guides.")},"workbench.list.smoothScrolling":{type:"boolean",default:!1,description:Object(W.a)("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},"workbench.list.mouseWheelScrollSensitivity":{type:"number",default:1,description:Object(W.a)("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the deltaX and deltaY of mouse wheel scroll events.")},"workbench.list.fastScrollSensitivity":{type:"number",default:5,description:Object(W.a)("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing Alt.")},"workbench.list.keyboardNavigation":{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(W.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(W.a)("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(W.a)("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(W.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},"workbench.list.automaticKeyboardNavigation":{type:"boolean",default:!0,markdownDescription:Object(W.a)("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},"workbench.tree.expandMode":{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(W.a)("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}})},"94a7":function(e,t,i){},"958f":function(e,t,i){"use strict";i.r(t),i.d(t,"MarkerController",(function(){return $})),i.d(t,"NextMarkerAction",(function(){return Z}));var n,o=i("dff7"),s=i("a666"),r=(t=i("4fc3"),i("7061")),a=i("6a89"),l=i("b2cc"),d=i("c101"),h=(i("fe86"),i("11f7")),c=i("b400"),u=i("303e"),g=i("b7d0"),p=i("ceb8"),m=i("1898"),f=i("debc"),_=i("e8e3"),b=i("308f"),v=i("88d4"),C=i("82c9"),w=i("561a"),y=i("4b76"),S=((n||(n={})).className=function(e){switch(e){case y.a.Ignore:return"severity-ignore "+w.b.info.classNames;case y.a.Info:return w.b.info.classNames;case y.a.Warning:return w.b.warning.classNames;case y.a.Error:return w.b.error.classNames;default:return""}},Object(g.f)((e,t)=>{var i=e.getColor(u.mc),n=(i&&(n=w.b.error.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${n},\n\t\t\t.markers-panel .marker-icon${n},\n\t\t\t.text-search-provider-messages .providerMessage ${n},\n\t\t\t.extensions-viewlet > .extensions ${n} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)),e.getColor(u.oc));n&&(i=w.b.warning.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${i},\n\t\t\t.markers-panel .marker-icon${i},\n\t\t\t.extensions-viewlet > .extensions ${i},\n\t\t\t.extension-editor ${i},\n\t\t\t.text-search-provider-messages .providerMessage ${i},\n\t\t\t.preferences-editor ${i} {\n\t\t\t\tcolor: ${n};\n\t\t\t}\n\t\t`)),i=e.getColor(u.nc);i&&(n=w.b.info.cssSelector,t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${n},\n\t\t\t.markers-panel .marker-icon${n},\n\t\t\t.extensions-viewlet > .extensions ${n},\n\t\t\t.text-search-provider-messages .providerMessage ${n},\n\t\t\t.extension-editor ${n} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`))}),i("5bd7")),L=i("7e32"),x=i("7944"),k=i("0a0f"),D=i("3742"),N=i("47cb"),O=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{e.preventDefault(),e=this._relatedDiagnostics.get(e.target),e&&i(e)})),this._scrollable=new m.b(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(e=>{r.style.left=`-${e.scrollLeft}px`,r.style.top=`-${e.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){Object(s.f)(this._disposables)}update(e){const{source:t,message:i,relatedInformation:n,code:o}=e;let s=((null==t?void 0:t.length)||0)+"()".length;o&&(s+="string"==typeof o?o.length:o.value.length);var r=Object(D.Q)(i);this._lines=r.length,this._longestLineLength=0;for(const l of r)this._longestLineLength=Math.max(l.length+s,this._longestLineLength);h.t(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(e)),this._editor.applyFontInfo(this._messageBlock);let a=this._messageBlock;for(const l of r)""===((a=document.createElement("div")).innerText=l)&&(a.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(a);if(t||o){const e=document.createElement("span");if(e.classList.add("details"),a.appendChild(e),t){const i=document.createElement("span");i.innerText=t,i.classList.add("source"),e.appendChild(i)}if(o)if("string"==typeof o){const t=document.createElement("span");t.innerText=`(${o})`,t.classList.add("code"),e.appendChild(t)}else{this._codeLink=h.a("a.code-link"),this._codeLink.setAttribute("href",""+o.target.toString()),this._codeLink.onclick=e=>{this._openerService.open(o.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()};const t=h.q(this._codeLink,h.a("span"));t.innerText=o.value,e.appendChild(this._codeLink)}}if(h.t(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(_.n)(n)){const e=this._relatedBlock.appendChild(document.createElement("div"));e.style.paddingTop=Math.floor(.66*this._editor.getOption(58))+"px",this._lines+=1;for(const t of n){let i=document.createElement("div"),n=document.createElement("a"),o=(n.classList.add("filename"),n.innerText=`${Object(f.a)(t.resource)}(${t.startLineNumber}, ${t.startColumn}): `,n.title=this._labelService.getUriLabel(t.resource),this._relatedDiagnostics.set(n,t),document.createElement("span"));o.innerText=t.message,i.appendChild(n),i.appendChild(o),this._lines+=1,e.appendChild(i)}}e=this._editor.getOption(42),r=Math.ceil(e.typicalFullwidthCharacterWidth*this._longestLineLength*.75),e=e.lineHeight*this._lines,this._scrollable.setScrollDimensions({scrollWidth:r,scrollHeight:e})}layout(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(e){let t="";switch(e.severity){case c.c.Error:t=o.a("Error","Error");break;case c.c.Warning:t=o.a("Warning","Warning");break;case c.c.Info:t=o.a("Info","Info");break;case c.c.Hint:t=o.a("Hint","Hint")}let i=o.a("marker aria","{0} at {1}. ",t,e.startLineNumber+":"+e.startColumn);const n=this._editor.getModel();return n&&e.startLineNumber<=n.getLineCount()&&1<=e.startLineNumber&&(e=n.getLineContent(e.startLineNumber),i=e+", "+i),i}}let M=class e extends v.c{constructor(e,t,i,n,o,r,a){super(e,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},o),this._themeService=t,this._openerService=i,this._menuService=n,this._contextKeyService=r,this._labelService=a,this._callOnDispose=new s.b,this._onDidSelectRelatedInformation=new b.b,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=c.c.Warning,this._backgroundColor=p.a.white,this._applyTheme(t.getColorTheme()),this._callOnDispose.add(t.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(e){this._backgroundColor=e.getColor(j);let t=T,i=A;this._severity===c.c.Warning?(t=R,i=P):this._severity===c.c.Info&&(t=F,i=B);var n=e.getColor(t),o=e.getColor(i);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:o,primaryHeadingColor:e.getColor(v.q),secondaryHeadingColor:e.getColor(v.r)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(t){super._fillHead(t),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun(e=>this.editor.focus())),t=[];const i=this._menuService.createMenu(e.TitleMenu,this._contextKeyService);Object(x.c)(i,void 0,t),this._actionbarWidget.push(t,{label:!1,icon:!0,index:0}),i.dispose()}_fillTitleIcon(e){this._icon=h.q(e,h.a(""))}_fillBody(e){(this._parentContainer=e).classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new I(this._container,this.editor,e=>this._onDidSelectRelatedInformation.fire(e),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(e,t,i){this._container.classList.remove("stale"),this._message.update(e),this._severity=e.severity,this._applyTheme(this._themeService.getColorTheme());let s=a.a.lift(e);e=this.editor.getPosition(),e=e&&s.containsPosition(e)?e:s.getStartPosition();var r=(super.show(e,this.computeRequiredHeight()),this.editor.getModel());r&&(t=1{var i=e.getColor(u.Jc);i&&t.addRule(`.monaco-editor .marker-widget a.code-link span { color: ${i}; }`),i=e.getColor(u.Ic);i&&t.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${i}; }`)});N=i("5717");var W=i("6d8e"),V=(O=i("f5f3"),i("db88"));S=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.toString()===t.toString():t&&(this._resourceFilter=t);const n=()=>{this._markers=this._markerService.read({resource:W.a.isUri(t)?t:void 0,severities:c.c.Error|c.c.Warning|c.c.Info}),"function"==typeof t&&(this._markers=this._markers.filter(e=>this._resourceFilter(e.resource))),this._markers.sort(e._compareMarker)};n(),this._dispoables.add(i.onMarkerChanged(e=>{this._resourceFilter&&!e.some(e=>this._resourceFilter(e))||(n(),this._nextIdx=-1,this._onDidChange.fire())}))}dispose(){this._dispoables.dispose(),this._onDidChange.dispose()}matches(e){return!this._resourceFilter&&!e||!(!this._resourceFilter||!e)&&this._resourceFilter(e)}get selected(){var e=this._markers[this._nextIdx];return e&&new H(e,this._nextIdx+1,this._markers.length)}_initIdx(e,t,i){let n=!1,o=this._markers.findIndex(t=>t.resource.toString()===e.uri.toString());for(let r=o=o<0&&(o=Object(_.d)(this._markers,{resource:e.uri},(e,t)=>Object(D.f)(e.resource.toString(),t.resource.toString())))<0?~o:o;rt.resource.toString()===e.toString());if(!(i<0))for(;ithis.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(e=>{var t;null!=(t=this._model)&&t.selected&&a.a.containsPosition(null==(t=this._model)?void 0:t.selected.marker,e.position)||null!=(t=this._model)&&t.resetIndex()})),this._sessionDispoables.add(this._model.onDidChange(()=>{var e;this._widget&&this._widget.position&&this._model&&((e=this._model.find(this._editor.getModel().uri,this._widget.position))?this._widget.updateMarker(e.marker):this._widget.showStale())})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(e=>{this._editorService.openCodeEditor({resource:e.resource,options:{pinned:!0,revealIfOpened:!0,selection:a.a.lift(e).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp()))}return this._model}close(e=!0){this._cleanUp(),e&&this._editor.focus()}showAtMarker(e){if(this._editor.hasModel()){const t=this._getOrCreateModel(this._editor.getModel().uri);t.resetIndex(),t.move(!0,this._editor.getModel(),new r.a(e.startLineNumber,e.startColumn)),t.selected&&this._widget.showAtMarker(t.selected.marker,t.selected.index,t.selected.total)}}nagivate(t,i){return q(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const o=this._getOrCreateModel(i?void 0:this._editor.getModel().uri);var n;o.move(t,this._editor.getModel(),this._editor.getPosition()),o.selected&&(o.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()?(this._cleanUp(),(n=yield this._editorService.openCodeEditor({resource:o.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:o.selected.marker}},this._editor))&&(e.get(n).close(),e.get(n).nagivate(t,i))):this._widget.showAtMarker(o.selected.marker,o.selected.index,o.selected.total))}}))}};$.ID="editor.contrib.markerController",$=S([E(1,g),E(2,t.b),E(3,N.a),E(4,k.a)],$);class G extends l.b{constructor(e,t,i){super(i),this._next=e,this._multiFile=t}run(e,t){return q(this,void 0,void 0,(function*(){t.hasModel()&&$.get(t).nagivate(this._next,this._multiFile)}))}}class Z extends G{constructor(){super(!0,!1,{id:Z.ID,label:Z.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:578,weight:100},menuOpts:{menuId:M.TitleMenu,title:Z.LABEL,icon:Object(K.b)("marker-navigation-next",w.b.arrowDown,o.a("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Z.ID="editor.action.marker.next",Z.LABEL=o.a("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Y extends G{constructor(){super(!1,!1,{id:Y.ID,label:Y.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:1602,weight:100},menuOpts:{menuId:M.TitleMenu,title:Z.LABEL,icon:Object(K.b)("marker-navigation-previous",w.b.arrowUp,o.a("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Y.ID="editor.action.marker.prev",Y.LABEL=o.a("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class X extends G{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:o.a("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:66,weight:100},menuOpts:{menuId:L.b.MenubarGoMenu,title:o.a({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class Q extends G{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:o.a("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:d.a.focus,primary:1090,weight:100},menuOpts:{menuId:L.b.MenubarGoMenu,title:o.a({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}Object(l.l)($.ID,$),Object(l.j)(Z),Object(l.j)(Y),Object(l.j)(X),Object(l.j)(Q);const J=new t.c("markersNavigationVisible",!1),ee=l.c.bindToContribution($.get);Object(l.k)(new ee({id:"closeMarkersNavigation",precondition:J,handler:e=>e.close(),kbOpts:{weight:150,kbExpr:d.a.focus,primary:9,secondary:[1033]}}))},"962f":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return i.e("chunk-2d2311f7").then(i.bind(null,"eecd"))}})},"96b9":function(e,t,i){},9768:function(e,t,i){"use strict";i.d(t,"a",(function(){return D})),i.d(t,"b",(function(){return N}));var n=i("5fe7"),o=i("3d378"),s=(t=i("40355"),i("32b8")),r=i("3742");const a="**",l="/",d="[/\\\\]",h="[^/\\\\]",c=/\//g;function u(e){switch(e){case 0:return"";case 1:return h+"*?";default:return`(?:${d}|${h}+${d}|${d}${h}+)*?`}}function g(e,t){if(!e)return[];const i=[];let n=!1,o=!1,s="";for(const r of e){switch(r){case t:if(n||o)break;i.push(s),s="";continue;case"{":n=!0;break;case"}":n=!1;break;case"[":o=!0;break;case"]":o=!1}s+=r}return s&&i.push(s),i}const p=/^\*\*\/\*\.[\w\.-]+$/,m=/^\*\*\/([\w\.-]+)\/?$/,f=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,_=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,b=/^\*\*((\/[\w\.-]+)+)\/?$/,v=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new t.a(1e4),w=function(){return!1},y=function(){return null};function S(e,t){if(!e)return y;let i;var n=(i=(i="string"!=typeof e?e.pattern:e).trim())+"_"+!!t.trimForExclusions;let o=C.get(n);if(!o){let e;if(p.test(i)){const e=i.substr(4);o=function(t,n){return"string"==typeof t&&t.endsWith(e)?i:null}}else o=(e=m.exec(x(i,t)))?function(e,t){function i(i,s){return"string"!=typeof i?null:s?s===e?t:null:i===e||i.endsWith(n)||i.endsWith(o)?t:null}const n="/"+e,o="\\"+e,s=[e];return i.basenames=s,i.patterns=[t],i.allBasenames=s,i}(e[1],i):(t.trimForExclusions?_:f).test(i)?function(e,t){const i=O(e.slice(1,-1).split(",").map(e=>S(e,t)).filter(e=>e!==y),e),n=i.length;if(!n)return y;if(1===n)return i[0];function o(t,n){for(let o=0,s=i.length;o!!e.allBasenames);return s&&(o.allBasenames=s.allBasenames),s=i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]),s.length&&(o.allPaths=s),o}(i,t):(e=b.exec(x(i,t)))?k(e[1].substr(1),i,!0):(e=v.exec(x(i,t)))?k(e[1],i,!1):function(t){try{const e=new RegExp(`^${function e(t){if(!t)return"";let i="";const n=g(t,l);if(n.every(e=>e===a))i=".*";else{let t=!1;n.forEach((o,s)=>{if(o===a)t||(i+=u(2),t=!0);else{let p=!1,m="",f=!1,_="";for(const t of o)if("}"!==t&&p)m+=t;else if(!f||"]"===t&&_)switch(t){case"{":p=!0;continue;case"[":f=!0;continue;case"}":const n=g(m,",");var c=`(?:${n.map(t=>e(t)).join("|")})`;i+=c,p=!1,m="";break;case"]":i+="["+_+"]",f=!1,_="";break;case"?":i+=h;continue;case"*":i+=u(1);continue;default:i+=r.t(t)}else{let e;e="-"===t?t:"^"!==t&&"!"!==t||_?t===l?"":r.t(t):"^",_+=e}s{{var t=e,i=(e=o[e],r);if(!1===e)return y;const s=S(t,i);if(s===y)return y;if("boolean"!=typeof e&&e){const o=e.when;if("string"==typeof o)return(i=(e,i,r,a)=>{if(!a||!s(e,i))return null;const l=a(o.replace("$(basename)",r));return Object(n.k)(l)?l.then(e=>e?t:null):l?t:null}).requiresSiblings=!0,i}return s}}).filter(e=>e!==y)),a=i.length;if(!a)return y;if(!i.some(e=>!!e.requiresSiblings)){if(1===a)return i[0];const e=function(e,t){for(let o=0,s=i.length;o!!e.allBasenames),n=(t&&(e.allBasenames=t.allBasenames),i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]));return n.length&&(e.allPaths=n),e}const l=function(e,t,n){let o=void 0;for(let a=0,l=i.length;a!!e.allBasenames),h=(d&&(l.allBasenames=d.allBasenames),i.reduce((e,t)=>t.allPaths?e.concat(t.allPaths):e,[]));return h.length&&(l.allPaths=h),l}}function O(e,t){const i=e.filter(e=>!!e.basenames);if(i.length<2)return e;const n=i.reduce((e,t)=>(t=t.basenames,t?e.concat(t):e),[]);let o;if(t){o=[];for(let e=0,i=n.length;e(t=t.patterns,t?e.concat(t):e),[]);function s(e,t){if("string"!=typeof e)return null;if(!t){let n;for(n=e.length;0!e.basenames);return r.push(s),r}},"9c1d":function(e,t,i){"use strict";i.d(t,"a",(function(){return Wn}));t=i("efdb");var n=i("b2cc"),o=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{t(this._create(e))})}onMouseUp(e,t){return l.i(e,"mouseup",e=>{t(this._create(e))})}onMouseDown(e,t){return l.i(e,"mousedown",e=>{t(this._create(e))})}onMouseLeave(e,t){return l.j(e,e=>{t(this._create(e))})}onMouseMoveThrottled(e,t,i,n){return l.l(e,"mousemove",t,(e,t)=>i(e,this._create(t)),n)}}class N{constructor(e){this._editorViewDomNode=e}_create(e){return new k(e,this._editorViewDomNode)}onPointerUp(e,t){return l.i(e,"pointerup",e=>{t(this._create(e))})}onPointerDown(e,t){return l.i(e,"pointerdown",e=>{t(this._create(e))})}onPointerLeave(e,t){return l.k(e,e=>{t(this._create(e))})}onPointerMoveThrottled(e,t,i,n){return l.l(e,"pointermove",t,(e,t)=>i(e,this._create(t)),n)}}class O extends c.a{constructor(e){super(),this._editorViewDomNode=e,this._globalMouseMoveMonitor=this._register(new w.a),this._keydownListener=null}startMonitoring(e,t,i,n,o){this._keydownListener=l.o(document,"keydown",e=>{const t=e.toKeybinding();t.isModifierKey()||this._globalMouseMoveMonitor.stopMonitoring(!0,e.browserEvent)},!0),this._globalMouseMoveMonitor.startMonitoring(e,t,(e,t)=>i(e,new k(t,this._editorViewDomNode)),n,e=>{this._keydownListener.dispose(),o(e)})}stopMonitoring(){this._globalMouseMoveMonitor.stopMonitoring(!0)}}class E extends c.a{constructor(){super(),this._shouldRender=!0}shouldRender(){return this._shouldRender}forceShouldRender(){this._shouldRender=!0}setShouldRender(){this._shouldRender=!0}onDidRender(){this._shouldRender=!1}onCompositionStart(e){return!1}onCompositionEnd(e){return!1}onConfigurationChanged(e){return!1}onCursorStateChanged(e){return!1}onDecorationsChanged(e){return!1}onFlushed(e){return!1}onFocusChanged(e){return!1}onLanguageConfigurationChanged(e){return!1}onLineMappingChanged(e){return!1}onLinesChanged(e){return!1}onLinesDeleted(e){return!1}onLinesInserted(e){return!1}onRevealRangeRequest(e){return!1}onScrollChanged(e){return!1}onThemeChanged(e){return!1}onTokensChanged(e){return!1}onTokensColorsChanged(e){return!1}onZonesChanged(e){return!1}handleEvents(e){let t=!1;for(let n=0,o=e.length;n=o.left?n.width=Math.max(n.width,o.left+o.width-n.left):(t[i++]=n,n=o)}return t[i++]=n,t}static _createHorizontalRangesFromClientRects(e,t){if(!e||0===e.length)return null;const i=[];for(let o=0,s=e.length;oe||(o=u.startLineNumber===e?u.startColumn:r.minColumn)<(s=u.endLineNumber===e?u.endColumn:r.maxColumn)&&(a.themeType===H.a.HIGH_CONTRAST||"selection"!==this._options.renderWhitespace?l.push(new W.a(o,s,"inline-selected-text",0)):(d=d||[]).push(new V.b(o-1,s-1)));const h=new V.c(a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,r.content,r.continuesWithWrappedLine,r.isBasicASCII,r.containsRTL,r.minColumn-1,r.tokens,l,r.tabSize,r.startVisibleColumn,a.spaceWidth,a.middotWidth,a.wsmiddotWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures!==z.e.OFF,d);if(this._renderedViewLine&&this._renderedViewLine.input.equals(h))return!1;n.appendASCIIString('
    '),i=Object(V.d)(h,n),n.appendASCIIString("
    ");let c=null;return c=(c=K&&U&&r.isBasicASCII&&a.useMonospaceOptimizations&&0===i.containsForeignElements&&r.content.length<300&&h.lineTokens.getCount()<100?new Z(this._renderedViewLine?this._renderedViewLine.domNode:null,h,i.characterMapping):c)||Q(this._renderedViewLine?this._renderedViewLine.domNode:null,h,i.characterMapping,i.containsRTL,i.containsForeignElements),this._renderedViewLine=c,!0}layoutLine(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))}getWidth(){return this._renderedViewLine?this._renderedViewLine.getWidth():0}getWidthIsFast(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()}needsMonospaceFontCheck(){return!!this._renderedViewLine&&this._renderedViewLine instanceof Z}monospaceAssumptionsAreValid(){return this._renderedViewLine&&this._renderedViewLine instanceof Z?this._renderedViewLine.monospaceAssumptionsAreValid():K}onMonospaceAssumptionsInvalidated(){this._renderedViewLine&&this._renderedViewLine instanceof Z&&(this._renderedViewLine=this._renderedViewLine.toSlowRenderedLine())}getVisibleRangesForRange(e,t,i,n){if(!this._renderedViewLine)return null;t|=0,i|=0,t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t)),i=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,i));var o=0|this._renderedViewLine.input.stopRenderingLineAfter;let s=-1!=o&&1+o=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,me._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}}{constructor(e,t,i,n){super(e,t,i),this._ctx=e,n?(this.target=n,this.targetPath=M.collect(n,e.viewDomNode)):(this.target=null,this.targetPath=new Uint8Array(0))}toString(){return`pos(${this.pos.x},${this.pos.y}), editorPos(${this.editorPos.x},${this.editorPos.y}), mouseVerticalOffset: ${this.mouseVerticalOffset}, mouseContentHorizontalOffset: ${this.mouseContentHorizontalOffset}\n\ttarget: `+(this.target?this.target.outerHTML:null)}fulfill(e,t=null,i=null,n=null){let o=this.mouseColumn;return t&&t.columnr.contentLeft+r.width)){var s=e.getVerticalOffsetForLineNumber(r.position.lineNumber);if(s<=o&&o<=s+r.height)return t.fulfill(6,r.position,null,{mightBeForeignElement:!1})}}return null}static _hitTestViewZone(e,t){var i;e=e.getZoneAtCoord(t.mouseVerticalOffset);return e?(i=t.isInContentArea?8:5,t.fulfill(i,e.position,null,e)):null}static _hitTestTextArea(e,t){return he.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition,null,{mightBeForeignElement:!1}):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null}static _hitTestMargin(e,t){if(t.isInMarginArea){const s=e.getFullLineRangeAtCoord(t.mouseVerticalOffset);var i=s.range.getStartPosition(),n=Math.abs(t.pos.x-t.editorPos.x),o={isAfterLines:s.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:n};return(n-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,s.range,o):(n-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,s.range,o):(e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,s.range,o))}return null}static _hitTestViewLines(e,t,i){if(!he.isChildOfViewLines(t.targetPath))return null;if(e.isInTopPadding(t.mouseVerticalOffset))return t.fulfill(7,new ie.a(1,1),null,ge);if(e.isAfterLines(t.mouseVerticalOffset)||e.isInBottomPadding(t.mouseVerticalOffset))return n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n),t.fulfill(7,new ie.a(n,o),null,ge);if(i){if(he.isStrictChildOfViewLines(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(n))return o=e.getLineWidth(n),i=pe(t.mouseContentHorizontalOffset-o),t.fulfill(7,new ie.a(n,1),null,i);var o=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>=o)return i=pe(t.mouseContentHorizontalOffset-o),o=new ie.a(n,e.model.getLineMaxColumn(n)),t.fulfill(7,o,null,i)}return t.fulfill(0)}return n=me._doHitTest(e,t),1===n.type?me.createMouseTargetFromHitTestPosition(e,t,n.spanNode,n.position,n.injectedText):this._createMouseTarget(e,t.withTarget(n.hitTarget),!0)}static _hitTestMinimap(e,t){var i;return he.isChildOfMinimap(t.targetPath)?(i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))):null}static _hitTestScrollbarSlider(e,t){if(he.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var i=t.target.className;if(i&&/\b(slider|scrollbar)\b/.test(i))return i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))}return null}static _hitTestScrollbar(e,t){var i;return he.isChildOfScrollableElement(t.targetPath)?(i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),e=e.model.getLineMaxColumn(i),t.fulfill(11,new ie.a(i,e))):null}getMouseColumn(e,t){const i=this._context.configuration.options;var n=i.get(130);t=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-n.contentLeft;return me._getMouseColumn(t,i.get(42).typicalHalfwidthCharacterWidth)}static _getMouseColumn(e,t){return e<0?1:Math.round(e/t)+1}static createMouseTargetFromHitTestPosition(e,t,i,n,o){var s=n.lineNumber,r=n.column,a=e.getLineWidth(s);if(t.mouseContentHorizontalOffset>a)return a=pe(t.mouseContentHorizontalOffset-a),t.fulfill(7,n,null,a);const l=e.visibleRangeForPosition(s,r);if(!l)return t.fulfill(0,n);if(a=l.left,t.mouseContentHorizontalOffset===a)return t.fulfill(6,n,null,{mightBeForeignElement:!!o});const d=[];if(d.push({offset:l.left,column:r}),1e.offset-t.offset);a=t.pos.toClientCoordinates(),e=i.getBoundingClientRect();var h=e.left<=a.clientX&&a.clientX<=e.right;for(let g=1;g=t.editorPos.y+e.layoutInfo.height&&(n=t.editorPos.y+e.layoutInfo.height-1);const o=new y(t.pos.x,n);return i=this._actualDoHitTestWithCaretRangeFromPoint(e,o.toClientCoordinates()),1===i.type?i:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())}static _actualDoHitTestWithCaretRangeFromPoint(e,t){const i=l.F(e.viewDomNode);let n;var o,s;return(n=i?void 0===i.caretRangeFromPoint?function(e,t,i){const n=document.createRange();let o=e.elementFromPoint(t,i);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE&&o.lastChild&&o.lastChild.firstChild;)o=o.lastChild;e=o.getBoundingClientRect();var s,r=window.getComputedStyle(o,null).getPropertyValue("font");const i=o.innerText;let a=e.left,l=0;if(t>e.left+e.width)l=i.length;else{const e=fe.getInstance();for(let n=0;nthis._createMouseTarget(e,t),e=>this._getMouseColumn(e))),this.lastMouseLeaveTime=-1,this._height=this._context.configuration.options.get(130).height;const n=new D(this.viewHelper.viewDomNode);this._register(n.onContextMenu(this.viewHelper.viewDomNode,e=>this._onContextMenu(e,!0))),this._register(n.onMouseMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),be(this.mouseTargetFactory),ve.MOUSE_MOVE_MINIMUM_TIME)),this._register(n.onMouseUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onMouseLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onMouseDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e))),this._register(l.i(this.viewHelper.viewDomNode,l.d.MOUSE_WHEEL,e=>{if(this.viewController.emitMouseWheel(e),this._context.configuration.options.get(67)){const i=new v.b(e);var t;(_.f?(e.metaKey||e.ctrlKey)&&!e.shiftKey&&!e.altKey:e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey)&&(e=_e.a.getZoomLevel(),t=0t.y+t.height||e.xt.x+t.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),t,e,null)}_createMouseTarget(e,t){let i=e.target;if(!this.viewHelper.viewDomNode.contains(i)){const t=l.F(this.viewHelper.viewDomNode);t&&(i=t.elementsFromPoint(e.posx,e.posy).find(e=>this.viewHelper.viewDomNode.contains(e)))}return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?i:null)}_getMouseColumn(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)}_onContextMenu(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})}_onMouseMove(e){this._mouseDownOperation.isActive()||e.timestamp{e.preventDefault(),this.viewHelper.focusTextArea()};(l=!(_.f&&e.leftButton&&e.ctrlKey)&&l)&&(i||o&&s)?(d(),this._mouseDownOperation.start(t.type,e)):n?e.preventDefault():r?(i=t.detail,this.viewHelper.shouldSuppressMouseDownOnViewZone(i.viewZoneId)&&(d(),this._mouseDownOperation.start(t.type,e),e.preventDefault())):a&&this.viewHelper.shouldSuppressMouseDownOnWidget(t.detail)&&(d(),e.preventDefault()),this.viewController.emitMouseDown({event:e,target:t})}}ve.MOUSE_MOVE_MINIMUM_TIME=100;class Ce extends c.a{constructor(e,t,i,n,o){super(),this._context=e,this._viewController=t,this._viewHelper=i,this._createMouseTarget=n,this._getMouseColumn=o,this._mouseMoveMonitor=this._register(new O(this._viewHelper.viewDomNode)),this._onScrollTimeout=this._register(new C.g),this._mouseState=new we,this._currentSelection=new m.a(1,1,1,1),this._isActive=!1,this._lastMouseEvent=null}dispose(){super.dispose()}isActive(){return this._isActive}_onMouseDownThenMove(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))}start(e,t){if(this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t),e=this._findMousePosition(t,!0),e&&e.position){this._mouseState.trySetCount(t.detail,e.position),t.detail=this._mouseState.count;const i=this._context.configuration.options;!i.get(80)&&i.get(30)&&!i.get(17)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===e.type&&e.position&&this._currentSelection.containsPosition(e.position)?(this._mouseState.isDragAndDrop=!0,this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,be(null),e=>this._onMouseDownThenMove(e),e=>{var t=this._findMousePosition(this._lastMouseEvent,!0);e&&e instanceof KeyboardEvent?this._viewController.emitMouseDropCanceled():this._viewController.emitMouseDrop({event:this._lastMouseEvent,target:t?this._createMouseTarget(this._lastMouseEvent,!0):null}),this._stop()})):(this._mouseState.isDragAndDrop=!1,this._dispatchMouse(e,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,be(null),e=>this._onMouseDownThenMove(e),()=>this._stop())))}}_stop(){this._isActive=!1,this._onScrollTimeout.cancel()}onHeightChanged(){this._mouseMoveMonitor.stopMonitoring()}onScrollChanged(){this._isActive&&this._onScrollTimeout.setIfNotSet(()=>{var e;this._lastMouseEvent&&(e=this._findMousePosition(this._lastMouseEvent,!1))&&!this._mouseState.isDragAndDrop&&this._dispatchMouse(e,!0)},10)}onCursorStateChanged(e){this._currentSelection=e.selections[0]}_getPositionOutsideEditor(e){var t=e.editorPos;const i=this._context.model,n=this._context.viewLayout;var o=this._getMouseColumn(e);if(e.posyt.y+t.height?(s=n.getCurrentScrollTop()+(e.posy-t.y),r=ce.getZoneAtCoord(this._context,s),r&&(r=this._helpPositionJumpOverViewZone(r),r)?new de(null,13,o,r):(r=n.getLineNumberAtVerticalOffset(s),new de(null,13,o,new ie.a(r,i.getLineMaxColumn(r))))):(s=n.getLineNumberAtVerticalOffset(n.getCurrentScrollTop()+(e.posy-t.y)),e.posxt.x+t.width?new de(null,13,o,new ie.a(s,i.getLineMaxColumn(s))):null)}_findMousePosition(e,t){var i=this._getPositionOutsideEditor(e);return i||(i=this._createMouseTarget(e,t),i.position?8!==i.type&&5!==i.type||(e=this._helpPositionJumpOverViewZone(i.detail),!e)?i:new de(i.element,i.type,i.mouseColumn,e,null,i.detail):null)}_helpPositionJumpOverViewZone(e){var t=new ie.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn);const i=e.positionBefore;return e=e.positionAfter,i&&e?i.isBefore(t)?i:e:null}_dispatchMouse(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})}}class we{constructor(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}get altKey(){return this._altKey}get ctrlKey(){return this._ctrlKey}get metaKey(){return this._metaKey}get shiftKey(){return this._shiftKey}get leftButton(){return this._leftButton}get middleButton(){return this._middleButton}get startedOnLineNumbers(){return this._startedOnLineNumbers}get count(){return this._lastMouseDownCount}setModifiers(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey}setStartButtons(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton}setStartedOnLineNumbers(e){this._startedOnLineNumbers=e}trySetCount(e,t){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>we.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=i,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)}}we.CLEAR_MOUSE_DOWN_COUNT_TIME=400;var ye=i("0a31"),Se=i("e53c");class Le extends ve{constructor(e,t,i){super(e,t,i),this._register(b.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Tap,e=>this.onTap(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Change,e=>this.onChange(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Contextmenu,e=>this._onContextMenu(new k(e,this.viewHelper.viewDomNode),!1))),this._lastPointerType="mouse",this._register(l.i(this.viewHelper.linesContentDomNode,"pointerdown",e=>{e=e.pointerType,this._lastPointerType="mouse"===e?"mouse":"touch"===e?"touch":"pen"}));const n=new N(this.viewHelper.viewDomNode);this._register(n.onPointerMoveThrottled(this.viewHelper.viewDomNode,e=>this._onMouseMove(e),be(this.mouseTargetFactory),ve.MOUSE_MOVE_MINIMUM_TIME)),this._register(n.onPointerUp(this.viewHelper.viewDomNode,e=>this._onMouseUp(e))),this._register(n.onPointerLeave(this.viewHelper.viewDomNode,e=>this._onMouseLeave(e))),this._register(n.onPointerDown(this.viewHelper.viewDomNode,e=>this._onMouseDown(e)))}onTap(e){var t;e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)&&(e.preventDefault(),this.viewHelper.focusTextArea(),(t=this._createMouseTarget(new k(e,this.viewHelper.viewDomNode),!1)).position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1}))}onChange(e){"touch"===this._lastPointerType&&this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}_onMouseDown(e){"touch"!==e.browserEvent.pointerType&&super._onMouseDown(e)}}class xe extends ve{constructor(e,t,i){super(e,t,i),this._register(b.b.addTarget(this.viewHelper.linesContentDomNode)),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Tap,e=>this.onTap(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Change,e=>this.onChange(e))),this._register(l.i(this.viewHelper.linesContentDomNode,b.a.Contextmenu,e=>this._onContextMenu(new k(e,this.viewHelper.viewDomNode),!1)))}onTap(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new k(e,this.viewHelper.viewDomNode),!1);if(t.position){const e=document.createEvent("CustomEvent");e.initEvent(Se.d.Tap,!1,!0),this.viewHelper.dispatchTextAreaEvent(e),this.viewController.moveTo(t.position)}}onChange(e){this._context.model.deltaScrollNow(-e.translationX,-e.translationY)}}class ke extends c.a{constructor(e,t,i){super(),_.c&&ye.a.pointerEvents?this.handler=this._register(new Le(e,t,i)):window.TouchEvent?this.handler=this._register(new xe(e,t,i)):this.handler=this._register(new ve(e,t,i))}getTargetAtClientPoint(e,t){return this.handler.getTargetAtClientPoint(e,t)}}i("56f3");var De=i("3742"),Ne=i("0a89");i("2ab7");class Oe extends E{}var Ee=i("918c"),Ie=i("b7d0");class Me extends Oe{constructor(e){super(),this._context=e,this._readConfig(),this._lastCursorModelPosition=new ie.a(1,1),this._renderResult=null,this._activeLineNumber=1,this._context.addEventHandler(this)}_readConfig(){const e=this._context.configuration.options;this._lineHeight=e.get(58);var t=e.get(59);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(84),t=e.get(130);this._lineNumbersLeft=t.lineNumbersLeft,this._lineNumbersWidth=t.lineNumbersWidth}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){return this._readConfig(),!0}onCursorStateChanged(e){e=e.selections[0].getPosition(),this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(e);let t=!1;return this._activeLineNumber!==e.lineNumber&&(this._activeLineNumber=e.lineNumber,t=!0),2===this._renderLineNumbers||3===this._renderLineNumbers||t}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_getLineRenderLineNumber(e){var t;e=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e,1));return 1!==e.column?"":(e=e.lineNumber,this._renderCustomLineNumbers?this._renderCustomLineNumbers(e):2===this._renderLineNumbers?0===(t=Math.abs(this._lastCursorModelPosition.lineNumber-e))?''+e+"":String(t):3!==this._renderLineNumbers||this._lastCursorModelPosition.lineNumber===e||e%10==0?String(e):"")}prepareRender(e){if(0===this._renderLineNumbers)this._renderResult=null;else{var t=_.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o='
    ',s=this._context.model.getLineCount();const l=[];for(let e=i;e<=n;e++){var r,a=e-i;(this._renderFinalNewline||e!==s||0!==this._context.model.getLineLength(e))&&(r=this._getLineRenderLineNumber(e))?e===this._activeLineNumber?l[a]='
    '+r+"
    ":l[a]=o+r+"
    ":l[a]=""}this._renderResult=l}}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}Me.CLASS_NAME="line-numbers",Object(Ie.f)((e,t)=>{var i=e.getColor(Ee.r);i&&t.addRule(`.monaco-editor .line-numbers { color: ${i}; }`),i=e.getColor(Ee.b);i&&t.addRule(`.monaco-editor .line-numbers.active-line-number { color: ${i}; }`)});class Te extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._canUseLayerHinting=!t.get(27),this._contentLeft=e.contentLeft,this._glyphMarginLeft=e.glyphMarginLeft,this._glyphMarginWidth=e.glyphMarginWidth,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setClassName(Te.OUTER_CLASS_NAME),this._domNode.setPosition("absolute"),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(f.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(Te.CLASS_NAME),this._domNode.appendChild(this._glyphMarginBackgroundDomNode)}dispose(){super.dispose()}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._canUseLayerHinting=!t.get(27),this._contentLeft=i.contentLeft,this._glyphMarginLeft=i.glyphMarginLeft,this._glyphMarginWidth=i.glyphMarginWidth,!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollTopChanged}prepareRender(e){}render(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t),t=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(t),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(t)}}Te.CLASS_NAME="glyph-margin",Te.OUTER_CLASS_NAME="margin";var Ae=i("e6ff"),Re=i("e75b");class Pe{constructor(e,t,i){this._visibleTextAreaBrand=void 0,this.top=e,this.left=t,this.width=i}setWidth(e){return new Pe(this.top,this.left,e)}}const Fe=p.g;class Be extends I{constructor(e,t,i){super(e),this._primaryCursorPosition=new ie.a(1,1),this._primaryCursorVisibleRange=null,this._viewController=t,this._viewHelper=i,this._scrollLeft=0,this._scrollTop=0;const n=this._context.configuration.options;e=n.get(130),this._setAccessibilityOptions(n),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._contentHeight=e.height,this._fontInfo=n.get(42),this._lineHeight=n.get(58),this._emptySelectionClipboard=n.get(31),this._copyWithSyntaxHighlighting=n.get(20),this._visibleTextArea=null,this._selections=[new m.a(1,1,1,1)],this._modelSelections=[new m.a(1,1,1,1)],this._lastRenderPosition=null,this.textArea=Object(f.b)(document.createElement("textarea")),M.write(this.textArea,6),this.textArea.setClassName("inputarea "+Re.a),this.textArea.setAttribute("wrap","off"),this.textArea.setAttribute("autocorrect","off"),this.textArea.setAttribute("autocapitalize","off"),this.textArea.setAttribute("autocomplete","off"),this.textArea.setAttribute("spellcheck","false"),this.textArea.setAttribute("aria-label",this._getAriaLabel(n)),this.textArea.setAttribute("tabindex",String(n.get(112))),this.textArea.setAttribute("role","textbox"),this.textArea.setAttribute("aria-roledescription",a.a("editor","editor")),this.textArea.setAttribute("aria-multiline","true"),this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),n.get(29)&&n.get(80)&&this.textArea.setAttribute("readonly","true"),this.textAreaCover=Object(f.b)(document.createElement("div")),this.textAreaCover.setPosition("absolute");const o={getLineCount:()=>this._context.model.getLineCount(),getLineMaxColumn:e=>this._context.model.getLineMaxColumn(e),getValueInRange:(e,t)=>this._context.model.getValueInRange(e,t)};this._textAreaInput=this._register(new Se.c({getDataToCopy:e=>{const t=this._context.model.getPlainTextToCopy(this._modelSelections,this._emptySelectionClipboard,_.i);var i=this._context.model.getEOL(),n=this._emptySelectionClipboard&&1===this._modelSelections.length&&this._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null;i=Array.isArray(t)?t.join(i):t;let s=void 0,r=null;return e&&(Se.a.forceCopyWithSyntaxHighlighting||this._copyWithSyntaxHighlighting&&i.length<65536)&&(e=this._context.model.getRichTextToCopy(this._modelSelections,this._emptySelectionClipboard))&&(s=e.html,r=e.mode),{isFromEmptySelection:n,multicursorText:o,text:i,html:s,mode:r}},getScreenReaderContent:e=>{if(1===this._accessibilitySupport){if(_.f){const e=this._selections[0];if(e.isEmpty()){var t=e.getStartPosition();let i=this._getWordBeforePosition(t);if(0<(i=0===i.length?this._getCharacterBeforePosition(t):i).length)return new Ne.b(i,i.length,i.length,t,t)}}return Ne.b.EMPTY}if(p.e){const e=this._selections[0];if(e.isEmpty()){t=e.getStartPosition();var[i,n]=this._getAndroidWordAtPosition(t);if(0this._context.model.deduceModelPositionRelativeToViewPosition(e,t,i)},this.textArea)),this._register(this._textAreaInput.onKeyDown(e=>{this._viewController.emitKeyDown(e)})),this._register(this._textAreaInput.onKeyUp(e=>{this._viewController.emitKeyUp(e)})),this._register(this._textAreaInput.onPaste(e=>{let t=!1,i=null,n=null;e.metadata&&(t=this._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,i=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,n=e.metadata.mode),this._viewController.paste(e.text,t,i,n)})),this._register(this._textAreaInput.onCut(()=>{this._viewController.cut()})),this._register(this._textAreaInput.onType(e=>{e.replacePrevCharCnt||e.replaceNextCharCnt||e.positionDelta?(Ne.c,this._viewController.compositionType(e.text,e.replacePrevCharCnt,e.replaceNextCharCnt,e.positionDelta)):(Ne.c,this._viewController.type(e.text))})),this._register(this._textAreaInput.onSelectionChangeRequest(e=>{this._viewController.setSelection(e)})),this._register(this._textAreaInput.onCompositionStart(e=>{var t=this._selections[0].startLineNumber;e=this._selections[0].startColumn+e.revealDeltaColumns,this._context.model.revealRange("keyboard",!0,new ne.a(t,e,t,e),0,1),e=this._viewHelper.visibleRangeForPositionRelativeToEditor(t,e);e&&(this._visibleTextArea=new Pe(this._context.viewLayout.getVerticalOffsetForLineNumber(t),e.left,Fe?0:1),this._render()),this.textArea.setClassName(`inputarea ${Re.a} ime-input`),this._viewController.compositionStart(),this._context.model.onCompositionStart()})),this._register(this._textAreaInput.onCompositionUpdate(e=>{this._visibleTextArea&&(this._visibleTextArea=this._visibleTextArea.setWidth(function(e,t){const i=document.createElement("canvas"),n=i.getContext("2d"),o=(n.font=function(e){return`normal normal ${e.fontWeight} ${e.fontSize}px / ${e.lineHeight}px `+e.fontFamily}(t),n.measureText(e));return p.g?o.width+2:o.width}(e.data,this._fontInfo)),this._render())})),this._register(this._textAreaInput.onCompositionEnd(()=>{this._visibleTextArea=null,this._render(),this.textArea.setClassName("inputarea "+Re.a),this._viewController.compositionEnd(),this._context.model.onCompositionEnd()})),this._register(this._textAreaInput.onFocus(()=>{this._context.model.setHasFocus(!0)})),this._register(this._textAreaInput.onBlur(()=>{this._context.model.setHasFocus(!1)}))}dispose(){super.dispose()}_getAndroidWordAtPosition(e){var t;const i=this._context.model.getLineContent(e.lineNumber),n=Object(Ae.a)('`~!@#$%^&*()-=+[{]}\\|;:",.<>/?');let o=!0,s=e.column,r=!0,a=e.column,l=0;for(;l<50&&(o||r);)(o=!(o&&s<=1)&&o)&&(t=i.charCodeAt(s-2),0!==n.get(t)?o=!1:s--),(r=!(r&&a>i.length)&&r)&&(t=i.charCodeAt(a-1),0!==n.get(t)?r=!1:a++),l++;return[i.substring(s-1,a-1),e.column-s]}_getWordBeforePosition(e){const t=this._context.model.getLineContent(e.lineNumber),i=Object(Ae.a)(this._context.configuration.options.get(116));let n=e.column,o=0;for(;1this._contentLeft+this._contentWidth||(t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop)<0||t>this._contentHeight?this._renderAtTopLeft():_.f?this._renderInsideEditor(this._primaryCursorPosition,t,e,Fe?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,Fe?0:1,Fe?0:1)}_renderInsideEditor(e,t,i,n,o){this._lastRenderPosition=e;const s=this.textArea,r=this.textAreaCover;g.a.applyFontInfo(s,this._fontInfo),s.setTop(t),s.setLeft(i),s.setWidth(n),s.setHeight(o),r.setTop(0),r.setLeft(0),r.setWidth(0),r.setHeight(0)}_renderAtTopLeft(){this._lastRenderPosition=null;const e=this.textArea,t=this.textAreaCover;if(g.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),Fe)e.setWidth(0),e.setHeight(0),t.setWidth(0),t.setHeight(0);else{e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);const i=this._context.configuration.options;i.get(48)?t.setClassName("monaco-editor-background textAreaCover "+Te.OUTER_CLASS_NAME):0!==i.get(59).renderType?t.setClassName("monaco-editor-background textAreaCover "+Me.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")}}}var je=i("d585");class We{constructor(e,t,i,n){this.configuration=e,this.viewModel=t,this.userInputEvents=i,this.commandDelegate=n}paste(e,t,i,n){this.commandDelegate.paste(e,t,i,n)}type(e){this.commandDelegate.type(e)}compositionType(e,t,i,n){this.commandDelegate.compositionType(e,t,i,n)}compositionStart(){this.commandDelegate.startComposition()}compositionEnd(){this.commandDelegate.endComposition()}cut(){this.commandDelegate.cut()}setSelection(e){je.CoreNavigationCommands.SetSelection.runCoreEditorCommand(this.viewModel,{source:"keyboard",selection:e})}_validateViewColumn(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[e]}onLinesDeleted(e,t){if(0===this.getCount())return null;var i=this.getStartLineNumber(),n=this.getEndLineNumber();if(t=i&&s<=n&&(this._lines[s-this._rendLineNumberStart].onContentChanged(),o=!0);return o}onLinesInserted(e,t){if(0===this.getCount())return null;var i=t-e+1,n=(t=this.getStartLineNumber(),this.getEndLineNumber());if(e<=t)return this._rendLineNumberStart+=i,null;if(ni)){var s=Math.max(t,o.fromLineNumber),r=Math.min(i,o.toLineNumber);for(let e=s;e<=r;e++){var a=e-this._rendLineNumberStart;this._lines[a].onTokensChanged(),n=!0}}}return n}}class Ke{constructor(e){this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Ue(()=>this._host.createVisibleLine())}_createDomNode(){const e=Object(f.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e}onConfigurationChanged(e){return!!e.hasChanged(130)}onFlushed(e){return this._linesCollection.flush(),!0}onLinesChanged(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)}onLinesDeleted(e){const t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(let n=0,o=t.length;nt?(e=t)<=(s=Math.min(i,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,e,s,n,t),o.linesLength+=s-e+1):o.rendLineNumberStarti&&(s=Math.max(0,i-o.rendLineNumberStart+1),0<(e=o.linesLength-1-s+1)&&(this._removeLinesAfter(o,e),o.linesLength-=e)),this._finishRendering(o,!1,n)}return o}_renderUntouchedLines(e,t,i,n,o){var s=e.rendLineNumberStart;const r=e.lines;for(let l=t;l<=i;l++){var a=s+l;r[l].layoutLine(a,n[a-o])}}_insertLinesBefore(e,t,i,n,o){const s=[];let r=0;for(let a=t;a<=i;a++)s[r++]=this.host.createVisibleLine();e.lines=s.concat(e.lines)}_removeLinesBefore(e,t){for(let n=0;ne}),qe._sb=Object(ze.a)(1e5);class $e extends I{constructor(e){super(e),this._visibleLines=new Ke(this),this.domNode=this._visibleLines.domNode,this._dynamicOverlays=[],this._isFocused=!1,this.domNode.setClassName("view-overlays")}shouldRender(){if(super.shouldRender())return!0;for(let e=0,t=this._dynamicOverlays.length;ee.shouldRender());for(let i=0,n=t.length;i'),n.appendASCIIString(o),n.appendASCIIString(""),!0)}layoutLine(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))}}class Ze extends $e{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._contentWidth=e.contentWidth,this.domNode.setHeight(0)}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._contentWidth=i.contentWidth,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollWidthChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))}}class Ye extends $e{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._contentLeft=e.contentLeft,this.domNode.setClassName("margin-view-overlays"),this.domNode.setWidth(1),g.a.applyFontInfo(this.domNode,t.get(42))}onConfigurationChanged(e){const t=this._context.configuration.options;g.a.applyFontInfo(this.domNode,t.get(42));var i=t.get(130);return this._contentLeft=i.contentLeft,super.onConfigurationChanged(e)||!0}onScrollChanged(e){return super.onScrollChanged(e)||e.scrollHeightChanged}_viewOverlaysRender(e){super._viewOverlaysRender(e),e=Math.min(e.scrollHeight,1e6),this.domNode.setHeight(e),this.domNode.setWidth(this._contentLeft)}}class Xe{constructor(e,t){this._coordinateBrand=void 0,this.top=e,this.left=t}}class Qe extends I{constructor(e,t){super(e),this._viewDomNode=t,this._widgets={},this.domNode=Object(f.b)(document.createElement("div")),M.write(this.domNode,1),this.domNode.setClassName("contentWidgets"),this.domNode.setPosition("absolute"),this.domNode.setTop(0),this.overflowingContentWidgetsDomNode=Object(f.b)(document.createElement("div")),M.write(this.overflowingContentWidgetsDomNode,2),this.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets")}dispose(){super.dispose(),this._widgets={}}onConfigurationChanged(e){for(const t of Object.keys(this._widgets))this._widgets[t].onConfigurationChanged(e);return!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLineMappingChanged(e){for(const t of Object.keys(this._widgets))this._widgets[t].onLineMappingChanged(e);return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return!0}onZonesChanged(e){return!0}addWidget(e){e=new Je(this._context,this._viewDomNode,e),((this._widgets[e.id]=e).allowEditorOverflow?this.overflowingContentWidgetsDomNode:this.domNode).appendChild(e.domNode),this.setShouldRender()}setWidgetPosition(e,t,i){const n=this._widgets[e.getId()];n.setPosition(t,i),this.setShouldRender()}removeWidget(e){if(e=e.getId(),this._widgets.hasOwnProperty(e)){var t=this._widgets[e];delete this._widgets[e];const i=t.domNode.domNode;i.parentNode.removeChild(i),i.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}}shouldSuppressMouseDownOnWidget(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown}onBeforeRender(e){for(const t of Object.keys(this._widgets))this._widgets[t].onBeforeRender(e)}prepareRender(e){for(const t of Object.keys(this._widgets))this._widgets[t].prepareRender(e)}render(e){for(const t of Object.keys(this._widgets))this._widgets[t].render(e)}}class Je{constructor(e,t,i){this._context=e,this._viewDomNode=t,this._actual=i,this.domNode=Object(f.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;const n=this._context.configuration.options;e=n.get(130),this._fixedOverflowWidgets=n.get(35),this._contentWidth=e.contentWidth,this._contentLeft=e.contentLeft,this._lineHeight=n.get(58),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}onConfigurationChanged(e){const t=this._context.configuration.options;this._lineHeight=t.get(58),e.hasChanged(130)&&(e=t.get(130),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._maxWidth=this._getMaxWidth())}onLineMappingChanged(e){this._setPosition(this._range)}_setPosition(e){if(this._range=e,this._viewRange=null,this._range){const e=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(e.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(e.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(e))}}_getMaxWidth(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth}setPosition(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1}_layoutBoxInViewport(e,t,i,n,o){var s=e.top,r=t.top+this._lineHeight,a=o.viewportHeight-r;let l=e.left,d=t.left;return l+i>o.scrollLeft+o.viewportWidth&&(l=o.scrollLeft+o.viewportWidth-i),d+i>o.scrollLeft+o.viewportWidth&&(d=o.scrollLeft+o.viewportWidth-i),le&&(t=s-(e-n),s-=t,i-=t),sn.lineNumber&&(n=r);let o=1073741824;for(const r of i.ranges)r.lefte.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))}prepareRender(e){this._renderData=this._prepareRenderWidget(e)}render(e){this._renderData?(this.allowEditorOverflow?this.domNode.setTop(this._renderData.coordinate.top):this.domNode.setTop(this._renderData.coordinate.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.coordinate.left),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0),"function"==typeof this._actual.afterRender&&et(this._actual.afterRender,this._actual,this._renderData.position)):(this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden")),"function"==typeof this._actual.afterRender&&et(this._actual.afterRender,this._actual,null))}}function et(e,t,...i){try{return e.call(t,...i)}catch(e){return null}}i("930f");var tt=i("e8e3");let it=!0;class nt extends Oe{constructor(e){super(),this._context=e;const t=this._context.configuration.options;e=t.get(130),this._lineHeight=t.get(58),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=e.contentLeft,this._contentWidth=e.contentWidth,this._selectionIsEmpty=!0,this._focused=!1,this._cursorLineNumbers=[1],this._selections=[new m.a(1,1,1,1)],this._renderData=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}_readFromSelections(){let e=!1;const t=it?this._selections.slice(0,1):this._selections,i=t.map(e=>e.positionLineNumber);i.sort((e,t)=>e-t),tt.h(this._cursorLineNumbers,i)||(this._cursorLineNumbers=i,e=!0);var n=t.every(e=>e.isEmpty());return this._selectionIsEmpty!==n&&(this._selectionIsEmpty=n,e=!0),e}onThemeChanged(e){return this._readFromSelections()}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._lineHeight=t.get(58),this._renderLineHighlight=t.get(85),this._renderLineHighlightOnlyWhenFocus=t.get(86),this._contentLeft=i.contentLeft,this._contentWidth=i.contentWidth,!0}onCursorStateChanged(e){return this._selections=e.selections,this._readFromSelections()}onFlushed(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollWidthChanged||e.scrollTopChanged}onZonesChanged(e){return!0}onFocusChanged(e){return!!this._renderLineHighlightOnlyWhenFocus&&(this._focused=e.isFocused,!0)}prepareRender(e){if(this._shouldRenderThis()){var t=this._renderOne(e),i=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length;let r=0;const a=[];for(let e=i;e<=n;e++){for(var s=e-i;r=this._renderData.length?"":this._renderData[t]}}class ot extends nt{_renderOne(e){return`
    `}_shouldRenderThis(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderOther(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}class st extends nt{_renderOne(e){return`
    `}_shouldRenderMargin(){return("gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}_shouldRenderThis(){return!0}_shouldRenderOther(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty&&(!this._renderLineHighlightOnlyWhenFocus||this._focused)}}Object(Ie.f)((e,t)=>{it=!1;const i=e.getColor(Ee.p);var n;i&&(t.addRule(`.monaco-editor .view-overlays .current-line { background-color: ${i}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { background-color: ${i}; border: none; }`)),i&&!i.isTransparent()&&!e.defines(Ee.q)||(n=e.getColor(Ee.q))&&(it=!0,t.addRule(`.monaco-editor .view-overlays .current-line { border: 2px solid ${n}; }`),t.addRule(`.monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid ${n}; }`),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}),i("56dc");class rt extends Oe{constructor(e){super(),this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged||e.scrollWidthChanged}onZonesChanged(e){return!0}prepareRender(e){var t=e.getDecorationsInViewport();let i=[],n=0;for(let d=0,h=t.length;d{var i,n;return e.options.zIndext.options.zIndex?1:(i=e.options.className)<(n=t.options.className)?-1:n',l=Math.max(r.range.startLineNumber,o),d=Math.min(r.range.endLineNumber,s);for(let e=l;e<=d;e++)i[e-o]+=a}}}_renderNormalDecorations(e,t,i){var n=String(this._lineHeight),o=e.visibleRange.startLineNumber;let s=null,r=!1,a=null;for(let c=0,u=t.length;c';r[d]+=h}}}}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}var at=i("1898");class lt extends I{constructor(e,t,i,n){super(e);const o=this._context.configuration.options;var s=o.get(92),r=o.get(66),a=o.get(33),d=o.get(95);e={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(Ie.e)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:s.vertical,horizontal:s.horizontal,verticalHasArrows:s.verticalHasArrows,horizontalHasArrows:s.horizontalHasArrows,verticalScrollbarSize:s.verticalScrollbarSize,verticalSliderSize:s.verticalSliderSize,horizontalScrollbarSize:s.horizontalScrollbarSize,horizontalSliderSize:s.horizontalSliderSize,handleMouseWheel:s.handleMouseWheel,alwaysConsumeMouseWheel:s.alwaysConsumeMouseWheel,arrowSize:s.arrowSize,mouseWheelScrollSensitivity:r,fastScrollSensitivity:a,scrollPredominantAxis:d,scrollByPage:s.scrollByPage};this.scrollbar=this._register(new at.c(t.domNode,e,this._context.viewLayout.getScrollable())),M.write(this.scrollbar.getDomNode(),5),this.scrollbarDomNode=Object(f.b)(this.scrollbar.getDomNode()),this.scrollbarDomNode.setPosition("absolute"),this._setLayout();const h=(e,t,i)=>{const n={};t&&(t=e.scrollTop)&&(n.scrollTop=this._context.viewLayout.getCurrentScrollTop()+t,e.scrollTop=0),i&&(t=e.scrollLeft)&&(n.scrollLeft=this._context.viewLayout.getCurrentScrollLeft()+t,e.scrollLeft=0),this._context.model.setScrollPosition(n,1)};this._register(l.i(i.domNode,"scroll",e=>h(i.domNode,!0,!0))),this._register(l.i(t.domNode,"scroll",e=>h(t.domNode,!0,!1))),this._register(l.i(n.domNode,"scroll",e=>h(n.domNode,!0,!1))),this._register(l.i(this.scrollbarDomNode.domNode,"scroll",e=>h(this.scrollbarDomNode.domNode,!0,!1)))}dispose(){super.dispose()}_setLayout(){const e=this._context.configuration.options;var t=e.get(130),i=(this.scrollbarDomNode.setLeft(t.contentLeft),e.get(64));"right"===i.side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimap.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)}getOverviewRulerLayoutInfo(){return this.scrollbar.getOverviewRulerLayoutInfo()}getDomNode(){return this.scrollbarDomNode}delegateVerticalScrollbarMouseDown(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)}onConfigurationChanged(e){if(e.hasChanged(92)||e.hasChanged(66)||e.hasChanged(33)){const e=this._context.configuration.options;var t=e.get(92),i=e.get(66),n=e.get(33),o=e.get(95);t={vertical:t.vertical,horizontal:t.horizontal,verticalScrollbarSize:t.verticalScrollbarSize,horizontalScrollbarSize:t.horizontalScrollbarSize,scrollByPage:t.scrollByPage,handleMouseWheel:t.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:n,scrollPredominantAxis:o};this.scrollbar.updateOptions(t)}return e.hasChanged(130)&&this._setLayout(),!0}onScrollChanged(e){return!0}onThemeChanged(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(Ie.e)(this._context.theme.type)),!0}prepareRender(e){}render(e){this.scrollbar.renderNow()}}i("8478");class dt{constructor(e,t,i){this._decorationToRenderBrand=void 0,this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(i)}}class ht extends Oe{_render(e,t,i){const n=[];for(let a=e;a<=t;a++){var o=a-e;n[o]=[]}if(0!==i.length){i.sort((e,t)=>e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className');const r=[];for(let e=t;e<=i;e++){var s=e-t;const i=n[s];0===i.length?r[s]="":r[s]='
    =this._renderResult.length?"":this._renderResult[t]}}i("0baa");class ut extends Oe{constructor(e){super(),this._context=e,this._primaryLineNumber=0;const t=this._context.configuration.options;e=t.get(131);var i=t.get(42);this._lineHeight=t.get(58),this._spaceWidth=i.spaceWidth,this._enabled=t.get(83),this._activeIndentEnabled=t.get(51),this._maxIndentLeft=-1===e.wrappingColumn?-1:e.wrappingColumn*i.typicalHalfwidthCharacterWidth,this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(131),n=t.get(42);return this._lineHeight=t.get(58),this._spaceWidth=n.spaceWidth,this._enabled=t.get(83),this._activeIndentEnabled=t.get(51),this._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*n.typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){const t=e.selections[0];return e=t.isEmpty()?t.positionLineNumber:0,this._primaryLineNumber!==e&&(this._primaryLineNumber=e,!0)}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}onLanguageConfigurationChanged(e){return!0}prepareRender(e){if(this._enabled){var t=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,n=this._context.model.getTextModelOptions()["indentSize"],o=n*this._spaceWidth,s=e.scrollWidth,r=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,i);let g=0,p=0,m=0;this._activeIndentEnabled&&this._primaryLineNumber&&(n=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,i),g=n.startLineNumber,p=n.endLineNumber,m=n.indent);const f=[];for(let n=t;n<=i;n++){var l=g<=n&&n<=p,d=n-t,h=a[d];let i="";if(1<=h){var c=e.visibleRangeForPosition(new ie.a(n,1));let t=c?c.left:0;for(let e=1;e<=h;e++){var u=l&&e===m?"cigra":"cigr";if(i+=`
    `,(t+=o)>s||0this._maxIndentLeft)break}}f[d]=i}this._renderResult=f}else this._renderResult=null}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}Object(Ie.f)((e,t)=>{var i=e.getColor(Ee.o);i&&t.addRule(`.monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 ${i} inset; }`),e=e.getColor(Ee.a)||i;e&&t.addRule(`.monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 ${e} inset; }`)}),i("38a2b");class gt{constructor(){this._currentVisibleRange=new ne.a(1,1,1,1)}getCurrentVisibleRange(){return this._currentVisibleRange}setCurrentVisibleRange(e){this._currentVisibleRange=e}}class pt{constructor(e,t,i,n,o,s){this.lineNumber=e,this.startColumn=t,this.endColumn=i,this.startScrollTop=n,this.stopScrollTop=o,this.scrollType=s,this.type="range",this.minLineNumber=e,this.maxLineNumber=e}}class mt{constructor(e,t,i,n){this.selections=e,this.startScrollTop=t,this.stopScrollTop=i,this.scrollType=n,this.type="selections";let o=e[0].startLineNumber,s=e[0].endLineNumber;for(let a=1,l=e.length;a{this._updateLineWidthsSlow()},200),this._asyncCheckMonospaceFontAssumptions=new C.e(()=>{this._checkMonospaceFontAssumptions()},2e3),this._lastRenderedData=new gt,this._horizontalRevealRequest=null}dispose(){this._asyncUpdateLineWidths.dispose(),this._asyncCheckMonospaceFontAssumptions.dispose(),super.dispose()}getDomNode(){return this.domNode}createVisibleLine(){return new G(this._viewLineOptions)}onConfigurationChanged(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(131)&&(this._maxLineWidth=0);const t=this._context.configuration.options;var i=t.get(42),n=t.get(131);return this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._isViewportWrapping=n.isViewportWrapping,this._revealHorizontalRightPadding=t.get(89),this._cursorSurroundingLines=t.get(24),this._cursorSurroundingLinesStyle=t.get(25),this._canUseLayerHinting=!t.get(27),g.a.applyFontInfo(this.domNode,i),this._onOptionsMaybeChanged(),e.hasChanged(130)&&(this._maxLineWidth=0),!0}_onOptionsMaybeChanged(){var e=this._context.configuration;e=new $(e,this._context.theme.type);if(this._viewLineOptions.equals(e))return!1;this._viewLineOptions=e;e=this._visibleLines.getStartLineNumber();var t=this._visibleLines.getEndLineNumber();for(let i=e;i<=t;i++){const e=this._visibleLines.getVisibleLine(i);e.onOptionsChanged(this._viewLineOptions)}return!0}onCursorStateChanged(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=!1;for(let o=t;o<=i;o++)n=this._visibleLines.getVisibleLine(o).onSelectionChanged()||n;return n}onDecorationsChanged(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let n=t;n<=i;n++)this._visibleLines.getVisibleLine(n).onDecorationsChanged();return!0}onFlushed(e){return e=this._visibleLines.onFlushed(e),this._maxLineWidth=0,e}onLinesChanged(e){return this._visibleLines.onLinesChanged(e)}onLinesDeleted(e){return this._visibleLines.onLinesDeleted(e)}onLinesInserted(e){return this._visibleLines.onLinesInserted(e)}onRevealRangeRequest(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.selections,e.verticalType);if(-1===t)return!1;let i=this._context.viewLayout.validateScrollPosition({scrollTop:t});return e.revealHorizontal?e.range&&e.range.startLineNumber!==e.range.endLineNumber?i={scrollTop:i.scrollTop,scrollLeft:0}:e.range?this._horizontalRevealRequest=new pt(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),i.scrollTop,e.scrollType):e.selections&&0i)&&(this._horizontalRevealRequest=null)),this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0}onTokensChanged(e){return this._visibleLines.onTokensChanged(e)}onZonesChanged(e){return this._context.model.setMaxLineWidth(this._maxLineWidth),this._visibleLines.onZonesChanged(e)}onThemeChanged(e){return this._onOptionsMaybeChanged()}getPositionFromDOMInfo(e,t){var i=this._getViewLineDomNode(e);if(null===i)return null;if(i=this._getLineNumberFor(i),-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new ie.a(i,1);var n=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(id)){var h=u===n.startLineNumber?n.startColumn:1,c=u===n.endLineNumber?n.endColumn:this._context.model.getLineMaxColumn(u);const e=this._visibleLines.getVisibleLine(u).getVisibleRangesForRange(u,h,c,r);e&&(t&&uthis._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(e,t,i,new q(this.domNode.domNode,this._textRangeRestingSpot))}visibleRangeForPosition(e){return e=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column),e?new F(e.outsideRenderedLine,e.ranges[0].left):null}updateLineWidths(){this._updateLineWidths(!1)}_updateLineWidthsFast(){return this._updateLineWidths(!0)}_updateLineWidthsSlow(){this._updateLineWidths(!1)}_updateLineWidths(e){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();let n=1,o=!0;for(let s=t;s<=i;s++){const t=this._visibleLines.getVisibleLine(s);e&&!t.getWidthIsFast()?o=!1:n=Math.max(n,t.getWidth())}return o&&1===t&&i===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(n),o}_checkMonospaceFontAssumptions(){let e=-1,t=-1;var i,n=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();for(let s=n;s<=o;s++){const n=this._visibleLines.getVisibleLine(s);!n.needsMonospaceFontCheck()||(i=n.getWidth())>t&&(t=i,e=s)}if(-1!==e&&!this._visibleLines.getVisibleLine(e).monospaceAssumptionsAreValid())for(let s=n;s<=o;s++){const e=this._visibleLines.getVisibleLine(s);e.onMonospaceAssumptionsInvalidated()}}prepareRender(){throw new Error("Not supported")}render(){throw new Error("Not supported")}renderText(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest&&(n=this._horizontalRevealRequest,e.startLineNumber<=n.minLineNumber&&n.maxLineNumber<=e.endLineNumber&&(this._horizontalRevealRequest=null,this.onDidRender(),(t=this._computeScrollLeftToReveal(n))&&(this._isViewportWrapping||this._ensureMaxLineWidth(t.maxHorizontalOffset),this._context.model.setScrollPosition({scrollLeft:t.scrollLeft},n.scrollType)))),this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),_.d&&!this._asyncCheckMonospaceFontAssumptions.isScheduled()){var t=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber();for(let e=t;e<=i;e++){const t=this._visibleLines.getVisibleLine(e);if(t.needsMonospaceFontCheck()){this._asyncCheckMonospaceFontAssumptions.schedule();break}}}this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var n=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-n),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())}_ensureMaxLineWidth(e){e=Math.ceil(e),this._maxLineWidthe){if(!a)return-1;h=l}else h=5===o||6===o?6===o&&s<=l&&d<=r?s:(t=Math.max(5*this._lineHeight,.2*e),i=l-t,t=d-e,Math.max(t,i)):1===o||2===o?2===o&&s<=l&&d<=r?s:(t=(l+d)/2,Math.max(0,t-e/2)):this._computeMinimumScrolling(s,r,l,d,3===o,4===o);return h}_computeScrollLeftToReveal(e){var t=this._context.viewLayout.getCurrentViewport(),i=t.left,n=i+t.width;let o=1073741824,s=0;if("range"===e.type){var r=this._visibleRangesForLineRange(e.lineNumber,e.startColumn,e.endColumn);if(!r)return null;for(const e of r.ranges)o=Math.min(o,Math.round(e.left)),s=Math.max(s,Math.round(e.left+e.width))}else for(const l of e.selections){if(l.startLineNumber!==l.endLineNumber)return null;var a=this._visibleRangesForLineRange(l.startLineNumber,l.startColumn,l.endColumn);if(!a)return null;for(const e of a.ranges)o=Math.min(o,Math.round(e.left)),s=Math.max(s,Math.round(e.left+e.width))}return o=Math.max(0,o-ft.HORIZONTAL_EXTRA_PX),s+=this._revealHorizontalRightPadding,"selections"===e.type&&s-o>t.width?null:{scrollLeft:this._computeMinimumScrolling(i,n,o,s),maxHorizontalOffset:s}}_computeMinimumScrolling(e,t,i,n,o,s){o=!!o,s=!!s;var r=(t|=0)-(e|=0);return(n|=0)-(i|=0)
    ';const s=[];for(let l=t;l<=i;l++){var r=l-t,a=n[r];let e="";for(let t=0,i=a.length;t';o[s]=e}this._renderResult=o}render(e,t){return this._renderResult?this._renderResult[t-e]:""}}i("f20b");class vt{constructor(e,t,i,n){this._rgba8Brand=void 0,this.r=vt._clamp(e),this.g=vt._clamp(t),this.b=vt._clamp(i),this.a=vt._clamp(n)}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}static _clamp(e){return e<0?0:255{e.changedColorMap&&this._updateColorMap()}))}static getInstance(){return this._INSTANCE||(this._INSTANCE=Object(c.h)(new wt)),this._INSTANCE}_updateColorMap(){const e=Ct.F.getColorMap();if(e){this._colors=[vt.Empty];for(let i=1;i=this._colors.length)&&(e=2),this._colors[e]}backgroundIsLight(){return this._backgroundIsLight}}wt._INSTANCE=null;var yt=i("a8d0"),St=i("303e");const Lt=(()=>{const e=[];for(let t=32;t<=126;t++)e.push(t);return e.push(65533),e})();var xt=i("099d");class kt{constructor(e,t){this.scale=t,this._minimapCharRendererBrand=void 0,this.charDataNormal=kt.soften(e,.8),this.charDataLight=kt.soften(e,50/60)}static soften(e,t){let i=new Uint8ClampedArray(e.length);for(let n=0,o=e.length;ne.width||i+c>e.height)){var u=a?this.charDataLight:this.charDataNormal,g=(n=(l=n,a=r,(l-=32)<0||96e.width||i+d>e.height)){var h=4*e.width,c=(r=o.r,l=o.g,o=o.b,r+.5*(n.r-r)),u=l+.5*(n.g-l),g=o+.5*(n.b-o);const s=e.data;let p=i*h+4*t;for(let e=0;e{const t=new Uint8ClampedArray(e.length/2);for(let i=0;i>1]=Nt[e[i]]<<4|15&Nt[e[i+1]];return t},Et={1:Object(Dt.a)(()=>Ot("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:Object(Dt.a)(()=>Ot("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))};class It{static create(e,t){if(this.lastCreated&&e===this.lastCreated.scale&&t===this.lastFontFamily)return this.lastCreated;let i;return i=Et[e]?new kt(Et[e](),e):It.createFromSampleData(It.createSampleData(t).data,e),this.lastFontFamily=t,this.lastCreated=i}static createSampleData(e){const t=document.createElement("canvas"),i=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",i.fillStyle="#ffffff",i.font="bold 16px "+e,i.textBaseline="middle";let n=0;for(const o of Lt)i.fillText(String.fromCharCode(o),n,8),n+=10;return i.getImageData(0,0,960,16)}static createFromSampleData(e,t){if(61440!==e.length)throw new Error("Unexpected source in MinimapCharRenderer");return e=It._downsample(e,t),new kt(e,t)}static _downsampleChar(e,t,i,n,o){var s=+o,r=2*o;let a=n,l=0;for(let b=0;bIt.create(this.fontScale,r.fontFamily)),this.backgroundColor=Tt._getMinimapBackground(t,i)}static _getMinimapBackground(e,t){return e=e.getColor(St.Zb),e?new vt(e.rgba.r,e.rgba.g,e.rgba.b,e.rgba.a):t.getColor(2)}equals(e){return this.renderMinimap===e.renderMinimap&&this.size===e.size&&this.minimapHeightIsEditorHeight===e.minimapHeightIsEditorHeight&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight&&this.isSampling===e.isSampling&&this.editorHeight===e.editorHeight&&this.fontScale===e.fontScale&&this.minimapLineHeight===e.minimapLineHeight&&this.minimapCharWidth===e.minimapCharWidth&&this.backgroundColor&&this.backgroundColor.equals(e.backgroundColor)}}class At{constructor(e,t,i,n,o,s,r,a){this.scrollTop=e,this.scrollHeight=t,this.sliderNeeded=i,this._computedSliderRatio=n,this.sliderTop=o,this.sliderHeight=s,this.startLineNumber=r,this.endLineNumber=a}getDesiredScrollTopFromDelta(e){return Math.round(this.scrollTop+e/this._computedSliderRatio)}getDesiredScrollTopFromTouchLocation(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)}static create(e,t,i,n,o,s,r,a,l,d,h){var c=e.pixelRatio,u=e.minimapLineHeight,g=Math.floor(e.canvasInnerHeight/u),p=e.lineHeight;if(e.minimapHeightIsEditorHeight){a=a*e.lineHeight+(e.scrollBeyondLastLine?o-e.lineHeight:0);const t=Math.max(1,Math.floor(o*o/a)),i=Math.max(0,e.minimapHeight-t),n=i/(d-o),s=l*n;a=0=r+(C=e.scrollBeyondLastLine?o/p-1:C))return a=r,m=0<_,new At(l,d,m,b,v,f,1,a);{let e=Math.max(1,Math.floor(t-v*c/u));return h&&h.scrollHeight===d&&(h.scrollTop>l&&(e=Math.min(e,h.startLineNumber)),h.scrollTopRt.INVALID),this._renderedLines._set(e.startLineNumber,i)}linesEquals(e){if(!this.scrollEquals(e))return!1;var t=this._renderedLines._get().lines;for(let i=0,n=t.length;i=e;)i--;let n=this.modelLineToMinimapLine(t)-1;for(;n+1{var t;e.preventDefault(),0!==this._model.options.renderMinimap&&this._lastRenderData&&("proportional"!==this._model.options.size?e.leftButton&&this._lastRenderData&&(t=(t=l.D(this._slider.domNode)).top+t.height/2,this._startSliderDragging(e.buttons,e.posx,t,e.posy,this._lastRenderData.renderedLayout)):(t=this._model.options.minimapLineHeight,e=this._model.options.canvasInnerHeight/this._model.options.canvasOuterHeight*e.browserEvent.offsetY,e=Math.floor(e/t)+this._lastRenderData.renderedLayout.startLineNumber,e=Math.min(e,this._model.getLineCount()),this._model.revealLineNumber(e)))}),this._sliderMouseMoveMonitor=new w.a,this._sliderMouseDownListener=l.o(this._slider.domNode,"mousedown",e=>{e.preventDefault(),e.stopPropagation(),e.leftButton&&this._lastRenderData&&this._startSliderDragging(e.buttons,e.posx,e.posy,e.posy,this._lastRenderData.renderedLayout)}),this._gestureDisposable=b.b.addTarget(this._domNode.domNode),this._sliderTouchStartListener=l.i(this._domNode.domNode,b.a.Start,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&(this._slider.toggleClassName("active",!0),this._gestureInProgress=!0,this.scrollDueToTouchEvent(e))},{passive:!1}),this._sliderTouchMoveListener=l.i(this._domNode.domNode,b.a.Change,e=>{e.preventDefault(),e.stopPropagation(),this._lastRenderData&&this._gestureInProgress&&this.scrollDueToTouchEvent(e)},{passive:!1}),this._sliderTouchEndListener=l.o(this._domNode.domNode,b.a.End,e=>{e.preventDefault(),e.stopPropagation(),this._gestureInProgress=!1,this._slider.toggleClassName("active",!1)})}_startSliderDragging(e,t,i,n,o){this._slider.toggleClassName("active",!0);const s=(e,n)=>{n=Math.abs(n-t),_.i&&140s(e.posy,e.posx),()=>{this._slider.toggleClassName("active",!1)})}scrollDueToTouchEvent(e){var t=this._domNode.domNode.getBoundingClientRect().top;e=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._model.setScrollTop(e)}dispose(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),super.dispose()}_getMinimapDomNodeClassName(){return"always"===this._model.options.showSlider?"minimap slider-always":"minimap slider-mouseover"}getDomNode(){return this._domNode}_applyLayout(){this._domNode.setLeft(this._model.options.minimapLeft),this._domNode.setWidth(this._model.options.minimapWidth),this._domNode.setHeight(this._model.options.minimapHeight),this._shadow.setHeight(this._model.options.minimapHeight),this._canvas.setWidth(this._model.options.canvasOuterWidth),this._canvas.setHeight(this._model.options.canvasOuterHeight),this._canvas.domNode.width=this._model.options.canvasInnerWidth,this._canvas.domNode.height=this._model.options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._model.options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._model.options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._model.options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._model.options.canvasInnerHeight,this._slider.setWidth(this._model.options.minimapWidth)}_getBuffer(){return this._buffers||0=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible"),t=At.create(this._model.options,e.viewportStartLineNumber,e.viewportEndLineNumber,e.viewportStartLineNumberVerticalOffset,e.viewportHeight,e.viewportContainsWhitespaceGaps,this._model.getLineCount(),this._model.getRealLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null),this._slider.setDisplay(t.sliderNeeded?"block":"none"),this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight),e=e.scrollLeft/this._model.options.typicalHalfwidthCharacterWidth,e=Math.min(this._model.options.minimapWidth,Math.round(e*this._model.options.minimapCharWidth/this._model.options.pixelRatio)),this._sliderHorizontal.setLeft(e),this._sliderHorizontal.setWidth(this._model.options.minimapWidth-e),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t))}renderDecorations(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._model.getSelections(),i=this._model.getMinimapDecorationsInViewport(e.startLineNumber,e.endLineNumber),{canvasInnerWidth:n,canvasInnerHeight:o}=this._model.options,s=this._model.options.minimapLineHeight,r=this._model.options.minimapCharWidth,a=this._model.getOptions().tabSize;const u=this._decorationsCanvas.domNode.getContext("2d");u.clearRect(0,0,n,o);var l=new Map;for(let i=0;ithis._model.options.canvasInnerHeight)){let g=t.get(s);if(a=!g,!g){const e=this._model.getLineContent(s);g=[z.h];for(let t=1;tm)return;var S=g.charCodeAt(b);if(9===S){var L=d-(b+v)%d;v+=L-1,_+=L*o}else if(32===S)_+=o;else{var x=De.D(S)?2:1;for(let s=0;sm)return}}}}Object(Ie.f)((e,t)=>{var i=e.getColor(St.Zb);i&&t.addRule(`.monaco-editor .minimap > canvas { opacity: ${i.rgba.a}; will-change: opacity; }`),i=e.getColor(St.ec),i&&t.addRule(`.monaco-editor .minimap-slider .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.fc),i&&t.addRule(`.monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.dc),i&&t.addRule(`.monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: ${i}; }`),i=e.getColor(St.yc);i&&t.addRule(`.monaco-editor .minimap-shadow-visible { box-shadow: ${i} -6px 0 6px -6px inset; }`)}),i("725e");class Vt extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._widgets={},this._verticalScrollbarWidth=e.verticalScrollbarWidth,this._minimapWidth=e.minimap.minimapWidth,this._horizontalScrollbarHeight=e.horizontalScrollbarHeight,this._editorHeight=e.height,this._editorWidth=e.width,this._domNode=Object(f.b)(document.createElement("div")),M.write(this._domNode,4),this._domNode.setClassName("overlayWidgets")}dispose(){super.dispose(),this._widgets={}}getDomNode(){return this._domNode}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(130);return this._verticalScrollbarWidth=i.verticalScrollbarWidth,this._minimapWidth=i.minimap.minimapWidth,this._horizontalScrollbarHeight=i.horizontalScrollbarHeight,this._editorHeight=i.height,this._editorWidth=i.width,!0}addWidget(e){const t=Object(f.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()}setWidgetPosition(e,t){const i=this._widgets[e.getId()];return i.preference!==t&&(i.preference=t,this.setShouldRender(),!0)}removeWidget(e){if(e=e.getId(),this._widgets.hasOwnProperty(e)){const t=this._widgets[e].domNode.domNode;delete this._widgets[e],t.parentNode.removeChild(t),this.setShouldRender()}}_renderWidget(e){const t=e.domNode;var i;null===e.preference?t.unsetTop():0===e.preference?(t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)):1===e.preference?(i=t.domNode.clientHeight,t.setTop(this._editorHeight-i-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)):2===e.preference&&(t.setTop(0),t.domNode.style.right="50%")}prepareRender(e){}render(e){this._domNode.setWidth(this._editorWidth);var t=Object.keys(this._widgets);for(let n=0,o=t.length;n{e.changedColorMap&&this._updateSettings(!0)}),this._cursorPositions=[]}dispose(){super.dispose(),this._tokensColorTrackerListener.dispose()}_updateSettings(e){var t=new zt(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)}onConfigurationChanged(e){return this._updateSettings(!1)}onCursorStateChanged(e){this._cursorPositions=[];for(let t=0,i=e.selections.length;tt&&(e=t-r),o=e-r,d=e+r}o>f+1||c!==p?(0!==e&&w.fillRect(a[p],m,l[p],f-m),p=c,m=o,f=d):d>f&&(f=d)}w.fillRect(a[p],m,l[p],f-m)}if(!this._settings.hideCursor&&this._settings.cursorColor){var p=2*this._settings.pixelRatio|0,m=p/2|0,f=this._settings.x[7],_=this._settings.w[7];w.fillStyle=this._settings.cursorColor;let e=-100,i=-100;for(let o=0,s=this._cursorPositions.length;ot&&(s=t-m);b=s-m;var v=b+p;b>i+1?(0!==o&&w.fillRect(f,e,_,i-e),e=b,i=v):v>i&&(i=v)}w.fillRect(f,e,_,i-e)}this._settings.renderBorder&&this._settings.borderColor&&0this._context.viewLayout.getVerticalOffsetForLineNumber(e)),this._zoneManager.setDOMWidth(0),this._zoneManager.setDOMHeight(0),this._zoneManager.setOuterHeight(this._context.viewLayout.getScrollHeight()),this._zoneManager.setLineHeight(i.get(58)),this._zoneManager.setPixelRatio(i.get(128)),this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return e.hasChanged(58)&&(this._zoneManager.setLineHeight(t.get(58)),this._render()),e.hasChanged(128)&&(this._zoneManager.setPixelRatio(t.get(128)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0}onFlushed(e){return this._render(),!0}onScrollChanged(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0}onZonesChanged(e){return this._render(),!0}getDomNode(){return this._domNode.domNode}setLayout(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);let t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())}setZones(e){this._zoneManager.setZones(e),this._render()}_render(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),i=this._zoneManager.resolveColorZones(),n=this._zoneManager.getId2Color();const o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),0=l?Math.max(r,d):(e.fillRect(0,s,n,r-s),s=l,d)}e.fillRect(0,s,n,r-s)}}i("ef37");class $t extends I{constructor(e){super(e),this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.domNode.setClassName("view-rulers"),this._renderedRulers=[];const t=this._context.configuration.options;this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth}dispose(){super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._rulers=t.get(91),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onScrollChanged(e){return e.scrollHeightChanged}prepareRender(e){}_ensureRulersCount(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e{e=e.getColor(Ee.u),e&&t.addRule(`.monaco-editor .view-ruler { box-shadow: 1px 0 0 0 ${e} inset; }`)}),i("d8c3");class Gt extends I{constructor(e){super(e),this._scrollTop=0,this._width=0,this._updateWidth(),this._shouldShow=!1;const t=this._context.configuration.options;e=t.get(92),this._useShadows=e.useShadows,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true")}dispose(){super.dispose()}_updateShouldShow(){var e=this._useShadows&&0{e=e.getColor(St.yc),e&&t.addRule(`.monaco-editor .scroll-decoration { box-shadow: ${e} 0 6px 6px -6px inset; }`)}),i("782d");class Zt{constructor(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}}class Yt{constructor(e,t){this.lineNumber=e,this.ranges=t}}function Xt(e){return new Zt(e)}function Qt(e){return new Yt(e.lineNumber,e.ranges.map(Xt))}class Jt extends Oe{constructor(e){super(),this._previousFrameVisibleRangesWithStyle=[],this._context=e;const t=this._context.configuration.options;this._lineHeight=t.get(58),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,this._selections=[],this._renderResult=null,this._context.addEventHandler(this)}dispose(){this._context.removeEventHandler(this),this._renderResult=null,super.dispose()}onConfigurationChanged(e){const t=this._context.configuration.options;return this._lineHeight=t.get(58),this._roundedSelection=t.get(90),this._typicalHalfwidthCharacterWidth=t.get(42).typicalHalfwidthCharacterWidth,!0}onCursorStateChanged(e){return this._selections=e.selections.slice(0),!0}onDecorationsChanged(e){return!0}onFlushed(e){return!0}onLinesChanged(e){return!0}onLinesDeleted(e){return!0}onLinesInserted(e){return!0}onScrollChanged(e){return e.scrollTopChanged}onZonesChanged(e){return!0}_visibleRangesHaveGaps(e){for(let t=0,i=e.length;t'}_actualRenderOneSelection(e,t,i,n){if(0!==n.length){var o=!!n[0].ranges[0].startStyle,s=this._lineHeight.toString(),r=(this._lineHeight-1).toString(),a=n[0].lineNumber,l=n[n.length-1].lineNumber;for(let _=0,b=n.length;_e+t)}render(e,t){return!this._renderResult||(t-=e)<0||t>=this._renderResult.length?"":this._renderResult[t]}}function ei(e){return e<0?-e:e}Jt.SELECTION_CLASS_NAME="selected-text",Jt.SELECTION_TOP_LEFT="top-left-radius",Jt.SELECTION_BOTTOM_LEFT="bottom-left-radius",Jt.SELECTION_TOP_RIGHT="top-right-radius",Jt.SELECTION_BOTTOM_RIGHT="bottom-right-radius",Jt.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",Jt.ROUNDED_PIECE_WIDTH=10,Object(Ie.f)((e,t)=>{var i=e.getColor(St.R);i&&t.addRule(`.monaco-editor .focused .selected-text { background-color: ${i}; }`),i=e.getColor(St.J);i&&t.addRule(`.monaco-editor .selected-text { background-color: ${i}; }`);const n=e.getColor(St.S);n&&!n.isTransparent()&&t.addRule(`.monaco-editor .view-line span.inline-selected-text { color: ${n}; }`)}),i("d93b");class ti{constructor(e,t,i,n,o,s){this.top=e,this.left=t,this.width=i,this.height=n,this.textContent=o,this.textContentClassName=s}}class ii{constructor(e){this._context=e;const t=this._context.configuration.options;e=t.get(42),this._cursorStyle=t.get(23),this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(26),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(f.b)(document.createElement("div")),this._domNode.setClassName("cursor "+Re.a),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),g.a.applyFontInfo(this._domNode,e),this._domNode.setDisplay("none"),this._position=new ie.a(1,1),this._lastRenderedContent="",this._renderData=null}getDomNode(){return this._domNode}getPosition(){return this._position}show(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)}hide(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)}onConfigurationChanged(e){const t=this._context.configuration.options;var i=t.get(42);return this._cursorStyle=t.get(23),this._lineHeight=t.get(58),this._typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(26),this._typicalHalfwidthCharacterWidth),g.a.applyFontInfo(this._domNode,i),!0}onCursorPositionChanged(e){return this._position=e,!0}_prepareRender(e){let t="";if(this._cursorStyle===z.i.Line||this._cursorStyle===z.i.LineThin){var i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;let n;if(this._cursorStyle===z.i.Line){if(2<(n=l.u(0t.length){var n=this._secondaryCursors.length-t.length;for(let e=0;e{for(let i=0,n=e.ranges.length;i{this._isVisible?this._hide():this._show()},ni.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(()=>{this._blinkingEnabled=!0,this._updateDomClassName()},ni.BLINK_INTERVAL))}_updateDomClassName(){this._domNode.setClassName(this._getClassName())}_getClassName(){let e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case z.i.Line:e+=" cursor-line-style";break;case z.i.Block:e+=" cursor-block-style";break;case z.i.Underline:e+=" cursor-underline-style";break;case z.i.LineThin:e+=" cursor-line-thin-style";break;case z.i.BlockOutline:e+=" cursor-block-outline-style";break;case z.i.UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e}_show(){this._primaryCursor.show();for(let e=0,t=this._secondaryCursors.length;e{const i=e.getColor(Ee.n);if(i){let n=e.getColor(Ee.m);n=n||i.opposite(),t.addRule(`.monaco-editor .cursors-layer .cursor { background-color: ${i}; border-color: ${i}; color: ${n}; }`),"hc"===e.type&&t.addRule(`.monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid ${n}; border-right: 1px solid ${n}; }`)}});const oi=()=>{throw new Error("Invalid change accessor")};class si extends I{constructor(e){super(e);const t=this._context.configuration.options;e=t.get(130),this._lineHeight=t.get(58),this._contentWidth=e.contentWidth,this._contentLeft=e.contentLeft,this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setClassName("view-zones"),this.domNode.setPosition("absolute"),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this.marginDomNode=Object(f.b)(document.createElement("div")),this.marginDomNode.setClassName("margin-view-zones"),this.marginDomNode.setPosition("absolute"),this.marginDomNode.setAttribute("role","presentation"),this.marginDomNode.setAttribute("aria-hidden","true"),this._zones={}}dispose(){super.dispose(),this._zones={}}_recomputeWhitespacesProps(){var e=this._context.viewLayout.getWhitespaces();const t=new Map;for(const n of e)t.set(n.id,n);let i=!1;return this._context.model.changeWhitespace(e=>{var n=Object.keys(this._zones);for(let l=0,d=n.length;l{const n={addZone:e=>(t=!0,this._addZone(i,e)),removeZone:e=>{e&&(t=this._removeZone(i,e)||t)},layoutZone:e=>{e&&(t=this._layoutZone(i,e)||t)}};var o=e,s=n;try{o(s)}catch(n){Object(d.f)(n)}n.addZone=oi,n.removeZone=oi,n.layoutZone=oi}),t}_addZone(e,t){var i=this._computeWhitespaceProps(t);const n={whitespaceId:e.insertWhitespace(i.afterViewLineNumber,this._getZoneOrdinal(t),i.heightInPx,i.minWidthInPx),delegate:t,isVisible:!1,domNode:Object(f.b)(t.domNode),marginDomNode:t.marginDomNode?Object(f.b)(t.marginDomNode):null};return this._safeCallOnComputedHeight(n.delegate,i.heightInPx),n.domNode.setPosition("absolute"),n.domNode.domNode.style.width="100%",n.domNode.setDisplay("none"),n.domNode.setAttribute("monaco-view-zone",n.whitespaceId),this.domNode.appendChild(n.domNode),n.marginDomNode&&(n.marginDomNode.setPosition("absolute"),n.marginDomNode.domNode.style.width="100%",n.marginDomNode.setDisplay("none"),n.marginDomNode.setAttribute("monaco-view-zone",n.whitespaceId),this.marginDomNode.appendChild(n.marginDomNode)),this._zones[n.whitespaceId]=n,this.setShouldRender(),n.whitespaceId}_removeZone(e,t){if(this._zones.hasOwnProperty(t)){const i=this._zones[t];return delete this._zones[t],e.removeWhitespace(i.whitespaceId),i.domNode.removeAttribute("monaco-visible-view-zone"),i.domNode.removeAttribute("monaco-view-zone"),i.domNode.domNode.parentNode.removeChild(i.domNode.domNode),i.marginDomNode&&(i.marginDomNode.removeAttribute("monaco-visible-view-zone"),i.marginDomNode.removeAttribute("monaco-view-zone"),i.marginDomNode.domNode.parentNode.removeChild(i.marginDomNode.domNode)),this.setShouldRender(),!0}return!1}_layoutZone(e,t){var i;return!!this._zones.hasOwnProperty(t)&&(t=this._zones[t],i=this._computeWhitespaceProps(t.delegate),e.changeOneWhitespace(t.whitespaceId,i.afterViewLineNumber,i.heightInPx),this._safeCallOnComputedHeight(t.delegate,i.heightInPx),this.setShouldRender(),!0)}shouldSuppressMouseDownOnViewZone(e){return!!this._zones.hasOwnProperty(e)&&(e=this._zones[e],Boolean(e.delegate.suppressMouseDown))}_heightInPixels(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight}_minWidthInPixels(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0}_safeCallOnComputedHeight(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(d.f)(e)}}_safeCallOnDomNodeTop(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(d.f)(e)}}prepareRender(e){}render(e){var t=e.viewportData.whitespaceViewportData;const i={};let n=!1;for(let r=0,a=t.length;r{this._context.theme.update(e),this._context.model.onDidColorThemeChange(),this.render(!0,!1)})),this._viewParts=[],this._textAreaHandler=new Be(this._context,o,this._createTextAreaHandlerHelper()),this._viewParts.push(this._textAreaHandler),this._linesContent=Object(f.b)(document.createElement("div")),this._linesContent.setClassName("lines-content monaco-editor-background"),this._linesContent.setPosition("absolute"),this.domNode=Object(f.b)(document.createElement("div")),this.domNode.setClassName(this._getEditorClassName()),this.domNode.setAttribute("role","code"),this._overflowGuardContainer=Object(f.b)(document.createElement("div")),M.write(this._overflowGuardContainer,3),this._overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new lt(this._context,this._linesContent,this.domNode,this._overflowGuardContainer),this._viewParts.push(this._scrollbar),this._viewLines=new ft(this._context,this._linesContent),this._viewZones=new si(this._context),this._viewParts.push(this._viewZones);const r=new Ut(this._context),a=(this._viewParts.push(r),new Gt(this._context)),l=(this._viewParts.push(a),new Ze(this._context)),d=(this._viewParts.push(l),l.addDynamicOverlay(new ot(this._context)),l.addDynamicOverlay(new Jt(this._context)),l.addDynamicOverlay(new ut(this._context)),l.addDynamicOverlay(new rt(this._context)),new Ye(this._context)),h=(this._viewParts.push(d),d.addDynamicOverlay(new st(this._context)),d.addDynamicOverlay(new ct(this._context)),d.addDynamicOverlay(new bt(this._context)),d.addDynamicOverlay(new _t(this._context)),d.addDynamicOverlay(new Me(this._context)),new Te(this._context));h.getDomNode().appendChild(this._viewZones.marginDomNode),h.getDomNode().appendChild(d.getDomNode()),this._viewParts.push(h),this._contentWidgets=new Qe(this._context,this.domNode),this._viewParts.push(this._contentWidgets),this._viewCursors=new ni(this._context),this._viewParts.push(this._viewCursors),this._overlayWidgets=new Vt(this._context),this._viewParts.push(this._overlayWidgets),e=new $t(this._context),this._viewParts.push(e);const c=new jt(this._context);if(this._viewParts.push(c),r){const e=this._scrollbar.getOverviewRulerLayoutInfo();e.parent.insertBefore(r.getDomNode(),e.insertBefore)}this._linesContent.appendChild(l.getDomNode()),this._linesContent.appendChild(e.domNode),this._linesContent.appendChild(this._viewZones.domNode),this._linesContent.appendChild(this._viewLines.getDomNode()),this._linesContent.appendChild(this._contentWidgets.domNode),this._linesContent.appendChild(this._viewCursors.getDomNode()),this._overflowGuardContainer.appendChild(h.getDomNode()),this._overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this._overflowGuardContainer.appendChild(a.getDomNode()),this._overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this._overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this._overflowGuardContainer.appendChild(this._overlayWidgets.getDomNode()),this._overflowGuardContainer.appendChild(c.getDomNode()),this.domNode.appendChild(this._overflowGuardContainer),s?s.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode.domNode):this.domNode.appendChild(this._contentWidgets.overflowingContentWidgetsDomNode),this._applyLayout(),this._pointerHandler=this._register(new ke(this._context,o,this._createPointerHandlerHelper()))}_flushAccumulatedAndRenderNow(){this._renderNow()}_createPointerHandlerHelper(){return{viewDomNode:this.domNode.domNode,linesContentDomNode:this._linesContent.domNode,focusTextArea:()=>{this.focus()},dispatchTextAreaEvent:e=>{this._textAreaHandler.textArea.domNode.dispatchEvent(e)},getLastRenderData:()=>{var e=this._viewCursors.getLastRenderData()||[],t=this._textAreaHandler.getLastRenderData();return new le(e,t)},shouldSuppressMouseDownOnViewZone:e=>this._viewZones.shouldSuppressMouseDownOnViewZone(e),shouldSuppressMouseDownOnWidget:e=>this._contentWidgets.shouldSuppressMouseDownOnWidget(e),getPositionFromDOMInfo:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getPositionFromDOMInfo(e,t)),visibleRangeForPosition:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ie.a(e,t))),getLineWidth:e=>(this._flushAccumulatedAndRenderNow(),this._viewLines.getLineWidth(e))}}_createTextAreaHandlerHelper(){return{visibleRangeForPositionRelativeToEditor:(e,t)=>(this._flushAccumulatedAndRenderNow(),this._viewLines.visibleRangeForPosition(new ie.a(e,t)))}}_applyLayout(){const e=this._context.configuration.options;var t=e.get(130);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this._overflowGuardContainer.setWidth(t.width),this._overflowGuardContainer.setHeight(t.height),this._linesContent.setWidth(1e6),this._linesContent.setHeight(1e6)}_getEditorClassName(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(127)+" "+Object(Ie.e)(this._context.theme.type)+e}handleEvents(e){super.handleEvents(e),this._scheduleRender()}onConfigurationChanged(e){return this._configPixelRatio=this._context.configuration.options.get(128),this.domNode.setClassName(this._getEditorClassName()),this._applyLayout(),!1}onCursorStateChanged(e){return this._selections=e.selections,!1}onFocusChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}onThemeChanged(e){return this.domNode.setClassName(this._getEditorClassName()),!1}dispose(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this._contentWidgets.overflowingContentWidgetsDomNode.domNode.remove(),this._context.removeEventHandler(this),this._viewLines.dispose();for(const e of this._viewParts)e.dispose();super.dispose()}_scheduleRender(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=l.T(this._onRenderScheduled.bind(this),100))}_onRenderScheduled(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()}_renderNow(){var e=()=>this._actualRender();try{e()}catch(e){Object(d.f)(e)}}_getViewPartsToRender(){let e=[],t=0;for(const i of this._viewParts)i.shouldRender()&&(e[t++]=i);return e}_actualRender(){if(l.N(this.domNode.domNode)){let i=this._getViewPartsToRender();if(this._viewLines.shouldRender()||0!==i.length){var e=this._context.viewLayout.getLinesViewportData(),t=(e=(this._context.model.setViewport(e.startLineNumber,e.endLineNumber,e.centeredLineNumber),new li(this._selections,e,this._context.viewLayout.getWhitespaceViewportData(),this._context.model)),this._contentWidgets.shouldRender()&&this._contentWidgets.onBeforeRender(e),this._viewLines.shouldRender()&&(this._viewLines.renderText(e),this._viewLines.onDidRender(),i=this._getViewPartsToRender()),new T(this._context.viewLayout,e,this._viewLines));for(const e of i)e.prepareRender(t);for(const e of i)e.render(t),e.onDidRender();.001=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)}_getAll(){let e=[];e[0]=this.primaryCursor;for(let t=0,i=this.secondaryCursors.length;te.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber);for(let d=0;dn&&e.index--;a.splice(n,1),l.splice(e,1),this._removeSecondaryCursor(n-1),d--}}}}}}var ui=i("b272"),gi=i("191f"),pi=i("338e");class mi{constructor(){this.type=0}}class fi{constructor(){this.type=1}}class _i{constructor(e){this.type=2,this._source=e}hasChanged(e){return this._source.hasChanged(e)}}class bi{constructor(e,t){this.type=3,this.selections=e,this.modelSelections=t}}class vi{constructor(e){this.type=4,e?(this.affectsMinimap=e.affectsMinimap,this.affectsOverviewRuler=e.affectsOverviewRuler):(this.affectsMinimap=!0,this.affectsOverviewRuler=!0)}}class Ci{constructor(){this.type=5}}class wi{constructor(e){this.type=6,this.isFocused=e}}class yi{constructor(){this.type=7}}class Si{constructor(){this.type=8}}class Li{constructor(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}}class xi{constructor(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}}class ki{constructor(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}}class Di{constructor(e,t,i,n,o,s){this.type=12,this.source=e,this.range=t,this.selections=i,this.verticalType=n,this.revealHorizontal=o,this.scrollType=s}}class Ni{constructor(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}}class Oi{constructor(){this.type=14}}class Ei{constructor(e){this.type=15,this.ranges=e}}class Ii{constructor(){this.type=16}}class Mi{constructor(){this.type=17}}class Ti extends c.a{constructor(){super(),this._onEvent=this._register(new h.b),this.onEvent=this._onEvent.event,this._eventHandlers=[],this._viewEventQueue=null,this._isConsumingViewEventQueue=!1,this._collector=null,this._collectorCnt=0,this._outgoingEvents=[]}emitOutgoingEvent(e){this._addOutgoingEvent(e),this._emitOutgoingEvents()}_addOutgoingEvent(e){for(let t=0,i=this._outgoingEvents.length;t=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0}}class zi extends c.a{constructor(e,t,i,n){super(),this._model=e,this._knownModelVersionId=this._model.getVersionId(),this._viewModel=t,this._coordinatesConverter=i,this.context=new oe.c(this._model,this._viewModel,this._coordinatesConverter,n),this._cursors=new ci(this.context),this._hasFocus=!1,this._isHandling=!1,this._isDoingComposition=!1,this._selectionsWhenCompositionStarted=null,this._columnSelectData=null,this._autoClosedActions=[],this._prevEditOperationType=0}dispose(){this._cursors.dispose(),this._autoClosedActions=Object(c.f)(this._autoClosedActions),super.dispose()}updateConfiguration(e){this.context=new oe.c(this._model,this._viewModel,this._coordinatesConverter,e),this._cursors.updateContext(this.context)}onLineMappingChanged(e){this._knownModelVersionId===this._model.getVersionId()&&this.setStates(e,"viewModel",0,this.getCursorStates())}setHasFocus(e){this._hasFocus=e}_validateAutoClosedActions(){if(0zi.MAX_CURSOR_COUNT&&(n=n.slice(0,zi.MAX_CURSOR_COUNT),o=!0);var s=new Vi(this._model,this);return this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,t,i,s,o)}setCursorColumnSelectData(e){this._columnSelectData=e}revealPrimary(e,t,i,n){var o=this._cursors.getViewPositions();1!e.modelState.equals(n.cursorState[t].modelState))||(a=n?n.cursorState.map(e=>e.modelState.selection):null,l=n?n.modelVersionId:0,e.emitOutgoingEvent(new ji(a,r,l,s.modelVersionId,t||"keyboard",i,o))),!0)}_findAutoClosingPairs(e){if(!e.length)return null;let t=[];for(let o=0,s=e.length;o'"`])([^)\]}>'"`]*)$/);if(!i)return null;var n=i[1];n=this.context.cursorConfig.autoClosingPairs.autoClosingPairsCloseSingleChar.get(n);if(!n||1!==n.length)return null;if(n=n[0].open,i=s.text.length-i[2].length-1,n=s.text.lastIndexOf(n,i-1),-1===n)return null;t.push([n,i])}return t}executeEdits(e,t,i,n){let o=null,s=((o="snippet"===t?this._findAutoClosingPairs(i):o)&&(i[0]._isTracked=!0),[]),r=[];i=this._model.pushEditOperations(this.getSelections(),i,e=>{if(o)for(let n=0,h=o.length;n{"keyboard"===t&&(this._executeEditOperation(gi.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.cursorConfig,this._model,this._selectionsWhenCompositionStarted,this.getSelections(),this.getAutoClosedCharacters())),this._selectionsWhenCompositionStarted=null)},e,t)}type(e,t,i){this._executeEdit(()=>{if("keyboard"===i){var e=t.length;let i=0;for(;i(e=e.getPosition(),new m.a(e.lineNumber,e.column+o,e.lineNumber,e.column+o))),this.setSelections(e,s,r,0)):this._executeEdit(()=>{this._executeEditOperation(gi.a.compositionType(this._prevEditOperationType,this.context.cursorConfig,this._model,this.getSelections(),t,i,n,o))},e,s)}paste(e,t,i,n,o){this._executeEdit(()=>{this._executeEditOperation(gi.a.paste(this.context.cursorConfig,this._model,this.getSelections(),t,i,n||[]))},e,o,4)}cut(e,t){this._executeEdit(()=>{this._executeEditOperation(ui.a.cut(this.context.cursorConfig,this._model,this.getSelections()))},e,t)}executeCommand(e,t,i){this._executeEdit(()=>{this._cursors.killSecondaryCursors(),this._executeEditOperation(new oe.e(0,[t],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}executeCommands(e,t,i){this._executeEdit(()=>{this._executeEditOperation(new oe.e(0,t,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},e,i)}}zi.MAX_CURSOR_COUNT=1e4;class Ui{static executeCommands(e,t,i){const n={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]};e=this._innerExecuteCommands(n,i);for(let o=0,s=n.trackedRanges.length;o{let n=[];for(let t=0;te.identifier.minor-t.identifier.minor;let s=[];for(let r=0;rn[r],getTrackedSelection:t=>{t=parseInt(t,10);var i=e.model._getTrackedRange(e.trackedRanges[t]);return 0===e.trackedRangesDirection[t]?new m.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new m.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):s[r]=e.selectionsBefore[r];return s}),l=(a=a||e.selectionsBefore,[]);for(i in s)s.hasOwnProperty(i)&&l.push(parseInt(i,10));l.sort((e,t)=>t-e);for(const d of l)a.splice(d,1);return a}static _arrayIsEmpty(e){for(let t=0,i=e.length;t{ne.a.isEmpty(e)&&""===s||n.push({identifier:{major:t,minor:o++},range:e,text:s,forceMoveMarkers:r,isAutoWhitespaceEdit:i.insertsAutoWhitespace})};let r=!1;var a={addEditOperation:s,addTrackedEditOperation:(e,t,i)=>{r=!0,s(e,t,i)},trackSelection:(t,i)=>{const n=m.a.liftSelection(t);let o;o=n.isEmpty()?"boolean"==typeof i?i?2:3:(t=e.model.getLineMaxColumn(n.startLineNumber),n.startColumn===t?2:3):1;const s=e.trackedRanges.length;return i=e.model._setTrackedRange(null,n,o),e.trackedRanges[s]=i,e.trackedRangesDirection[s]=n.getDirection(),s.toString()}};try{i.getEditOperations(e.model,a)}catch(a){return Object(d.f)(a),{operations:[],hadTrackedEditOperation:!1}}return{operations:n,hadTrackedEditOperation:r}}static _getLoserCursorMap(e){(e=e.slice(0)).sort((e,t)=>-ne.a.compareRangesUsingEnds(e.range,t.range));let t={};for(let o=1;on.identifier.major?i:n).identifier.major,t[s.toString()]=!0;for(let t=0;t>>1;t===e[s].afterLineNumber?i{t=!0,e|=0,i|=0,n|=0,o|=0;var s=this._instanceId+ ++this._lastWhitespaceId;return this._pendingChanges.insert(new Xi(s,e,i,n,o)),s},changeOneWhitespace:(e,i,n)=>{t=!0,this._pendingChanges.change({id:e,newAfterLineNumber:i|=0,newHeight:n|=0})},removeWhitespace:e=>{t=!0,this._pendingChanges.remove({id:e})}})}finally{this._pendingChanges.commit(this)}return t}_commitPendingChanges(e,t,i){if((0{let t=[];for(const s of e){var i;n.has(s.id)||(o.has(s.id)&&(i=o.get(s.id),s.afterLineNumber=i.newAfterLineNumber,s.height=i.newHeight),t.push(s))}return t};const s=i(this._arr).concat(i(e));s.sort((e,t)=>e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber),this._arr=s,this._prefixSumValidIndex=-1}}_checkPendingChanges(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)}_insertWhitespace(e){var t=Qi.findInsertionIndex(this._arr,e.afterLineNumber,e.ordinal);this._arr.splice(t,0,e),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)}_findWhitespaceIndex(e){var t=this._arr;for(let i=0,n=t.length;i=t.length||t[1+o].afterLineNumber>=e)return o;i=1+o|0}else n=o-1|0}return-1}_findFirstWhitespaceAfterLineNumber(e){return e=this._findLastWhitespaceBeforeLineNumber(e|=0)+1,e=this.getLinesTotalHeight()-this._paddingBottom)}getLineNumberAtOrAfterVerticalOffset(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;var t=0|this._lineCount,i=this._lineHeight;let n=1,o=t;for(;nt?t:n}getLinesViewportData(e,t){this._checkPendingChanges(),t|=0;var i=this._lineHeight,n=0|this.getLineNumberAtOrAfterVerticalOffset(e|=0),o=0|this.getVerticalOffsetForLineNumber(n);let s=0|this._lineCount,r=0|this.getFirstWhitespaceIndexAfterLineNumber(n);var a=0|this.getWhitespacesCount();let l,d,h=(l=-1===r?(r=a,d=s+1,0):(d=0|this.getAfterLineNumberForWhitespaceIndex(r),0|this.getHeightForWhitespaceIndex(r)),o),c=h,u=0;5e5<=o&&(u=5e5*Math.floor(o/5e5),u=Math.floor(u/i)*i,c-=u);const g=[];var p,m,f=e+(t-e)/2;let _=-1;for(let w=n;w<=s;w++){for(-1===_&&(m=(p=h)+i,(p<=f&&f=a?d=s+1:(d=0|this.getAfterLineNumberForWhitespaceIndex(r),l=0|this.getHeightForWhitespaceIndex(r));if(h>=t){s=w;break}}-1===_&&(_=s);var b=0|this.getVerticalOffsetForLineNumber(s);let v=n,C=s;return v=this.getWhitespacesCount()||e<(e=this.getVerticalOffsetForWhitespaceIndex(i))?null:(t=this.getHeightForWhitespaceIndex(i),{id:this.getIdForWhitespaceIndex(i),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(i),verticalOffset:e,height:t})}getWhitespaceViewportData(e,t){this._checkPendingChanges(),t|=0;e=this.getWhitespaceIndexAtOrAfterVerticallOffset(e|=0);var i=this.getWhitespacesCount()-1;if(e<0)return[];let n=[];for(let r=e;r<=i;r++){var o=this.getVerticalOffsetForWhitespaceIndex(r),s=this.getHeightForWhitespaceIndex(r);if(t<=o)break;n.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:o,height:s})}return n}getWhitespaces(){return this._checkPendingChanges(),this._arr.slice(0)}getWhitespacesCount(){return this._checkPendingChanges(),this._arr.length}getIdForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].id}getAfterLineNumberForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].afterLineNumber}getHeightForWhitespaceIndex(e){return this._checkPendingChanges(),this._arr[e|=0].height}}Qi.INSTANCE_COUNT=0;class Ji{constructor(e,t,i,n){(t|=0)<0&&(t=0),(i|=0)<0&&(i=0),(n|=0)<0&&(n=0),this.width=e=(e|=0)<0?0:e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=i,this.contentHeight=n,this.scrollHeight=Math.max(i,n)}equals(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight}}class en extends c.a{constructor(e,t){super(),this._onDidContentSizeChange=this._register(new h.b),this.onDidContentSizeChange=this._onDidContentSizeChange.event,this._dimensions=new Ji(0,0,0,0),this._scrollable=this._register(new Zi.a(e,t)),this.onDidScroll=this._scrollable.onScroll}getScrollable(){return this._scrollable}setSmoothScrollDuration(e){this._scrollable.setSmoothScrollDuration(e)}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}getScrollDimensions(){return this._dimensions}setScrollDimensions(e){var t,i,n;this._dimensions.equals(e)||(t=this._dimensions,this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight},!0),i=t.contentWidth!==e.contentWidth,n=t.contentHeight!==e.contentHeight,(i||n)&&this._onDidContentSizeChange.fire(new Ri(t.contentWidth,t.contentHeight,e.contentWidth,e.contentHeight)))}getFutureScrollPosition(){return this._scrollable.getFutureScrollPosition()}getCurrentScrollPosition(){return this._scrollable.getCurrentScrollPosition()}setScrollPositionNow(e){this._scrollable.setScrollPositionNow(e)}setScrollPositionSmooth(e){this._scrollable.setScrollPositionSmooth(e)}}class tn extends c.a{constructor(e,t,i){super(),this._configuration=e;const n=this._configuration.options;e=n.get(130);var o=n.get(74);this._linesLayout=new Qi(t,n.get(58),o.top,o.bottom),this._scrollable=this._register(new en(0,i)),this._configureSmoothScrollDuration(),this._scrollable.setScrollDimensions(new Ji(e.contentWidth,0,e.height,0)),this.onDidScroll=this._scrollable.onDidScroll,this.onDidContentSizeChange=this._scrollable.onDidContentSizeChange,this._updateHeight()}dispose(){super.dispose()}getScrollable(){return this._scrollable.getScrollable()}onHeightMaybeChanged(){this._updateHeight()}_configureSmoothScrollDuration(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(103)?125:0)}onConfigurationChanged(e){const t=this._configuration.options;var i,n,o,s;e.hasChanged(58)&&this._linesLayout.setLineHeight(t.get(58)),e.hasChanged(74)&&(n=t.get(74),this._linesLayout.setPadding(n.top,n.bottom)),e.hasChanged(130)?(i=(n=t.get(130)).contentWidth,n=n.height,s=(o=this._scrollable.getScrollDimensions()).contentWidth,this._scrollable.setScrollDimensions(new Ji(i,o.contentWidth,n,this._getContentHeight(i,n,s)))):this._updateHeight(),e.hasChanged(103)&&this._configureSmoothScrollDuration()}onFlushed(e){this._linesLayout.onFlushed(e)}onLinesDeleted(e,t){this._linesLayout.onLinesDeleted(e,t)}onLinesInserted(e,t){this._linesLayout.onLinesInserted(e,t)}_getHorizontalScrollbarHeight(e,t){const i=this._configuration.options;var n=i.get(92);return 2===n.horizontal||t<=e?0:n.horizontalScrollbarSize}_getContentHeight(e,t,i){const n=this._configuration.options;let o=this._linesLayout.getLinesTotalHeight();return n.get(94)?o+=Math.max(0,t-n.get(58)-n.get(74).bottom):o+=this._getHorizontalScrollbarHeight(e,i),o}_updateHeight(){var e=this._scrollable.getScrollDimensions(),t=e.width,i=e.height,n=e.contentWidth;this._scrollable.setScrollDimensions(new Ji(t,e.contentWidth,i,this._getContentHeight(t,i,n)))}getCurrentViewport(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new yt.h(t.scrollTop,t.scrollLeft,e.width,e.height)}getFutureViewport(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new yt.h(t.scrollTop,t.scrollLeft,e.width,e.height)}_computeContentWidth(e){const t=this._configuration.options;var i,n=t.get(131),o=t.get(42);return n.isViewportWrapping?(n=t.get(130),i=t.get(64),e>n.contentWidth+o.typicalHalfwidthCharacterWidth&&i.enabled&&"right"===i.side?e+n.verticalScrollbarWidth:e):(i=t.get(93)*o.typicalHalfwidthCharacterWidth,n=this._linesLayout.getWhitespaceMinWidth(),Math.max(e+i,n))}setMaxLineWidth(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Ji(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()}saveState(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,i=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(i),scrollLeft:e.scrollLeft}}changeWhitespace(e){return e=this._linesLayout.changeWhitespace(e),e&&this.onHeightMaybeChanged(),e}getVerticalOffsetForLineNumber(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)}isAfterLines(e){return this._linesLayout.isAfterLines(e)}isInTopPadding(e){return this._linesLayout.isInTopPadding(e)}isInBottomPadding(e){return this._linesLayout.isInBottomPadding(e)}getLineNumberAtVerticalOffset(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)}getWhitespaceAtVerticalOffset(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)}getLinesViewportData(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)}getLinesViewportDataAtScrollTop(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),this._linesLayout.getLinesViewportData(e=e<0?0:e,e+t.height)}getWhitespaceViewportData(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)}getWhitespaces(){return this._linesLayout.getWhitespaces()}getContentWidth(){return this._scrollable.getScrollDimensions().contentWidth}getScrollWidth(){return this._scrollable.getScrollDimensions().scrollWidth}getContentHeight(){return this._scrollable.getScrollDimensions().contentHeight}getScrollHeight(){return this._scrollable.getScrollDimensions().scrollHeight}getCurrentScrollLeft(){return this._scrollable.getCurrentScrollPosition().scrollLeft}getCurrentScrollTop(){return this._scrollable.getCurrentScrollPosition().scrollTop}validateScrollPosition(e){return this._scrollable.validateScrollPosition(e)}setScrollPosition(e,t){1===t?this._scrollable.setScrollPositionNow(e):this._scrollable.setScrollPositionSmooth(e)}deltaScrollNow(e,t){var i=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:i.scrollLeft+e,scrollTop:i.scrollTop+t})}}var nn=i("e1b5"),on=i("b57f"),sn=i("2de5");class rn{constructor(e){this._lines=e}convertViewPositionToModelPosition(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)}convertViewRangeToModelRange(e){return this._lines.convertViewRangeToModelRange(e)}validateViewPosition(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)}validateViewRange(e,t){return this._lines.validateViewRange(e,t)}convertModelPositionToViewPosition(e,t){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column,t)}convertModelRangeToViewRange(e,t){return this._lines.convertModelRangeToViewRange(e,t)}modelPositionIsVisible(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)}getModelLineViewLineCount(e){return this._lines.getModelLineViewLineCount(e)}}class an{constructor(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let i=this._validEndIndex+1,n=this._counts.length;ie.lineNumber===m+1);o.addRequest(i[m],r,t?t[m]:null)}var a=o.finalize();let l=[];var d=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(ne.a.compareRangesUsingStarts);let h=1,c=0,u=-1,g=u+1=h&&p<=c);let e=pn(a[m],!p);l[m]=e.getViewLineCount(),this.lines[m]=e}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new an(l)}getHiddenAreas(){return this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e))}_reduceRanges(e){if(0===e.length)return[];var t=e.map(e=>this.model.validateRange(e)).sort(ne.a.compareRangesUsingStarts);let i=[],n=t[0].startLineNumber,o=t[0].endLineNumber;for(let r=1,a=t.length;ro+1?(i.push(new ne.a(n,1,o,1)),n=s.startLineNumber,o=s.endLineNumber):s.endLineNumber>o&&(o=s.endLineNumber)}return i.push(new ne.a(n,1,o,1)),i}setHiddenAreas(e){let t=this._reduceRanges(e);var i=this.hiddenAreasIds.map(e=>this.model.getDecorationRange(e)).sort(ne.a.compareRangesUsingStarts);if(t.length===i.length){let e=!1;for(let n=0;n=s&&h<=r?this.lines[c].isVisible()&&(this.lines[c]=this.lines[c].setVisible(!1),e=!0):(d=!0,this.lines[c].isVisible()||(this.lines[c]=this.lines[c].setVisible(!0),e=!0)),e&&(h=this.lines[c].getViewLineCount(),this.prefixSumComputer.changeValue(c,h))}return d||this.setHiddenAreas([]),!0}modelPositionIsVisible(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()}getModelLineViewLineCount(e){return e<1||e>this.lines.length?1:this.lines[e-1].getViewLineCount()}setTabSize(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)}setWrappingSettings(e,t,i,n){var o=this.fontInfo.equals(e),s=this.wrappingStrategy===t,r=this.wrappingColumn===i,a=this.wrappingIndent===n;if(o&&s&&r&&a)return!1;o=o&&s&&!r&&a,this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=i,this.wrappingIndent=n;let l=null;if(o){l=[];for(let e=0,t=this.lines.length;et&&(u=!0,c=t-o+1);var d=l+c;if(n.getViewLinesData(this.model,h+1,l,d,o-e,i,a),o+=c,u)break}}return a}validateViewPosition(e,t,i){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),o=n.index;n=n.remainder;let s=this.lines[o];var r=s.getViewLineMinColumn(this.model,o+1,n),a=s.getViewLineMaxColumn(this.model,o+1,n);a<(t=t{var i=ne.a.compareRangesUsingStarts(e.range,t.range);return 0===i?e.idt.id?1:0:i});let h=[],c=0,u=null;for(const p of s){var g=p.id;u!==g&&(u=g,h[c++]=p)}return h}getInjectedTextAt(e){var t=this._toValidViewLineNumber(e.lineNumber),i=(t=this.prefixSumComputer.getIndexOf(t-1),t.index);t=t.remainder;return this.lines[i].getInjectedTextAt(t,e.column)}normalizePosition(e,t){var i=this._toValidViewLineNumber(e.lineNumber),n=(i=this.prefixSumComputer.getIndexOf(i-1),i.index);i=i.remainder;return this.lines[n].normalizePosition(this.model,n+1,i,e,t)}getLineIndentColumn(e){e=this._toValidViewLineNumber(e),e=this.prefixSumComputer.getIndexOf(e-1);var t=e.index;return 0===e.remainder?this.model.getLineIndentColumn(t+1):0}}class dn{constructor(){}isVisible(){return!0}setVisible(e){return e?this:hn.INSTANCE}getLineBreakData(){return null}getViewLineCount(){return 1}getViewLineContent(e,t,i){return e.getLineContent(t)}getViewLineLength(e,t,i){return e.getLineLength(t)}getViewLineMinColumn(e,t,i){return e.getLineMinColumn(t)}getViewLineMaxColumn(e,t,i){return e.getLineMaxColumn(t)}getViewLineData(e,t,i){let n=e.getLineTokens(t);return e=n.getLineContent(),new yt.e(e,!1,1,e.length+1,0,n.inflate(),null)}getViewLinesData(e,t,i,n,o,s,r){s[o]?r[o]=this.getViewLineData(e,t,0):r[o]=null}getModelColumnOfViewPosition(e,t){return t}getViewPositionOfModelPosition(e,t){return new ie.a(e,t)}getViewLineNumberOfModelPosition(e,t){return e}normalizePosition(e,t,i,n,o){return n}getInjectedTextAt(e,t){return null}}dn.INSTANCE=new dn;class hn{constructor(){}isVisible(){return!1}setVisible(e){return e?dn.INSTANCE:this}getLineBreakData(){return null}getViewLineCount(){return 0}getViewLineContent(e,t,i){throw new Error("Not supported")}getViewLineLength(e,t,i){throw new Error("Not supported")}getViewLineMinColumn(e,t,i){throw new Error("Not supported")}getViewLineMaxColumn(e,t,i){throw new Error("Not supported")}getViewLineData(e,t,i){throw new Error("Not supported")}getViewLinesData(e,t,i,n,o,s,r){throw new Error("Not supported")}getModelColumnOfViewPosition(e,t){throw new Error("Not supported")}getViewPositionOfModelPosition(e,t){throw new Error("Not supported")}getViewLineNumberOfModelPosition(e,t){throw new Error("Not supported")}normalizePosition(e,t,i,n,o){throw new Error("Not supported")}getInjectedTextAt(e,t){throw new Error("Not supported")}}hn.INSTANCE=new hn;class cn{constructor(e,t){this._lineBreakData=e,this._isVisible=t}isVisible(){return this._isVisible}setVisible(e){return this._isVisible=e,this}getLineBreakData(){return this._lineBreakData}getViewLineCount(){return this._isVisible?this._lineBreakData.breakOffsets.length:0}getInputStartOffsetOfOutputLineIndex(e){return this._lineBreakData.getInputOffsetOfOutputPosition(e,0)}getInputEndOffsetOfOutputLineIndex(e,t,i){return i+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:this._lineBreakData.getInputOffsetOfOutputPosition(i+1,0)}getViewLineContent(e,t,i){if(!this._isVisible)throw new Error("Not supported");var n,o=0new pi.b(0,0,e+1,this._lineBreakData.injectionOptions[t],0)),pi.b.applyInjectedText(e.getLineContent(t),n).substring(o,s)):e.getValueInRange({startLineNumber:t,startColumn:o+1,endLineNumber:t,endColumn:s+1}),0({offset:e,text:r[t].content,tokenMetadata:nn.a.defaultTokenMetadata})));var h=0=un.length)for(let i=1;i<=e;i++)un[i]=(t=i,new Array(t+1).join(" "));var t;return un[e]}function pn(e,t){return null===e?(t?dn:hn).INSTANCE:new cn(e,t)}class mn{constructor(e){this._lines=e}_validPosition(e){return this._lines.model.validatePosition(e)}_validRange(e){return this._lines.model.validateRange(e)}convertViewPositionToModelPosition(e){return this._validPosition(e)}convertViewRangeToModelRange(e){return this._validRange(e)}validateViewPosition(e,t){return this._validPosition(t)}validateViewRange(e,t){return this._validRange(t)}convertModelPositionToViewPosition(e){return this._validPosition(e)}convertModelRangeToViewRange(e){return this._validRange(e)}modelPositionIsVisible(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)}getModelLineViewLineCount(e){return 1}}class fn{constructor(e){this.model=e}dispose(){}createCoordinatesConverter(){return new mn(this)}getHiddenAreas(){return[]}setHiddenAreas(e){return!1}setTabSize(e){return!1}setWrappingSettings(e,t,i,n){return!1}createLineBreaksComputer(){let e=[];return{addRequest:(t,i,n)=>{e.push(null)},finalize:()=>e}}onModelFlushed(){}onModelLinesDeleted(e,t,i){return new xi(t,i)}onModelLinesInserted(e,t,i,n){return new ki(t,i)}onModelLineChanged(e,t,i){return[!1,new Li(t,t),null,null]}acceptVersionId(e){}getViewLineCount(){return this.model.getLineCount()}getActiveIndentGuide(e,t,i){return{startLineNumber:e,endLineNumber:e,indent:0}}getViewLinesIndentGuides(e,t){var i=t-e+1;let n=new Array(i);for(let o=0;othis.tokenizeViewport(),50)),this._updateConfigurationViewLineCount=this._register(new C.e(()=>this._updateConfigurationViewLineCountNow(),0)),this._hasFocus=!1,this._viewportStartLine=-1,this._viewportStartLineTrackedRange=null,this._viewportStartLineDelta=0,this.model.isTooLargeForTokenization())this._lines=new fn(this.model);else{const i=this._configuration.options;e=i.get(42),t=i.get(124);var r=i.get(131),a=i.get(123);this._lines=new ln(this._editorId,this.model,n,o,e,this.model.getOptions().tabSize,t,r.wrappingColumn,a)}this.coordinatesConverter=this._lines.createCoordinatesConverter(),this._cursor=this._register(new zi(i,this,this.coordinatesConverter,this.cursorConfig)),this.viewLayout=this._register(new tn(this._configuration,this.getLineCount(),s)),this._register(this.viewLayout.onDidScroll(e=>{e.scrollTopChanged&&this._tokenizeViewportSoon.schedule(),this._eventDispatcher.emitSingleViewEvent(new Ni(e)),this._eventDispatcher.emitOutgoingEvent(new Fi(e.oldScrollWidth,e.oldScrollLeft,e.oldScrollHeight,e.oldScrollTop,e.scrollWidth,e.scrollLeft,e.scrollHeight,e.scrollTop))})),this._register(this.viewLayout.onDidContentSizeChange(e=>{this._eventDispatcher.emitOutgoingEvent(e)})),this._decorations=new bn(this._editorId,this.model,this._configuration,this._lines,this.coordinatesConverter),this._registerModelEvents(),this._register(this._configuration.onDidChangeFast(e=>{try{var t=this._eventDispatcher.beginEmitViewEvents();this._onConfigurationChanged(t,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(wt.getInstance().onDidChange(()=>{this._eventDispatcher.emitSingleViewEvent(new Ii)})),this._updateConfigurationViewLineCountNow()}dispose(){super.dispose(),this._decorations.dispose(),this._lines.dispose(),this.invalidateMinimapColorCache(),this._viewportStartLineTrackedRange=this.model._setTrackedRange(this._viewportStartLineTrackedRange,null,1),this._eventDispatcher.dispose()}createLineBreaksComputer(){return this._lines.createLineBreaksComputer()}addViewEventHandler(e){this._eventDispatcher.addViewEventHandler(e)}removeViewEventHandler(e){this._eventDispatcher.removeViewEventHandler(e)}_updateConfigurationViewLineCountNow(){this._configuration.setViewLineCount(this._lines.getViewLineCount())}tokenizeViewport(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e.startLineNumber,1));e=this.coordinatesConverter.convertViewPositionToModelPosition(new ie.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,e.lineNumber)}setHasFocus(e){this._hasFocus=e,this._cursor.setHasFocus(e),this._eventDispatcher.emitSingleViewEvent(new wi(e)),this._eventDispatcher.emitOutgoingEvent(new Pi(!e,e))}onCompositionStart(){this._eventDispatcher.emitSingleViewEvent(new mi)}onCompositionEnd(){this._eventDispatcher.emitSingleViewEvent(new fi)}onDidColorThemeChange(){this._eventDispatcher.emitSingleViewEvent(new Oi)}_onConfigurationChanged(e,t){let i=null;-1!==this._viewportStartLine&&(s=new ie.a(this._viewportStartLine,this.getLineMinColumn(this._viewportStartLine)),i=this.coordinatesConverter.convertViewPositionToModelPosition(s));let n=!1;const o=this._configuration.options;var s=o.get(42),r=o.get(124),a=o.get(131),l=o.get(123);this._lines.setWrappingSettings(s,r,a.wrappingColumn,l)&&(e.emitViewEvent(new Ci),e.emitViewEvent(new Si),e.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(n=!0),this._updateConfigurationViewLineCount.schedule()),t.hasChanged(80)&&(this._decorations.reset(),e.emitViewEvent(new vi(null))),e.emitViewEvent(new _i(t)),this.viewLayout.onConfigurationChanged(t),n&&i&&(s=this.coordinatesConverter.convertModelPositionToViewPosition(i),r=this.viewLayout.getVerticalOffsetForLineNumber(s.lineNumber),this.viewLayout.setScrollPosition({scrollTop:r+this._viewportStartLineDelta},1)),oe.b.shouldRecreate(t)&&(this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig))}_registerModelEvents(){this._register(this.model.onDidChangeContentOrInjectedText(e=>{try{const u=this._eventDispatcher.beginEmitViewEvents();let g=!1,p=!1;var t=e.changes,i=e instanceof pi.d?e.versionId:null;const m=this._lines.createLineBreaksComputer();for(const e of t)switch(e.changeType){case 4:for(let t=0;t!e.ownerId||e.ownerId===this._editorId),m.addRequest(n,i,null)}break;case 2:{let t=null;e.injectedText&&(t=e.injectedText.filter(e=>!e.ownerId||e.ownerId===this._editorId)),m.addRequest(e.detail,t,null);break}}const f=m.finalize();let _=0;for(const e of t)switch(e.changeType){case 1:this._lines.onModelFlushed(),u.emitViewEvent(new Ci),this._decorations.reset(),this.viewLayout.onFlushed(this.getLineCount()),g=!0;break;case 3:var o=this._lines.onModelLinesDeleted(i,e.fromLineNumber,e.toLineNumber);null!==o&&(u.emitViewEvent(o),this.viewLayout.onLinesDeleted(o.fromLineNumber,o.toLineNumber)),g=!0;break;case 4:var s=f.slice(_,_+e.detail.length),r=(_+=e.detail.length,this._lines.onModelLinesInserted(i,e.fromLineNumber,e.toLineNumber,s));null!==r&&(u.emitViewEvent(r),this.viewLayout.onLinesInserted(r.fromLineNumber,r.toLineNumber)),g=!0;break;case 2:var a=f[_],[l,d,h,c]=(_++,this._lines.onModelLineChanged(i,e.lineNumber,a));p=l,d&&u.emitViewEvent(d),h&&(u.emitViewEvent(h),this.viewLayout.onLinesInserted(h.fromLineNumber,h.toLineNumber)),c&&(u.emitViewEvent(c),this.viewLayout.onLinesDeleted(c.fromLineNumber,c.toLineNumber))}null!==i&&this._lines.acceptVersionId(i),this.viewLayout.onHeightMaybeChanged(),!g&&p&&(u.emitViewEvent(new Si),u.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(u),this._decorations.onLineMappingChanged())}finally{this._eventDispatcher.endEmitViewEvents()}if(this._viewportStartLine=-1,this._configuration.setMaxLineNumber(this.model.getLineCount()),this._updateConfigurationViewLineCountNow(),!this._hasFocus&&2<=this.model.getAttachedEditorCount()&&this._viewportStartLineTrackedRange){const e=this.model._getTrackedRange(this._viewportStartLineTrackedRange);e&&(t=this.coordinatesConverter.convertModelPositionToViewPosition(e.getStartPosition()),t=this.viewLayout.getVerticalOffsetForLineNumber(t.lineNumber),this.viewLayout.setScrollPosition({scrollTop:t+this._viewportStartLineDelta},1))}try{var u=this._eventDispatcher.beginEmitViewEvents();this._cursor.onModelContentChanged(u,e)}finally{this._eventDispatcher.endEmitViewEvents()}})),this._register(this.model.onDidChangeTokens(e=>{let t=[];for(let o=0,s=e.ranges.length;o{this._eventDispatcher.emitSingleViewEvent(new yi),this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeLanguage(e=>{this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeOptions(e=>{if(this._lines.setTabSize(this.model.getOptions().tabSize)){try{const e=this._eventDispatcher.beginEmitViewEvents();e.emitViewEvent(new Ci),e.emitViewEvent(new Si),e.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(e),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}this.cursorConfig=new oe.b(this.model.getLanguageIdentifier(),this.model.getOptions(),this._configuration),this._cursor.updateConfiguration(this.cursorConfig)})),this._register(this.model.onDidChangeDecorations(e=>{this._decorations.onModelDecorationsChanged(),this._eventDispatcher.emitSingleViewEvent(new vi(e))}))}setHiddenAreas(e){try{const t=this._eventDispatcher.beginEmitViewEvents();this._lines.setHiddenAreas(e)&&(t.emitViewEvent(new Ci),t.emitViewEvent(new Si),t.emitViewEvent(new vi(null)),this._cursor.onLineMappingChanged(t),this._decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._eventDispatcher.endEmitViewEvents()}this._updateConfigurationViewLineCount.schedule()}getVisibleRangesPlusViewportAboveBelow(){var e=this._configuration.options.get(130),t=this._configuration.options.get(58),i=(e=Math.max(20,Math.round(e.height/t)),t=this.viewLayout.getLinesViewportData(),Math.max(1,t.completelyVisibleStartLineNumber-e));t=Math.min(this.getLineCount(),t.completelyVisibleEndLineNumber+e);return this._toModelVisibleRanges(new ne.a(i,this.getLineMinColumn(i),t,this.getLineMaxColumn(t)))}getVisibleRanges(){var e=this.getCompletelyVisibleViewRange();return this._toModelVisibleRanges(e)}_toModelVisibleRanges(e){e=this.coordinatesConverter.convertViewRangeToModelRange(e);var t=this._lines.getHiddenAreas();if(0===t.length)return[e];let i=[],n=0,o=e.startLineNumber,s=e.startColumn;var r=e.endLineNumber;e=e.endColumn;for(let d=0,h=t.length;de.toInlineDecoration(t))]),new yt.f(s.minColumn,s.maxColumn,s.content,s.continuesWithWrappedLine,i,n,s.tokens,r,o,s.startVisibleColumn)}getViewLineData(e){return this._lines.getViewLineData(e)}getMinimapLinesRenderingData(e,t,i){return e=this._lines.getViewLinesData(e,t,i),new yt.c(this.getTabSize(),e)}getAllOverviewRulerDecorations(e){return this._lines.getAllOverviewRulerDecorations(this._editorId,Object(z.m)(this._configuration.options),e)}invalidateOverviewRulerColorCache(){for(const e of this.model.getOverviewRulerDecorations()){const t=e.options.overviewRuler;t&&t.invalidateCachedColor()}}invalidateMinimapColorCache(){for(const e of this.model.getAllDecorations()){const t=e.options.minimap;t&&t.invalidateCachedColor()}}getValueInRange(e,t){return e=this.coordinatesConverter.convertViewRangeToModelRange(e),this.model.getValueInRange(e,t)}getModelLineMaxColumn(e){return this.model.getLineMaxColumn(e)}validateModelPosition(e){return this.model.validatePosition(e)}validateModelRange(e){return this.model.validateRange(e)}deduceModelPositionRelativeToViewPosition(e,t,i){return e=this.coordinatesConverter.convertViewPositionToModelPosition(e),2===this.model.getEOL().length&&(t<0?t-=i:t+=i),i=this.model.getOffsetAt(e),this.model.getPositionAt(i+t)}getEOL(){return this.model.getEOL()}getPlainTextToCopy(e,t,i){var n=i?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(ne.a.compareRangesUsingStarts);let o=!1,s=!1;for(const d of e)d.isEmpty()?o=!0:s=!0;if(!s){if(!t)return"";var r=e.map(e=>e.startLineNumber);let i="";for(let e=0;e]/.test(t.fontFamily)||t.fontFamily===z.c.fontFamily;let s;return s=o?z.c.fontFamily:(s=(s=t.fontFamily).replace(/"/g,"'"),/[,']/.test(s)||/[+ ]/.test(s)&&(s=`'${s}'`),s+", "+z.c.fontFamily),{mode:i.language,html:`
    `+this._getHTMLToCopy(n,e)+"
    "}}_getHTMLToCopy(e,t){var i=e.startLineNumber,n=e.startColumn,o=e.endLineNumber,s=e.endColumn,r=this.getTabSize();let a="";for(let c=i;c<=o;c++){const e=this.model.getLineTokens(c);var l=e.getLineContent(),d=c===i?n-1:0,h=c===o?s-1:l.length;a+=""===l?"
    ":Object(Gi.a)(l,e.inflate(),t,d,h,r,_.i)}return a}_getColorMap(){var e=Ct.F.getColorMap();let t=["#000000"];if(e)for(let i=1,n=e.length;ithis._cursor.setStates(n,e,t,i))}getCursorColumnSelectData(){return this._cursor.getCursorColumnSelectData()}getCursorAutoClosedCharacters(){return this._cursor.getAutoClosedCharacters()}setCursorColumnSelectData(e){this._cursor.setCursorColumnSelectData(e)}getPrevEditOperationType(){return this._cursor.getPrevEditOperationType()}setPrevEditOperationType(e){this._cursor.setPrevEditOperationType(e)}getSelection(){return this._cursor.getSelection()}getSelections(){return this._cursor.getSelections()}getPosition(){return this._cursor.getPrimaryCursorState().modelState.position}setSelections(e,t,i=0){this._withViewEventsCollector(n=>this._cursor.setSelections(n,e,t,i))}saveCursorState(){return this._cursor.saveState()}restoreCursorState(e){this._withViewEventsCollector(t=>this._cursor.restoreState(t,e))}_executeCursorEdit(e){this._cursor.context.cursorConfig.readOnly?this._eventDispatcher.emitOutgoingEvent(new Wi):this._withViewEventsCollector(e)}executeEdits(e,t,i){this._executeCursorEdit(n=>this._cursor.executeEdits(n,e,t,i))}startComposition(){this._cursor.setIsDoingComposition(!0),this._executeCursorEdit(e=>this._cursor.startComposition(e))}endComposition(e){this._cursor.setIsDoingComposition(!1),this._executeCursorEdit(t=>this._cursor.endComposition(t,e))}type(e,t){this._executeCursorEdit(i=>this._cursor.type(i,e,t))}compositionType(e,t,i,n,o){this._executeCursorEdit(s=>this._cursor.compositionType(s,e,t,i,n,o))}paste(e,t,i,n){this._executeCursorEdit(o=>this._cursor.paste(o,e,t,i,n))}cut(e){this._executeCursorEdit(t=>this._cursor.cut(t,e))}executeCommand(e,t){this._executeCursorEdit(i=>this._cursor.executeCommand(i,e,t))}executeCommands(e,t){this._executeCursorEdit(i=>this._cursor.executeCommands(i,e,t))}revealPrimaryCursor(e,t){this._withViewEventsCollector(i=>this._cursor.revealPrimary(i,e,t,0))}revealTopMostCursor(e){var t=this._cursor.getTopMostViewPosition();const i=new ne.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new Di(e,i,null,0,!0,0)))}revealBottomMostCursor(e){var t=this._cursor.getBottomMostViewPosition();const i=new ne.a(t.lineNumber,t.column,t.lineNumber,t.column);this._withViewEventsCollector(t=>t.emitViewEvent(new Di(e,i,null,0,!0,0)))}revealRange(e,t,i,n,o){this._withViewEventsCollector(s=>s.emitViewEvent(new Di(e,i,null,n,t,o)))}getVerticalOffsetForLineNumber(e){return this.viewLayout.getVerticalOffsetForLineNumber(e)}getScrollTop(){return this.viewLayout.getCurrentScrollTop()}setScrollTop(e,t){this.viewLayout.setScrollPosition({scrollTop:e},t)}setScrollPosition(e,t){this.viewLayout.setScrollPosition(e,t)}deltaScrollNow(e,t){this.viewLayout.deltaScrollNow(e,t)}changeWhitespace(e){this.viewLayout.changeWhitespace(e)&&(this._eventDispatcher.emitSingleViewEvent(new Mi),this._eventDispatcher.emitOutgoingEvent(new Bi))}setMaxLineWidth(e){this.viewLayout.setMaxLineWidth(e)}_withViewEventsCollector(e){try{e(this._eventDispatcher.beginEmitViewEvents())}finally{this._eventDispatcher.endEmitViewEvents()}}normalizePosition(e,t){return this._lines.normalizePosition(e,t)}getLineIndentColumn(e){return this._lines.getLineIndentColumn(e)}}t=i("9e74");var Cn=i("4fc3"),wn=(s=i("0a0f"),i("f07b")),yn=i("b0cd"),Sn=i("4779"),Ln=i("ef8e9");class xn extends i("3170").a{constructor(e,t){super(0);for(let i=0;i{o.push(e),s.push(t),r.push(i)},finalize:()=>{var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth;let l=[];for(let e=0,c=o.length;ee.options),i.map(e=>e.column-1)):(l=null,null),-1===o)return l?new yt.b([a.length],[],0,d,l):null;var h=a.length;if(h<=1)return l?new yt.b([a.length],[],0,d,l):null;t=Mn(a,n,o,s,r);var c=o-t;let u=[],g=[],p=0,m=0,f=0,_=o,b=a.charCodeAt(0),v=e.get(b),C=On(b,0,n,s),w=1;De.E(b)&&(C+=1,b=a.charCodeAt(1),v=e.get(b),w++);for(let L=w;L_&&((0===m||C-f>c)&&(m=y,f=C-i),u[p]=m,g[p]=f,p++,_=f+c,m=0),b=S,v=t}return 0!==p||i&&0!==i.length?(u[p]=h,g[p]=C,new yt.b(u,g,t,d,l)):null}(this.classifier,o[e],d,t,i,a,n):l[e]=function(e,t,i,n,o,s,r){if(-1===o)return null;var a=i.length;if(a<=1)return null;var l=t.breakOffsets,d=t.breakOffsetsVisibleColumn,h=(r=Mn(i,n,o,s,r),o-r);let c=kn,u=Dn,g=0,p=0,m=0,f=o;var _=l.length;let b=0;if(0<=b){let e=Math.abs(d[b]-f);for(;b+1<_;){var v=Math.abs(d[b+1]-f);if(v>=e)break;e=v,b++}}for(;b<_;){let t=b<0?0:l[b],o=b<0?0:d[b],r=(p>t&&(t=p,o=m),0),v=0,D=0,N=0;if(o<=f){let m=o,_=0===t?0:i.charCodeAt(t-1),b=0===t?0:e.get(_),y=!0;for(let o=t;op&&In(_,b,w,t)&&(r=C,v=m),(m+=a)>f){N=C>p?(D=C,m-a):(D=o+1,m),m-v>h&&(r=0),y=!1;break}_=w,b=t}if(y){0=p;n--){var y=n+1,S=i.charCodeAt(n);if(9===S){c=!0;break}let t,o;if(o=De.F(S)?(n--,t=0,2):(t=e.get(S),De.D(S)?s:1),a<=f){if(0===D&&(D=y,N=a),a<=f-h)break;if(In(0,t,l,d)){r=y,v=a;break}}a-=o,l=S,d=t}if(0!==r){var L=h-(N-v);if(L<=n){var x=i.charCodeAt(D);let e;e=De.E(x)?2:On(x,N,n,s),L-e<0&&(r=0)}}if(c){b--;continue}}for(0===r&&(r=D,v=N),r<=p&&(x=i.charCodeAt(p),v=De.E(x)?(r=p+2,m+2):(r=p+1,m+On(x,m,n,s))),p=r,c[g]=r,m=v,u[g]=v,g++,f=v+h;b<0||b<_&&d[b]=O)break;O=k,b++}}return 0!==g?(c.length=g,u.length=g,kn=t.breakOffsets,Dn=t.breakOffsetsVisibleColumn,t.breakOffsets=c,t.breakOffsetsVisibleColumn=u,t.wrappedTextIndentLength=r,t):null}(this.classifier,h,o[e],t,i,a,n)}return kn.length=0,Dn.length=0,l}}}}function On(e,t,i,n){return 9===e?i-t%i:De.D(e)||e<32?n:1}function En(e,t){return t-e%t}function In(e,t,i,n){return 32!==i&&(2===t||3===t&&2!==n||1===n||3===n&&1!==t)}function Mn(e,t,i,n,o){let s=0;if(0!==o){var r=De.u(e);if(-1!==r){for(let i=0;ii&&(s=0)}}return s}const Tn=null==(Fn=window.trustedTypes)?void 0:Fn.createPolicy("domLineBreaksComputer",{createHTML:e=>e});class An{static create(){return new An}constructor(){}createLineBreaksComputer(e,t,i,n){t|=0,i=+i;let o=[],s=[];return{addRequest:(e,t,i)=>{o.push(e),s.push(t)},finalize:()=>{{var r=o,a=e,l=t,d=i,h=n,c=s;function u(e){const t=c[e];var i,n;return t?(e=pi.b.applyInjectedText(r[e],t),i=t.map(e=>e.options),n=t.map(e=>e.column-1),new yt.b([e.length],[],0,n,i)):null}if(-1===d){const e=[];for(let t=0,i=r.length;tp?(i=0,n=0):o=p-f}f=t.substr(i);var _=function(e,t,i,n,o){o.appendASCIIString('
    ');var s=e.length;let r=t,a=0,l=[],d=[],h=0");for(let u=0;u"),l[u]=a,d[u]=r;var c=h;h=u+1"),l[e.length]=a,d[e.length]=r,o.appendASCIIString("
    "),[l,d]}(f,n,l,o,x);k[e]=i,D[e]=n,N[e]=f,O[e]=_[0],E[e]=_[1]}d=x.build();var b=null!=(b=null===Tn||void 0===Tn?void 0:Tn.createHTML(d))?b:d,v=(L.innerHTML=b,L.style.position="absolute",L.style.top="10000",L.style.wordWrap="break-word",document.body.appendChild(L),document.createRange()),C=Array.prototype.slice.call(L.children,0);let I=[];for(let e=0;ee.options),s.map(e=>e.column-1)):n=null,I[e]=new yt.b(t,i,w,o,n)}}return document.body.removeChild(L),I}}}}}function Rn(e,t,i,n){return e.setStart(t[i/16384|0].firstChild,i%16384),e.setEnd(t[n/16384|0].firstChild,n%16384),e.getClientRects()}var Pn=i("d48d"),Fn=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{this._onDidChangeConfiguration.fire(e);const t=this._configuration.options;e.hasChanged(130)&&(e=t.get(130),this._onDidLayoutChange.fire(e))})),this._contextKeyService=this._register(a.createScoped(this._domElement)),this._notificationService=c,this._codeEditorService=s,this._commandService=r,this._themeService=l,this._register(new Hn(this,this._contextKeyService)),this._register(new zn(this,this._contextKeyService)),this._instantiationService=o.createChild(new wn.a([Cn.b,this._contextKeyService])),this._modelData=null,this._contributions={},this._actions={},this._focusTracker=new Un(e),this._register(this._focusTracker.onChange(()=>{this._editorWidgetFocus.setValue(this._focusTracker.hasFocus())})),this._contentWidgets={},this._overlayWidgets={};for(const h of p=Array.isArray(i.contributions)?i.contributions:n.d.getEditorContributions())if(this._contributions[h.id])Object(d.f)(new Error("Cannot have two contributions with the same id "+h.id));else try{var m=this._instantiationService.createInstance(h.ctor,this);this._contributions[h.id]=m}catch(e){Object(d.f)(e)}n.d.getEditorActions().forEach(e=>{var t;this._actions[e.id]?Object(d.f)(new Error("Cannot have two actions with the same id "+e.id)):(t=new Ki.a(e.id,e.label,e.alias,Object(Ln.o)(e.precondition),()=>this._instantiationService.invokeFunction(t=>Promise.resolve(e.runEditorCommand(t,this,null))),this._contextKeyService),this._actions[t.id]=t)}),this._codeEditorService.addCodeEditor(this)}_createConfiguration(e,t){return new g.a(this.isSimpleWidget,e,this._domElement,t)}getId(){return this.getEditorType()+":"+this._id}getEditorType(){return qi.a.ICodeEditor}dispose(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();var e=Object.keys(this._contributions);for(let i=0,n=e.length;ine.a.lift(e)))}getVisibleColumnFromPosition(e){var t,i;return this._modelData?(t=this._modelData.model.validatePosition(e),i=this._modelData.model.getOptions().tabSize,oe.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,i)+1):e.column}getPosition(){return this._modelData?this._modelData.viewModel.getPosition():null}setPosition(e){if(this._modelData){if(!ie.a.isIPosition(e))throw new Error("Invalid arguments");this._modelData.viewModel.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}}_sendRevealRange(e,t,i,n){if(this._modelData){if(!ne.a.isIRange(e))throw new Error("Invalid arguments");e=this._modelData.model.validateRange(e),e=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(e),this._modelData.viewModel.revealRange("api",i,e,t,n)}}revealLine(e,t=0){this._revealLine(e,0,t)}revealLineInCenter(e,t=0){this._revealLine(e,1,t)}revealLineInCenterIfOutsideViewport(e,t=0){this._revealLine(e,2,t)}revealLineNearTop(e,t=0){this._revealLine(e,5,t)}_revealLine(e,t,i){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e,1,e,1),t,!1,i)}revealPosition(e,t=0){this._revealPosition(e,0,!0,t)}revealPositionInCenter(e,t=0){this._revealPosition(e,1,!0,t)}revealPositionInCenterIfOutsideViewport(e,t=0){this._revealPosition(e,2,!0,t)}revealPositionNearTop(e,t=0){this._revealPosition(e,5,!0,t)}_revealPosition(e,t,i,n){if(!ie.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e.lineNumber,e.column,e.lineNumber,e.column),t,i,n)}getSelection(){return this._modelData?this._modelData.viewModel.getSelection():null}getSelections(){return this._modelData?this._modelData.viewModel.getSelections():null}setSelection(e){var t=m.a.isISelection(e),i=ne.a.isIRange(e);if(!t&&!i)throw new Error("Invalid arguments");t?this._setSelectionImpl(e):i&&(t={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn},this._setSelectionImpl(t))}_setSelectionImpl(e){this._modelData&&(e=new m.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn),this._modelData.viewModel.setSelections("api",[e]))}revealLines(e,t,i=0){this._revealLines(e,t,0,i)}revealLinesInCenter(e,t,i=0){this._revealLines(e,t,1,i)}revealLinesInCenterIfOutsideViewport(e,t,i=0){this._revealLines(e,t,2,i)}revealLinesNearTop(e,t,i=0){this._revealLines(e,t,5,i)}_revealLines(e,t,i,n){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new ne.a(e,1,t,1),i,!1,n)}revealRange(e,t=0,i=!1,n=!0){this._revealRange(e,i?1:0,n,t)}revealRangeInCenter(e,t=0){this._revealRange(e,1,!0,t)}revealRangeInCenterIfOutsideViewport(e,t=0){this._revealRange(e,2,!0,t)}revealRangeNearTop(e,t=0){this._revealRange(e,5,!0,t)}revealRangeNearTopIfOutsideViewport(e,t=0){this._revealRange(e,6,!0,t)}revealRangeAtTop(e,t=0){this._revealRange(e,3,!0,t)}_revealRange(e,t,i,n){if(!ne.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(ne.a.lift(e),t,i,n)}setSelections(e,t="api",i=0){if(this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(let t=0,i=e.length;te.isSupported())}getAction(e){return this._actions[e]||null}trigger(e,t,i){switch(i=i||{},t){case"compositionStart":return void this._startComposition();case"compositionEnd":return void this._endComposition(e);case"type":var n=i;return void this._type(e,n.text||"");case"replacePreviousChar":return n=i,void this._compositionType(e,n.text||"",n.replaceCharCnt||0,0,0);case"compositionType":return n=i,void this._compositionType(e,n.text||"",n.replacePrevCharCnt||0,n.replaceNextCharCnt||0,n.positionDelta||0);case"paste":return n=i,void this._paste(e,n.text||"",n.pasteOnNewLine||!1,n.multicursorText||null,n.mode||null);case"cut":return void this._cut(e)}const o=this.getAction(t);o?Promise.resolve(o.run()).then(void 0,d.f):this._modelData&&!this._triggerEditorCommand(e,t,i)&&this._triggerCommand(t,i)}_triggerCommand(e,t){this._commandService.executeCommand(e,t)}_startComposition(){this._modelData&&(this._modelData.viewModel.startComposition(),this._onDidCompositionStart.fire())}_endComposition(e){this._modelData&&(this._modelData.viewModel.endComposition(e),this._onDidCompositionEnd.fire())}_type(e,t){this._modelData&&0!==t.length&&("keyboard"===e&&this._onWillType.fire(t),this._modelData.viewModel.type(t,e),"keyboard"===e&&this._onDidType.fire(t))}_compositionType(e,t,i,n,o){this._modelData&&this._modelData.viewModel.compositionType(t,i,n,o,e)}_paste(e,t,i,n,o){var s;this._modelData&&0!==t.length&&(s=this._modelData.viewModel.getSelection().getStartPosition(),this._modelData.viewModel.paste(t,i,n,e),t=this._modelData.viewModel.getSelection().getStartPosition(),"keyboard"===e&&this._onDidPaste.fire({range:new ne.a(s.lineNumber,s.column,t.lineNumber,t.column),mode:o}))}_cut(e){this._modelData&&this._modelData.viewModel.cut(e)}_triggerEditorCommand(e,t,i){const o=n.d.getEditorCommand(t);return!!o&&((i=i||{}).source=e,this._instantiationService.invokeFunction(e=>{Promise.resolve(o.runEditorCommand(e,this,i)).then(void 0,d.f)}),!0)}_getViewModel(){return this._modelData?this._modelData.viewModel:null}pushUndoStop(){return!!this._modelData&&!this._configuration.options.get(80)&&(this._modelData.model.pushStackElement(),!0)}popUndoStop(){return!!this._modelData&&!this._configuration.options.get(80)&&(this._modelData.model.popStackElement(),!0)}executeEdits(e,t,i){if(!this._modelData)return!1;if(this._configuration.options.get(80))return!1;let n;return n=i?Array.isArray(i)?()=>i:i:()=>null,this._modelData.viewModel.executeEdits(e,t,n),!0}executeCommand(e,t){this._modelData&&this._modelData.viewModel.executeCommand(t,e)}executeCommands(e,t){this._modelData&&this._modelData.viewModel.executeCommands(t,e)}changeDecorations(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null}getLineDecorations(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(z.m)(this._configuration.options)):null}deltaDecorations(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]}removeDecorations(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]}getLayoutInfo(){const e=this._configuration.options;return e.get(130)}createOverviewRuler(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null}getContainerDomNode(){return this._domElement}getDomNode(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null}delegateVerticalScrollbarMouseDown(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)}layout(e){this._configuration.observeReferenceElement(e),this.render()}focus(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()}hasTextFocus(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()}hasWidgetFocus(){return this._focusTracker&&this._focusTracker.hasFocus()}addContentWidget(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId()),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)}layoutContentWidget(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){const i=this._contentWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(i)}}removeContentWidget(e){var t;e=e.getId();this._contentWidgets.hasOwnProperty(e)&&(t=this._contentWidgets[e],delete this._contentWidgets[e],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(t))}addOverlayWidget(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId()),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)}layoutOverlayWidget(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){const i=this._overlayWidgets[t];i.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(i)}}removeOverlayWidget(e){var t;e=e.getId();this._overlayWidgets.hasOwnProperty(e)&&(t=this._overlayWidgets[e],delete this._overlayWidgets[e],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(t))}changeViewZones(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)}getTargetAtClientPoint(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null}getScrolledVisiblePosition(t){if(!this._modelData||!this._modelData.hasRealView)return null;t=this._modelData.model.validatePosition(t);const i=this._configuration.options;var n=i.get(130);return{top:e._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft(),height:i.get(58)}}getOffsetForColumn(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1}render(e=!1){this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)}setAriaOptions(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)}applyFontInfo(e){g.a.applyFontInfoSlow(e,this._configuration.options.get(42))}_attachModel(e){if(e){const n=[],o=(this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached(),new vn(this._id,this._configuration,e,An.create(),Nn.create(this._configuration.options),e=>l.V(e))),[s,r]=(n.push(e.onDidChangeDecorations(e=>this._onDidChangeModelDecorations.fire(e))),n.push(e.onDidChangeLanguage(t=>{this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._onDidChangeModelLanguage.fire(t)})),n.push(e.onDidChangeLanguageConfiguration(e=>this._onDidChangeModelLanguageConfiguration.fire(e))),n.push(e.onDidChangeContent(e=>this._onDidChangeModelContent.fire(e))),n.push(e.onDidChangeOptions(e=>this._onDidChangeModelOptions.fire(e))),n.push(e.onWillDispose(()=>this.setModel(null))),n.push(o.onEvent(e=>{switch(e.kind){case 0:this._onDidContentSizeChange.fire(e);break;case 1:this._editorTextFocus.setValue(e.hasFocus);break;case 2:this._onDidScrollChange.fire(e);break;case 3:this._onDidChangeViewZones.fire();break;case 4:this._onDidAttemptReadOnlyEdit.fire();break;case 5:{e.reachedMaxCursorCount&&this._notificationService.warn(a.a("cursors.maximum","The number of cursors has been limited to {0}.",zi.MAX_CURSOR_COUNT));const i=[];for(let t=0,n=e.selections.length;t{this._paste("keyboard",e,t,i,n)},type:e=>{this._type("keyboard",e)},compositionType:(e,t,i,n)=>{this._compositionType("keyboard",e,t,i,n)},startComposition:()=>{this._startComposition()},endComposition:()=>{this._endComposition("keyboard")},cut:()=>{this._cut("keyboard")}}:{paste:(e,t,i,n)=>{this._commandService.executeCommand("paste",{text:e,pasteOnNewLine:t,multicursorText:i,mode:n})},type:e=>{this._commandService.executeCommand("type",{text:e})},compositionType:(e,t,i,n)=>{i||n?this._commandService.executeCommand("compositionType",{text:e,replacePrevCharCnt:t,replaceNextCharCnt:i,positionDelta:n}):this._commandService.executeCommand("replacePreviousChar",{text:e,replaceCharCnt:t})},startComposition:()=>{this._commandService.executeCommand("compositionStart",{})},endComposition:()=>{this._commandService.executeCommand("compositionEnd",{})},cut:()=>{this._commandService.executeCommand("cut",{})}};const i=new Ve(e.coordinatesConverter);return i.onKeyDown=e=>this._onKeyDown.fire(e),i.onKeyUp=e=>this._onKeyUp.fire(e),i.onContextMenu=e=>this._onContextMenu.fire(e),i.onMouseMove=e=>this._onMouseMove.fire(e),i.onMouseLeave=e=>this._onMouseLeave.fire(e),i.onMouseDown=e=>this._onMouseDown.fire(e),i.onMouseUp=e=>this._onMouseUp.fire(e),i.onMouseDrag=e=>this._onMouseDrag.fire(e),i.onMouseDrop=e=>this._onMouseDrop.fire(e),i.onMouseDropCanceled=e=>this._onMouseDropCanceled.fire(e),i.onMouseWheel=e=>this._onMouseWheel.fire(e),[new di(t,this._configuration,this._themeService,e,i,this._overflowWidgetsDomNode),!0]}_postDetachModelCleanup(e){e&&e.removeAllDecorationsWithOwnerId(this._id)}_detachModel(){var e,t;return this._modelData?(e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null,this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.contains(t)&&this._domElement.removeChild(t),e):null}_removeDecorationType(e){this._codeEditorService.removeDecorationType(e)}hasModel(){return null!==this._modelData}};Wn=Fn([i(3,s.a),i(4,o.a),i(5,t.b),i(6,Cn.b),i(7,Ie.b),i(8,yn.a),i(9,Sn.b)],Wn);class Vn extends c.a{constructor(){super(),this._onDidChangeToTrue=this._register(new h.b),this.onDidChangeToTrue=this._onDidChangeToTrue.event,this._onDidChangeToFalse=this._register(new h.b),this.onDidChangeToFalse=this._onDidChangeToFalse.event,this._value=0}setValue(e){e=e?2:1,this._value!==e&&(this._value=e,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())}}class Hn extends c.a{constructor(e,t){super(),this._editor=e,t.createKey("editorId",e.getId()),this._editorSimpleInput=$i.a.editorSimpleInput.bindTo(t),this._editorFocus=$i.a.focus.bindTo(t),this._textInputFocus=$i.a.textInputFocus.bindTo(t),this._editorTextFocus=$i.a.editorTextFocus.bindTo(t),this._editorTabMovesFocus=$i.a.tabMovesFocus.bindTo(t),this._editorReadonly=$i.a.readOnly.bindTo(t),this._inDiffEditor=$i.a.inDiffEditor.bindTo(t),this._editorColumnSelection=$i.a.columnSelection.bindTo(t),this._hasMultipleSelections=$i.a.hasMultipleSelections.bindTo(t),this._hasNonEmptySelection=$i.a.hasNonEmptySelection.bindTo(t),this._canUndo=$i.a.canUndo.bindTo(t),this._canRedo=$i.a.canRedo.bindTo(t),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromConfig())),this._register(this._editor.onDidChangeCursorSelection(()=>this._updateFromSelection())),this._register(this._editor.onDidFocusEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorWidget(()=>this._updateFromFocus())),this._register(this._editor.onDidFocusEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidBlurEditorText(()=>this._updateFromFocus())),this._register(this._editor.onDidChangeModel(()=>this._updateFromModel())),this._register(this._editor.onDidChangeConfiguration(()=>this._updateFromModel())),this._updateFromConfig(),this._updateFromSelection(),this._updateFromFocus(),this._updateFromModel(),this._editorSimpleInput.set(this._editor.isSimpleWidget)}_updateFromConfig(){const e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(129)),this._editorReadonly.set(e.get(80)),this._inDiffEditor.set(e.get(53)),this._editorColumnSelection.set(e.get(17))}_updateFromSelection(){const e=this._editor.getSelections();e?(this._hasMultipleSelections.set(1!e.isEmpty()))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())}_updateFromFocus(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())}_updateFromModel(){const e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))}}class zn extends c.a{constructor(e,t){super(),this._editor=e,this._contextKeyService=t,this._langId=$i.a.languageId.bindTo(t),this._hasCompletionItemProvider=$i.a.hasCompletionItemProvider.bindTo(t),this._hasCodeActionsProvider=$i.a.hasCodeActionsProvider.bindTo(t),this._hasCodeLensProvider=$i.a.hasCodeLensProvider.bindTo(t),this._hasDefinitionProvider=$i.a.hasDefinitionProvider.bindTo(t),this._hasDeclarationProvider=$i.a.hasDeclarationProvider.bindTo(t),this._hasImplementationProvider=$i.a.hasImplementationProvider.bindTo(t),this._hasTypeDefinitionProvider=$i.a.hasTypeDefinitionProvider.bindTo(t),this._hasHoverProvider=$i.a.hasHoverProvider.bindTo(t),this._hasDocumentHighlightProvider=$i.a.hasDocumentHighlightProvider.bindTo(t),this._hasDocumentSymbolProvider=$i.a.hasDocumentSymbolProvider.bindTo(t),this._hasReferenceProvider=$i.a.hasReferenceProvider.bindTo(t),this._hasRenameProvider=$i.a.hasRenameProvider.bindTo(t),this._hasSignatureHelpProvider=$i.a.hasSignatureHelpProvider.bindTo(t),this._hasInlayHintsProvider=$i.a.hasInlayHintsProvider.bindTo(t),this._hasDocumentFormattingProvider=$i.a.hasDocumentFormattingProvider.bindTo(t),this._hasDocumentSelectionFormattingProvider=$i.a.hasDocumentSelectionFormattingProvider.bindTo(t),this._hasMultipleDocumentFormattingProvider=$i.a.hasMultipleDocumentFormattingProvider.bindTo(t),this._hasMultipleDocumentSelectionFormattingProvider=$i.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(t),this._isInWalkThrough=$i.a.isInWalkThroughSnippet.bindTo(t),t=()=>this._update(),this._register(e.onDidChangeModel(t)),this._register(e.onDidChangeModelLanguage(t)),this._register(Ct.d.onDidChange(t)),this._register(Ct.a.onDidChange(t)),this._register(Ct.b.onDidChange(t)),this._register(Ct.f.onDidChange(t)),this._register(Ct.e.onDidChange(t)),this._register(Ct.q.onDidChange(t)),this._register(Ct.G.onDidChange(t)),this._register(Ct.p.onDidChange(t)),this._register(Ct.i.onDidChange(t)),this._register(Ct.m.onDidChange(t)),this._register(Ct.y.onDidChange(t)),this._register(Ct.z.onDidChange(t)),this._register(Ct.g.onDidChange(t)),this._register(Ct.j.onDidChange(t)),this._register(Ct.B.onDidChange(t)),this._register(Ct.r.onDidChange(t)),t()}dispose(){super.dispose()}reset(){this._contextKeyService.bufferChangeEvents(()=>{this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()})}_update(){const e=this._editor.getModel();e?this._contextKeyService.bufferChangeEvents(()=>{this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(Ct.d.has(e)),this._hasCodeActionsProvider.set(Ct.a.has(e)),this._hasCodeLensProvider.set(Ct.b.has(e)),this._hasDefinitionProvider.set(Ct.f.has(e)),this._hasDeclarationProvider.set(Ct.e.has(e)),this._hasImplementationProvider.set(Ct.q.has(e)),this._hasTypeDefinitionProvider.set(Ct.G.has(e)),this._hasHoverProvider.set(Ct.p.has(e)),this._hasDocumentHighlightProvider.set(Ct.i.has(e)),this._hasDocumentSymbolProvider.set(Ct.m.has(e)),this._hasReferenceProvider.set(Ct.y.has(e)),this._hasRenameProvider.set(Ct.z.has(e)),this._hasSignatureHelpProvider.set(Ct.B.has(e)),this._hasInlayHintsProvider.set(Ct.r.has(e)),this._hasDocumentFormattingProvider.set(Ct.g.has(e)||Ct.j.has(e)),this._hasDocumentSelectionFormattingProvider.set(Ct.j.has(e)),this._hasMultipleDocumentFormattingProvider.set(1{this._hasFocus=!0,this._onChange.fire(void 0)})),this._register(this._domFocusTracker.onDidBlur(()=>{this._hasFocus=!1,this._onChange.fire(void 0)}))}hasFocus(){return this._hasFocus}}const Kn=encodeURIComponent("");function $n(e){return Kn+encodeURIComponent(e.toString())+qn}const Gn=encodeURIComponent('');Object(Ie.f)((e,t)=>{var i=e.getColor(St.t);i&&t.addRule(`.monaco-editor .squiggly-error { border-bottom: 4px double ${i}; }`),i=e.getColor(St.u),i&&t.addRule(`.monaco-editor .squiggly-error { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.s),i&&t.addRule(`.monaco-editor .squiggly-error::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.W),i&&t.addRule(`.monaco-editor .squiggly-warning { border-bottom: 4px double ${i}; }`),i=e.getColor(St.X),i&&t.addRule(`.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.V),i&&t.addRule(`.monaco-editor .squiggly-warning::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.L),i&&t.addRule(`.monaco-editor .squiggly-info { border-bottom: 4px double ${i}; }`),i=e.getColor(St.M),i&&t.addRule(`.monaco-editor .squiggly-info { background: url("data:image/svg+xml,${$n(i)}") repeat-x bottom left; }`),i=e.getColor(St.K),i&&t.addRule(`.monaco-editor .squiggly-info::before { display: block; content: ''; width: 100%; height: 100%; background: ${i}; }`),i=e.getColor(St.C),i&&t.addRule(`.monaco-editor .squiggly-hint { border-bottom: 2px dotted ${i}; }`),i=e.getColor(St.D),i&&t.addRule(`.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,${i=i,Gn+encodeURIComponent(i.toString())+Zn}") no-repeat bottom left; }`),i=e.getColor(Ee.w),i&&t.addRule(`.monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: ${i.rgba.a}; }`),i=e.getColor(Ee.v),i&&t.addRule(`.monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed ${i}; }`),i=e.getColor(St.B)||"inherit";t.addRule(`.monaco-editor.showDeprecated .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: ${i}}`)})},"9c3e":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o}));class n{constructor(e){this._prefix=e,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}const o=new n("id#")},"9c41":function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),(i=n=n||{}).DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"},"9d48":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:function(){return i.e("chunk-2d0e5b34").then(i.bind(null,"9634"))}})},"9e56":function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"d",(function(){return o})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return a}));class n{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||""===this.value||e.value.startsWith(this.value+n.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new n(this.value+n.sep+e)}}function o(e,t){return!(e.include&&!e.include.intersects(t))&&(!e.excludes||!e.excludes.some(i=>r(t,i,e.include)))&&!(!e.includeSourceActions&&n.Source.contains(t))}function s(e,t){const i=t.kind?new n(t.kind):void 0;return!!(!e.include||i&&e.include.contains(i))&&!(e.excludes&&i&&e.excludes.some(t=>r(i,t,e.include)))&&!(!e.includeSourceActions&&i&&n.Source.contains(i))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)}function r(e,t,i){return!!t.contains(e)&&(!i||!t.contains(i))}n.sep=".",n.None=new n("@@none@@"),n.Empty=new n(""),n.QuickFix=new n("quickfix"),n.Refactor=new n("refactor"),n.Source=new n("source"),n.SourceOrganizeImports=n.Source.append("organizeImports"),n.SourceFixAll=n.Source.append("fixAll");class a{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return e&&"object"==typeof e?new a(a.getKindFromUser(e,t.kind),a.getApplyFromUser(e,t.apply),a.getPreferredUser(e)):new a(t.kind,t.apply,!1)}static getApplyFromUser(e,t){switch("string"==typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return"string"==typeof e.kind?new n(e.kind):t}static getPreferredUser(e){return"boolean"==typeof e.preferred&&e.preferred}}},"9e74":function(e,t,i){"use strict";i.d(t,"b",(function(){return l})),i.d(t,"a",(function(){return d}));var n=i("308f"),o=i("258a"),s=i("a666"),r=i("db88"),a=i("ef8e9");t=i("0a0f");const l=Object(t.c)("commandService"),d=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new n.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,t){if(!e)throw new Error("invalid command");if("string"==typeof e){if(t)return this.registerCommand({id:e,handler:t});throw new Error("invalid command")}if(e.description){const t=[];for(var i of e.description.args)t.push(i.constraint);const n=e.handler;e.handler=function(e,...i){return Object(a.n)(i,t),n(e,...i)}}const n=e["id"];let o=this._commands.get(n),l=(o||(o=new r.a,this._commands.set(n,o)),o.unshift(e));return t=Object(s.i)(()=>{l();const e=this._commands.get(n);null!==e&&void 0!==e&&e.isEmpty()&&this._commands.delete(n)}),this._onDidRegisterCommand.fire(n),t}registerCommandAlias(e,t){return d.registerCommand(e,(e,...i)=>e.get(l).executeCommand(t,...i))}getCommand(e){const t=this._commands.get(e);if(t&&!t.isEmpty())return o.a.first(t)}getCommands(){const e=new Map;for(const i of this._commands.keys()){var t=this.getCommand(i);t&&e.set(i,t)}return e}};d.registerCommand("noop",()=>{})},"9eb0":function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return i.e("chunk-2d0d7e63").then(i.bind(null,"797b"))}})},"9eb8":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("fe45"),o=i("30db"),s=i("9e74");t=i("89cd");class r{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(e){if(1===o.a){if(e&&e.win)return e.win}else if(2===o.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e}registerKeybindingRule(e){var t,i=r.bindToCurrentPlatform(e);if(i&&i.primary&&(t=Object(n.f)(i.primary,o.a))&&this._registerDefaultKeybinding(t,e.id,e.args,e.weight,0,e.when),i&&Array.isArray(i.secondary))for(let r=0,a=i.secondary.length;rt.command?1:e.weight2-t.weight2}t.a.add("platform.keybindingsRegistry",a)},"9ee1":function(e,t,i){"use strict";var n;function o(e,t){var i;return e.start>=t.end||t.start>=e.end||(i=Math.max(e.start,t.start),(e=Math.min(e.end,t.end))-i<=0)?{start:0,end:0}:{start:i,end:e}}function s(e){return e.end-e.start<=0}i.d(t,"a",(function(){return n})),(i=n=n||{}).intersect=o,i.isEmpty=s,i.intersects=function(e,t){return!s(o(e,t))},i.relativeComplement=function(e,t){const i=[];var n={start:e.start,end:Math.min(t.start,e.end)};t={start:Math.max(t.end,e.start),end:e.end};return s(n)||i.push(n),s(t)||i.push(t),i}},"9f4d":function(e,t,i){"use strict";i.r(t);var n=i("dff7"),o=i("fe45"),s=(t=i("b2cc"),i("6a89")),r=i("c101"),a=i("d3f4"),l=i("7061"),d=i("8025"),h=i("70cb");class c{constructor(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}static _haystackHasNeedleAtOffset(e,t,i){if(i<0)return!1;var n=t.length;if(e.lengths?o-1:o}}}var p=i("7e32");class m extends t.b{constructor(e,t){super(t),this._type=e}run(e,t){if(t.hasModel()){const e=t.getModel(),o=[];var i=e.getOptions(),n=t.getOption(18);const r=t.getSelections().map((e,t)=>({selection:e,index:t,ignoreFirstLine:!1}));r.sort((e,t)=>s.a.compareRangesUsingStarts(e.selection,t.selection));let a=r[0];for(let t=1;ti&&(t=i,o=e.model.getLineMaxColumn(t)),r.d.fromModelState(new r.f(new h.a(n.lineNumber,1,t,o),0,new d.a(t,o),0))}i=t.modelState.selectionStart.getStartPosition().lineNumber;if(n.lineNumberi){n=e.getLineCount();let i=o.lineNumber+1,s=1;return i>n&&(i=n,s=e.getLineMaxColumn(i)),r.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),i,s,0))}return i=t.modelState.selectionStart.getEndPosition(),r.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),i.lineNumber,i.column,0))}static word(e,t,i,n){return n=e.model.validatePosition(n),r.d.fromModelState(l.a.word(e.cursorConfig,e.model,t.modelState,i,n))}static cancelSelection(e,t){var i,n;return t.modelState.hasSelection()?(i=t.viewState.position.lineNumber,n=t.viewState.position.column,r.d.fromViewState(new r.f(new h.a(i,n,i,n),0,new d.a(i,n),0))):new r.d(t.modelState,t.viewState)}static moveTo(e,t,i,n,o){return n=e.model.validatePosition(n),o=o?e.coordinatesConverter.validateViewPosition(new d.a(o.lineNumber,o.column),n):e.coordinatesConverter.convertModelPositionToViewPosition(n),r.d.fromViewState(t.viewState.move(i,o.lineNumber,o.column,0))}static simpleMove(e,t,i,n,o,s){switch(i){case 0:return 4===s?this._moveHalfLineLeft(e,t,n):this._moveLeft(e,t,n,o);case 1:return 4===s?this._moveHalfLineRight(e,t,n):this._moveRight(e,t,n,o);case 2:return 2===s?this._moveUpByViewLines(e,t,n,o):this._moveUpByModelLines(e,t,n,o);case 3:return 2===s?this._moveDownByViewLines(e,t,n,o):this._moveDownByModelLines(e,t,n,o);case 4:return 2===s?t.map(t=>r.d.fromViewState(a.a.moveToPrevBlankLine(e.cursorConfig,e,t.viewState,n))):t.map(t=>r.d.fromModelState(a.a.moveToPrevBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 5:return 2===s?t.map(t=>r.d.fromViewState(a.a.moveToNextBlankLine(e.cursorConfig,e,t.viewState,n))):t.map(t=>r.d.fromModelState(a.a.moveToNextBlankLine(e.cursorConfig,e.model,t.modelState,n)));case 6:return this._moveToViewMinColumn(e,t,n);case 7:return this._moveToViewFirstNonWhitespaceColumn(e,t,n);case 8:return this._moveToViewCenterColumn(e,t,n);case 9:return this._moveToViewMaxColumn(e,t,n);case 10:return this._moveToViewLastNonWhitespaceColumn(e,t,n);default:return null}}static viewportMove(e,t,i,n,o){var s=e.getCompletelyVisibleViewRange(),r=e.coordinatesConverter.convertViewRangeToModelRange(s);switch(i){case 11:var a=this._firstLineNumberInRange(e.model,r,o),l=e.model.getLineFirstNonWhitespaceColumn(a);return[this._moveToModelPosition(e,t[0],n,a,l)];case 13:return a=this._lastLineNumberInRange(e.model,r,o),l=e.model.getLineFirstNonWhitespaceColumn(a),[this._moveToModelPosition(e,t[0],n,a,l)];case 12:return a=Math.round((r.startLineNumber+r.endLineNumber)/2),l=e.model.getLineFirstNonWhitespaceColumn(a),[this._moveToModelPosition(e,t[0],n,a,l)];case 14:{let i=[];for(let o=0,r=t.length;oi.endLineNumber-1?i.endLineNumber-1:o)r.d.fromViewState(a.a.moveLeft(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineLeft(e,t,i){let n=[];for(let l=0,d=t.length;lr.d.fromViewState(a.a.moveRight(e.cursorConfig,e,t.viewState,i,n)))}static _moveHalfLineRight(e,t,i){let n=[];for(let l=0,d=t.length;le.toString()).join(", ")}matchesResource(e){const t=r.a.isUri(this.model)?this.model:this.model.uri;return t.toString()===e.toString()}setModel(e){this.model=e}canAppend(e){return this.model===e&&this._data instanceof d}append(e,t,i,n,o){this._data instanceof d&&this._data.append(e,t,i,n,o)}close(){this._data instanceof d&&(this._data=this._data.serialize())}open(){this._data instanceof d||(this._data=d.deserialize(this._data))}undo(){if(r.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());var e=d.deserialize(this._data);this.model._applyUndo(e.changes,e.beforeEOL,e.beforeVersionId,e.beforeCursorState)}redo(){if(r.a.isUri(this.model))throw new Error("Invalid SingleModelEditStackElement");this._data instanceof d&&(this._data=this._data.serialize());var e=d.deserialize(this._data);this.model._applyRedo(e.changes,e.afterEOL,e.afterVersionId,e.afterCursorState)}heapSize(){return this._data instanceof d&&(this._data=this._data.serialize()),this._data.byteLength+168}}function c(e){return"\n"===e.getEOL()?0:1}function u(e){return!!e&&(e instanceof h||!1)}class g{constructor(e,t){this._model=e,this._undoRedoService=t}pushStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);u(e)&&e.close()}popStackElement(){const e=this._undoRedoService.getLastElement(this._model.uri);u(e)&&e.open()}clear(){this._undoRedoService.removeElements(this._model.uri)}_getOrCreateEditStackElement(e){const t=this._undoRedoService.getLastElement(this._model.uri);return u(t)&&t.canAppend(this._model)?t:(e=new h(this._model,e),this._undoRedoService.pushElement(e),e)}pushEOL(e){const t=this._getOrCreateEditStackElement(null);this._model.setEOL(e),t.append(this._model,[],c(this._model),this._model.getAlternativeVersionId(),null)}pushEditOperation(e,t,i){const n=this._getOrCreateEditStackElement(e),o=this._model.applyEdits(t,!0);e=g._computeCursorState(i,o);const s=o.map((e,t)=>({index:t,textChange:e.textChange}));return s.sort((e,t)=>e.textChange.oldPosition===t.textChange.oldPosition?e.index-t.index:e.textChange.oldPosition-t.textChange.oldPosition),n.append(this._model,s.map(e=>e.textChange),c(this._model),this._model.getAlternativeVersionId(),e),e}static _computeCursorState(e,t){try{return e?e(t):null}catch(e){return Object(o.f)(e),null}}}},a0a2:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return i.e("chunk-2d0b6187").then(i.bind(null,"1c65"))}})},a106:function(e,t,i){"use strict";i.r(t),i.d(t,"getSelectionSearchString",(function(){return it})),i.d(t,"CommonFindController",(function(){return nt})),i.d(t,"FindController",(function(){return ot})),i.d(t,"StartFindAction",(function(){return st})),i.d(t,"StartFindWithSelectionAction",(function(){return rt})),i.d(t,"MatchFindAction",(function(){return at})),i.d(t,"NextMatchFindAction",(function(){return lt})),i.d(t,"PreviousMatchFindAction",(function(){return dt})),i.d(t,"SelectionMatchFindAction",(function(){return ht})),i.d(t,"NextSelectionMatchFindAction",(function(){return ct})),i.d(t,"PreviousSelectionMatchFindAction",(function(){return ut})),i.d(t,"StartFindReplaceAction",(function(){return gt}));var n=i("dff7"),o=i("5fe7"),s=i("a666"),r=i("3742"),a=(t=i("b2cc"),i("c101")),l=i("2c29"),d=i("7061"),h=i("6a89"),c=i("8025"),u=i("8c02"),g=i("3352"),p=i("b57f"),m=i("303e"),f=i("b7d0");class _{constructor(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}dispose(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}reset(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationIds=[],this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null}getCount(){return this._decorations.length}getFindScope(){return this._findScopeDecorationIds[0]?this._editor.getModel().getDecorationRange(this._findScopeDecorationIds[0]):null}getFindScopes(){if(this._findScopeDecorationIds.length){var e=this._findScopeDecorationIds.map(e=>this._editor.getModel().getDecorationRange(e)).filter(e=>!!e);if(e.length)return e}return null}getStartPosition(){return this._startPosition}setStartPosition(e){this._startPosition=e,this.setCurrentFindMatch(null)}_getDecorationIndex(e){return e=this._decorations.indexOf(e),0<=e?e+1:1}getCurrentMatchesPosition(e){for(const i of this._editor.getModel().getDecorationsInRange(e)){var t=i.options;if(t===_._FIND_MATCH_DECORATION||t===_._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(i.id)}return 0}setCurrentFindMatch(e){let t=null,i=0;if(e)for(let o=0,s=this._decorations.length;o{if(null!==this._highlightedDecorationId&&(e.changeDecorationOptions(this._highlightedDecorationId,_._FIND_MATCH_DECORATION),this._highlightedDecorationId=null),null!==t&&(this._highlightedDecorationId=t,e.changeDecorationOptions(this._highlightedDecorationId,_._CURRENT_FIND_MATCH_DECORATION)),null!==this._rangeHighlightDecorationId&&(e.removeDecoration(this._rangeHighlightDecorationId),this._rangeHighlightDecorationId=null),null!==t){let o=this._editor.getModel().getDecorationRange(t);var i,n;o.startLineNumber!==o.endLineNumber&&1===o.endColumn&&(i=o.endLineNumber-1,n=this._editor.getModel().getLineMaxColumn(i),o=new h.a(o.startLineNumber,o.startColumn,i,n)),this._rangeHighlightDecorationId=e.addDecoration(o,_._RANGE_HIGHLIGHT_DECORATION)}}),i}set(e,t){this._editor.changeDecorations(i=>{let n=_._FIND_MATCH_DECORATION,o=[];if(1e3=l.startLineNumber?l.endLineNumber>i&&(i=l.endLineNumber):(o.push({range:new h.a(t,1,i,1),options:_._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),t=l.startLineNumber,i=l.endLineNumber)}o.push({range:new h.a(t,1,i,1),options:_._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}let d=new Array(e.length);for(let t=0,h=e.length;ti.removeDecoration(e)),this._findScopeDecorationIds=[]),null!=t&&t.length&&(this._findScopeDecorationIds=t.map(e=>i.addDecoration(e,_._FIND_SCOPE_DECORATION)))})}matchBeforePosition(e){if(0===this._decorations.length)return null;for(let i=this._decorations.length-1;0<=i;i--){var t=this._decorations[i];t=this._editor.getModel().getDecorationRange(t);if(t&&!(t.endLineNumber>e.lineNumber)){if(t.endLineNumbere.column))return t}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])}matchAfterPosition(e){if(0===this._decorations.length)return null;for(let i=0,n=this._decorations.length;ie.lineNumber)return t;if(!(t.startColumnh.a.compareRangesUsingStarts(e.range,t.range));let i=[],n=e[0];for(let t=1;t{s+=v([o[t]],e)+i}),s.slice(0,-1)}class y{constructor(e){this.staticValue=e,this.kind=0}}class S{constructor(e){this.pieces=e,this.kind=1}}class L{constructor(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new y(e[0].staticValue):this._state=new S(e):this._state=new y("")}static fromStaticValue(e){return new L([x.staticValue(e)])}get hasReplacementPatterns(){return 1===this._state.kind}buildReplaceString(e,t){if(0===this._state.kind)return t?v(e,this._state.staticValue):this._state.staticValue;let i="";for(let s=0,r=this._state.pieces.length;s=o){e.push(t.slice(s));break}switch(n.caseOps[i]){case"U":e.push(t[s].toUpperCase());break;case"u":e.push(t[s].toUpperCase()),i++;break;case"L":e.push(t[s].toLowerCase());break;case"l":e.push(t[s].toLowerCase()),i++;break;default:e.push(t[s])}}t=e.join("")}i+=t}}return i}static _substitute(e,t){if(null===t)return"";if(0===e)return t[0];let i="";for(;0this.research(!1),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition(e=>{3!==e.reason&&5!==e.reason&&6!==e.reason||this._decorations.setStartPosition(this._editor.getPosition())})),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent(e=>{this._ignoreModelContentChanged||(e.isFlush&&this._decorations.reset(),this._decorations.setStartPosition(this._editor.getPosition()),this._updateDecorationsScheduler.schedule())})),this._toDispose.add(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this.research(!1,this._state.searchScope)}dispose(){this._isDisposed=!0,Object(s.f)(this._startSearchingTimer),this._toDispose.dispose()}_onStateChanged(e){if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){let t=this._editor.getModel();t.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet(()=>{e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)},240)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}}static _getSearchRange(e,t){return t||e.getFullModelRange()}research(e,t){let i=null,n=(void 0!==t?null!==t&&(i=Array.isArray(t)?t:[t]):i=this._decorations.getFindScopes(),null!==i&&(i=i.map(e=>{if(e.startLineNumber===e.endLineNumber)return e;{let t=e.endLineNumber;return 1===e.endColumn&&(t-=1),new h.a(e.startLineNumber,1,t,this._editor.getModel().getLineMaxColumn(t))}})),this._findMatches(i,!1,P));this._decorations.set(n,i);const o=this._editor.getSelection();let s=this._decorations.getCurrentMatchesPosition(o);0===s&&0e.range),e=>0<=h.a.compareRangesUsingStarts(e,o)),s=0=r)break;var i=e.charCodeAt(s);switch(i){case 92:o.emitUnchanged(s-1),o.emitStatic("\\",s+1);break;case 110:o.emitUnchanged(s-1),o.emitStatic("\n",s+1);break;case 116:o.emitUnchanged(s-1),o.emitStatic("\t",s+1);break;case 117:case 85:case 108:case 76:o.emitUnchanged(s-1),o.emitStatic("",s+1),n.push(String.fromCharCode(i))}}else if(36===t){if(++s>=r)break;if(t=e.charCodeAt(s),36===t)o.emitUnchanged(s-1),o.emitStatic("$",s+1);else if(48===t||38===t)o.emitUnchanged(s-1),o.emitMatchIndex(0,s+1,n),n.length=0;else if(49<=t&&t<=57){let i=t-48;if(s+1F._getSearchRange(this._editor.getModel(),e)),this._editor.getModel().findMatches(this._state.searchString,e,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(116):null,t,i)}replaceAll(){var e;this._hasMatches()&&(null===(e=this._decorations.getFindScopes())&&this._state.matchesCount>=P?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1))}_largeReplaceAll(){const e=new u.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(116):null);var t=e.parseSearchRequest();if(t){let e=t.regex;if(!e.multiline){let t="mu";e.ignoreCase&&(t+="i"),e.global&&(t+="g"),e=new RegExp(e.source,t)}const i=this._editor.getModel(),n=i.getValue(1);t=i.getFullModelRange();const o=this._getReplacePattern();let s;const r=this._state.preserveCase;s=o.hasReplacementPatterns||r?n.replace(e,(function(){return o.buildReplaceString(arguments,r)})):n.replace(e,o.buildReplaceString(null,r)),t=new l.b(t,s,this._editor.getSelection()),this._executeEditorCommand("replaceAll",t)}}_regularReplaceAll(e){const t=this._getReplacePattern();let i=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),n=[];for(let o=0,s=i.length;oe.range),n),this._executeEditorCommand("replaceAll",e)}selectAllMatches(){if(this._hasMatches()){var e=this._decorations.getFindScopes();let t=this._findMatches(e,!1,1073741824),i=t.map(e=>new c.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)),n=this._editor.getSelection();for(let e=0,o=i.length;e{this.checked=!this._checked,this._onChange.fire(!1),e.preventDefault()}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,e=>{10===e.keyCode||3===e.keyCode?(this.checked=!this._checked,this._onChange.fire(!0),e.preventDefault()):this._onKeyDown.fire(e)})}get enabled(){return"true"!==this.domNode.getAttribute("aria-disabled")}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 22}style(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=e.inputActiveOptionForeground),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}const K=n.a("caseDescription","Match Case"),q=n.a("wordsDescription","Match Whole Word"),$=n.a("regexDescription","Use Regular Expression");class G extends U{constructor(e){super({icon:W.b.caseSensitive,title:K+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Z extends U{constructor(e){super({icon:W.b.wholeWord,title:q+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class Y extends U{constructor(e){super({icon:W.b.regex,title:$+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class X extends j.a{constructor(e,t,i,n){super(),this._hideSoon=this._register(new o.e(()=>this._hide(),2e3)),this._isVisible=!1,this._editor=e,this._state=t,this._keybindingService=i,this._domNode=document.createElement("div"),this._domNode.className="findOptionsWidget",this._domNode.style.display="none",this._domNode.style.top="10px",this._domNode.setAttribute("role","presentation"),this._domNode.setAttribute("aria-hidden","true"),e=n.getColorTheme().getColor(m.hb),t=n.getColorTheme().getColor(m.ib),i=n.getColorTheme().getColor(m.gb),this.caseSensitive=this._register(new G({appendTitle:this._keybindingLabelFor(R.ToggleCaseSensitiveCommand),isChecked:this._state.matchCase,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.caseSensitive.domNode),this._register(this.caseSensitive.onChange(()=>{this._state.change({matchCase:this.caseSensitive.checked},!1)})),this.wholeWords=this._register(new Z({appendTitle:this._keybindingLabelFor(R.ToggleWholeWordCommand),isChecked:this._state.wholeWord,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.wholeWords.domNode),this._register(this.wholeWords.onChange(()=>{this._state.change({wholeWord:this.wholeWords.checked},!1)})),this.regex=this._register(new Y({appendTitle:this._keybindingLabelFor(R.ToggleRegexCommand),isChecked:this._state.isRegex,inputActiveOptionBorder:e,inputActiveOptionForeground:t,inputActiveOptionBackground:i})),this._domNode.appendChild(this.regex.domNode),this._register(this.regex.onChange(()=>{this._state.change({isRegex:this.regex.checked},!1)})),this._editor.addOverlayWidget(this),this._register(this._state.onFindReplaceStateChange(e=>{let t=!1;e.isRegex&&(this.regex.checked=this._state.isRegex,t=!0),e.wholeWord&&(this.wholeWords.checked=this._state.wholeWord,t=!0),e.matchCase&&(this.caseSensitive.checked=this._state.matchCase,t=!0),!this._state.isRevealed&&t&&this._revealTemporarily()})),this._register(B.j(this._domNode,e=>this._onMouseOut())),this._register(B.i(this._domNode,"mouseover",e=>this._onMouseOver())),this._applyTheme(n.getColorTheme()),this._register(n.onDidColorThemeChange(this._applyTheme.bind(this)))}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}getId(){return X.ID}getDomNode(){return this._domNode}getPosition(){return{preference:0}}highlightFindOptions(){this._revealTemporarily()}_revealTemporarily(){this._show(),this._hideSoon.schedule()}_onMouseOut(){this._hideSoon.schedule()}_onMouseOver(){this._hideSoon.cancel()}_show(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")}_hide(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")}_applyTheme(e){e={inputActiveOptionBorder:e.getColor(m.hb),inputActiveOptionForeground:e.getColor(m.ib),inputActiveOptionBackground:e.getColor(m.gb)},this.caseSensitive.style(e),this.wholeWords.style(e),this.regex.style(e)}}function Q(e,t){return 1===e||2!==e&&t}X.ID="editor.contrib.findOptionsWidget",Object(f.f)((e,t)=>{var i=e.getColor(m.Y);i&&t.addRule(`.monaco-editor .findOptionsWidget { background-color: ${i}; }`),i=e.getColor(m.ab),i&&t.addRule(`.monaco-editor .findOptionsWidget { color: ${i}; }`),i=e.getColor(m.Nc),i&&t.addRule(`.monaco-editor .findOptionsWidget { box-shadow: 0 0 8px 2px ${i}; }`),i=e.getColor(m.h);i&&t.addRule(`.monaco-editor .findOptionsWidget { border: 2px solid ${i}; }`)});class J extends s.a{constructor(){super(),this._onFindReplaceStateChange=this._register(new H.b),this.onFindReplaceStateChange=this._onFindReplaceStateChange.event,this._searchString="",this._replaceString="",this._isRevealed=!1,this._isReplaceRevealed=!1,this._isRegex=!1,this._isRegexOverride=0,this._wholeWord=!1,this._wholeWordOverride=0,this._matchCase=!1,this._matchCaseOverride=0,this._preserveCase=!1,this._preserveCaseOverride=0,this._searchScope=null,this._matchesPosition=0,this._matchesCount=0,this._currentMatch=null,this._loop=!0}get searchString(){return this._searchString}get replaceString(){return this._replaceString}get isRevealed(){return this._isRevealed}get isReplaceRevealed(){return this._isReplaceRevealed}get isRegex(){return Q(this._isRegexOverride,this._isRegex)}get wholeWord(){return Q(this._wholeWordOverride,this._wholeWord)}get matchCase(){return Q(this._matchCaseOverride,this._matchCase)}get preserveCase(){return Q(this._preserveCaseOverride,this._preserveCase)}get actualIsRegex(){return this._isRegex}get actualWholeWord(){return this._wholeWord}get actualMatchCase(){return this._matchCase}get actualPreserveCase(){return this._preserveCase}get searchScope(){return this._searchScope}get matchesPosition(){return this._matchesPosition}get matchesCount(){return this._matchesCount}get currentMatch(){return this._currentMatch}changeMatchInfo(e,t,i){let n={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},o=!1;this._matchesPosition!==(e=t<(e=0===t?0:e)?t:e)&&(this._matchesPosition=e,n.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,n.matchesCount=!0,o=!0),void 0===i||h.a.equalsRange(this._currentMatch,i)||(this._currentMatch=i,n.currentMatch=!0,o=!0),o&&this._onFindReplaceStateChange.fire(n)}change(e,t,i=!0){var n;let o={moveCursor:t,updateHistory:i,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1,loop:!1},s=!1;t=this.isRegex,i=this.wholeWord;var r=this.matchCase,a=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,o.searchString=!0,s=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,o.replaceString=!0,s=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,o.isRevealed=!0,s=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,o.isReplaceRevealed=!0,s=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0===e.searchScope||null!=(n=e.searchScope)&&n.every(e=>{var t;return null==(t=this._searchScope)?void 0:t.some(t=>!h.a.equalsRange(t,e))})||(this._searchScope=e.searchScope,o.searchScope=!0,s=!0),void 0!==e.loop&&this._loop!==e.loop&&(this._loop=e.loop,o.loop=!0,s=!0),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,t!==this.isRegex&&(s=!0,o.isRegex=!0),i!==this.wholeWord&&(s=!0,o.wholeWord=!0),r!==this.matchCase&&(s=!0,o.matchCase=!0),a!==this.preserveCase&&(s=!0,o.preserveCase=!0),s&&this._onFindReplaceStateChange.fire(o)}canNavigateBack(){return this.canNavigateInLoop()||1!==this.matchesPosition}canNavigateForward(){return this.canNavigateInLoop()||this.matchesPosition=P}}i("01b0");var ee=i("3813"),te=i("70c3"),ie=i("fdcc"),ne=i("30db"),oe=i("d3ef");i("caa1");const se=n.a("defaultLabel","input");class re extends j.a{constructor(e,t,i,n){super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.imeSessionInProgress=!1,this._onDidOptionChange=this._register(new H.b),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new H.b),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new H.b),this.onMouseDown=this._onMouseDown.event,this._onInput=this._register(new H.b),this._onKeyUp=this._register(new H.b),this._onCaseSensitiveKeyDown=this._register(new H.b),this.onCaseSensitiveKeyDown=this._onCaseSensitiveKeyDown.event,this._onRegexKeyDown=this._register(new H.b),this.onRegexKeyDown=this._onRegexKeyDown.event,this._lastHighlightFindOptions=0,this.contextViewProvider=t,this.placeholder=n.placeholder||"",this.validation=n.validation,this.label=n.label||se,this.inputActiveOptionBorder=n.inputActiveOptionBorder,this.inputActiveOptionForeground=n.inputActiveOptionForeground,this.inputActiveOptionBackground=n.inputActiveOptionBackground,this.inputBackground=n.inputBackground,this.inputForeground=n.inputForeground,this.inputBorder=n.inputBorder,this.inputValidationInfoBorder=n.inputValidationInfoBorder,this.inputValidationInfoBackground=n.inputValidationInfoBackground,this.inputValidationInfoForeground=n.inputValidationInfoForeground,this.inputValidationWarningBorder=n.inputValidationWarningBorder,this.inputValidationWarningBackground=n.inputValidationWarningBackground,this.inputValidationWarningForeground=n.inputValidationWarningForeground,this.inputValidationErrorBorder=n.inputValidationErrorBorder,this.inputValidationErrorBackground=n.inputValidationErrorBackground,this.inputValidationErrorForeground=n.inputValidationErrorForeground;i=n.appendCaseSensitiveLabel||"",t=n.appendWholeWordsLabel||"";var o=n.appendRegexLabel||"",s=n.history||[],r=!!n.flexibleHeight,a=!!n.flexibleWidth;n=n.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new oe.a(this.domNode,this.contextViewProvider,{placeholder:this.placeholder||"",ariaLabel:this.label||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:s,flexibleHeight:r,flexibleWidth:a,flexibleMaxHeight:n})),this.regex=this._register(new Y({appendTitle:o,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.regex.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.regex.onKeyDown(e=>{this._onRegexKeyDown.fire(e)})),this.wholeWords=this._register(new Z({appendTitle:t,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.wholeWords.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this.caseSensitive=this._register(new G({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.caseSensitive.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.caseSensitive.onKeyDown(e=>{this._onCaseSensitiveKeyDown.fire(e)})),this._showOptionButtons&&(this.inputBox.paddingRight=this.caseSensitive.width()+this.wholeWords.width()+this.regex.width());let l=[this.caseSensitive.domNode,this.wholeWords.domNode,this.regex.domNode],d=(this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){var t=l.indexOf(document.activeElement);if(0<=t){let i=-1;e.equals(17)?i=(t+1)%l.length:e.equals(15)&&(i=0===t?l.length-1:t-1),e.equals(9)?(l[t].blur(),this.inputBox.focus()):0<=i&&l[i].focus(),B.c.stop(e,!0)}}}),document.createElement("div"));d.className="controls",d.style.display=this._showOptionButtons?"block":"none",d.appendChild(this.caseSensitive.domNode),d.appendChild(this.wholeWords.domNode),d.appendChild(this.regex.domNode),this.domNode.appendChild(d),e&&e.appendChild(this.domNode),this._register(B.i(this.inputBox.inputElement,"compositionstart",e=>{this.imeSessionInProgress=!0})),this._register(B.i(this.inputBox.inputElement,"compositionend",e=>{this.imeSessionInProgress=!1,this._onInput.fire()})),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()}setFocusInputOnOptionClick(e){this.fixFocusOnOptionClickEnabled=e}setEnabled(e){e?this.enable():this.disable()}getValue(){return this.inputBox.value}setValue(e){this.inputBox.value!==e&&(this.inputBox.value=e)}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e;this.domNode&&(e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground},this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e),e={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder},this.inputBox.style(e))}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getCaseSensitive(){return this.caseSensitive.checked}setCaseSensitive(e){this.caseSensitive.checked=e}getWholeWords(){return this.wholeWords.checked}setWholeWords(e){this.wholeWords.checked=e}getRegex(){return this.regex.checked}setRegex(e){this.regex.checked=e,this.validate()}focusOnCaseSensitive(){this.caseSensitive.focus()}highlightFindOptions(){this.domNode.classList.remove("highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,this.domNode.classList.add("highlight-"+this._lastHighlightFindOptions)}validate(){this.inputBox.validate()}clearMessage(){this.inputBox.hideMessage()}}const ae=n.a("defaultLabel","input"),le=n.a("label.preserveCaseCheckbox","Preserve Case");class de extends U{constructor(e){super({icon:W.b.preserveCase,title:le+e.appendTitle,isChecked:e.isChecked,inputActiveOptionBorder:e.inputActiveOptionBorder,inputActiveOptionForeground:e.inputActiveOptionForeground,inputActiveOptionBackground:e.inputActiveOptionBackground})}}class he extends j.a{constructor(e,t,i,n){super(),this._showOptionButtons=i,this.fixFocusOnOptionClickEnabled=!0,this.cachedOptionsWidth=0,this._onDidOptionChange=this._register(new H.b),this.onDidOptionChange=this._onDidOptionChange.event,this._onKeyDown=this._register(new H.b),this.onKeyDown=this._onKeyDown.event,this._onMouseDown=this._register(new H.b),this._onInput=this._register(new H.b),this._onKeyUp=this._register(new H.b),this._onPreserveCaseKeyDown=this._register(new H.b),this.onPreserveCaseKeyDown=this._onPreserveCaseKeyDown.event,this.contextViewProvider=t,this.placeholder=n.placeholder||"",this.validation=n.validation,this.label=n.label||ae,this.inputActiveOptionBorder=n.inputActiveOptionBorder,this.inputActiveOptionForeground=n.inputActiveOptionForeground,this.inputActiveOptionBackground=n.inputActiveOptionBackground,this.inputBackground=n.inputBackground,this.inputForeground=n.inputForeground,this.inputBorder=n.inputBorder,this.inputValidationInfoBorder=n.inputValidationInfoBorder,this.inputValidationInfoBackground=n.inputValidationInfoBackground,this.inputValidationInfoForeground=n.inputValidationInfoForeground,this.inputValidationWarningBorder=n.inputValidationWarningBorder,this.inputValidationWarningBackground=n.inputValidationWarningBackground,this.inputValidationWarningForeground=n.inputValidationWarningForeground,this.inputValidationErrorBorder=n.inputValidationErrorBorder,this.inputValidationErrorBackground=n.inputValidationErrorBackground,this.inputValidationErrorForeground=n.inputValidationErrorForeground;i=n.appendPreserveCaseLabel||"",t=n.history||[];var o=!!n.flexibleHeight,s=!!n.flexibleWidth;n=n.flexibleMaxHeight;this.domNode=document.createElement("div"),this.domNode.classList.add("monaco-findInput"),this.inputBox=this._register(new oe.a(this.domNode,this.contextViewProvider,{ariaLabel:this.label||"",placeholder:this.placeholder||"",validationOptions:{validation:this.validation},inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder,history:t,flexibleHeight:o,flexibleWidth:s,flexibleMaxHeight:n})),this.preserveCase=this._register(new de({appendTitle:i,isChecked:!1,inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground})),this._register(this.preserveCase.onChange(e=>{this._onDidOptionChange.fire(e),!e&&this.fixFocusOnOptionClickEnabled&&this.inputBox.focus(),this.validate()})),this._register(this.preserveCase.onKeyDown(e=>{this._onPreserveCaseKeyDown.fire(e)})),this._showOptionButtons?this.cachedOptionsWidth=this.preserveCase.width():this.cachedOptionsWidth=0;let r=[this.preserveCase.domNode],a=(this.onkeydown(this.domNode,e=>{if(e.equals(15)||e.equals(17)||e.equals(9)){var t=r.indexOf(document.activeElement);if(0<=t){let i=-1;e.equals(17)?i=(t+1)%r.length:e.equals(15)&&(i=0===t?r.length-1:t-1),e.equals(9)?(r[t].blur(),this.inputBox.focus()):0<=i&&r[i].focus(),B.c.stop(e,!0)}}}),document.createElement("div"));a.className="controls",a.style.display=this._showOptionButtons?"block":"none",a.appendChild(this.preserveCase.domNode),this.domNode.appendChild(a),e&&e.appendChild(this.domNode),this.onkeydown(this.inputBox.inputElement,e=>this._onKeyDown.fire(e)),this.onkeyup(this.inputBox.inputElement,e=>this._onKeyUp.fire(e)),this.oninput(this.inputBox.inputElement,e=>this._onInput.fire()),this.onmousedown(this.inputBox.inputElement,e=>this._onMouseDown.fire(e))}enable(){this.domNode.classList.remove("disabled"),this.inputBox.enable(),this.preserveCase.enable()}disable(){this.domNode.classList.add("disabled"),this.inputBox.disable(),this.preserveCase.disable()}setEnabled(e){e?this.enable():this.disable()}style(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionForeground=e.inputActiveOptionForeground,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e;this.domNode&&(e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionForeground:this.inputActiveOptionForeground,inputActiveOptionBackground:this.inputActiveOptionBackground},this.preserveCase.style(e),e={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder},this.inputBox.style(e))}select(){this.inputBox.select()}focus(){this.inputBox.focus()}getPreserveCase(){return this.preserveCase.checked}setPreserveCase(e){this.preserveCase.checked=e}focusOnPreserve(){this.preserveCase.focus()}validate(){this.inputBox&&this.inputBox.validate()}set width(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"}dispose(){super.dispose()}}V=i("9eb8");var ce=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{if(e=fe(e.get(D.b),ge),e){const t=e.historyNavigator;t.showPreviousValue()}}}),V.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:D.a.and(D.a.has(ge),D.a.equals(pe,!0)),primary:18,secondary:[530],handler:e=>{if(e=fe(e.get(D.b),ge),e){const t=e.historyNavigator;t.showNextValue()}}});var Ce=i("bf5b"),we=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};const ye=Object(Ce.b)("find-selection",W.b.selection,n.a("findSelectionIcon","Icon for 'Find in Selection' in the editor find widget.")),Se=Object(Ce.b)("find-collapsed",W.b.chevronRight,n.a("findCollapsedIcon","Icon to indicate that the editor find widget is collapsed.")),Le=Object(Ce.b)("find-expanded",W.b.chevronDown,n.a("findExpandedIcon","Icon to indicate that the editor find widget is expanded.")),xe=Object(Ce.b)("find-replace",W.b.replace,n.a("findReplaceIcon","Icon for 'Replace' in the editor find widget.")),ke=Object(Ce.b)("find-replace-all",W.b.replaceAll,n.a("findReplaceAllIcon","Icon for 'Replace All' in the editor find widget.")),De=Object(Ce.b)("find-previous-match",W.b.arrowUp,n.a("findPreviousMatchIcon","Icon for 'Find Previous' in the editor find widget.")),Ne=Object(Ce.b)("find-next-match",W.b.arrowDown,n.a("findNextMatchIcon","Icon for 'Find Next' in the editor find widget.")),Oe=n.a("label.find","Find"),Ee=n.a("placeholder.find","Find"),Ie=n.a("label.previousMatchButton","Previous Match"),Me=n.a("label.nextMatchButton","Next Match"),Te=n.a("label.toggleSelectionFind","Find in Selection"),Ae=n.a("label.closeButton","Close"),Re=n.a("label.replace","Replace"),Pe=n.a("placeholder.replace","Replace"),Fe=n.a("label.replaceButton","Replace"),Be=n.a("label.replaceAllButton","Replace All"),je=n.a("label.toggleReplaceButton","Toggle Replace"),We=n.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",P),Ve=n.a("label.matchesLocation","{0} of {1}"),He=n.a("label.noResults","No results");let ze=69;const Ue="ctrlEnterReplaceAll.windows.donotask",Ke=ne.f?256:2048;class qe{constructor(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}}function $e(e,t,i){t=!!t.match(/\n/),i&&t&&0this._updateHistoryDelayer.cancel())),this._register(this._state.onFindReplaceStateChange(e=>this._onStateChanged(e))),this._buildDomNode(),this._updateButtons(),this._tryUpdateWidgetWidth(),this._findInput.inputBox.layout(),this._register(this._codeEditor.onDidChangeConfiguration(e=>{e.hasChanged(80)&&(this._codeEditor.getOption(80)&&this._state.change({isReplaceRevealed:!1},!1),this._updateButtons()),e.hasChanged(130)&&this._tryUpdateWidgetWidth(),e.hasChanged(2)&&this.updateAccessibilitySupport(),e.hasChanged(34)&&((e=this._codeEditor.getOption(34).addExtraSpaceOnTop)&&!this._viewZone&&(this._viewZone=new qe(0),this._showViewZone()),!e&&this._viewZone&&this._removeViewZone())})),this.updateAccessibilitySupport(),this._register(this._codeEditor.onDidChangeCursorSelection(()=>{this._isVisible&&this._updateToggleSelectionFindButton()})),this._register(this._codeEditor.onDidFocusEditorWidget(()=>we(this,void 0,void 0,(function*(){var e;this._isVisible&&(e=yield this._controller.getGlobalBufferTerm())&&e!==this._state.searchString&&(this._state.change({searchString:e},!1),this._findInput.select())})))),this._findInputFocused=E.bindTo(a),this._findFocusTracker=this._register(B.Y(this._findInput.inputBox.inputElement)),this._register(this._findFocusTracker.onDidFocus(()=>{this._findInputFocused.set(!0),this._updateSearchScope()})),this._register(this._findFocusTracker.onDidBlur(()=>{this._findInputFocused.set(!1)})),this._replaceInputFocused=I.bindTo(a),this._replaceFocusTracker=this._register(B.Y(this._replaceInput.inputBox.inputElement)),this._register(this._replaceFocusTracker.onDidFocus(()=>{this._replaceInputFocused.set(!0),this._updateSearchScope()})),this._register(this._replaceFocusTracker.onDidBlur(()=>{this._replaceInputFocused.set(!1)})),this._codeEditor.addOverlayWidget(this),this._codeEditor.getOption(34).addExtraSpaceOnTop&&(this._viewZone=new qe(0)),this._applyTheme(l.getColorTheme()),this._register(l.onDidColorThemeChange(this._applyTheme.bind(this))),this._register(this._codeEditor.onDidChangeModel(()=>{this._isVisible&&(this._viewZoneId=void 0)})),this._register(this._codeEditor.onDidScrollChange(e=>{e.scrollTopChanged?this._layoutViewZone():setTimeout(()=>{this._layoutViewZone()},0)}))}getId(){return Ze.ID}getDomNode(){return this._domNode}getPosition(){return this._isVisible?{preference:0}:null}_onStateChanged(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}var t;e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(80)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=B.I(this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.preserveCase&&this._replaceInput.setPreserveCase(this._state.preserveCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),(e.searchString||e.matchesCount||e.matchesPosition)&&(t=0=P?this._matchesCount.title=We:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),0=P&&(t+="+"),String(this._state.matchesPosition));"0"===i&&(i="?"),e=r.v(Ve,i,t)}else e=He;this._matchesCount.appendChild(document.createTextNode(e)),Object(ee.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString)),ze=Math.max(ze,this._matchesCount.clientWidth)}_getAriaLabel(e,t,i){if(e===He)return""===i?n.a("ariaSearchNoResultEmpty","{0} found",e):n.a("ariaSearchNoResult","{0} found for '{1}'",e,i);if(t){var o=n.a("ariaSearchNoResultWithLineNum","{0} found for '{1}', at {2}",e,i,t.startLineNumber+":"+t.startColumn);const s=this._codeEditor.getModel();return s&&t.startLineNumber<=s.getLineCount()&&1<=t.startLineNumber?s.getLineContent(t.startLineNumber)+", "+o:o}return n.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for '{1}'",e,i)}_updateToggleSelectionFindButton(){var e=this._codeEditor.getSelection(),t=(e=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),this._toggleSelectionFind.checked);this._isVisible&&(t||e)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()}_updateButtons(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=0{clearTimeout(e)}),this._revealTimeouts=[],!this._isVisible){this._isVisible=!0;const o=this._codeEditor.getSelection();switch(this._codeEditor.getOption(34).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var e=!!o&&o.startLineNumber!==o.endLineNumber;this._toggleSelectionFind.checked=e}this._tryUpdateWidgetWidth(),this._updateButtons(),this._revealTimeouts.push(setTimeout(()=>{this._domNode.classList.add("visible"),this._domNode.setAttribute("aria-hidden","false")},0)),this._revealTimeouts.push(setTimeout(()=>{this._findInput.validate()},200)),this._codeEditor.layoutOverlayWidget(this);let s=!0;var t,i,n;this._codeEditor.getOption(34).seedSearchStringFromSelection&&o&&(t=this._codeEditor.getDomNode())&&(t=B.D(t),i=this._codeEditor.getScrolledVisiblePosition(o.getStartPosition()),n=t.left+(i?i.left:0),i=i?i.top:0,this._viewZone&&io.startLineNumber&&(s=!1),(i=B.G(this._domNode).left){clearTimeout(e)}),this._revealTimeouts=[],this._isVisible&&(this._isVisible=!1,this._updateButtons(),this._domNode.classList.remove("visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())}_layoutViewZone(e){if(this._codeEditor.getOption(34).addExtraSpaceOnTop){if(this._isVisible){const t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones(i=>{t.heightInPx=this._getHeight(),this._viewZoneId=i.addZone(t),this._codeEditor.setScrollTop(e||this._codeEditor.getScrollTop()+t.heightInPx)})}}else this._removeViewZone()}_showViewZone(e=!0){if(this._isVisible&&this._codeEditor.getOption(34).addExtraSpaceOnTop){void 0===this._viewZone&&(this._viewZone=new qe(0));const t=this._viewZone;this._codeEditor.changeViewZones(i=>{var n,o;void 0!==this._viewZoneId?(o=this._getHeight())!==t.heightInPx&&(n=o-t.heightInPx,t.heightInPx=o,i.layoutZone(this._viewZoneId),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+n)):(o=this._getHeight(),(o-=this._codeEditor.getOption(74).top)<=0||(t.heightInPx=o,this._viewZoneId=i.addZone(t),e&&this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()+o)))})}}_removeViewZone(){this._codeEditor.changeViewZones(e=>{void 0!==this._viewZoneId&&(e.removeZone(this._viewZoneId),this._viewZoneId=void 0,this._viewZone&&(this._codeEditor.setScrollTop(this._codeEditor.getScrollTop()-this._viewZone.heightInPx),this._viewZone=void 0))})}_applyTheme(e){e={inputActiveOptionBorder:e.getColor(m.hb),inputActiveOptionBackground:e.getColor(m.gb),inputActiveOptionForeground:e.getColor(m.ib),inputBackground:e.getColor(m.jb),inputForeground:e.getColor(m.lb),inputBorder:e.getColor(m.kb),inputValidationInfoBackground:e.getColor(m.pb),inputValidationInfoForeground:e.getColor(m.rb),inputValidationInfoBorder:e.getColor(m.qb),inputValidationWarningBackground:e.getColor(m.sb),inputValidationWarningForeground:e.getColor(m.ub),inputValidationWarningBorder:e.getColor(m.tb),inputValidationErrorBackground:e.getColor(m.mb),inputValidationErrorForeground:e.getColor(m.ob),inputValidationErrorBorder:e.getColor(m.nb)},this._findInput.style(e),this._replaceInput.style(e),this._toggleSelectionFind.style(e)}_tryUpdateWidgetWidth(){if(this._isVisible&&B.N(this._domNode)){var e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)this._domNode.classList.add("hiddenEditor");else{this._domNode.classList.contains("hiddenEditor")&&this._domNode.classList.remove("hiddenEditor");var t=e.width;e=e.minimap.minimapWidth;let i=!1,n=!1,o=!1;if(this._resized&&419=t&&(o=!0),447+e-ze>=t+50&&(i=!0),this._domNode.classList.toggle("collapsed-find-widget",i),this._domNode.classList.toggle("narrow-find-widget",o),this._domNode.classList.toggle("reduced-find-widget",n),o||i||(this._domNode.style.maxWidth=t-28-e-15+"px"),this._resized?(this._findInput.inputBox.layout(),0<(t=this._findInput.inputBox.element.clientWidth)&&(this._replaceInput.width=t)):this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode))}}}_getHeight(){let e=0;return e=(e+=4)+(this._findInput.inputBox.height+2),this._isReplaceVisible&&(e=(e+=4)+(this._replaceInput.inputBox.height+2)),e+4}_tryUpdateHeight(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)}focusFindInput(){this._findInput.select(),this._findInput.focus()}focusReplaceInput(){this._replaceInput.select(),this._replaceInput.focus()}highlightFindOptions(){this._findInput.highlightFindOptions()}_updateSearchScope(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){let e=this._codeEditor.getSelections();e.map(e=>{1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;return e.startLineNumber===e.endLineNumber||h.a.equalsRange(e,t)?null:e}).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}_onFindInputMouseDown(e){e.middleButton&&e.stopPropagation()}_onFindInputKeyDown(e){if(e.equals(3|Ke))this._findInput.inputBox.insertAtCursor("\n");else if(e.equals(2))this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive();else{if(!e.equals(2066))return e.equals(16)?$e(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?Ge(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0;this._codeEditor.focus()}e.preventDefault()}_onReplaceInputKeyDown(e){if(e.equals(3|Ke))ne.i&&ne.g&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(n.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(Ue,!0,0,0)),this._replaceInput.inputBox.insertAtCursor("\n");else if(e.equals(2))this._findInput.focusOnCaseSensitive();else if(e.equals(1026))this._findInput.focus();else{if(!e.equals(2066))return e.equals(16)?$e(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?Ge(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0;this._codeEditor.focus()}e.preventDefault()}getVerticalSashLeft(e){return 0}_keybindingLabelFor(e){let t=this._keybindingService.lookupKeybinding(e);return t?` (${t.getLabel()})`:""}_buildDomNode(){this._findInput=this._register(new be(null,this._contextViewProvider,{width:221,label:Oe,placeholder:Ee,appendCaseSensitiveLabel:this._keybindingLabelFor(R.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(R.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(R.ToggleRegexCommand),validation:e=>{if(0===e.length||!this._findInput.getRegex())return null;try{return new RegExp(e,"gu"),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown(e=>this._onFindInputKeyDown(e))),this._register(this._findInput.inputBox.onDidChange(()=>{this._ignoreChangeEvent||this._state.change({searchString:this._findInput.getValue()},!0)})),this._register(this._findInput.onDidOptionChange(()=>{this._state.change({isRegex:this._findInput.getRegex(),wholeWord:this._findInput.getWholeWords(),matchCase:this._findInput.getCaseSensitive()},!0)})),this._register(this._findInput.onCaseSensitiveKeyDown(e=>{e.equals(1026)&&this._isReplaceVisible&&(this._replaceInput.focus(),e.preventDefault())})),this._register(this._findInput.onRegexKeyDown(e=>{e.equals(2)&&this._isReplaceVisible&&(this._replaceInput.focusOnPreserve(),e.preventDefault())})),this._register(this._findInput.inputBox.onDidHeightChange(e=>{this._tryUpdateHeight()&&this._showViewZone()})),ne.d&&this._register(this._findInput.onMouseDown(e=>this._onFindInputMouseDown(e))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new Ye({label:Ie+this._keybindingLabelFor(R.PreviousMatchFindAction),icon:De,onTrigger:()=>{this._codeEditor.getAction(R.PreviousMatchFindAction).run().then(void 0,ie.f)}})),this._nextBtn=this._register(new Ye({label:Me+this._keybindingLabelFor(R.NextMatchFindAction),icon:Ne,onTrigger:()=>{this._codeEditor.getAction(R.NextMatchFindAction).run().then(void 0,ie.f)}}));let e=document.createElement("div");e.className="find-part",e.appendChild(this._findInput.domNode);const t=document.createElement("div");t.className="find-actions",e.appendChild(t),t.appendChild(this._matchesCount),t.appendChild(this._prevBtn.domNode),t.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new U({icon:ye,title:Te+this._keybindingLabelFor(R.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange(()=>{if(this._toggleSelectionFind.checked){if(this._codeEditor.hasModel()){let e=this._codeEditor.getSelections();e.map(e=>(e=1===e.endColumn&&e.endLineNumber>e.startLineNumber?e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)):e).isEmpty()?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}else this._state.change({searchScope:null},!0)})),t.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new Ye({label:Ae+this._keybindingLabelFor(R.CloseFindWidgetCommand),icon:Ce.c,onTrigger:()=>{this._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:e=>{e.equals(2)&&this._isReplaceVisible&&((this._replaceBtn.isEnabled()?this._replaceBtn:this._codeEditor).focus(),e.preventDefault())}})),t.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new ve(null,void 0,{label:Re,placeholder:Pe,appendPreserveCaseLabel:this._keybindingLabelFor(R.TogglePreserveCaseCommand),history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown(e=>this._onReplaceInputKeyDown(e))),this._register(this._replaceInput.inputBox.onDidChange(()=>{this._state.change({replaceString:this._replaceInput.inputBox.value},!1)})),this._register(this._replaceInput.inputBox.onDidHeightChange(e=>{this._isReplaceVisible&&this._tryUpdateHeight()&&this._showViewZone()})),this._register(this._replaceInput.onDidOptionChange(()=>{this._state.change({preserveCase:this._replaceInput.getPreserveCase()},!0)})),this._register(this._replaceInput.onPreserveCaseKeyDown(e=>{e.equals(2)&&(this._prevBtn.isEnabled()?this._prevBtn.focus():this._nextBtn.isEnabled()?this._nextBtn.focus():this._toggleSelectionFind.enabled?this._toggleSelectionFind.focus():this._closeBtn.isEnabled()&&this._closeBtn.focus(),e.preventDefault())})),this._replaceBtn=this._register(new Ye({label:Fe+this._keybindingLabelFor(R.ReplaceOneAction),icon:xe,onTrigger:()=>{this._controller.replace()},onKeyDown:e=>{e.equals(1026)&&(this._closeBtn.focus(),e.preventDefault())}})),this._replaceAllBtn=this._register(new Ye({label:Be+this._keybindingLabelFor(R.ReplaceAllAction),icon:ke,onTrigger:()=>{this._controller.replaceAll()}}));let i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);const n=document.createElement("div");n.className="replace-actions",i.appendChild(n),n.appendChild(this._replaceBtn.domNode),n.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new Ye({label:je,className:"codicon toggle left",onTrigger:()=>{this._state.change({isReplaceRevealed:!this._isReplaceVisible},!1),this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode),this._replaceInput.inputBox.layout()),this._showViewZone()}})),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(e),this._domNode.appendChild(i),this._resizeSash=new te.b(this._domNode,this,{orientation:0,size:2}),this._resized=!1;let o=419;this._register(this._resizeSash.onDidStart(()=>{o=B.I(this._domNode)})),this._register(this._resizeSash.onDidChange(e=>{this._resized=!0,e=o+e.startX-e.currentX,e<419||(parseFloat(B.A(this._domNode).maxWidth)||0){var e=B.I(this._domNode);if(!(e<419)){let t=419;this._resized&&419!==e||(e=this._codeEditor.getLayoutInfo(),t=e.width-28-e.minimap.minimapWidth-15,this._resized=!0),this._domNode.style.width=t+"px",this._isReplaceVisible&&(this._replaceInput.width=B.I(this._findInput.domNode)),this._findInput.inputBox.layout()}}))}updateAccessibilitySupport(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)}}Ze.ID="editor.contrib.findWidget";class Ye extends j.a{constructor(e){super(),this._opts=e;let t="button";this._opts.className&&(t=t+" "+this._opts.className),this._opts.icon&&(t=t+" "+f.d.asClassName(this._opts.icon)),this._domNode=document.createElement("div"),this._domNode.title=this._opts.label,this._domNode.tabIndex=0,this._domNode.className=t,this._domNode.setAttribute("role","button"),this._domNode.setAttribute("aria-label",this._opts.label),this.onclick(this._domNode,e=>{this._opts.onTrigger(),e.preventDefault()}),this.onkeydown(this._domNode,e=>{e.equals(10)||e.equals(3)?(this._opts.onTrigger(),e.preventDefault()):this._opts.onKeyDown&&this._opts.onKeyDown(e)})}get domNode(){return this._domNode}isEnabled(){return 0<=this._domNode.tabIndex}focus(){this._domNode.focus()}setEnabled(e){this._domNode.classList.toggle("disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1}setExpanded(e){this._domNode.setAttribute("aria-expanded",String(!!e)),e?(this._domNode.classList.remove(...f.d.asClassNameArray(Se)),this._domNode.classList.add(...f.d.asClassNameArray(Le))):(this._domNode.classList.remove(...f.d.asClassNameArray(Le)),this._domNode.classList.add(...f.d.asClassNameArray(Se)))}}Object(f.f)((e,t)=>{var i=(e,i)=>{i&&t.addRule(`.monaco-editor ${e} { background-color: ${i}; }`)},n=(i(".findMatch",e.getColor(m.x)),i(".currentFindMatch",e.getColor(m.v)),i(".findScope",e.getColor(m.z)),e.getColor(m.Y));i(".find-widget",n),i=e.getColor(m.Nc),i&&t.addRule(`.monaco-editor .find-widget { box-shadow: 0 0 8px 2px ${i}; }`),n=e.getColor(m.y),n&&t.addRule(`.monaco-editor .findMatch { border: 1px ${"hc"===e.type?"dotted":"solid"} ${n}; box-sizing: border-box; }`),i=e.getColor(m.w),i&&t.addRule(`.monaco-editor .currentFindMatch { border: 2px solid ${i}; padding: 1px; box-sizing: border-box; }`),n=e.getColor(m.A),n&&t.addRule(`.monaco-editor .findScope { border: 1px ${"hc"===e.type?"dashed":"solid"} ${n}; }`),i=e.getColor(m.h),i&&t.addRule(`.monaco-editor .find-widget { border: 1px solid ${i}; }`),n=e.getColor(m.ab),n&&t.addRule(`.monaco-editor .find-widget { color: ${n}; }`),i=e.getColor(m.cb),i&&t.addRule(`.monaco-editor .find-widget.no-results .matchesCount { color: ${i}; }`),n=e.getColor(m.bb),n?t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${n}; }`):(i=e.getColor(m.Z))&&t.addRule(`.monaco-editor .find-widget .monaco-sash { background-color: ${i}; }`),n=e.getColor(m.Kc),n&&t.addRule(`\n\t\t.monaco-editor .find-widget .button:not(.disabled):hover,\n\t\t.monaco-editor .find-widget .codicon-find-selection:hover {\n\t\t\tbackground-color: ${n} !important;\n\t\t}\n\t`),i=e.getColor(m.db);i&&t.addRule(`.monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: ${i}; }`)});ce=i("7e32"),ue=i("f577"),V=i("533b"),j=i("6dec");var Xe=i("03e8"),Qe=(i=i("b0cd"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this._onStateChanged(e))),this._model=null,this._register(this._editor.onDidChangeModel(()=>{var e=this._editor.getModel()&&this._state.isRevealed;this.disposeModel(),this._state.change({searchScope:null,matchCase:this._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:this._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&this._start({forceRevealReplace:!1,seedSearchStringFromSelection:"none",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1,loop:this._editor.getOption(34).loop})}))}get editor(){return this._editor}static get(t){return t.getContribution(e.ID)}dispose(){this.disposeModel(),super.dispose()}disposeModel(){this._model&&(this._model.dispose(),this._model=null)}_onStateChanged(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)}saveQueryState(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1,0),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1,0),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1,0),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1,0)}loadQueryState(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)}isFindInputFocused(){return!!E.getValue(this._contextKeyService)}getState(){return this._state}closeFindWidget(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()}toggleCaseSensitive(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleWholeWords(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()}toggleRegex(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()}togglePreserveCase(){this._state.change({preserveCase:!this._state.preserveCase},!1),this._state.isRevealed||this.highlightFindOptions()}toggleSearchScope(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){let e=this._editor.getSelections();e.map(e=>(e=1===e.endColumn&&e.endLineNumber>e.startLineNumber?e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1)):e).isEmpty()?null:e).filter(e=>!!e),e.length&&this._state.change({searchScope:e},!0)}}setSearchString(e){this._state.isRegex&&(e=r.t(e)),this._state.change({searchString:e},!1)}highlightFindOptions(e=0){}_start(e){return et(this,void 0,void 0,(function*(){if(this.disposeModel(),this._editor.hasModel()){let i={isRevealed:!0};if("single"===e.seedSearchStringFromSelection?(t=it(this._editor,e.seedSearchStringFromSelection,e.seedSearchStringFromNonEmptySelection))&&(this._state.isRegex?i.searchString=r.t(t):i.searchString=t):"multiple"!==e.seedSearchStringFromSelection||e.updateSearchScope||(t=it(this._editor,e.seedSearchStringFromSelection))&&(i.searchString=t),!i.searchString&&e.seedSearchStringFromGlobalClipboard){var t=yield this.getGlobalBufferTerm();if(!this._editor.hasModel())return;t&&(i.searchString=t)}if(e.forceRevealReplace?i.isReplaceRevealed=!0:this._findWidgetVisible.get()||(i.isReplaceRevealed=!1),e.updateSearchScope){let e=this._editor.getSelections();e.some(e=>!e.isEmpty())&&(i.searchScope=e)}i.loop=e.loop,this._state.change(i,!1),this._model||(this._model=new F(this._editor,this._state))}}))}start(e){return this._start(e)}moveToNextMatch(){return!!this._model&&(this._model.moveToNextMatch(),!0)}moveToPrevMatch(){return!!this._model&&(this._model.moveToPrevMatch(),!0)}replace(){return!!this._model&&(this._model.replace(),!0)}replaceAll(){return!!this._model&&(this._model.replaceAll(),!0)}selectAllMatches(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)}getGlobalBufferTerm(){return et(this,void 0,void 0,(function*(){return this._editor.getOption(34).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""}))}setGlobalBufferTerm(e){this._editor.getOption(34).globalFindClipboard&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)}},ot=(nt.ID="editor.contrib.findController",class extends(nt=Qe([Je(1,D.b),Je(2,Xe.a),Je(3,ue.a)],nt)){constructor(e,t,i,n,o,s,r,a){super(e,i,r,a),this._contextViewService=t,this._keybindingService=n,this._themeService=o,this._notificationService=s,this._widget=null,this._findOptionsWidget=null}_start(e){const t=Object.create(null,{_start:{get:()=>super._start}});return et(this,void 0,void 0,(function*(){this._widget||this._createFindWidget();var i=this._editor.getSelection();let n=!1;switch(this._editor.getOption(34).autoFindInSelection){case"always":n=!0;break;case"never":n=!1;break;case"multiline":var o=!!i&&i.startLineNumber!==i.endLineNumber;n=o}e.updateSearchScope=n,yield t._start.call(this,e),this._widget&&(2===e.shouldFocus?this._widget.focusReplaceInput():1===e.shouldFocus&&this._widget.focusFindInput())}))}highlightFindOptions(e=!1){this._widget||this._createFindWidget(),(this._state.isRevealed&&!e?this._widget:this._findOptionsWidget).highlightFindOptions()}_createFindWidget(){this._widget=this._register(new Ze(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new X(this._editor,this._state,this._keybindingService,this._themeService))}});ot=Qe([Je(1,V.b),Je(2,D.b),Je(3,j.a),Je(4,f.b),Je(5,i.a),Je(6,Xe.a),Je(7,ue.a)],ot);const st=Object(t.p)(new t.f({id:R.StartFindAction,label:n.a("startFindAction","Find"),alias:"Find",precondition:D.a.or(a.a.focus,D.a.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:ce.b.MenubarEditMenu,group:"3_find",title:n.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}}));st.addImplementation(0,(e,t,i)=>{const n=nt.get(t);return!!n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(34).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop})});class rt extends t.b{constructor(){super({id:R.StartFindWithSelection,label:n.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})}run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);e&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"multiple",seedSearchStringFromNonEmptySelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),e.setGlobalBufferTerm(e.getState().searchString))}))}}class at extends t.b{run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);e&&!this._run(e)&&(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===e.getState().searchString.length&&"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),this._run(e))}))}}class lt extends at{constructor(){super({id:R.NextMatchFindAction,label:n.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:[{kbExpr:a.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100},{kbExpr:D.a.and(a.a.focus,E),primary:3,weight:100}]})}_run(e){return!!e.moveToNextMatch()&&(e.editor.pushUndoStop(),!0)}}class dt extends at{constructor(){super({id:R.PreviousMatchFindAction,label:n.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:[{kbExpr:a.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100},{kbExpr:D.a.and(a.a.focus,E),primary:1027,weight:100}]})}_run(e){return e.moveToPrevMatch()}}class ht extends t.b{run(e,t){return et(this,void 0,void 0,(function*(){let e=nt.get(t);if(e){var i="selection"===t.getOption(34).seedSearchStringFromSelection;let n=null;(n="never"!==t.getOption(34).seedSearchStringFromSelection?it(t,"single",i):n)&&e.setSearchString(n),this._run(e)||(yield e.start({forceRevealReplace:!1,seedSearchStringFromSelection:"never"!==t.getOption(34).seedSearchStringFromSelection?"single":"none",seedSearchStringFromNonEmptySelection:i,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop}),this._run(e))}}))}}class ct extends ht{constructor(){super({id:R.NextSelectionMatchFindAction,label:n.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:a.a.focus,primary:2109,weight:100}})}_run(e){return e.moveToNextMatch()}}class ut extends ht{constructor(){super({id:R.PreviousSelectionMatchFindAction,label:n.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:a.a.focus,primary:3133,weight:100}})}_run(e){return e.moveToPrevMatch()}}const gt=Object(t.p)(new t.f({id:R.StartFindReplaceAction,label:n.a("startReplace","Replace"),alias:"Replace",precondition:D.a.or(a.a.focus,D.a.has("editorIsOpen")),kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:ce.b.MenubarEditMenu,group:"3_find",title:n.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})),pt=(gt.addImplementation(0,(e,t,i)=>{if(!t.hasModel()||t.getOption(80))return!1;const n=nt.get(t);if(!n)return!1;const o=t.getSelection();var s=n.isFindInputFocused(),r=!o.isEmpty()&&o.startLineNumber===o.endLineNumber&&"never"!==t.getOption(34).seedSearchStringFromSelection&&!s;s=s||r?2:1;return n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r?"single":"none",seedSearchStringFromNonEmptySelection:"selection"===t.getOption(34).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:"never"!==t.getOption(34).seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1,loop:t.getOption(34).loop})}),Object(t.l)(nt.ID,ot),Object(t.j)(rt),Object(t.j)(lt),Object(t.j)(dt),Object(t.j)(ct),Object(t.j)(ut),t.c.bindToContribution(nt.get));Object(t.k)(new pt({id:R.CloseFindWidgetCommand,precondition:O,handler:e=>e.closeFindWidget(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,D.a.not("isComposing")),primary:9,secondary:[1033]}})),Object(t.k)(new pt({id:R.ToggleCaseSensitiveCommand,precondition:void 0,handler:e=>e.toggleCaseSensitive(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:g.primary,mac:g.mac,win:g.win,linux:g.linux}})),Object(t.k)(new pt({id:R.ToggleWholeWordCommand,precondition:void 0,handler:e=>e.toggleWholeWords(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:p.primary,mac:p.mac,win:p.win,linux:p.linux}})),Object(t.k)(new pt({id:R.ToggleRegexCommand,precondition:void 0,handler:e=>e.toggleRegex(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:M.primary,mac:M.mac,win:M.win,linux:M.linux}})),Object(t.k)(new pt({id:R.ToggleSearchScopeCommand,precondition:void 0,handler:e=>e.toggleSearchScope(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(t.k)(new pt({id:R.TogglePreserveCaseCommand,precondition:void 0,handler:e=>e.togglePreserveCase(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(t.k)(new pt({id:R.ReplaceOneAction,precondition:O,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:3094}})),Object(t.k)(new pt({id:R.ReplaceOneAction,precondition:O,handler:e=>e.replace(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,I),primary:3}})),Object(t.k)(new pt({id:R.ReplaceAllAction,precondition:O,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:2563}})),Object(t.k)(new pt({id:R.ReplaceAllAction,precondition:O,handler:e=>e.replaceAll(),kbOpts:{weight:105,kbExpr:D.a.and(a.a.focus,I),primary:void 0,mac:{primary:2051}}})),Object(t.k)(new pt({id:R.SelectAllMatchesAction,precondition:O,handler:e=>e.selectAllMatches(),kbOpts:{weight:105,kbExpr:a.a.focus,primary:515}}))},a222:function(e,t,i){"use strict";i.r(t),i.d(t,"IPadShowKeyboard",(function(){return r})),i("722f");var n=i("11f7"),o=(t=i("a666"),i("b2cc")),s=i("30db");class r extends t.a{constructor(e){super(),this.editor=e,this.widget=null,s.c&&(this._register(e.onDidChangeConfiguration(()=>this.update())),this.update())}update(){var e=!this.editor.getOption(80);!this.widget&&e?this.widget=new a(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}r.ID="editor.contrib.iPadShowKeyboard";class a extends t.a{constructor(e){super(),this.editor=e,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(n.i(this._domNode,"touchstart",e=>{this.editor.focus()})),this._register(n.i(this._domNode,"focus",e=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return a.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}a.ID="editor.contrib.ShowKeyboardWidget",Object(o.l)(r.ID,r)},a37f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n extends i("a666").a{constructor(e,t,i){super(),this.referenceDomElement=e,this.changeCallback=i,this.width=-1,this.height=-1,this.resizeObserver=null,this.measureReferenceDomElementToken=-1,this.measureReferenceDomElement(!1,t)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this.width}getHeight(){return this.height}startObserving(){"undefined"!=typeof ResizeObserver?!this.resizeObserver&&this.referenceDomElement&&(this.resizeObserver=new ResizeObserver(e=>{e&&e[0]&&e[0].contentRect?this.observe({width:e[0].contentRect.width,height:e[0].contentRect.height}):this.observe()}),this.resizeObserver.observe(this.referenceDomElement)):-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(()=>this.observe(),100))}stopObserving(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)}observe(e){this.measureReferenceDomElement(!0,e)}measureReferenceDomElement(e,t){let i=0,n=0;t?(i=t.width,n=t.height):this.referenceDomElement&&(i=this.referenceDomElement.clientWidth,n=this.referenceDomElement.clientHeight),i=Math.max(5,i),n=Math.max(5,n),this.width===i&&this.height===n||(this.width=i,this.height=n,e&&this.changeCallback())}}},a40b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("editorWorkerService")},a48d:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return i.e("chunk-746e09c3").then(i.bind(null,"2a95d"))}})},a60f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return l}));var n,o,s=i("11f7"),r=i("e8e3"),a=(t=i("6424"),i("a666"));i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.onTouchStart(e),{passive:!1})),this._register(s.i(document,"touchend",e=>this.onTouchEnd(e))),this._register(s.i(document,"touchmove",e=>this.onTouchMove(e),{passive:!1}))}static addTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.targets.push(e),{dispose:()=>{l.INSTANCE.targets=l.INSTANCE.targets.filter(t=>t!==e)}}):a.a.None}static ignoreTarget(e){return l.isTouchDevice()?(l.INSTANCE||(l.INSTANCE=new l),l.INSTANCE.ignoreTargets.push(e),{dispose:()=>{l.INSTANCE.ignoreTargets=l.INSTANCE.ignoreTargets.filter(t=>t!==e)}}):a.a.None}static isTouchDevice(){return"ontouchstart"in window||0=l.HOLD_DELAY&&Math.abs(e.initialPageX-r.t(e.rollingPageX))<30&&Math.abs(e.initialPageY-r.t(e.rollingPageY))<30){let t=this.newGestureEvent(n.Contextmenu,e.initialTarget);t.pageX=r.t(e.rollingPageX),t.pageY=r.t(e.rollingPageY),this.dispatchEvent(t)}else 1===i&&(o=r.t(e.rollingPageX),s=r.t(e.rollingPageY),a=r.t(e.rollingTimestamps)-e.rollingTimestamps[0],d=o-e.rollingPageX[0],h=s-e.rollingPageY[0],c=this.targets.filter(t=>e.initialTarget instanceof Node&&t.contains(e.initialTarget)),this.inertia(c,t,Math.abs(d)/a,0l.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=t,e.tapCount=i}else e.type!==n.Change&&e.type!==n.Contextmenu||(this._lastSetTapCountTime=0);for(let i=0;i{e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),this.dispatched=!0)})}inertia(e,t,i,o,r,a,d,h){this.handle=s.V(()=>{var s=Date.now();let c=s-t,u=0,g=0,p=!0,m=(i+=l.SCROLL_FRICTION*c,a+=l.SCROLL_FRICTION*c,0e.dispatchEvent(m)),p||this.inertia(e,s,i,o,r+u,a,d,h+g)})}onTouchMove(e){var t=Date.now();for(let o=0,s=e.changedTouches.length;ou(e)),i=e,n=t;if(s)for(const o of i)s.setParent(o,n);return t}function p(e){const t=r({dispose:Object(n.a)(()=>{a(t),e()})});return t}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,r(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(e){if(e===this)throw new Error("Cannot register a disposable on itself!");l(e,this),this._isDisposed?m.DISABLE_DISPOSED_WARNING:this._toDispose.add(e)}return e}}m.DISABLE_DISPOSED_WARNING=!1;class f{constructor(){this._store=new m,r(this),l(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}f.None=Object.freeze({dispose(){}});class _{constructor(){this._isDisposed=!1,r(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){var t;this._isDisposed||e===this._value||(null!=(t=this._value)&&t.dispose(),e&&l(e,this),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,a(this),null!=(e=this._value)&&e.dispose(),this._value=void 0}clearAndLeak(){var e=this._value;return this._value=void 0,e&&l(e,null),e}}class b{constructor(e){this.object=e}dispose(){}}},a6d7:function(e,t,i){"use strict";i.d(t,"d",(function(){return o})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"e",(function(){return l})),i.d(t,"c",(function(){return h}));var n=i("303e");function o(e,t){const i=Object.create(null);for(var o in t){var s=t[o];s&&(i[o]=Object(n.xc)(s,e))}return i}function s(e,t,i){function n(){var n=o(e.getColorTheme(),t);"function"==typeof i?i(n):i.style(n)}return n(),e.onDidColorThemeChange(n)}function r(e,t,i){return s(t,{badgeBackground:(null==i?void 0:i.badgeBackground)||n.c,badgeForeground:(null==i?void 0:i.badgeForeground)||n.d,badgeBorder:n.h},e)}function a(e,t,i){return s(t,Object.assign(Object.assign({},l),i||{}),e)}const l={listFocusBackground:n.Gb,listFocusForeground:n.Hb,listFocusOutline:n.Jb,listActiveSelectionBackground:n.zb,listActiveSelectionForeground:n.Ab,listActiveSelectionIconForeground:n.Bb,listFocusAndSelectionBackground:n.zb,listFocusAndSelectionForeground:n.Ab,listInactiveSelectionBackground:n.Pb,listInactiveSelectionIconForeground:n.Rb,listInactiveSelectionForeground:n.Qb,listInactiveFocusBackground:n.Nb,listInactiveFocusOutline:n.Ob,listHoverBackground:n.Lb,listHoverForeground:n.Mb,listDropBackground:n.Cb,listSelectionOutline:n.b,listHoverOutline:n.b,listFilterWidgetBackground:n.Db,listFilterWidgetOutline:n.Fb,listFilterWidgetNoMatchesOutline:n.Eb,listMatchesShadow:n.Nc,treeIndentGuidesStroke:n.Mc,tableColumnsBorder:n.Gc},d={shadowColor:n.Nc,borderColor:n.Tb,foregroundColor:n.Ub,backgroundColor:n.Sb,selectionForegroundColor:n.Xb,selectionBackgroundColor:n.Vb,selectionBorderColor:n.Wb,separatorColor:n.Yb};function h(e,t,i){return s(t,Object.assign(Object.assign({},d),i),e)}},a6ea:function(e,t,i){},a771:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return i.e("chunk-2d237ee7").then(i.bind(null,"fce9"))}})},a79b:function(e,t,i){"use strict";i.r(t),i.d(t,"jsonDefaults",(function(){return s})),i("33f9");var n=i("0ab8");function o(e,t,i){this._onDidChange=new n.Emitter,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}Object.defineProperty(o.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),o.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},o.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)};var s=new o("json",{validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},{documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0});n.languages.json={jsonDefaults:s},n.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),n.languages.onLanguage("json",(function(){i.e("chunk-e13e4362").then(i.bind(null,"47b9")).then((function(e){return e.setupMode(s)}))}))},a8d0:function(e,t,i){"use strict";i.d(t,"h",(function(){return r})),i.d(t,"b",(function(){return l})),i.d(t,"c",(function(){return d})),i.d(t,"e",(function(){return h})),i.d(t,"f",(function(){return c})),i.d(t,"a",(function(){return u})),i.d(t,"d",(function(){return g})),i.d(t,"g",(function(){return p}));var n=i("3742"),o=i("7061"),s=i("6a89");class r{constructor(e,t,i,n){this._viewportBrand=void 0,this.top=0|e,this.left=0|t,this.width=0|i,this.height=0|n}}class a{constructor(e,t){this.outputLineIndex=e,this.outputOffset=t}toString(){return this.outputLineIndex+":"+this.outputOffset}toPosition(e,t){return t=0this.injectionOffsets[n];n++)i{e[i]&&"object"==typeof e[i]?t[i]=o(e[i]):t[i]=e[i]}),t}function s(e){if(e&&"object"==typeof e){const i=[e];for(;0{o in e?i&&(Object(n.j)(e[o])&&Object(n.j)(t[o])?l(e[o],t[o],i):e[o]=t[o]):e[o]=t[o]}),e):t}function d(e,t){if(e!==t){if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let i,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(i=0;ithis._triggerAsyncComputation(),0),this._secondWaitScheduler=new g.e(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new g.e(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=i,this._progressCallback=n}setHoverTime(e){this._hoverTime=e}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(g.h)(e=>this._computer.computeAsync(e)),this._asyncComputationPromise.then(e=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(e)},e=>this._onError(e))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(e){this._completeCallback(e)}_onError(e){this._errorCallback?this._errorCallback(e):Object(p.f)(e)}_onProgress(e){this._progressCallback(e)}start(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation()}}cancel(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}var f=i("e8e3"),_=i("1b7d"),b=i("1898");i("bc02");const v=d.a;class C extends s.a{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new b.a(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class w extends s.a{constructor(e,t,i){super(),this.actionContainer=d.q(e,v("div.action-container")),this.action=d.q(this.actionContainer,v("a.action")),this.action.setAttribute("href","#"),this.action.setAttribute("role","button"),t.iconClass&&d.q(this.action,v("span.icon."+t.iconClass));const n=d.q(this.action,v("span"));n.textContent=i?t.label+` (${i})`:t.label,this._register(d.i(this.actionContainer,d.d.CLICK,e=>{e.stopPropagation(),e.preventDefault(),t.run(this.actionContainer)})),this.setEnabled(!0)}static render(e,t,i){return new w(e,t,i)}setEnabled(e){e?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}var y=i("b400"),S=i("82c9"),L=i("efdb"),x=i("5bd7"),k=i("958f"),D=i("8495"),N=i("0b54"),O=i("9e56"),E=i("b539"),I=i("b7d0"),M=i("303e"),T=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=e.range.endColumn}}const F={type:1,filter:{include:O.b.QuickFix}};let B=class{constructor(e,t,i,n){this._editor=e,this._hover=t,this._markerDecorationsService=i,this._openerService=n,this.recentMarkerCodeActionsInfo=void 0}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];const i=this._editor.getModel();var n=e.range.startLineNumber,o=i.getLineMaxColumn(n);const s=[];for(const h of t){var a=h.range.startLineNumber===n?h.range.startColumn:1,l=h.range.endLineNumber===n?h.range.endColumn:o,d=this._markerDecorationsService.getMarker(i.uri,h);d&&(a=new r.a(e.range.startLineNumber,a,e.range.startLineNumber,l),s.push(new P(this,a,d)))}return s}renderHoverParts(e,t,i){if(!e.length)return s.a.None;const n=new s.b;return e.forEach(e=>t.appendChild(this.renderMarkerHover(e,n))),e=(1===e.length?e:e.sort((e,t)=>y.c.compare(e.marker.severity,t.marker.severity)))[0],this.renderMarkerStatusbar(e,i,n),n}renderMarkerHover(e,t){var i=R("div.hover-row"),n=d.q(i,R("div.marker.hover-contents"));const{source:o,message:s,code:r,relatedInformation:a}=e.marker,l=(this._editor.applyFontInfo(n),d.q(n,R("span")));if(l.style.whiteSpace="pre-wrap",l.innerText=s,o||r)if(r&&"string"!=typeof r){if(e=R("span"),o){const t=d.q(e,R("span"));t.innerText=o}const i=d.q(e,R("a.code-link")),s=(i.setAttribute("href",r.target.toString()),t.add(d.i(i,"click",e=>{this._openerService.open(r.target,{allowCommands:!0}),e.preventDefault(),e.stopPropagation()})),d.q(i,R("span"))),a=(s.innerText=r.value,d.q(n,e));a.style.opacity="0.6",a.style.paddingLeft="6px"}else{const e=d.q(n,R("span"));e.style.opacity="0.6",e.style.paddingLeft="6px",e.innerText=o&&r?`${o}(${r})`:o||`(${r})`}if(Object(f.n)(a))for(const{message:h,resource:c,startLineNumber:u,startColumn:g}of a){const e=d.q(n,R("div")),i=(e.style.marginTop="8px",d.q(e,R("a"))),o=(i.innerText=`${Object(S.b)(c)}(${u}, ${g}): `,i.style.cursor="pointer",t.add(d.i(i,"click",e=>{e.stopPropagation(),e.preventDefault(),this._openerService&&this._openerService.open(c,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:u,startColumn:g}}}).catch(p.f)})),d.q(e,R("span")));o.innerText=h,this._editor.applyFontInfo(o)}return i}renderMarkerStatusbar(e,t,i){if(e.marker.severity!==y.c.Error&&e.marker.severity!==y.c.Warning&&e.marker.severity!==y.c.Info||t.addAction({label:n.a("view problem","View Problem"),commandId:k.NextMarkerAction.ID,run:()=>{this._hover.hide(),k.MarkerController.get(this._editor).showAtMarker(e.marker),this._editor.focus()}}),!this._editor.getOption(80)){const o=t.append(R("div")),r=(this.recentMarkerCodeActionsInfo&&(y.a.makeKey(this.recentMarkerCodeActionsInfo.marker)===y.a.makeKey(e.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(o.textContent=n.a("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0),this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?s.a.None:i.add(Object(g.i)(()=>o.textContent=n.a("checkingForQuickFixes","Checking for quick fixes..."),200))),a=(o.textContent||(o.textContent=String.fromCharCode(160)),this.getCodeActions(e.marker));i.add(Object(s.i)(()=>a.cancel())),a.then(a=>{if(r.dispose(),this.recentMarkerCodeActionsInfo={marker:e.marker,hasCodeActions:0{e||a.dispose()})),t.addAction({label:n.a("quick fixes","Quick Fix..."),commandId:N.e.Id,run:t=>{e=!0;const i=N.f.get(this._editor);t=d.D(t),this._hover.hide(),i.showCodeActions(F,a,{x:t.left+6,y:t.top+t.height+6})}})}else a.dispose(),o.textContent=n.a("noQuickFixes","No quick fixes available")},p.f)}}getCodeActions(e){return Object(g.h)(t=>Object(D.d)(this._editor.getModel(),new r.a(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),F,E.b.None,t))}};B=T([A(2,L.a),A(3,x.a)],B),Object(I.f)((e,t)=>{var i=e.getColor(M.Jc);i&&t.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${i}; }`),i=e.getColor(M.Ic);i&&t.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${i}; }`)});O=i("0a0f");var j=i("78bc"),W=i("bfa1c"),V=i("2504");function H(e,t,i){const n=u.p.ordered(e);var o=n.map(n=>Promise.resolve(n.provideHover(e,t,i)).then(e=>{return e&&(i=void 0!==(t=e).range,t=void 0!==t.contents&&t.contents&&0{Object(p.g)(e)}));return Promise.all(o).then(f.e)}Object(t.n)("_executeHoverProvider",(e,t)=>H(e,t,V.a.None));T=i("fbba"),L=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=e.range.endColumn}}let q=class{constructor(e,t,i,n,o){this._editor=e,this._hover=t,this._modeService=i,this._openerService=n,this._configurationService=o}createLoadingMessage(e){return new K(this,e.range,[(new j.a).appendText(n.a("modesContentHover.loading","Loading..."))])}computeSync(e,t){if(!this._editor.hasModel()||1!==e.type)return[];const i=this._editor.getModel();var o=e.range.startLineNumber,s=i.getLineMaxColumn(o);const a=[];for(const n of t){var l=n.range.startLineNumber===o?n.range.startColumn:1,d=n.range.endLineNumber===o?n.range.endColumn:s,h=n.options.hoverMessage;h&&!Object(j.b)(h)&&(l=new r.a(e.range.startLineNumber,l,e.range.startLineNumber,d),a.push(new K(this,l,Object(f.c)(h))))}t=this._editor.getModel().getLineLength(o);var c=this._configurationService.getValue("editor.maxTokenizationLineLength");return"number"==typeof c&&c<=t&&a.push(new K(this,new r.a(o,1,o,t+1),[{value:n.a("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}])),a}computeAsync(e,t,i){return z(this,void 0,void 0,(function*(){if(!this._editor.hasModel()||1!==e.type)return Promise.resolve([]);var t,n=this._editor.getModel();if(!u.p.has(n))return Promise.resolve([]);const o=[];for(const s of yield H(n,new h.a(e.range.startLineNumber,e.range.startColumn),i))Object(j.b)(s.contents)||(t=s.range?r.a.lift(s.range):e.range,o.push(new K(this,t,s.contents)));return o}))}renderHoverParts(e,t,i){const n=new s.b;for(const s of e)for(const e of s.contents)if(!Object(j.b)(e)){var o=U("div.hover-row.markdown-hover");const i=d.q(o,U("div.hover-contents")),s=n.add(new W.a({editor:this._editor},this._modeService,this._openerService));n.add(s.onDidRenderAsync(()=>{i.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));var r=n.add(s.render(e));i.appendChild(r.element),t.appendChild(o)}return n}};q=L([A(2,l.a),A(3,x.a),A(4,T.a)],q);class ${constructor(e,t){this.priority=e,this.range=t,this.type=1}equals(e){return 1===e.type&&this.range.equalsRange(e.range)}canAdoptVisibleHover(e,t){return 1===e.type&&t.lineNumber===this.range.startLineNumber}}class G{constructor(e,t,i){this.priority=e,this.owner=t,this.range=i,this.type=2}equals(e){return 2===e.type&&this.owner===e.owner}canAdoptVisibleHover(e,t){return 2===e.type&&this.owner===e.owner}}var Z=i("2e66"),Y=(L=i("9e74"),i("7e32")),X=(A=i("4fc3"),T=i("4779"),function(e,t){return function(i,n){t(i,n,e)}});class Q{constructor(e,t,i){this.owner=e,this.range=t,this.controller=i}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}}let J=class{constructor(e,t,i,n,o,s,r,a){this._editor=e,this._hover=t,this._commandService=i,this._menuService=n,this._contextKeyService=o,this._modeService=s,this._openerService=r,this.accessibilityService=a}suggestHoverAnchor(e){const t=Z.GhostTextController.get(this._editor);if(t){if(8===e.target.type){var i=e.target.detail;if(t.shouldShowHoverAtViewZone(i.viewZoneId))return new G(1e3,this,r.a.fromPositions(i.positionBefore||i.position,i.positionBefore||i.position))}if(7===e.target.type&&e.target.range&&t.shouldShowHoverAt(e.target.range))return new G(1e3,this,e.target.range);if(6===e.target.type&&e.target.range&&e.target.detail&&e.target.detail.mightBeForeignElement&&t.shouldShowHoverAt(e.target.range))return new G(1e3,this,e.target.range)}return null}computeSync(e,t){const i=Z.GhostTextController.get(this._editor);return i&&i.shouldShowHoverAt(e.range)?[new Q(this,e.range,i)]:[]}renderHoverParts(e,t,i){const o=new s.b,r=e[0],a=(this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(r,t,o),o.add(this._menuService.createMenu(Y.b.InlineCompletionsActions,this._contextKeyService)));var l,d;e=i.addAction({label:n.a("showNextInlineSuggestion","Next"),commandId:Z.ShowNextInlineSuggestionAction.ID,run:()=>this._commandService.executeCommand(Z.ShowNextInlineSuggestionAction.ID)}),t=i.addAction({label:n.a("showPreviousInlineSuggestion","Previous"),commandId:Z.ShowPreviousInlineSuggestionAction.ID,run:()=>this._commandService.executeCommand(Z.ShowPreviousInlineSuggestionAction.ID)});i.addAction({label:n.a("acceptInlineSuggestion","Accept"),commandId:Z.commitInlineSuggestionAction.id,run:()=>this._commandService.executeCommand(Z.commitInlineSuggestionAction.id)});const h=[e,t];for(const n of h)n.setEnabled(!1);for([l,d]of(r.hasMultipleSuggestions().then(e=>{for(const t of h)t.setEnabled(e)}),a.getActions()))for(const e of d)e instanceof Y.c&&i.addAction({label:e.label,commandId:e.item.id,run:()=>this._commandService.executeCommand(e.item.id)});return o}renderScreenReaderText(e,t,i){const o=d.a;var s=o("div.hover-row.markdown-hover");const r=d.q(s,o("div.hover-contents")),a=i.add(new W.a({editor:this._editor},this._modeService,this._openerService));var l=e=>{i.add(a.onDidRenderAsync(()=>{r.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));var t=n.a("inlineSuggestionFollows","Suggestion:");t=i.add(a.render((new j.a).appendText(t).appendCodeblock("text",e)));r.replaceChildren(t.element)};const h=null==(e=null==(e=e.controller.activeModel)?void 0:e.inlineCompletionsModel)?void 0:e.ghostText;h&&(e=this._editor.getModel().getLineContent(h.lineNumber),l(h.renderForScreenReader(e))),t.appendChild(s)}};J=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(e,t){for(let i=0;i{this.backgroundColor=e.getColor(M.E)||ie.a.white})),this._register(d.i(this.pickedColorNode,d.d.CLICK,()=>this.model.selectNextColorPresentation())),this._register(d.i(n,d.d.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this._register(t.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=ie.a.Format.CSS.format(t.color)||"",this.pickedColorNode.classList.toggle("light",(t.color.rgba.a<.5?this.backgroundColor:t.color).isLighter())}onDidChangeColor(e){this.pickedColorNode.style.backgroundColor=ie.a.Format.CSS.format(e)||"",this.pickedColorNode.classList.toggle("light",(e.rgba.a<.5?this.backgroundColor:e).isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""}}class de extends s.a{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this.domNode=ae(".colorpicker-body"),d.q(e,this.domNode),this.saturationBox=new he(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new ue(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new ge(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:e,v:t}){var i=this.model.color.hsva;this.model.color=new ie.a(new ie.b(i.h,e,t,i.a))}onDidOpacityChange(e){var t=this.model.color.hsva;this.model.color=new ie.a(new ie.b(t.h,t.s,t.v,e))}onDidHueChange(e){var t=this.model.color.hsva;e=360*(1-e);this.model.color=new ie.a(new ie.b(360==e?0:e,t.s,t.v,t.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class he extends s.a{constructor(e,t,i){super(),this.model=t,this.pixelRatio=i,this._onDidChange=new ne.b,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ne.b,this.onColorFlushed=this._onColorFlushed.event,this.domNode=ae(".saturation-wrap"),d.q(e,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",d.q(this.domNode,this.canvas),this.selection=ae(".saturation-selection"),d.q(this.domNode,this.selection),this.layout(),this._register(d.g(this.domNode,e=>this.onMouseDown(e))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(e){this.monitor=this._register(new re.a);const t=d.D(this.domNode),i=(e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,re.b,e=>this.onDidChangePosition(e.posx-t.left,e.posy-t.top),()=>null),d.h(document,()=>{this._onColorFlushed.fire(),i.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0))}onDidChangePosition(e,t){e=Math.max(0,Math.min(1,e/this.width)),t=Math.max(0,Math.min(1,1-t/this.height)),this.paintSelection(e,t),this._onDidChange.fire({s:e,v:t})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();var e=this.model.color.hsva;this.paintSelection(e.s,e.v)}paint(){var e=this.model.color.hsva;e=new ie.a(new ie.b(e.h,1,1,1));const t=this.canvas.getContext("2d"),i=t.createLinearGradient(0,0,this.canvas.width,0),n=(i.addColorStop(0,"rgba(255, 255, 255, 1)"),i.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),i.addColorStop(1,"rgba(255, 255, 255, 0)"),t.createLinearGradient(0,0,0,this.canvas.height));n.addColorStop(0,"rgba(0, 0, 0, 0)"),n.addColorStop(1,"rgba(0, 0, 0, 1)"),t.rect(0,0,this.canvas.width,this.canvas.height),t.fillStyle=ie.a.Format.CSS.format(e),t.fill(),t.fillStyle=i,t.fill(),t.fillStyle=n,t.fill()}paintSelection(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class ce extends s.a{constructor(e,t){super(),this.model=t,this._onDidChange=new ne.b,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new ne.b,this.onColorFlushed=this._onColorFlushed.event,this.domNode=d.q(e,ae(".strip")),this.overlay=d.q(this.domNode,ae(".overlay")),this.slider=d.q(this.domNode,ae(".slider")),this.slider.style.top="0px",this._register(d.g(this.domNode,e=>this.onMouseDown(e))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;var e=this.getValue(this.model.color);this.updateSliderPosition(e)}onMouseDown(e){const t=this._register(new re.a),i=d.D(this.domNode),n=(this.domNode.classList.add("grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),t.startMonitoring(e.target,e.buttons,re.b,e=>this.onDidChangeTop(e.posy-i.top),()=>null),d.h(document,()=>{this._onColorFlushed.fire(),n.dispose(),t.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0))}onDidChangeTop(e){e=Math.max(0,Math.min(1,1-e/this.height)),this.updateSliderPosition(e),this._onDidChange.fire(e)}updateSliderPosition(e){this.slider.style.top=(1-e)*this.height+"px"}}class ue extends ce{constructor(e,t){super(e,t),this.domNode.classList.add("opacity-strip"),this._register(t.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(e){var{r:e,g:t,b:i}=e.rgba,n=new ie.a(new ie.c(e,t,i,1));e=new ie.a(new ie.c(e,t,i,0));this.overlay.style.background=`linear-gradient(to bottom, ${n} 0%, ${e} 100%)`}getValue(e){return e.hsva.a}}class ge extends ce{constructor(e,t){super(e,t),this.domNode.classList.add("hue-strip")}getValue(e){return 1-e.hsva.h/360}}class pe extends _.a{constructor(e,t,i,n){super(),this.model=t,this.pixelRatio=i,this._register(Object(se.l)(()=>this.layout())),t=ae(".colorpicker-widget"),e.appendChild(t),i=new le(t,this.model,n),this.body=new de(t,this.model,this.pixelRatio),this._register(i),this._register(this.body)}layout(){this.body.layout()}}var me=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class fe{constructor(e,t,i,n){this.owner=e,this.range=t,this.model=i,this.provider=n,this.forceShowAtRange=!0}isValidForHoverAnchor(e){return 1===e.type&&this.range.startColumn<=e.range.startColumn&&this.range.endColumn>=e.range.endColumn}}let _e=class{constructor(e,t,i){this._editor=e,this._hover=t,this._themeService=i}computeSync(e,t){return[]}computeAsync(e,t,i){return me(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=te.a.get(this._editor);for(const n of t){var e=i.getColorData(n.range.getStartPosition());if(e)return[yield this._createColorHover(this._editor.getModel(),e.colorInfo,e.provider)]}}return[]}))}_createColorHover(e,t,i){return me(this,void 0,void 0,(function*(){var n=e.getValueInRange(t.range),{red:o,green:s,blue:a,alpha:l}=t.color,o=new ie.c(Math.round(255*o),Math.round(255*s),Math.round(255*a),l),s=new ie.a(o),a=yield Object(ee.a)(e,t,i,V.a.None);const d=new oe(s,[],0);return d.colorPresentations=a||[],d.guessColorPresentation(s,n),new fe(this,r.a.lift(t.range),d,i)}))}renderHoverParts(e,t,i){if(0===e.length||!this._editor.hasModel())return s.a.None;const n=new s.b,o=e[0],a=this._editor.getModel(),l=o.model;e=n.add(new pe(t,l,this._editor.getOption(128),this._themeService));let d=new r.a(o.range.startLineNumber,o.range.startColumn,o.range.endLineNumber,o.range.endColumn);const h=()=>{let e,t;var i;l.presentation.textEdit?(e=[l.presentation.textEdit],t=new r.a(l.presentation.textEdit.range.startLineNumber,l.presentation.textEdit.range.startColumn,l.presentation.textEdit.range.endLineNumber,l.presentation.textEdit.range.endColumn),i=this._editor.getModel()._setTrackedRange(null,t,3),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e),t=this._editor.getModel()._getTrackedRange(i)||t):(e=[{identifier:null,range:d,text:l.presentation.label,forceMoveMarkers:!1}],t=d.setEndPosition(d.endLineNumber,d.startColumn+l.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",e)),l.presentation.additionalTextEdits&&(e=[...l.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",e),this._hover.hide()),this._editor.pushUndoStop(),d=t},c=e=>Object(ee.a)(a,{range:d,color:{red:e.rgba.r/255,green:e.rgba.g/255,blue:e.rgba.b/255,alpha:e.rgba.a}},o.provider,V.a.None).then(e=>{l.colorPresentations=e||[]});return n.add(l.onColorFlushed(e=>{c(e).then(h)})),n.add(l.onDidChangeColor(c)),this._hover.setColorPicker(e),n}};_e=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{var i;return!!e.options.isWholeLine||(i=e.range.startLineNumber===n?e.range.startColumn:1,e=e.range.endLineNumber===n?e.range.endColumn:o,!(i>t.range.startColumn||t.range.endColumn>e))})}computeAsync(e){return be(this,void 0,void 0,(function*(){const t=this._anchor;if(!this._editor.hasModel()||!t)return Promise.resolve([]);const i=we._getLineDecorations(this._editor,t);var n=yield Promise.all(this._participants.map(n=>this._computeAsync(n,i,t,e)));return Object(f.k)(n)}))}_computeAsync(e,t,i,n){return be(this,void 0,void 0,(function*(){return e.computeAsync?e.computeAsync(i,t,n):[]}))}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];var e=we._getLineDecorations(this._editor,this._anchor);let t=[];for(const i of this._participants)t=t.concat(i.computeSync(this._anchor,e));return Object(f.e)(t)}onResult(e,t){this._result=t?e.concat(this._result):this._result.concat(e)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){if(this._anchor)for(const t of this._participants)if(t.createLoadingMessage){var e=t.createLoadingMessage(this._anchor);if(e)return this._result.slice(0).concat([e])}return this._result.slice(0)}}let ye=class e extends _.a{constructor(t,i,n,o){super(),this._hoverVisibleKey=i,this._keybindingService=o,this.allowEditorOverflow=!0,this._participants=[n.createInstance(_e,t,this),n.createInstance(q,t,this),n.createInstance(J,t,this),n.createInstance(B,t,this)],this._hover=this._register(new C),this._id=e.ID,this._editor=t,this._isVisible=!1,this._stoleFocus=!1,this._renderDisposable=null,this.onkeydown(this._hover.containerDomNode,e=>{e.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(e=>{e.hasChanged(42)&&this._updateFont()})),this._editor.onDidLayoutChange(()=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1,this._messages=[],this._lastAnchor=null,this._computer=new we(this._editor,this._participants),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._hoverOperation=new m(this._computer,e=>this._withResult(e,!0),null,e=>this._withResult(e,!1),this._editor.getOption(52).delay),this._register(d.o(this.getDomNode(),d.d.FOCUS,()=>{this._colorPicker&&this.getDomNode().classList.add("colorpicker-hover")})),this._register(d.o(this.getDomNode(),d.d.BLUR,()=>{this.getDomNode().classList.remove("colorpicker-hover")})),this._register(t.onDidChangeConfiguration(()=>{this._hoverOperation.setHoverTime(this._editor.getOption(52).delay)})),this._register(u.F.onDidChange(()=>{this._isVisible&&this._lastAnchor&&0e.startsWith("ced-colorBox"))&&e.target.range.endColumn-e.target.range.startColumn==1?new r.a(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1):e.target.range,n.push(new $(0,i))),0!==n.length&&(n.sort((e,t)=>t.priority-e.priority),this._startShowingAt(n[0],0,!1),!0)}_showAt(e,t,i){this._showAtPosition=e,this._showAtRange=t,this._hoverVisibleKey.set(!0),this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._editor.render(),(this._stoleFocus=i)&&this._hover.containerDomNode.focus()}getPosition(){return this._isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null}_updateFont(){const e=Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code"));e.forEach(e=>this._editor.applyFontInfo(e))}_updateContents(e){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(e),this._updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}layout(){var e=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:t,lineHeight:i}=this._editor.getOption(42);this._hover.contentsDomNode.style.fontSize=t+"px",this._hover.contentsDomNode.style.lineHeight=i+"px",this._hover.contentsDomNode.style.maxHeight=e+"px",this._hover.contentsDomNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"}onModelDecorationsChanged(){this._isChangingDecorations||this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAtRange(e,t,i){this._startShowingAt(new $(0,e),t,i)}_startShowingAt(e,t,i){if(!this._lastAnchor||!this._lastAnchor.equals(e)){if(this._hoverOperation.cancel(),this._isVisible)if(this._showAtPosition&&this._lastAnchor&&e.canAdoptVisibleHover(this._lastAnchor,this._showAtPosition)){var n=this._messages.filter(t=>t.isValidForHoverAnchor(e));if(0===n.length)this.hide();else{if(n.length===this._messages.length)return;this._renderMessages(e,n)}}else this.hide();this._lastAnchor=e,this._computer.setAnchor(e),this._shouldFocus=i,this._hoverOperation.start(t)}}hide(){this._lastAnchor=null,this._hoverOperation.cancel(),this._isVisible&&(setTimeout(()=>{this._isVisible||this._hoverVisibleKey.set(!1)},0),this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus()),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}setColorPicker(e){this._colorPicker=e}onContentsChanged(){this._hover.onContentsChanged()}_withResult(e,t){this._messages=e,this._lastAnchor&&0{e.hasChanged(42)&&this.updateFont()})),this._editor.addOverlayWidget(this)}get isVisible(){return this._isVisible}set isVisible(e){this._isVisible=e,this._domNode.classList.toggle("hidden",!this._isVisible)}getId(){return this._id}getDomNode(){return this._domNode}showAt(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);e=this._editor.getLayoutInfo();var t=this._editor.getTopForLineNumber(this._showAtLineNumber),i=this._editor.getScrollTop(),n=this._editor.getOption(58);t=t-i-(this._domNode.clientHeight-n)/2;this._domNode.style.left=e.glyphMarginLeft+e.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(t),0)+"px"}hide(){this.isVisible&&(this.isVisible=!1)}getPosition(){return null}dispose(){this._editor.removeOverlayWidget(this),super.dispose()}updateFont(){var e=Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),t=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));[...e,...t].forEach(e=>this._editor.applyFontInfo(e))}updateContents(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()}}class Le{constructor(e){this._editor=e,this._lineNumber=-1,this._result=[]}setLineNumber(e){this._lineNumber=e,this._result=[]}clearResult(){this._result=[]}computeSync(){var e,t=e=>({value:e}),i=this._editor.getLineDecorations(this._lineNumber);const n=[];if(i)for(const o of i)o.options.glyphMarginClassName&&(e=o.options.glyphMarginHoverMessage)&&!Object(j.b)(e)&&n.push(...Object(f.c)(e).map(t));return n}onResult(e,t){this._result=this._result.concat(e)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class xe extends Se{constructor(e,t,i=x.b){super(xe.ID,e),this._renderDisposeables=this._register(new s.b),this._messages=[],this._lastLineNumber=-1,this._markdownRenderer=this._register(new W.a({editor:this._editor},t,i)),this._computer=new Le(this._editor),this._hoverOperation=new m(this._computer,e=>this._withResult(e),void 0,e=>this._withResult(e),300)}dispose(){this._hoverOperation.cancel(),super.dispose()}onModelDecorationsChanged(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),super.hide()}_withResult(e){this._messages=e,0{e.hasChanged(52)&&(this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=a.a.hoverVisible.bindTo(o)}static get(t){return t.getContribution(e.ID)}_hookEvents(){var e=()=>this._hideWidgets(),t=this._editor.getOption(52);this._isHoverEnabled=t.enabled,this._isHoverSticky=t.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(e=>this._onEditorMouseDown(e))),this._toUnhook.add(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(e=>this._onEditorMouseMove(e))),this._toUnhook.add(this._editor.onKeyDown(e=>this._onKeyDown(e)))),this._toUnhook.add(this._editor.onMouseLeave(e)),this._toUnhook.add(this._editor.onDidChangeModel(e)),this._toUnhook.add(this._editor.onDidScrollChange(e=>this._onEditorScrollChanged(e)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){var e;null!=(e=this._contentWidget)&&e.onModelDecorationsChanged(),null!=(e=this._glyphWidget)&&e.onModelDecorationsChanged()}_onEditorScrollChanged(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(e){this._isMouseDown=!0;var t=e.target.type;9===t&&e.target.detail===ye.ID?this._hoverClicked=!0:12===t&&e.target.detail===xe.ID||(12!==t&&e.target.detail!==xe.ID&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(e){this._isMouseDown=!1}_onEditorMouseMove(e){var t,i=e.target.type;if((!this._isMouseDown||!this._hoverClicked)&&(!this._isHoverSticky||9!==i||e.target.detail!==ye.ID)&&(!this._isHoverSticky||null!=(t=null==(t=e.event.browserEvent.view)?void 0:t.getSelection())&&t.isCollapsed)&&(this._isHoverSticky||9!==i||e.target.detail!==ye.ID||null==(t=this._contentWidget)||!t.isColorPickerVisible())&&(!this._isHoverSticky||12!==i||e.target.detail!==xe.ID))if(this._isHoverEnabled){const n=this._getOrCreateContentWidget();n.maybeShowAt(e)?null!=(t=this._glyphWidget)&&t.hide():2===i&&e.target.position?(null!=(t=this._contentWidget)&&t.hide(),this._glyphWidget||(this._glyphWidget=new xe(this._editor,this._modeService,this._openerService)),this._glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}else this._hideWidgets()}_onKeyDown(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()}_hideWidgets(){var e;this._isMouseDown&&this._hoverClicked&&null!=(e=this._contentWidget)&&e.isColorPickerVisible()||(this._hoverClicked=!1,null!=(e=this._glyphWidget)&&e.hide(),null!=(e=this._contentWidget)&&e.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance(ye,this._editor,this._hoverVisibleKey)),this._contentWidget}isColorPickerVisible(){var e;return(null==(e=this._contentWidget)?void 0:e.isColorPickerVisible())||!1}showContentHover(e,t,i){this._getOrCreateContentWidget().startShowingAtRange(e,t,i)}dispose(){var e;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),null!=(e=this._glyphWidget)&&e.dispose(),null!=(e=this._contentWidget)&&e.dispose()}};De.ID="editor.contrib.hover",De=c([X(1,O.a),X(2,x.a),X(3,l.a),X(4,A.b)],De);class Ne extends t.b{constructor(){super({id:"editor.action.showHover",label:n.a({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:a.a.editorTextFocus,primary:Object(o.a)(2089,2087),weight:100}})}run(e,t){if(t.hasModel()){let e=De.get(t);var i;e&&(i=t.getPosition(),i=new r.a(i.lineNumber,i.column,i.lineNumber,i.column),t=2===t.getOption(2),e.showContentHover(i,1,t))}}}class Oe extends t.b{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:n.a({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(e,t){let i=De.get(t);if(i){var n=t.getPosition();if(n){const e=new r.a(n.lineNumber,n.column,n.lineNumber,n.column),o=ke.GotoDefinitionAtPositionEditorContribution.get(t),s=o.startFindDefinitionFromCursor(n);s.then(()=>{i.showContentHover(e,1,!0)})}}}}Object(t.l)(De.ID,De),Object(t.j)(Ne),Object(t.j)(Oe),Object(I.f)((e,t)=>{var i=e.getColor(M.H);i&&t.addRule(`.monaco-editor .hoverHighlight { background-color: ${i}; }`),i=e.getColor(M.E);i&&t.addRule(`.monaco-editor .monaco-hover { background-color: ${i}; }`);const n=e.getColor(M.F);n&&(t.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${n}; }`),t.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${n.transparent(.5)}; }`),t.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${n.transparent(.5)}; }`)),i=e.getColor(M.Jc),i&&t.addRule(`.monaco-editor .monaco-hover a { color: ${i}; }`),i=e.getColor(M.Ic),i&&t.addRule(`.monaco-editor .monaco-hover a:hover { color: ${i}; }`),i=e.getColor(M.G),i&&t.addRule(`.monaco-editor .monaco-hover { color: ${i}; }`),i=e.getColor(M.I),i&&t.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${i}; }`),i=e.getColor(M.Hc),i&&t.addRule(`.monaco-editor .monaco-hover code { background-color: ${i}; }`)})},af40:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},afa2:function(e,t,i){},b055:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("8ae8");function o(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===n.a.ICodeEditor}function s(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===n.a.IDiffEditor}function r(e){return o(e)?e:s(e)?e.getModifiedEditor():null}},b0cd:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return o})),t=i("4b76"),i=i("0a0f"),t.a;const n=Object(i.c)("notificationService");class o{}},b12b:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return i.e("chunk-2d0c0494").then(i.bind(null,"40ac"))}})},b1ca:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("themeService")},b223:function(e,t,i){},b272:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("3742"),o=i("2c29"),s=i("2e5d"),r=i("f85a"),a=i("6a89"),l=i("7061");class d{static deleteRight(e,t,i,n){let s=[],l=3!==e;for(let c=0,u=n.length;c=m.length+1)return!1;var d=m.charAt(l.column-2),h=n.get(d);if(!h)return!1;if(Object(s.g)(d)){if("never"===i)return!1}else if("never"===t)return!1;var c=m.charAt(l.column-1);let f=!1;for(const e of h)e.open===d&&e.close===c&&(f=!0);if(!f)return!1;if("auto"===e){let e=!1;for(let t=0,i=a.length;tthis.runCommand(e,t),description:this._description})}_registerMenuItem(e){d.d.appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title,icon:e.icon,precondition:this.precondition},when:e.when,order:e.order})}}class b extends _{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t,i){return this._implementations.push({priority:e,name:t,implementation:i}),this._implementations.sort((e,t)=>t.priority-e.priority),{dispose:()=>{for(let e=0;e{const i=e.get(c.b);if(i.contextMatchesRules(Object(m.o)(this.precondition)))return this.runEditorCommand(e,n,t)})}}class w extends C{constructor(e){super(w.convertOptions(e)),this.label=e.label,this.alias=e.alias}static convertOptions(e){let t;function i(t){return t.menuId||(t.menuId=d.b.EditorContext),t.title||(t.title=e.label),t.when=c.a.and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push(...e.contextMenuOpts.map(i)):e.contextMenuOpts&&t.push(i(e.contextMenuOpts)),e.menuOpts=t,e}runEditorCommand(e,t,i){return this.reportTelemetry(e,t),this.run(e,t,i||{})}reportTelemetry(e,t){e.get(p.a).publicLog2("editorActionInvoked",{name:this.label,id:this.id})}}class y extends w{constructor(){super(...arguments),this._implementations=[]}addImplementation(e,t){return this._implementations.push([e,t]),this._implementations.sort((e,t)=>t[0]-e[0]),{dispose:()=>{for(let e=0;enew Promise((n,o)=>{try{n(t(e.object.textEditorModel,r.a.lift(s),i.slice(2)))}catch(n){o(n)}}).finally(()=>{e.dispose()}))}))}function L(e,t){h.a.registerCommand(e,(function(e,...i){var[n]=i,s=(Object(m.c)(o.a.isUri(n)),e.get(a.a).getModel(n));return s?t(s,...i.slice(1)):e.get(l.a).createModelReference(n).then(e=>new Promise((n,o)=>{try{n(t(e.object.textEditorModel,i.slice(1)))}catch(n){o(n)}}).finally(()=>{e.dispose()}))}))}function x(e){return E.INSTANCE.registerEditorCommand(e),e}function k(e){return e=new e,E.INSTANCE.registerEditorAction(e),e}function D(e){return E.INSTANCE.registerEditorAction(e),e}function N(e){E.INSTANCE.registerEditorAction(e)}function O(e,t){E.INSTANCE.registerEditorContribution(e,t)}(i=n=n||{}).getEditorCommand=function(e){return E.INSTANCE.getEditorCommand(e)},i.getEditorActions=function(){return E.INSTANCE.getEditorActions()},i.getEditorContributions=function(){return E.INSTANCE.getEditorContributions()},i.getSomeEditorContributions=function(e){return E.INSTANCE.getEditorContributions().filter(t=>0<=e.indexOf(t.id))},i.getDiffEditorContributions=function(){return E.INSTANCE.getDiffEditorContributions()};class E{constructor(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}registerEditorContribution(e,t){this.editorContributions.push({id:e,ctor:t})}getEditorContributions(){return this.editorContributions.slice(0)}getDiffEditorContributions(){return this.diffEditorContributions.slice(0)}registerEditorAction(e){e.register(),this.editorActions.push(e)}getEditorActions(){return this.editorActions.slice(0)}registerEditorCommand(e){e.register(),this.editorCommands[e.id]=e}getEditorCommand(e){return this.editorCommands[e]||null}}function I(e){return e.register(),e}E.INSTANCE=new E,g.a.add("editor.contributions",E.INSTANCE);const M=I(new b({id:"undo",precondition:void 0,kbOpts:{weight:0,primary:2104},menuOpts:[{menuId:d.b.MenubarEditMenu,group:"1_do",title:t.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1},{menuId:d.b.CommandPalette,group:"",title:t.a("undo","Undo"),order:1}]})),T=(I(new v(M,{id:"default:undo",precondition:void 0})),I(new b({id:"redo",precondition:void 0,kbOpts:{weight:0,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:[{menuId:d.b.MenubarEditMenu,group:"1_do",title:t.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2},{menuId:d.b.CommandPalette,group:"",title:t.a("redo","Redo"),order:1}]}))),A=(I(new v(T,{id:"default:redo",precondition:void 0})),I(new b({id:"editor.action.selectAll",precondition:void 0,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:[{menuId:d.b.MenubarSelectionMenu,group:"1_basic",title:t.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1},{menuId:d.b.CommandPalette,group:"",title:t.a("selectAll","Select All"),order:1}]})))},b329:function(e,t,i){},b3b2:function(e,t,i){"use strict";i.r(t),i.d(t,"MoveWordCommand",(function(){return _})),i.d(t,"WordLeftCommand",(function(){return b})),i.d(t,"WordRightCommand",(function(){return v})),i.d(t,"CursorWordStartLeft",(function(){return C})),i.d(t,"CursorWordEndLeft",(function(){return w})),i.d(t,"CursorWordLeft",(function(){return y})),i.d(t,"CursorWordStartLeftSelect",(function(){return S})),i.d(t,"CursorWordEndLeftSelect",(function(){return L})),i.d(t,"CursorWordLeftSelect",(function(){return x})),i.d(t,"CursorWordAccessibilityLeft",(function(){return k})),i.d(t,"CursorWordAccessibilityLeftSelect",(function(){return D})),i.d(t,"CursorWordStartRight",(function(){return N})),i.d(t,"CursorWordEndRight",(function(){return O})),i.d(t,"CursorWordRight",(function(){return E})),i.d(t,"CursorWordStartRightSelect",(function(){return I})),i.d(t,"CursorWordEndRightSelect",(function(){return M})),i.d(t,"CursorWordRightSelect",(function(){return T})),i.d(t,"CursorWordAccessibilityRight",(function(){return A})),i.d(t,"CursorWordAccessibilityRightSelect",(function(){return R})),i.d(t,"DeleteWordCommand",(function(){return P})),i.d(t,"DeleteWordLeftCommand",(function(){return F})),i.d(t,"DeleteWordRightCommand",(function(){return B})),i.d(t,"DeleteWordStartLeft",(function(){return j})),i.d(t,"DeleteWordEndLeft",(function(){return W})),i.d(t,"DeleteWordLeft",(function(){return V})),i.d(t,"DeleteWordStartRight",(function(){return H})),i.d(t,"DeleteWordEndRight",(function(){return z})),i.d(t,"DeleteWordRight",(function(){return U})),i.d(t,"DeleteInsideWord",(function(){return K}));var n=i("dff7"),o=(t=i("b2cc"),i("2c29")),s=i("2e5d"),r=i("d48d"),a=i("e6ff"),l=i("7061"),d=i("6a89"),h=i("8025"),c=i("c101"),u=i("4779"),g=i("4fc3"),p=i("fd49"),m=i("70cb"),f=i("1665");class _ extends t.c{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),o=t.getSelections(),r=o.map(t=>{var n=new l.a(t.positionLineNumber,t.positionColumn);n=this._move(e,i,n,this._wordNavigationType);return this._moveTo(t,n,this._inSelectionMode)});var n;i.pushStackElement(),t._getViewModel().setCursorStates("moveWordCommand",3,r.map(e=>s.d.fromModelSelection(e))),1===r.length&&(n=new l.a(r[0].positionLineNumber,r[0].positionColumn),t.revealPosition(n,0))}}_moveTo(e,t,i){return i?new h.a(e.selectionStartLineNumber,e.selectionStartColumn,t.lineNumber,t.column):new h.a(t.lineNumber,t.column,t.lineNumber,t.column)}}class b extends _{_move(e,t,i,n){return r.a.moveWordLeft(e,t,i,n)}}class v extends _{_move(e,t,i,n){return r.a.moveWordRight(e,t,i,n)}}class C extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartLeft",precondition:void 0})}}class w extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndLeft",precondition:void 0})}}class y extends b{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:1,id:"cursorWordLeft",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:2063,mac:{primary:527},weight:100}})}}class S extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartLeftSelect",precondition:void 0})}}class L extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndLeftSelect",precondition:void 0})}}class x extends b{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:1,id:"cursorWordLeftSelect",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:3087,mac:{primary:1551},weight:100}})}}class k extends b{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityLeft",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class D extends b{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityLeftSelect",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class N extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:0,id:"cursorWordStartRight",precondition:void 0})}}class O extends v{constructor(){var e;super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordEndRight",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:2065,mac:{primary:529},weight:100}})}}class E extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:2,id:"cursorWordRight",precondition:void 0})}}class I extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:0,id:"cursorWordStartRightSelect",precondition:void 0})}}class M extends v{constructor(){var e;super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordEndRightSelect",precondition:void 0,kbOpts:{kbExpr:g.a.and(c.a.textInputFocus,null==(e=g.a.and(u.a,f.b))?void 0:e.negate()),primary:3089,mac:{primary:1553},weight:100}})}}class T extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:2,id:"cursorWordRightSelect",precondition:void 0})}}class A extends v{constructor(){super({inSelectionMode:!1,wordNavigationType:3,id:"cursorWordAccessibilityRight",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class R extends v{constructor(){super({inSelectionMode:!0,wordNavigationType:3,id:"cursorWordAccessibilityRightSelect",precondition:void 0})}_move(e,t,i,n){return super._move(Object(a.a)(p.g.wordSeparators.defaultValue),t,i,n)}}class P extends t.c{constructor(e){super(e),this._whitespaceHeuristics=e.whitespaceHeuristics,this._wordNavigationType=e.wordNavigationType}runEditorCommand(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),s=t.getSelections(),r=t.getOption(5),l=t.getOption(8),d=m.a.getAutoClosingPairs(i.getLanguageIdentifier().id),h=t._getViewModel();var n=s.map(n=>(n=this._delete({wordSeparators:e,model:i,selection:n,whitespaceHeuristics:this._whitespaceHeuristics,autoClosingDelete:t.getOption(6),autoClosingBrackets:r,autoClosingQuotes:l,autoClosingPairs:d,autoClosedCharacters:h.getCursorAutoClosedCharacters()},this._wordNavigationType),new o.a(n,"")));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}}class F extends P{_delete(e,t){return e=r.a.deleteWordLeft(e,t),e||new d.a(1,1,1,1)}}class B extends P{_delete(e,t){t=r.a.deleteWordRight(e,t);return t||(t=e.model.getLineCount(),e=e.model.getLineMaxColumn(t),new d.a(t,e,t,e))}}class j extends F{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartLeft",precondition:c.a.writable})}}class W extends F{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndLeft",precondition:c.a.writable})}}class V extends F{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:0,id:"deleteWordLeft",precondition:c.a.writable,kbOpts:{kbExpr:c.a.textInputFocus,primary:2049,mac:{primary:513},weight:100}})}}class H extends B{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:0,id:"deleteWordStartRight",precondition:c.a.writable})}}class z extends B{constructor(){super({whitespaceHeuristics:!1,wordNavigationType:2,id:"deleteWordEndRight",precondition:c.a.writable})}}class U extends B{constructor(){super({whitespaceHeuristics:!0,wordNavigationType:2,id:"deleteWordRight",precondition:c.a.writable,kbOpts:{kbExpr:c.a.textInputFocus,primary:2068,mac:{primary:532},weight:100}})}}class K extends t.b{constructor(){super({id:"deleteInsideWord",precondition:c.a.writable,label:n.a("deleteInsideWord","Delete Word"),alias:"Delete Word"})}run(e,t,i){if(t.hasModel()){const e=Object(a.a)(t.getOption(116)),i=t.getModel(),s=t.getSelections();var n=s.map(t=>(t=r.a.deleteInsideWord(e,i,t),new o.a(t,"")));t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}}}Object(t.k)(new C),Object(t.k)(new w),Object(t.k)(new y),Object(t.k)(new S),Object(t.k)(new L),Object(t.k)(new x),Object(t.k)(new N),Object(t.k)(new O),Object(t.k)(new E),Object(t.k)(new I),Object(t.k)(new M),Object(t.k)(new T),Object(t.k)(new k),Object(t.k)(new D),Object(t.k)(new A),Object(t.k)(new R),Object(t.k)(new j),Object(t.k)(new W),Object(t.k)(new V),Object(t.k)(new H),Object(t.k)(new z),Object(t.k)(new U),Object(t.j)(K)},b400:function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return d}));var n,o,s=i("4b76");t=i("dff7"),i=i("0a0f");(a=n=n||{})[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error";{var r=n=n||{};r.compare=function(e,t){return t-e};const e=Object.create(null);e[r.Error]=Object(t.a)("sev.error","Error"),e[r.Warning]=Object(t.a)("sev.warning","Warning"),e[r.Info]=Object(t.a)("sev.info","Info"),r.toString=function(t){return e[t]||""},r.fromSeverity=function(e){switch(e){case s.a.Error:return r.Error;case s.a.Warning:return r.Warning;case s.a.Info:return r.Info;case s.a.Ignore:return r.Hint}},r.toSeverity=function(e){switch(e){case r.Error:return s.a.Error;case r.Warning:return s.a.Warning;case r.Info:return s.a.Info;case r.Hint:return s.a.Ignore}}}{var a=o=o||{};const e="";function l(t,i){let o=[e];return t.source?o.push(t.source.replace("¦","\\¦")):o.push(e),t.code?"string"==typeof t.code?o.push(t.code.replace("¦","\\¦")):o.push(t.code.value.replace("¦","\\¦")):o.push(e),void 0!==t.severity&&null!==t.severity?o.push(n.toString(t.severity)):o.push(e),t.message&&i?o.push(t.message.replace("¦","\\¦")):o.push(e),void 0!==t.startLineNumber&&null!==t.startLineNumber?o.push(t.startLineNumber.toString()):o.push(e),void 0!==t.startColumn&&null!==t.startColumn?o.push(t.startColumn.toString()):o.push(e),void 0!==t.endLineNumber&&null!==t.endLineNumber?o.push(t.endLineNumber.toString()):o.push(e),void 0!==t.endColumn&&null!==t.endColumn?o.push(t.endColumn.toString()):o.push(e),o.push(e),o.join("¦")}a.makeKey=function(e){return l(e,!0)},a.makeKeyOptionalMessage=l}const d=Object(i.c)("markerService")},b539:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o})),t=i("0a0f");class n{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}n.None=Object.freeze({report(){}});const o=Object(t.c)("editorProgressService")},b574:function(e,t,i){"use strict";i.r(t),i.d(t,"SnippetController2",(function(){return p}));var n=i("a666"),o=(t=i("b2cc"),i("6a89")),s=i("8025"),r=i("c101"),a=i("4153"),l=i("4fc3"),d=i("d3d7"),h=i("59a4"),c=(i=i("dff7"),function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3")}}_doInsert(e,t){this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new h.a(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent(e=>e.isFlush&&this.cancel())),this._snippetListener.add(this._editor.onDidChangeModel(()=>this.cancel())),this._snippetListener.add(this._editor.onDidChangeCursorSelection(()=>this._updateState())))}_updateState(){if(this._session&&this._editor.hasModel())return this._modelVersionId!==this._editor.getModel().getAlternativeVersionId()&&this._session.hasPlaceholder&&!this._session.isAtLastPlaceholder&&this._session.isSelectionWithinPlaceholders()?(this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),void this._handleChoice()):this.cancel()}_handleChoice(){if(this._session&&this._editor.hasModel()){const e=this._session["choice"];if(e){if(this._currentChoice!==e){this._currentChoice=e,this._editor.setSelections(this._editor.getSelections().map(e=>s.a.fromPositions(e.getStartPosition())));const[t]=e.options;Object(a.f)(this._editor,e.options.map((e,i)=>({kind:13,label:e.value,insertText:e.value,sortText:"a".repeat(i+1),range:o.a.fromPositions(this._editor.getPosition(),this._editor.getPosition().delta(0,t.value.length))})))}}else this._currentChoice=void 0}else this._currentChoice=void 0}finish(){for(;this._inSnippet.get();)this.next()}cancel(e=!1){var t;this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),null!=(t=this._session)&&t.dispose(),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])}prev(){this._session&&this._session.prev(),this._updateState()}next(){this._session&&this._session.next(),this._updateState()}isInSnippet(){return Boolean(this._inSnippet.get())}};p.ID="snippetController2",p.InSnippetMode=new l.c("inSnippetMode",!1,Object(i.a)("inSnippetMode","Whether the editor in current in snippet mode")),p.HasNextTabstop=new l.c("hasNextTabstop",!1,Object(i.a)("hasNextTabstop","Whether there is a next tab stop when in snippet mode")),p.HasPrevTabstop=new l.c("hasPrevTabstop",!1,Object(i.a)("hasPrevTabstop","Whether there is a previous tab stop when in snippet mode")),p=c([u(1,d.b),u(2,l.b)],p),Object(t.l)(p.ID,p);const m=t.c.bindToContribution(p.get);Object(t.k)(new m({id:"jumpToNextSnippetPlaceholder",precondition:l.a.and(p.InSnippetMode,p.HasNextTabstop),handler:e=>e.next(),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:2}})),Object(t.k)(new m({id:"jumpToPrevSnippetPlaceholder",precondition:l.a.and(p.InSnippetMode,p.HasPrevTabstop),handler:e=>e.prev(),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:1026}})),Object(t.k)(new m({id:"leaveSnippet",precondition:p.InSnippetMode,handler:e=>e.cancel(!0),kbOpts:{weight:130,kbExpr:r.a.editorTextFocus,primary:9,secondary:[1033]}})),Object(t.k)(new m({id:"acceptSnippet",precondition:p.InSnippetMode,handler:e=>e.finish()}))},b57f:function(e,t,i){"use strict";i.d(t,"b",(function(){return _t})),i.d(t,"a",(function(){return kt}));var n=i("fdcc"),o=i("308f"),s=i("a666"),r=i("3742"),a=i("6d8e"),l=(t=i("fd49"),i("7061")),d=i("6a89"),h=i("8025"),c=i("3352"),u=i("a054");class g{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function p(e,t,i){var n=Math.min(e.getLineCount(),1e4);let o=0,s=0,r="",a=0,l=[0,0,0,0,0,0,0,0,0];var d=new g;for(let g=1;g<=n;g++){var h=e.getLineLength(g);let n=e.getLineContent(g);var c,u,p=h<=65536;let C=!1,w=0,y=0,S=0;for(let t=0,i=h;t{var i=l[t];i>e&&(e=i,w=t)}),4===w&&0=l[4]/2&&(w=2)}return{insertSpaces:C,tabSize:w}}function m(e){return(1&e.metadata)>>>0}function f(e,t){e.metadata=254&e.metadata|t<<0}function _(e){return(2&e.metadata)>>>1==1}function b(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function v(e){return(4&e.metadata)>>>2==1}function C(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function w(e,t){e.metadata=231&e.metadata|t<<3}function y(e,t){e.metadata=223&e.metadata|(t?1:0)<<5}class S{constructor(e,t,i){this.metadata=0,f(((this.parent=this).left=this).right=this,1),this.start=t,this.end=i,this.delta=0,this.maxEnd=i,this.id=e,this.ownerId=0,this.options=null,C(this,!1),w(this,1),y(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=null,b(this,!1)}reset(e,t,i,n){this.start=t,this.end=i,this.maxEnd=i,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=i,this.range=n}setOptions(e){this.options=e,e=this.options.className,C(this,"squiggly-error"===e||"squiggly-warning"===e||"squiggly-info"===e),w(this,this.options.stickiness),y(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(e,t,i){this.cachedVersionId!==i&&(this.range=null),this.cachedVersionId=i,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t}detach(){this.parent=null,this.left=null,this.right=null}}const L=new S(null,0,0);f(((L.parent=L).left=L).right=L,0);class x{constructor(){this.root=L,this.requestNormalizeDelta=!1}intervalSearch(e,t,i,n,o){if(this.root===L)return[];{var s=this,r=e,a=t,l=i,d=n,h=o;let c=s.root,u=0,g=0,p=0,m=[],f=0;for(;c!==L;)if(_(c))b(c.left,!1),b(c.right,!1),c===c.parent.right&&(u-=c.parent.delta),c=c.parent;else{if(!_(c.left)){if(u+c.maxEnd>>3,f=0==m||2==m,v=(m=1==m||2==m,u-c),C=Math.min(v,g),w=h.start;let o=!1;var y=h.end;let r=!1;c<=w&&y<=u&&(32&h.metadata)>>>5==1&&(h.start=c,o=!0,h.end=c,r=!0);var S=p?1:0h.end&&(h.end=h.start)}s.maxEnd=s.end,D(this,s)}this._normalizeDeltaIfNecessary()}_normalizeDeltaIfNecessary(){if(this.requestNormalizeDelta){this.requestNormalizeDelta=!1;{var e=this;let t=e.root,i=0;for(;t!==L;)t=t.left===L||_(t.left)?t.right===L||_(t.right)?(t.start=i+t.start,t.end=i+t.end,t.delta=0,T(t),b(t,!0),b(t.left,!1),b(t.right,!1),t===t.parent.right&&(i-=t.parent.delta),t.parent):(i+=t.delta,t.right):t.left;b(e.root,!1)}}}}function k(e,t,i,n){return et&&(t=i),e.right!==L&&(i=e.right.maxEnd+e.delta)>t?i:t}function T(e){e.maxEnd=M(e)}function A(e){for(;e!==L;){var t=M(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}class R{constructor(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,((this.parent=this).left=this).right=this}next(){if(this.right!==P)return F(this.right);let e=this;for(;e.parent!==P&&e.parent.left!==e;)e=e.parent;return e.parent===P?P:e.parent}prev(){if(this.left!==P)return B(this.left);let e=this;for(;e.parent!==P&&e.parent.right!==e;)e=e.parent;return e.parent===P?P:e.parent}detach(){this.parent=null,this.left=null,this.right=null}}const P=new R(null,0);function F(e){for(;e.left!==P;)e=e.left;return e}function B(e){for(;e.right!==P;)e=e.right;return e}function j(e){return e===P?0:e.size_left+e.piece.length+j(e.right)}function W(e){return e===P?0:e.lf_left+e.piece.lineFeedCnt+W(e.right)}function V(){P.parent=P}function H(e,t){let i=t.right;i.size_left+=t.size_left+(t.piece?t.piece.length:0),i.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=i.left,i.left!==P&&(i.left.parent=t),i.parent=t.parent,t.parent===P?e.root=i:t.parent.left===t?t.parent.left=i:t.parent.right=i,(i.left=t).parent=i}function z(e,t){let i=t.left;t.left=i.right,i.right!==P&&(i.right.parent=t),i.parent=t.parent,t.size_left-=i.size_left+(i.piece?i.piece.length:0),t.lf_left-=i.lf_left+(i.piece?i.piece.lineFeedCnt:0),t.parent===P?e.root=i:t===t.parent.right?t.parent.right=i:t.parent.left=i,(i.right=t).parent=i}function U(e,t){let i,n;if(i=t.left===P?(n=t).right:t.right===P?(n=t).left:(n=F(t.right)).right,n===e.root)(e.root=i).color=0,t.detach(),V(),e.root.parent=P;else{var o,s,r,a=1===n.color;if(n===n.parent.left?n.parent.left=i:n.parent.right=i,n===t?(i.parent=n.parent,$(e,i)):(n.parent===t?i.parent=n:i.parent=n.parent,$(e,i),n.left=t.left,n.right=t.right,n.parent=t.parent,n.color=t.color,t===e.root?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left!==P&&(n.left.parent=n),n.right!==P&&(n.right.parent=n),n.size_left=t.size_left,n.lf_left=t.lf_left,$(e,n)),t.detach(),i.parent.left===i&&(t=j(i),o=W(i),t===i.parent.size_left&&o===i.parent.lf_left||(s=t-i.parent.size_left,r=o-i.parent.lf_left,i.parent.size_left=t,i.parent.lf_left=o,q(e,i.parent,s,r))),$(e,i.parent),!a){let t;for(;i!==e.root&&0===i.color;)i=i===i.parent.left?(1===(t=i.parent.right).color&&(t.color=0,i.parent.color=1,H(e,i.parent),t=i.parent.right),0===t.left.color&&0===t.right.color?(t.color=1,i.parent):(0===t.right.color&&(t.left.color=0,t.color=1,z(e,t),t=i.parent.right),t.color=i.parent.color,i.parent.color=0,t.right.color=0,H(e,i.parent),e.root)):(1===(t=i.parent.left).color&&(t.color=0,i.parent.color=1,z(e,i.parent),t=i.parent.left),0===t.left.color&&0===t.right.color?(t.color=1,i.parent):(0===t.left.color&&(t.right.color=0,t.color=1,H(e,t),t=i.parent.left),t.color=i.parent.color,i.parent.color=0,t.left.color=0,z(e,i.parent),e.root));i.color=0}V()}}function K(e,t){for($(e,t);t!==e.root&&1===t.parent.color;)if(t.parent===t.parent.parent.left){const i=t.parent.parent.right;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&H(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,z(e,t.parent.parent))}else{const i=t.parent.parent.left;1===i.color?(t.parent.color=0,i.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&z(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,H(e,t.parent.parent))}e.root.color=0}function q(e,t,i,n){for(;t!==e.root&&t!==P;)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}function $(e,t){let i=0,n=0;if(t!==e.root){if(0===i){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;t=t.parent,i=j(t.left)-t.size_left,n=W(t.left)-t.lf_left,t.size_left+=i,t.lf_left+=n}for(;t!==e.root&&(0!==i||0!==n);)t.parent.left===t&&(t.parent.size_left+=i,t.parent.lf_left+=n),t=t.parent}}(((P.parent=P).left=P).right=P).color=0;var G=i("8c02");const Z=65535;function Y(e){let t;return(t=new(e[e.length-1]<65536?Uint16Array:Uint32Array)(e.length)).set(e,0),t}class X{constructor(e,t,i,n,o){this.lineStarts=e,this.cr=t,this.lf=i,this.crlf=n,this.isBasicASCII=o}}function Q(e,t=!0){let i=[0],n=1;for(let s=0,r=e.length;s(e!==P&&this._pieces.push(e.piece),!0))}read(){return 0===this._pieces.length?0===this._index?(this._index++,this._BOM):null:this._index>this._pieces.length-1?null:0===this._index?this._BOM+this._tree.getPieceContent(this._pieces[this._index++]):this._tree.getPieceContent(this._pieces[this._index++])}}class ie{constructor(e){this._limit=e,this._cache=[]}get(e){for(let i=this._cache.length-1;0<=i;i--){var t=this._cache[i];if(t.nodeStartOffset<=e&&t.nodeStartOffset+t.node.piece.length>=e)return t}return null}get2(e){for(let i=this._cache.length-1;0<=i;i--){var t=this._cache[i];if(t.nodeStartLineNumber&&t.nodeStartLineNumber=e)return t}return null}set(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)}validate(e){let t=!1,i=this._cache;for(let o=0;o=e)&&(i[o]=null,t=!0)}if(t){let e=[];for(const t of i)null!==t&&e.push(t);this._cache=e}}}class ne{constructor(e,t,i){this.create(e,t,i)}create(e,t,i){this._buffers=[new ee("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=P,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=i;let n=null;for(let s=0,r=e.length;s{t=this.getNodeContent(t);var a,l=t.length;return s<=i||s+l=e)n=n.left;else{var o;if(n.lf_left+n.piece.lineFeedCnt+1>=e)return i+=n.size_left,o=this.getAccumulatedValue(n,e-n.lf_left-2),i+(o+t-1);e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}return i}getPositionAt(e){e=Math.floor(e),e=Math.max(0,e);let t=this.root,i=0;for(var n,o,s=e;t!==P;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e)return n=this.getIndexOf(t,e-t.size_left),i+=t.lf_left+n.index,0===n.index?(o=this.getOffsetAt(i+1,1),new l.a(i+1,s-o+1)):new l.a(i+1,n.remainder+1);if(e-=t.size_left+t.piece.length,i+=t.lf_left+t.piece.lineFeedCnt,t.right===P)return o=this.getOffsetAt(i+1,1),new l.a(i+1,s-e-o+1);t=t.right}return new l.a(1,1)}getValueInRange(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var i=this.nodeAt2(e.startLineNumber,e.startColumn);e=this.nodeAt2(e.endLineNumber,e.endColumn);let n=this.getValueInRange2(i,e);return!t||t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?n:n.replace(/\r\n|\r|\n/g,t)}getValueInRange2(e,t){if(e.node===t.node){var i=e.node;let n=this._buffers[i.piece.bufferIndex].buffer;return i=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),n.substring(i+e.remainder,i+t.remainder)}let n=e.node,o=this._buffers[n.piece.bufferIndex].buffer;i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);let s=o.substring(i+e.remainder,i+n.piece.length);for(n=n.next();n!==P;){let e=this._buffers[n.piece.bufferIndex].buffer;var r=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(n===t.node){s+=e.substring(r,r+t.remainder);break}s+=e.substr(r,n.piece.length),n=n.next()}return s}getLinesContent(){let e=[],t=0,i="",n=!1;return this.iterate(this.root,o=>{if(o!==P){o=o.piece;let l=o.length;if(0!==l){const d=this._buffers[o.bufferIndex].buffer;var s=this._buffers[o.bufferIndex].lineStarts,r=o.start.line,a=o.end.line;let h=s[r]+o.start.column;if(!n||(10===d.charCodeAt(h)&&(h++,l--),e[t++]=i,i="",n=!1,0!==l))if(r===a)this._EOLNormalized||13!==d.charCodeAt(h+l-1)?i+=d.substr(h,l):(n=!0,i+=d.substr(h,l-1));else{i+=this._EOLNormalized?d.substring(h,Math.max(h,s[r+1]-this._EOLLength)):d.substring(h,s[r+1]).replace(/(\r\n|\r|\n)$/,""),e[t++]=i;for(let n=r+1;ne+p,t.reset(0)):(b=u.buffer,v=e=>e,t.reset(p));do{if(m=t.next(b)){if(v(m.index)>=f)return h;this.positionInBuffer(e,v(m.index)-g,_);var C=this.getLineFeedCnt(e.piece.bufferIndex,o,_),w=_.line===o.line?_.column-o.column+n:_.column+1,y=w+m[0].length;if(c[h++]=Object(G.d)(new d.a(i+C,w,i+C,y),m,a),v(m.index)+m[0].length>=f)return h;if(l<=h)return h}}while(m);return h}findMatchesLineByLine(e,t,i,n){var o=[];let s=0;var r=new G.b(t.wordSeparators,t.regex);let a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];let d=this.positionInBuffer(a.node,a.remainder);var h,c,u=this.positionInBuffer(l.node,l.remainder);if(a.node===l.node)this.findMatchesInNode(a.node,r,e.startLineNumber,e.startColumn,d,u,t,i,n,s,o);else{let _=e.startLineNumber,b=a.node;for(;b!==l.node;){var g=this.getLineFeedCnt(b.piece.bufferIndex,d,b.piece.end);if(1<=g){var p=this._buffers[b.piece.bufferIndex].lineStarts,m=this.offsetInBuffer(b.piece.bufferIndex,b.piece.start),f=(p=p[d.line+g],_===e.startLineNumber?e.startColumn:1);if((s=this.findMatchesInNode(b,r,_,f,d,this.positionInBuffer(b,p-m),t,i,n,s,o))>=n)return o;_+=g}if(f=_===e.startLineNumber?e.startColumn-1:0,_===e.endLineNumber)return p=this.getLineContent(_).substring(f,e.endColumn-1),s=this._findMatchesInLine(t,r,p,e.endLineNumber,f,s,o,i,n),o;if((s=this._findMatchesInLine(t,r,this.getLineContent(_).substr(f),_,f,s,o,i,n))>=n)return o;_++,a=this.nodeAt2(_,1),b=a.node,d=this.positionInBuffer(a.node,a.remainder)}s=_===e.endLineNumber?(h=_===e.startLineNumber?e.startColumn-1:0,c=this.getLineContent(_).substring(h,e.endColumn-1),this._findMatchesInLine(t,r,c,e.endLineNumber,h,s,o,i,n)):(c=_===e.startLineNumber?e.startColumn:1,this.findMatchesInNode(l.node,r,_,c,d,u,t,i,n,s,o))}return o}_findMatchesInLine(e,t,i,n,o,s,r,a,l){var h,u=e.wordSeparators;if(!a&&e.simpleSearch){var g=e.simpleSearch,p=g.length,m=i.length;let t=-p;for(;-1!==(t=i.indexOf(g,t+p));)if((!u||Object(G.e)(u,i,m,t,p))&&(r[s++]=new c.b(new d.a(n,t+1+o,n,t+1+p+o),null),l<=s))return s}else{t.reset(0);do{if((h=t.next(i))&&(r[s++]=Object(G.d)(new d.a(n,h.index+1+o,n,h.index+1+h[0].length+o),h,a),l<=s))return s}while(h)}return s}insert(e,t,i=!1){if(this._EOLNormalized=this._EOLNormalized&&i,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==P){var{node:i,remainder:n,nodeStartOffset:o}=this.nodeAt(e),s=i.piece,r=s.bufferIndex,a=this.positionInBuffer(i,n);if(0===i.piece.bufferIndex&&s.end.line===this._lastChangeBufferPos.line&&s.end.column===this._lastChangeBufferPos.column&&o+s.length===e&&t.lengthe){let d=[],h=new J(s.bufferIndex,a,s.end,this.getLineFeedCnt(s.bufferIndex,a,s.end),this.offsetInBuffer(r,s.end)-this.offsetInBuffer(r,a));this.shouldCheckCRLF()&&this.endWithCR(t)&&10===this.nodeCharCodeAt(i,n)&&(o={line:h.start.line+1,column:0},h=new J(h.bufferIndex,o,h.end,this.getLineFeedCnt(h.bufferIndex,o,h.end),h.length-1),t+="\n"),this.shouldCheckCRLF()&&this.startWithLF(t)&&13===this.nodeCharCodeAt(i,n-1)?(e=this.positionInBuffer(i,n-1),this.deleteNodeTail(i,e),t="\r"+t,0===i.piece.length&&d.push(i)):this.deleteNodeTail(i,a);var l=this.createNewPieces(t);0Z){let n=[];for(;e.length>Z;){var t=e.charCodeAt(65534);let i;e=13===t||55296<=t&&t<=56319?(i=e.substring(0,65534),e.substring(65534)):(i=e.substring(0,Z),e.substring(Z)),t=Q(i),n.push(new J(this._buffers.length,{line:0,column:0},{line:t.length-1,column:i.length-t[t.length-1]},t.length-1,i.length)),this._buffers.push(new ee(i,t))}var i=Q(e);return n.push(new J(this._buffers.length,{line:0,column:0},{line:i.length-1,column:e.length-i[i.length-1]},i.length-1,e.length)),this._buffers.push(new ee(e,i)),n}let n=this._buffers[0].buffer.length;const o=Q(e,!1);let s=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===n&&0!==n&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},s=this._lastChangeBufferPos;for(let e=0;e=e-1)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt>e-1){var h=this.getAccumulatedValue(i,e-i.lf_left-2),c=this.getAccumulatedValue(i,e-i.lf_left-1);let n=this._buffers[i.piece.bufferIndex].buffer;var u=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start);return o+=i.size_left,this._searchCache.set({node:i,nodeStartOffset:o,nodeStartLineNumber:d-(e-1-i.lf_left)}),n.substring(u+h,u+c-t)}if(i.lf_left+i.piece.lineFeedCnt===e-1){h=this.getAccumulatedValue(i,e-i.lf_left-2);let t=this._buffers[i.piece.bufferIndex].buffer;u=this.offsetInBuffer(i.piece.bufferIndex,i.piece.start),n=t.substring(u+h,u+i.piece.length);break}e-=i.lf_left+i.piece.lineFeedCnt,o+=i.size_left+i.piece.length,i=i.right}}for(i=i.next();i!==P;){let e=this._buffers[i.piece.bufferIndex].buffer;if(0e.end.line?i[e.end.line]+e.end.column-i[e.start.line]-e.start.column:i[t]-i[e.start.line]-e.start.column)}deleteNodeTail(e,t){var i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.end),s=this.offsetInBuffer(i.bufferIndex,t),r=this.getLineFeedCnt(i.bufferIndex,i.start,t);n=r-n,s-=o,o=i.length+s;e.piece=new J(i.bufferIndex,i.start,t,r,o),q(this,e,s,n)}deleteNodeHead(e,t){var i=e.piece,n=i.lineFeedCnt,o=this.offsetInBuffer(i.bufferIndex,i.start),s=this.getLineFeedCnt(i.bufferIndex,t,i.end),r=(n=s-n,o=o-this.offsetInBuffer(i.bufferIndex,t),i.length+o);e.piece=new J(i.bufferIndex,t,i.end,s,r),q(this,e,o,n)}shrinkNode(e,t,i){var n=e.piece,o=n.start,s=n.end,r=n.length,a=n.lineFeedCnt,l=t,d=this.getLineFeedCnt(n.bufferIndex,n.start,l);t=this.offsetInBuffer(n.bufferIndex,t)-this.offsetInBuffer(n.bufferIndex,o),e.piece=new J(n.bufferIndex,n.start,l,d,t),q(this,e,t-r,d-a),o=new J(n.bufferIndex,i,s,this.getLineFeedCnt(n.bufferIndex,i,s),this.offsetInBuffer(n.bufferIndex,s)-this.offsetInBuffer(n.bufferIndex,i)),l=this.rbInsertRight(e,o);this.validateCRLFWithPrevNode(l)}appendToNode(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var i=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),n=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;const o=Q(t,!1);for(let l=0;le)t=t.left;else{if(t.size_left+t.piece.length>=e)return o+=t.size_left,i={node:t,remainder:e-t.size_left,nodeStartOffset:o},this._searchCache.set(i),i;e-=t.size_left+t.piece.length,o+=t.size_left+t.piece.length,t=t.right}return null}nodeAt2(e,t){let i=this.root,n=0;for(;i!==P;)if(i.left!==P&&i.lf_left>=e-1)i=i.left;else{var o;if(i.lf_left+i.piece.lineFeedCnt>e-1)return s=this.getAccumulatedValue(i,e-i.lf_left-2),o=this.getAccumulatedValue(i,e-i.lf_left-1),n+=i.size_left,{node:i,remainder:Math.min(s+t-1,o),nodeStartOffset:n};if(i.lf_left+i.piece.lineFeedCnt===e-1){var s=this.getAccumulatedValue(i,e-i.lf_left-2);if(s+t-1<=i.piece.length)return{node:i,remainder:s+t-1,nodeStartOffset:n};t-=i.piece.length-s;break}e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}for(i=i.next();i!==P;){var r,a;if(0=t-1)return a=this.offsetOfNode(i),{node:i,remainder:t-1,nodeStartOffset:a};t-=i.piece.length,i=i.next()}return null}nodeCharCodeAt(e,t){if(e.piece.lineFeedCnt<1)return-1;let i=this._buffers[e.piece.bufferIndex];return e=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t,i.buffer.charCodeAt(e)}offsetOfNode(e){if(!e)return 0;let t=e.size_left;for(;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t}shouldCheckCRLF(){return!(this._EOLNormalized&&"\n"===this._EOL)}startWithLF(e){var t,i,n;return"string"==typeof e?10===e.charCodeAt(0):e!==P&&0!==e.piece.lineFeedCnt&&(e=e.piece,n=(t=this._buffers[e.bufferIndex].lineStarts)[i=e.start.line]+e.start.column,i!==t.length-1&&!(n+1e.sortIndex-t.sortIndex)}this._mightContainRTL=n,this._mightContainUnusualLineTerminators=o,this._mightContainNonBasicASCII=s,i=this._doApplyEdits(l);let S=null;if(t&&0t.lineNumber-e.lineNumber),S=[];for(let e=0,t=f.length;e=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++}_deleteLines(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)}_insertLines(e,t){if(0!==t){let i=[],n=[];for(let e=0;e=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)}}class _e extends s.a{constructor(e){super(),this._isDisposed=!1,this._textModel=e,this._tokenizationStateStore=new fe,this._tokenizationSupport=null,this._register(ue.F.onDidChange(e=>{var t=this._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(this._resetTokenizationState(),this._textModel.clearTokens())})),this._register(this._textModel.onDidChangeContentFast(e=>{if(e.isFlush)this._resetTokenizationState();else{for(let n=0,o=e.changes.length;n{this._beginBackgroundTokenization()})),this._register(this._textModel.onDidChangeLanguage(()=>{this._resetTokenizationState(),this._textModel.clearTokens()})),this._resetTokenizationState()}dispose(){this._isDisposed=!0,super.dispose()}_resetTokenizationState(){var[e,t]=function(e){var t=e.getLanguageIdentifier();let i=e.isTooLargeForTokenization()?null:ue.F.get(t.language),o=null;if(i)try{o=i.getInitialState()}catch(e){Object(n.f)(e),i=null}return[i,o]}(this._textModel);this._tokenizationSupport=e,this._tokenizationStateStore.flush(t),this._beginBackgroundTokenization()}_beginBackgroundTokenization(){this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&me.j(()=>{this._isDisposed||this._revalidateTokensNow()})}_revalidateTokensNow(){var e=this._textModel.getLineCount(),t=new oe.b;const i=pe.a.create(!1);let n=-1;for(;this._hasLinesToTokenize()&&!(1=e););this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens,n>=e)}tokenizeViewport(e,t){var i=new oe.b;this._tokenizeViewport(i,e,t),this._textModel.setTokens(i.tokens)}reset(){this._resetTokenizationState(),this._textModel.clearTokens()}forceTokenization(e){var t=new oe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)}isCheapToTokenize(e){var t;return!this._tokenizationSupport||!((t=this._tokenizationStateStore.invalidLineStartIndex+1)>5;if(0==i)return(e=1<>5,0==e?0!=(this.items&1<Be.from(e))}getOffsetBeforeChange(e){return this.adjustNextEdit(e),this.translateCurToOld(e)}getDistanceToNextChange(e){this.adjustNextEdit(e);var t,i,n=this.edits[this.nextEditIdx];n=n?this.translateOldToCur(n.offsetObj):this.documentLength;return(n=n)-(e=e)<=0?0:(t=Math.floor(e/Oe),i=n-(n=Math.floor(n/Oe))*Oe,t===n?Ee(0,i-(e-t*Oe)):Ee(n-t,i))}translateOldToCur(e){return e.lineCount===this.deltaLineIdxInOld?Ee(e.lineCount+this.deltaOldToNewLineCount,e.columnCount+this.deltaOldToNewColumnCount):Ee(e.lineCount+this.deltaOldToNewLineCount,e.columnCount)}translateCurToOld(e){return e=Ie(e),e.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?Ee(e.lineCount-this.deltaOldToNewLineCount,e.columnCount-this.deltaOldToNewColumnCount):Ee(e.lineCount-this.deltaOldToNewLineCount,e.columnCount)}adjustNextEdit(e){for(;this.nextEditIdxthis.textBufferLineCount-1||this.lineIdx===this.textBufferLineCount-1&&this.lineCharOffset>=this.textBufferLastLineLength)return null;null===this.line&&(this.lineTokens=this.textModel.getLineTokens(this.lineIdx+1),this.line=this.lineTokens.getLineContent(),this.lineTokenOffset=0===this.lineCharOffset?0:this.lineTokens.findTokenIndexAtOffset(this.lineCharOffset));var e=this.lineIdx,t=this.lineCharOffset;let i=0;for(;i<1e3;){const l=this.lineTokens;var n=l.getCount();let d=null;if(this.lineTokenOffsetObject(r.t)(e)).join("|")}}get regExpGlobal(){var e;return this.hasRegExp||(e=this.getRegExpStr(),this._regExpGlobal=e?new RegExp(e,"g"):null,this.hasRegExp=!0),this._regExpGlobal}getToken(e){return this.map.get(e)}get isEmpty(){return 0===this.map.size}}class Qe{constructor(e){this.customBracketPairs=e,this.languageIdToBracketTokens=new Map}didLanguageChange(e){const t=this.languageIdToBracketTokens.get(e);return!!t&&(e=Xe.createFromLanguage(e,this.customBracketPairs).getRegExpStr(),t.getRegExpStr()!==e)}getSingleLanguageBracketTokens(e){let t=this.languageIdToBracketTokens.get(e);return t||(t=Xe.createFromLanguage(e,this.customBracketPairs),this.languageIdToBracketTokens.set(e,t)),t}}function Je(e){if(0===e.length)return null;if(1===e.length)return e[0];if(function(e){var t=e[0].listHeight;for(const i of e)if(i.listHeight!==t)return;return 1}(e)){var t=e;let o=t.length;for(;1>1;const e=new Array(i);for(let s=0;st.listHeight?e.append(t):t.prepend(e)}class it{constructor(e){this.lastOffset=0,this.nextNodes=[e],this.offsets=[0],this.idxs=[]}readLongestNodeAt(e,t){if(e{var n;return t.length<=i&&(n=Me(t.length)===Me(i),t.canBeReused(e,n))});if(t)return this._itemsFromCache++,this.tokenizer.skip(t.length),t}}this._itemsConstructed++;var i=this.tokenizer.read();switch(i.kind){case 2:return new qe(i.category,i.length,this.denseKeyProvider);case 0:return i.astNode;case 1:var n=e.add(i.category,this.denseKeyProvider),o=(n=this.parseList(n),this.tokenizer.peek());return o&&2===o.kind&&o.category===i.category?(this.tokenizer.read(),We.create(i.category,i.astNode,n,o.astNode)):We.create(i.category,i.astNode,n,null);default:throw new Error("unexpected")}}}class rt extends s.a{constructor(e){super(),this.textModel=e,this.didChangeDecorationsEmitter=new o.b,this.cache=this._register(new s.d),this._register(Ce.a.onDidChange(e=>{var t;null!=(t=this.cache.value)&&t.object.didLanguageChange(e.languageIdentifier.id)&&(this.cache.clear(),this.updateCache())})),this._register(e.onDidChangeOptions(e=>{this.cache.clear(),this.updateCache()})),this._register(e.onDidChangeAttached(()=>{this.updateCache()}))}get isDocumentSupported(){return this.textModel.getValueLength()<=5e6}updateCache(){var e,t=this.textModel.getOptions().bracketPairColorizationOptions;if(this.textModel.isAttachedToEditor()&&this.isDocumentSupported&&t.enabled){if(!this.cache.value){const i=new s.b;this.cache.value=(t=i.add(new at(this.textModel)),e=i,{object:t,dispose:()=>null==e?void 0:e.dispose()}),i.add(this.cache.value.object.onDidChangeDecorations(e=>this.didChangeDecorationsEmitter.fire(e))),this.didChangeDecorationsEmitter.fire()}}else this.cache.clear(),this.didChangeDecorationsEmitter.fire()}handleContentChanged(e){var t;null!=(t=this.cache.value)&&t.object.handleContentChanged(e)}getDecorationsInRange(e,t,i){var n;return void 0!==t&&(null==(n=this.cache.value)?void 0:n.object.getDecorationsInRange(e,t,i))||[]}getAllDecorations(e,t){var i;return void 0!==e&&(null==(i=this.cache.value)?void 0:i.object.getAllDecorations(e,t))||[]}onDidChangeDecorations(e){return this.didChangeDecorationsEmitter.event(e)}}class at extends s.a{constructor(e){var t;super(),this.textModel=e,this.didChangeDecorationsEmitter=new o.b,this.colorProvider=new dt,this.brackets=new Qe([]),this.denseKeyProvider=new ke,this.onDidChangeDecorations=this.didChangeDecorationsEmitter.event,this._register(e.onBackgroundTokenizationStateChanged(()=>{var t;2===e.backgroundTokenizationState&&(t=void 0===this.initialAstWithoutTokens,this.initialAstWithoutTokens=void 0,t||this.didChangeDecorationsEmitter.fire())})),this._register(e.onDidChangeTokens(({ranges:e})=>{e=e.map(e=>new Pe(Ee(e.fromLineNumber-1,0),Ee(e.toLineNumber,0),Ee(e.toLineNumber-e.fromLineNumber+1,0))),this.astWithTokens=this.parseDocumentFromTextBuffer(e,this.astWithTokens),this.initialAstWithoutTokens||this.didChangeDecorationsEmitter.fire()})),0===e.backgroundTokenizationState?(t=this.brackets.getSingleLanguageBracketTokens(this.textModel.getLanguageIdentifier().id),t=new Ye(this.textModel.getValue(),t),this.initialAstWithoutTokens=ot(t,[],void 0,this.denseKeyProvider),this.astWithTokens=this.initialAstWithoutTokens.clone()):2===e.backgroundTokenizationState?(this.initialAstWithoutTokens=void 0,this.astWithTokens=this.parseDocumentFromTextBuffer([],void 0)):1===e.backgroundTokenizationState&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer([],void 0),this.astWithTokens=this.initialAstWithoutTokens.clone())}didLanguageChange(e){return this.brackets.didLanguageChange(e)}handleContentChanged(e){e=e.changes.map(e=>{const t=d.a.lift(e.range);return new Pe(Ae(t.getStartPosition()),Ae(t.getEndPosition()),(e=e.text,Ee((e=Object(r.Q)(e)).length-1,e[e.length-1].length)))}).reverse(),this.astWithTokens=this.parseDocumentFromTextBuffer(e,this.astWithTokens),this.initialAstWithoutTokens&&(this.initialAstWithoutTokens=this.parseDocumentFromTextBuffer(e,this.initialAstWithoutTokens))}parseDocumentFromTextBuffer(e,t){return ot(new Ge(this.textModel,this.brackets),e,t,this.denseKeyProvider)}getBracketsInRange(e){var t=Ee(e.startLineNumber-1,e.startColumn-1),i=(e=Ee(e.endLineNumber-1,e.endColumn-1),new Array),n=this.initialAstWithoutTokens||this.astWithTokens;return function e(t,i,n,o,s,r,a=0){if(1===t.kind){const e=Re(i,n);r.push(new lt(e,a-1,!1))}else if(3===t.kind){const e=Re(i,n);r.push(new lt(e,a-1,!0))}else{2===t.kind&&a++;for(const l of t.children)n=Te(i,l.length),i<=s&&o<=n&&e(l,i,n,o,s,r,a),i=n}}(n,0,n.length,t,e,i),i}getDecorationsInRange(e,t,i){const n=new Array;for(const o of this.getBracketsInRange(e))n.push({id:"bracket"+o.hash(),options:{description:"BracketPairColorization",inlineClassName:this.colorProvider.getInlineClassName(o)},ownerId:0,range:o.range});return n}getAllDecorations(e,t){return this.getDecorationsInRange(new d.a(1,1,this.textModel.getLineCount(),1),e,t)}}class lt{constructor(e,t,i){this.range=e,this.level=t,this.isInvalid=i}hash(){return this.range.toString()+"-"+this.level}}class dt{constructor(){this.unexpectedClosingBracketClassName="unexpected-closing-bracket"}getInlineClassName(e){return e.isInvalid?this.unexpectedClosingBracketClassName:this.getInlineClassNameOfLevel(e.level)}getInlineClassNameOfLevel(e){return"bracket-highlighting-"+e%30}}function ht(e){const t=new le;return t.acceptChunk(e),t.finish()}function ct(e,t){const i="string"==typeof e?ht(e):e;return i.create(t)}Object(i.f)((e,t)=>{const i=[De.c,De.d,De.e,De.f,De.g,De.h],n=new dt;t.addRule(`.monaco-editor .${n.unexpectedClosingBracketClassName} { color: ${e.getColor(De.i)}; }`);var o=i.map(t=>e.getColor(t)).filter(e=>!!e).filter(e=>!e.isTransparent());for(let r=0;r<30;r++){var s=o[r%o.length];t.addRule(`.monaco-editor .${n.getInlineClassNameOfLevel(r)} { color: ${s}; }`)}});let ut=0;class gt{constructor(e){this._source=e,this._eos=!1}read(){if(this._eos)return null;let e=[],t=0,i=0;for(;;){var n=this._source.read();if(null===n)return this._eos=!0,0===t?null:e.join("");if(0{throw new Error("Invalid change accessor")};class mt{constructor(){this._searchCanceledBrand=void 0}}function ft(e){return e instanceof mt?null:e}mt.INSTANCE=new mt;class _t extends s.a{constructor(e,t,i,n=null,s){super(),this._onWillDispose=this._register(new o.b),this.onWillDispose=this._onWillDispose.event,this._onDidChangeDecorations=this._register(new Ot(e=>this.handleBeforeFireDecorationsChangedEvent(e))),this.onDidChangeDecorations=this._onDidChangeDecorations.event,this._onDidChangeLanguage=this._register(new o.b),this.onDidChangeLanguage=this._onDidChangeLanguage.event,this._onDidChangeLanguageConfiguration=this._register(new o.b),this.onDidChangeLanguageConfiguration=this._onDidChangeLanguageConfiguration.event,this._onDidChangeTokens=this._register(new o.b),this.onDidChangeTokens=this._onDidChangeTokens.event,this._onDidChangeOptions=this._register(new o.b),this.onDidChangeOptions=this._onDidChangeOptions.event,this._onDidChangeAttached=this._register(new o.b),this.onDidChangeAttached=this._onDidChangeAttached.event,this._onDidChangeContentOrInjectedText=this._register(new o.b),this.onDidChangeContentOrInjectedText=this._onDidChangeContentOrInjectedText.event,this._eventEmitter=this._register(new Et),this._backgroundTokenizationState=0,this._onBackgroundTokenizationStateChanged=this._register(new o.b),this.onBackgroundTokenizationStateChanged=this._onBackgroundTokenizationStateChanged.event,this._register(this._eventEmitter.fastEvent(e=>{this._onDidChangeContentOrInjectedText.fire(e.rawContentChangedEvent)})),ut++,this.id="$model"+ut,this.isForSimpleWidget=t.isForSimpleWidget,this._associatedResource=null==n?a.a.parse("inmemory://model/"+ut):n,this._undoRedoService=s,this._attachedEditorCount=0;var{textBuffer:n,disposable:e}=ct(e,t.defaultEOL);this._buffer=n,this._bufferDisposable=e,this._options=_t.resolveOptions(this._buffer,t),n=this._buffer.getLineCount(),e=this._buffer.getValueLengthInRange(new d.a(1,1,n,this._buffer.getLineLength(n)+1),0);t.largeFileOptimizations?this._isTooLargeForTokenization=e>_t.LARGE_FILE_SIZE_THRESHOLD||n>_t.LARGE_FILE_LINE_COUNT_THRESHOLD:this._isTooLargeForTokenization=!1,this._isTooLargeForSyncing=e>_t.MODEL_SYNC_LIMIT,this._versionId=1,this._alternativeVersionId=1,this._initialUndoRedoSnapshot=null,this._isDisposed=!1,this._isDisposing=!1,this._languageIdentifier=i||ge.a,this._languageRegistryListener=Ce.a.onDidChange(e=>{e.languageIdentifier.id===this._languageIdentifier.id&&this._onDidChangeLanguageConfiguration.fire({})}),this._instanceId=r.P(ut),this._lastDecorationId=0,this._decorations=Object.create(null),this._decorationsTree=new Ct,this._commandManager=new u.a(this,s),this._isUndoing=!1,this._isRedoing=!1,this._trimAutoWhitespaceLines=null,this._tokens=new oe.d,this._tokens2=new oe.e,this._tokenization=new _e(this),this._bracketPairColorizer=this._register(new rt(this)),this._decorationProvider=this._bracketPairColorizer,this._register(this._decorationProvider.onDidChangeDecorations(()=>{this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._onDidChangeDecorations.endDeferredEmit()}))}static resolveOptions(e,t){return t.detectIndentation?(e=p(e,t.tabSize,t.insertSpaces),new c.e({tabSize:e.tabSize,indentSize:e.tabSize,insertSpaces:e.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})):new c.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL,bracketPairColorizationOptions:t.bracketPairColorizationOptions})}onDidChangeContentFast(e){return this._eventEmitter.fastEvent(t=>e(t.contentChangedEvent))}onDidChangeContent(e){return this._eventEmitter.slowEvent(t=>e(t.contentChangedEvent))}get backgroundTokenizationState(){return this._backgroundTokenizationState}setBackgroundTokenizationState(e){this._backgroundTokenizationState!==e&&(this._backgroundTokenizationState=e,this._onBackgroundTokenizationStateChanged.fire())}dispose(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,super.dispose(),this._bufferDisposable.dispose(),this._isDisposing=!1;const e=new re([],"","\n",!1,!1,!0,!0);e.dispose(),this._buffer=e}_assertNotDisposed(){if(this._isDisposed)throw new Error("Model is disposed!")}_emitContentChangedEvent(e,t){this._bracketPairColorizer.handleContentChanged(t),this._isDisposing||this._eventEmitter.fire(new de.a(e,t))}setValue(e){var t;this._assertNotDisposed(),null!==e&&(({textBuffer:e,disposable:t}=ct(e,this._options.defaultEOL)),this._setValueFromTextBuffer(e,t))}_createContentChanged2(e,t,i,n,o,s,r){return{changes:[{range:e,rangeOffset:t,rangeLength:i,text:n}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:s,isFlush:r}}_setValueFromTextBuffer(e,t){this._assertNotDisposed();var i=this.getFullModelRange(),n=(i=this.getValueLengthInRange(i),this.getLineCount()),o=this.getLineMaxColumn(n);this._buffer=e,this._bufferDisposable.dispose(),this._bufferDisposable=t,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ct,this._commandManager.clear(),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new de.d([new de.f],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,n,o),0,i,this.getValue(),!1,!1,!0))}setEOL(e){this._assertNotDisposed();var t,i,n;e=1===e?"\r\n":"\n";this._buffer.getEOL()!==e&&(t=this.getFullModelRange(),t=this.getValueLengthInRange(t),i=this.getLineCount(),n=this.getLineMaxColumn(i),this._onBeforeEOLChange(),this._buffer.setEOL(e),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new de.d([new de.e],this._versionId,!1,!1),this._createContentChanged2(new d.a(1,1,i,n),0,t,this.getValue(),!1,!1,!1)))}_onBeforeEOLChange(){this._decorationsTree.ensureAllNodesHaveRanges(this)}_onAfterEOLChange(){var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder();for(let s=0,r=t.length;se}get uri(){return this._associatedResource}getOptions(){return this._assertNotDisposed(),this._options}getFormattingOptions(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}}updateOptions(e){this._assertNotDisposed();var t=(void 0!==e.tabSize?e:this._options).tabSize,i=(void 0!==e.indentSize?e:this._options).indentSize,n=(void 0!==e.insertSpaces?e:this._options).insertSpaces,o=(void 0!==e.trimAutoWhitespace?e:this._options).trimAutoWhitespace;e=void 0!==e.bracketColorizationOptions?e.bracketColorizationOptions:this._options.bracketPairColorizationOptions,t=new c.e({tabSize:t,indentSize:i,insertSpaces:n,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o,bracketPairColorizationOptions:e});this._options.equals(t)||(i=this._options.createChangeEvent(t),this._options=t,this._onDidChangeOptions.fire(i))}detectIndentation(e,t){this._assertNotDisposed(),t=p(this._buffer,t,e),this.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.tabSize})}static _normalizeIndentationFromWhitespace(e,t,i){let n=0;for(let r=0;r({range:e.range,text:null})),()=>null)}mightContainNonBasicASCII(){return this._buffer.mightContainNonBasicASCII()}getAlternativeVersionId(){return this._assertNotDisposed(),this._alternativeVersionId}getInitialUndoRedoSnapshot(){return this._assertNotDisposed(),this._initialUndoRedoSnapshot}getOffsetAt(e){return this._assertNotDisposed(),e=this._validatePosition(e.lineNumber,e.column,0),this._buffer.getOffsetAt(e.lineNumber,e.column)}getPositionAt(e){return this._assertNotDisposed(),e=Math.min(this._buffer.getLength(),Math.max(0,e)),this._buffer.getPositionAt(e)}_increaseVersionId(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId}_overwriteVersionId(e){this._versionId=e}_overwriteAlternativeVersionId(e){this._alternativeVersionId=e}_overwriteInitialUndoRedoSnapshot(e){this._initialUndoRedoSnapshot=e}getValue(e,t=!1){this._assertNotDisposed();var i=this.getFullModelRange();i=this.getValueInRange(i,e);return t?this._buffer.getBOM()+i:i}createSnapshot(e=!1){return new gt(this._buffer.createSnapshot(e))}getValueLength(e,t=!1){this._assertNotDisposed();var i=this.getFullModelRange();i=this.getValueLengthInRange(i,e);return t?this._buffer.getBOM().length+i:i}getValueInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)}getValueLengthInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)}getCharacterCountInRange(e,t=0){return this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)}getLineCount(){return this._assertNotDisposed(),this._buffer.getLineCount()}getLineContent(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)}getLineLength(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)}getLinesContent(){return this._assertNotDisposed(),this._buffer.getLinesContent()}getEOL(){return this._assertNotDisposed(),this._buffer.getEOL()}getEndOfLineSequence(){return this._assertNotDisposed(),"\n"===this._buffer.getEOL()?0:1}getLineMinColumn(e){return this._assertNotDisposed(),1}getLineMaxColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1}getLineFirstNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)}getLineLastNonWhitespaceColumn(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)}_validateRangeRelaxedNoAllocations(e){var t=this._buffer.getLineCount(),i=e.startLineNumber,n=e.startColumn;let o=Math.floor("number"!=typeof i||isNaN(i)?1:i),s=Math.floor("number"!=typeof n||isNaN(n)?1:n);o<1?(o=1,s=1):o>t?(o=t,s=this.getLineMaxColumn(o)):s<=1?s=1:(r=this.getLineMaxColumn(o),s>=r&&(s=r));var r=e.endLineNumber,a=e.endColumn;let l=Math.floor("number"!=typeof r||isNaN(r)?1:r),c=Math.floor("number"!=typeof a||isNaN(a)?1:a);return l<1?(l=1,c=1):l>t?(l=t,c=this.getLineMaxColumn(l)):c<=1?c=1:(t=this.getLineMaxColumn(l),c>=t&&(c=t)),i===o&&n===s&&r===l&&a===c&&e instanceof d.a&&!(e instanceof h.a)?e:new d.a(o,s,l,c)}_isValidPosition(e,t,i){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(this._buffer.getLineCount()d.a.isIRange(e))?t.map(e=>this.validateRange(e)):a)?[this.getFullModelRange()]:a).sort((e,t)=>e.startLineNumber-t.startLineNumber||e.startColumn-t.startColumn);const l=[];let h;if(l.push(a.reduce((e,t)=>d.a.areIntersecting(e,t)?e.plusRange(t):(l.push(e),t))),!i&&e.indexOf("\n")<0){const t=new G.a(e,i,n,o),a=t.parseSearchRequest();if(!a)return[];h=e=>this.findMatchesLineByLine(e,a,s,r)}else h=t=>G.c.findMatches(this,new G.a(e,i,n,o),t,s,r);return l.map(h).reduce((e,t)=>e.concat(t),[])}findNextMatch(e,t,i,n,o,s){if(this._assertNotDisposed(),t=this.validatePosition(t),!i&&e.indexOf("\n")<0){const l=new G.a(e,i,n,o);var r=l.parseSearchRequest();if(!r)return null;var a=this.getLineCount();a=new d.a(t.lineNumber,t.column,a,this.getLineMaxColumn(a));let h=this.findMatchesLineByLine(a,r,s,1);return G.c.findNextMatch(this,new G.a(e,i,n,o),t,s),0({range:this.validateRange(e.range),text:e.text}));let i=!0;if(e)for(let t=0,a=e.length;to.endLineNumber;s=o.startLineNumber>s.endLineNumber;if(!r&&!s){a=!0;break}}if(!a){i=!1;break}}if(i)for(let e=0,o=this._trimAutoWhitespaceLines.length;et.endLineNumber)&&!(l===t.startLineNumber&&t.startColumn===h&&t.isEmpty()&&o&&0{var t=this.getPositionAt(e.newPosition),i=this.getPositionAt(e.newEnd);return{range:new d.a(t.lineNumber,t.column,i.lineNumber,i.column),text:e.oldText}}),this._applyUndoRedoEdits(e,t,!0,!1,i,n)}_applyRedo(e,t,i,n){e=e.map(e=>{var t=this.getPositionAt(e.oldPosition),i=this.getPositionAt(e.oldEnd);return{range:new d.a(t.lineNumber,t.column,i.lineNumber,i.column),text:e.newText}}),this._applyUndoRedoEdits(e,t,!1,!0,i,n)}_applyUndoRedoEdits(e,t,i,n,o,s){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._isUndoing=i,this._isRedoing=n,this.applyEdits(e,!1),this.setEOL(t),this._overwriteAlternativeVersionId(o)}finally{this._isUndoing=!1,this._isRedoing=!1,this._eventEmitter.endDeferredEmit(s),this._onDidChangeDecorations.endDeferredEmit()}}applyEdits(e,t=!1){try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit();var i=this._validateEditOperations(e);return this._doApplyEdits(i,t)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}}_doApplyEdits(e,t){var i=this._buffer.getLineCount(),n=(e=this._buffer.applyEdits(e,this._options.trimAutoWhitespace,t),this._buffer.getLineCount()),o=e.changes;if(this._trimAutoWhitespaceLines=e.trimAutoWhitespaceLineNumbers,0!==o.length){for(let i=0,n=o.length;ie.lineNumber>i);var b=s.takeFromEndWhile(e=>e.lineNumber===i);e.push(new de.g(_,this.getLineContent(i),b))}if(ge.lineNumbere.lineNumber===t)}e.push(new de.i(u+1,c+h,s,o))}t+=p}this._emitContentChangedEvent(new de.d(e,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:o,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return null===e.reverseEdits?void 0:e.reverseEdits}undo(){return this._undoRedoService.undo(this.uri)}canUndo(){return this._undoRedoService.canUndo(this.uri)}redo(){return this._undoRedoService.redo(this.uri)}canRedo(){return this._undoRedoService.canRedo(this.uri)}handleBeforeFireDecorationsChangedEvent(e){if(null!==e&&0!==e.size){const t=[...e];e=t.map(e=>new de.g(e,this.getLineContent(e),this._getInjectedTextInLine(e))),this._onDidChangeContentOrInjectedText.fire(new de.c(e))}}changeDecorations(e,t=0){this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_changeDecorations(e,t){let i={addDecoration:(t,i)=>this._deltaDecorationsImpl(e,[],[{range:t,options:i}])[0],changeDecoration:(e,t)=>{this._changeDecorationImpl(e,t)},changeDecorationOptions:(e,t)=>{this._changeDecorationOptionsImpl(e,Nt(t))},removeDecoration:t=>{this._deltaDecorationsImpl(e,[t],[])},deltaDecorations:(t,i)=>0===t.length&&0===i.length?[]:this._deltaDecorationsImpl(e,t,i)},o=null;try{o=t(i)}catch(t){Object(n.f)(t)}return i.addDecoration=pt,i.changeDecoration=pt,i.changeDecorationOptions=pt,i.removeDecoration=pt,i.deltaDecorations=pt,o}deltaDecorations(e,t,i=0){if(this._assertNotDisposed(),0===(e=e||[]).length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._deltaDecorationsImpl(i,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}}_getTrackedRange(e){return this.getDecorationRange(e)}_setTrackedRange(e,t,i){const n=e?this._decorations[e]:null;var o,s;return n?t?(e=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),s=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),this._decorationsTree.delete(n),n.reset(this.getVersionId(),o,s,e),n.setOptions(Dt[i]),this._decorationsTree.insert(n),n.id):(this._decorationsTree.delete(n),delete this._decorations[n.id],null):t?this._deltaDecorationsImpl(0,[],[{range:t,options:Dt[i]}])[0]:null}removeAllDecorationsWithOwnerId(e){if(!this._isDisposed){var t=this._decorationsTree.collectNodesFromOwner(e);for(let e=0,n=t.length;ethis.getLineCount()?[]:this.getLinesDecorations(e,e,t,i)}getLinesDecorations(e,t,i=0,n=!1){var o=this.getLineCount();e=Math.min(o,Math.max(1,e)),o=Math.min(o,Math.max(1,t)),t=this.getLineMaxColumn(o),e=new d.a(e,1,o,t);const s=this._getDecorationsInRange(e,i,n);return s.push(...this._decorationProvider.getDecorationsInRange(e,i,n)),s}getDecorationsInRange(e,t=0,i=!1){e=this.validateRange(e);const n=this._getDecorationsInRange(e,t,i);return n.push(...this._decorationProvider.getDecorationsInRange(e,t,i)),n}getOverviewRulerDecorations(e=0,t=!1){return this._decorationsTree.getAll(this,e,t,!0)}getInjectedTextDecorations(e=0){return this._decorationsTree.getAllInjectedText(this,e)}_getInjectedTextInLine(e){var t=this._buffer.getOffsetAt(e,1),i=t+this._buffer.getLineLength(e);t=this._decorationsTree.getInjectedTextInInterval(this,t,i,0);return de.b.fromDecorations(t).filter(t=>t.lineNumber===e)}getAllDecorations(e=0,t=!1){const i=this._decorationsTree.getAll(this,e,t,!1);return i.push(...this._decorationProvider.getAllDecorations(e,t)),i}_getDecorationsInRange(e,t,i){var n=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn);e=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn);return this._decorationsTree.getAllInInterval(this,n,e,t,i)}getRangeAt(e,t){return this._buffer.getRangeAt(e,t-e)}_changeDecorationImpl(e,t){const i=this._decorations[e];var n;i&&(i.options.after&&(n=this.getDecorationRange(e),this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.endLineNumber)),i.options.before&&(n=this.getDecorationRange(e),this._onDidChangeDecorations.recordLineAffectedByInjectedText(n.startLineNumber)),e=this._validateRangeRelaxedNoAllocations(t),n=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),t=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),this._decorationsTree.delete(i),i.reset(this.getVersionId(),n,t,e),this._decorationsTree.insert(i),this._onDidChangeDecorations.checkAffectedAndFire(i.options),i.options.after&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.endLineNumber),i.options.before&&this._onDidChangeDecorations.recordLineAffectedByInjectedText(e.startLineNumber))}_changeDecorationOptionsImpl(e,t){const i=this._decorations[e];var n,o;i&&(e=!(!i.options.overviewRuler||!i.options.overviewRuler.color),n=!(!t.overviewRuler||!t.overviewRuler.color),this._onDidChangeDecorations.checkAffectedAndFire(i.options),this._onDidChangeDecorations.checkAffectedAndFire(t),(i.options.after||t.after)&&(o=this._decorationsTree.getNodeRange(this,i),this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.endLineNumber)),(i.options.before||t.before)&&(o=this._decorationsTree.getNodeRange(this,i),this._onDidChangeDecorations.recordLineAffectedByInjectedText(o.startLineNumber)),e!=n?(this._decorationsTree.delete(i),i.setOptions(t),this._decorationsTree.insert(i)):i.setOptions(t))}_deltaDecorationsImpl(e,t,i){var n=this.getVersionId(),o=t.length;let s=0;var r,a,l,d,h,c,u=i.length;let g=0,p=new Array(u);for(;sthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)}isCheapToTokenize(e){return this._tokenization.isCheapToTokenize(e)}tokenizeIfCheap(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)}getLineTokens(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)}_getLineTokens(e){var t=this.getLineContent(e);t=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,t)}getLanguageIdentifier(){return this._languageIdentifier}getModeId(){return this._languageIdentifier.language}setMode(e){var t;this._languageIdentifier.id!==e.id&&(t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language},this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({}))}getLanguageIdAtPosition(e,t){e=this.validatePosition(new l.a(e,t));const i=this.getLineTokens(e.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(e.column-1))}getWordAtPosition(e){this._assertNotDisposed();var t=this.validatePosition(e);const i=this.getLineContent(t.lineNumber),n=this._getLineTokens(t.lineNumber);var o=n.findTokenIndexAtOffset(t.column-1),[s,r]=_t._findLanguageBoundaries(n,o),r=Object(ve.d)(t.column,Ce.a.getWordDefinition(n.getLanguageId(o)),i.substring(s,r),s);if(r&&r.startColumn<=e.column&&e.column<=r.endColumn)return r;if(0=l)break;if(Object(we.b)(t.getStandardTokenType(h))||t.getLanguageId(h)!==s){l=d;break}}return{searchStartOffset:r,searchEndOffset:l}}_matchBracket(e){var t=e.lineNumber;const i=this._getLineTokens(t),n=this._buffer.getLineContent(t);var o=i.findTokenIndexAtOffset(e.column-1);if(!(o<0)){var s=Ce.a.getBracketsSupport(i.getLanguageId(o));if(s&&!Object(we.b)(i.getStandardTokenType(o))){let{searchStartOffset:l,searchEndOffset:d}=this._establishBracketSearchOffsets(e,i,s,o),h=null;for(;;){var r=ye.a.findNextBracketInRange(s.forwardRegex,t,n,l,d);if(!r)break;if(r.startColumn<=e.column&&e.column<=r.endColumn){var a=n.substring(r.startColumn-1,r.endColumn-1).toLowerCase();a=this._matchFoundBracket(r,s.textIsBracket[a],s.textIsOpenBracket[a],null);if(a){if(a instanceof mt)return null;h=a}}l=r.endColumn-1}if(h)return h}if(0{for(;;){if(i&&++r%100==0&&!i())return mt.INSTANCE;var d=ye.a.findPrevBracketInRange(o,t,n,a,l);if(!d)break;var h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?s++:e.isClose(h)&&s--,0===s)return d;l=d.startColumn-1}return null};for(let u=t.lineNumber;1<=u;u--){const e=this._getLineTokens(u);var l=e.getCount(),d=this._buffer.getLineContent(u);let i=l-1,o=d.length,s=d.length,r=(u===t.lineNumber&&(i=e.findTokenIndexAtOffset(t.column-1),o=t.column-1,s=t.column-1),!0);for(;0<=i;i--){var h=e.getLanguageId(i)===n&&!Object(we.b)(e.getStandardTokenType(i));if(h)r?o=e.getStartOffset(i):(o=e.getStartOffset(i),s=e.getEndOffset(i));else if(r&&o!==s){var c=a(u,d,o,s);if(c)return c}r=h}if(r&&o!==s&&(l=a(u,d,o,s),l))return l}return null}_findMatchingBracketDown(e,t,i){var n=e.languageIdentifier.id;const o=e.forwardRegex;let s=1,r=0;var a=(t,n,a,l)=>{for(;;){if(i&&++r%100==0&&!i())return mt.INSTANCE;var d=ye.a.findNextBracketInRange(o,t,n,a,l);if(!d)break;var h=n.substring(d.startColumn-1,d.endColumn-1).toLowerCase();if(e.isOpen(h)?s++:e.isClose(h)&&s--,0===s)return d;a=d.endColumn-1}return null},l=this.getLineCount();for(let p=t.lineNumber;p<=l;p++){const e=this._getLineTokens(p);var d=e.getCount(),h=this._buffer.getLineContent(p);let i=0,o=0,s=0,r=(p===t.lineNumber&&(i=e.findTokenIndexAtOffset(t.column-1),o=t.column-1,s=t.column-1),!0);for(;iDate.now()-e<=t}var n=this.validatePosition(e),o=this.getLineCount();const s=new Map;let r=[];var a=(e,t)=>{if(!s.has(e)){let i=[];for(let e=0,n=t?t.brackets.length:0;e{for(;;){if(i&&++l%100==0&&!i())return mt.INSTANCE;var a=ye.a.findNextBracketInRange(e.forwardRegex,t,n,o,s);if(!a)break;var d=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();const h=e.textIsBracket[d];if(h&&(h.isOpen(d)?r[h.index]++:h.isClose(d)&&r[h.index]--,-1===r[h.index]))return this._matchFoundBracket(a,h,!1,i);o=a.endColumn-1}return null};let h=-1,c=null;for(let _=n.lineNumber;_<=o;_++){const e=this._getLineTokens(_);var u=e.getCount(),g=this._buffer.getLineContent(_);let t=0,i=0,o=0,s=(_===n.lineNumber&&(t=e.findTokenIndexAtOffset(n.column-1),i=n.column-1,o=n.column-1,f=e.getLanguageId(t),h!==f&&(h=f,c=Ce.a.getBracketsSupport(h),a(h,c))),!0);for(;tn)throw new Error("Illegal value for lineNumber");var o=Ce.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(o&&o.offSide);let r=-2,a=-1,l=-2,d=-1;var h=e=>{if(-1!==r&&(-2===r||r>e-1)){r=-1,a=-1;for(let i=e-2;0<=i;i--){var t=this._computeIndentLevel(i);if(0<=t){r=i,a=t;break}}}if(-2===l){l=-1,d=-1;for(let t=e;t{if(-2===c){c=-1,u=-1;for(let i=e-2;0<=i;i--){var t=this._computeIndentLevel(i);if(0<=t){c=i,u=t;break}}}if(-1!==g&&(-2===g||gn||i=C?f=S:_=!1),v&&(r>=C?b=L:v=!1)}}return{startLineNumber:f,endLineNumber:b,indent:C}}getLinesIndentGuides(e,t){this._assertNotDisposed();var i=this.getLineCount();if(e<1||i>>0}static getTokenType(e){return(1792&e)>>>8}static getFontStyle(e){return(14336&e)>>>11}static getForeground(e){return(8372224&e)>>>14}static getBackground(e){return(4286578688&e)>>>23}static getClassNameFromMetadata(e){let t="mtk"+this.getForeground(e);return e=this.getFontStyle(e),1&e&&(t+=" mtki"),2&e&&(t+=" mtkb"),4&e&&(t+=" mtku"),t}static getInlineStyleFromMetadata(e,t){var i=this.getForeground(e);e=this.getFontStyle(e);let n=`color: ${t[i]};`;return 1&e&&(n+="font-style: italic;"),2&e&&(n+="font-weight: bold;"),4&e&&(n+="text-decoration: underline;"),n}}const p=function(){let e=Object.create(null);return e[0]="symbol-method",e[1]="symbol-function",e[2]="symbol-constructor",e[3]="symbol-field",e[4]="symbol-variable",e[5]="symbol-class",e[6]="symbol-struct",e[7]="symbol-interface",e[8]="symbol-module",e[9]="symbol-property",e[10]="symbol-event",e[11]="symbol-operator",e[12]="symbol-unit",e[13]="symbol-value",e[14]="symbol-constant",e[15]="symbol-enum",e[16]="symbol-enum-member",e[17]="symbol-keyword",e[27]="symbol-snippet",e[18]="symbol-text",e[19]="symbol-color",e[20]="symbol-file",e[21]="symbol-reference",e[22]="symbol-customcolor",e[23]="symbol-folder",e[24]="symbol-type-parameter",e[25]="account",e[26]="issues",function(t){t=e[t];let i=t&&c.d.get(t);return(i=i||c.b.symbolProperty).classNames}}();let m=function(){let e=Object.create(null);return e.method=0,e.function=1,e.constructor=2,e.field=3,e.variable=4,e.class=5,e.struct=6,e.interface=7,e.module=8,e.property=9,e.event=10,e.operator=11,e.unit=12,e.value=13,e.constant=14,e.enum=15,e["enum-member"]=16,e.enumMember=16,e.keyword=17,e.snippet=27,e.text=18,e.color=19,e.file=20,e.reference=21,e.customcolor=22,e.folder=23,e["type-parameter"]=24,e.typeParameter=24,e.account=25,e.issue=26,function(t,i){let n=e[t];return void 0!==n||i?n:9}}();function f(e){return e&&a.a.isUri(e.uri)&&l.a.isIRange(e.range)&&(l.a.isIRange(e.originSelectionRange)||l.a.isIRange(e.targetSelectionRange))}(i=n=n||{})[i.Automatic=0]="Automatic",i[i.Explicit=1]="Explicit",(i=o=o||{})[i.Invoke=1]="Invoke",i[i.TriggerCharacter=2]="TriggerCharacter",i[i.ContentChange=3]="ContentChange",(i=s=s||{})[i.Text=0]="Text",i[i.Read=1]="Read",i[i.Write=2]="Write";{i=r=r||{};const e=new Map,t=(e.set("file",0),e.set("module",1),e.set("namespace",2),e.set("package",3),e.set("class",4),e.set("method",5),e.set("property",6),e.set("field",7),e.set("constructor",8),e.set("enum",9),e.set("interface",10),e.set("function",11),e.set("variable",12),e.set("constant",13),e.set("string",14),e.set("number",15),e.set("boolean",16),e.set("array",17),e.set("object",18),e.set("key",19),e.set("null",20),e.set("enum-member",21),e.set("struct",22),e.set("event",23),e.set("operator",24),e.set("type-parameter",25),new Map);t.set(0,"file"),t.set(1,"module"),t.set(2,"namespace"),t.set(3,"package"),t.set(4,"class"),t.set(5,"method"),t.set(6,"property"),t.set(7,"field"),t.set(8,"constructor"),t.set(9,"enum"),t.set(10,"interface"),t.set(11,"function"),t.set(12,"variable"),t.set(13,"constant"),t.set(14,"string"),t.set(15,"number"),t.set(16,"boolean"),t.set(17,"array"),t.set(18,"object"),t.set(19,"key"),t.set(20,"null"),t.set(21,"enum-member"),t.set(22,"struct"),t.set(23,"event"),t.set(24,"operator"),t.set(25,"type-parameter"),i.fromString=function(t){return e.get(t)},i.toString=function(e){return t.get(e)},i.toCssClassName=function(e,i){let n=(e=t.get(e))&&c.d.get("symbol-"+e);return(i?"inline":"block")+" "+(n=n||c.b.symbolProperty).classNames}}class _{constructor(e){this.value=e}}_.Comment=new _("comment"),_.Imports=new _("imports"),_.Region=new _("region");const b=new t.a,v=new t.a,C=new t.a,w=new t.a,y=new t.a,S=new t.a,L=new t.a,x=new t.a,k=new t.a,D=new t.a,N=new t.a,O=new t.a,E=new t.a,I=new t.a,M=new t.a,T=new t.a,A=new t.a,R=new t.a,P=new t.a,F=new t.a,B=new t.a,j=new t.a,W=new t.a,V=new t.a,H=new t.a,z=new class{constructor(){this._map=new Map,this._promises=new Map,this._onDidChange=new d.b,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._map.set(e,t),this.fire([e]),Object(h.i)(()=>{this._map.get(e)===t&&(this._map.delete(e),this.fire([e]))})}registerPromise(e,t){let i=null,n=!1;return this._promises.set(e,t.then(t=>{this._promises.delete(e),!n&&t&&(i=this.register(e,t))})),Object(h.i)(()=>{n=!0,i&&i.dispose()})}getPromise(e){var t=this.get(e);if(t)return Promise.resolve(t);const i=this._promises.get(e);return i?i.then(t=>this.get(e)):null}get(e){return this._map.get(e)||null}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&2{var t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function m(e){return p.onColorThemeChange(e)}l.a.add(g.ThemingContribution,p);class f extends r.a{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}},b800:function(e,t,i){"use strict";i.d(t,"d",(function(){return s})),i.d(t,"b",(function(){return a})),i.d(t,"a",(function(){return l})),i.d(t,"c",(function(){return p}));class n{constructor(){this.value="",this.pos=0}static isDigitCharacter(e){return 48<=e&&e<=57}static isVariableCharacter(e){return 95===e||97<=e&&e<=122||65<=e&&e<=90}text(e){this.value=e,this.pos=0}tokenText(e){return this.value.substr(e.pos,e.len)}next(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var e=this.pos;let t,i=0,o=this.value.charCodeAt(e);if("number"==typeof(t=n._table[o]))return this.pos+=1,{type:t,pos:e,len:1};if(n.isDigitCharacter(o))for(t=8;i+=1,o=this.value.charCodeAt(e+i),n.isDigitCharacter(o););else if(n.isVariableCharacter(o))for(t=9;o=this.value.charCodeAt(e+ ++i),n.isVariableCharacter(o)||n.isDigitCharacter(o););else for(t=10;i+=1,o=this.value.charCodeAt(e+i),!isNaN(o)&&void 0===n._table[o]&&!n.isDigitCharacter(o)&&!n.isVariableCharacter(o););return this.pos+=i,{type:t,pos:e,len:i}}}n._table={[36]:0,58:1,44:2,123:3,125:4,92:5,47:6,124:7,43:11,45:12,63:13};class o{constructor(){this._children=[]}appendChild(e){return e instanceof s&&this._children[this._children.length-1]instanceof s?this._children[this._children.length-1].value+=e.value:(e.parent=this)._children.push(e),this}replace(e,t){const i=e["parent"];e=i.children.indexOf(e);const n=i.children.slice(0);n.splice(e,1,...t),i._children=n,function e(t,i){for(const n of t)n.parent=i,e(n.children,n)}(t,i)}get children(){return this._children}get snippet(){let e=this;for(;;){if(!e)return;if(e instanceof g)return e;e=e.parent}}toString(){return this.children.reduce((e,t)=>e+t.toString(),"")}len(){return 0}}class s extends o{constructor(e){super(),this.value=e}toString(){return this.value}len(){return this.value.length}clone(){return new s(this.value)}}class r extends o{}class a extends r{constructor(e){super(),this.index=e}static compareByIndex(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.indext.index?1:0}get isFinalTabstop(){return 0===this.index}get choice(){return 1===this._children.length&&this._children[0]instanceof l?this._children[0]:void 0}clone(){let e=new a(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}class l extends o{constructor(){super(...arguments),this.options=[]}appendChild(e){return e instanceof s&&(e.parent=this).options.push(e),this}toString(){return this.options[0].value}len(){return this.options[0].len()}clone(){var e=new l;return this.options.forEach(e.appendChild,e),e}}class d extends o{constructor(){super(...arguments),this.regexp=new RegExp("")}resolve(e){const t=this;let i=!1,n=e.replace(this.regexp,(function(){return i=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!i&&this._children.some(e=>e instanceof h&&Boolean(e.elseValue))?this._replace([]):n}_replace(e){let t="";for(const n of this._children){var i;n instanceof h?(i=e[n.index]||"",i=n.resolve(i),t+=i):t+=n.toString()}return t}toString(){return""}clone(){let e=new d;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map(e=>e.clone()),e}}class h extends o{constructor(e,t,i,n){super(),this.index=e,this.shorthandName=t,this.ifValue=i,this.elseValue=n}resolve(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":"camelcase"===this.shorthandName?e?this._toCamelCase(e):"":Boolean(e)&&"string"==typeof this.ifValue?this.ifValue:Boolean(e)||"string"!=typeof this.elseValue?e||"":this.elseValue}_toPascalCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join(""):e}_toCamelCase(e){const t=e.match(/[a-z0-9]+/gi);return t?t.map((e,t)=>0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()).join(""):e}clone(){return new h(this.index,this.shorthandName,this.ifValue,this.elseValue)}}class c extends r{constructor(e){super(),this.name=e}resolve(e){let t=e.resolve(this);return void 0!==(t=this.transform?this.transform.resolve(t||""):t)&&(this._children=[new s(t)],!0)}clone(){const e=new c(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map(e=>e.clone()),e}}function u(e,t){const i=[...e];for(;0n===e?!(i=!0):(t+=n.len(),!0)),i?t:-1}fullLen(e){let t=0;return u([e],e=>(t+=e.len(),!0)),t}enclosingPlaceholders(e){let t=[],i=e["parent"];for(;i;)i instanceof a&&t.push(i),i=i.parent;return t}resolveVariables(e){return this.walk(t=>(t instanceof c&&t.resolve(e)&&(this._placeholders=void 0),!0)),this}appendChild(e){return this._placeholders=void 0,super.appendChild(e)}replace(e,t){return this._placeholders=void 0,super.replace(e,t)}clone(){var e=new g;return this._children=this.children.map(e=>e.clone()),e}walk(e){u(this.children,e)}}class p{constructor(){this._scanner=new n,this._token={type:14,pos:0,len:0}}static escape(e){return e.replace(/\$|}|\\/g,"\\$&")}static guessNeedsClipboard(e){return/\${?CLIPBOARD/.test(e)}parse(e,t,i){this._scanner.text(e),this._token=this._scanner.next();const n=new g;for(;this._parse(n););const o=new Map,s=[];let r=0;n.walk(e=>(e instanceof a&&(r+=1,e.isFinalTabstop?o.set(0,void 0):!o.has(e.index)&&0{e.mime===i.mime||e.userConfigured||(i.extension&&e.extension,i.filename&&e.filename,i.filepattern&&e.filepattern,i.firstline&&e.firstline)})}function g(e,t){let i;if(e)switch(e.scheme){case s.c.file:i=e.fsPath;break;case s.c.data:const t=a.a.parseMetaData(e);i=t.get(a.a.META_DATA_LABEL);break;default:i=e.path}if(i){i=i.toLowerCase();var o=Object(r.a)(i),u=p(i,o,c);if(u)return[u,n.text];if(u=p(i,o,h),u)return[u,n.text];if(t&&(o=function(e){if(Object(l.S)(e)&&(e=e.substr(1)),0s.filepattern.length)&&(a=l.filepatternOnPath?e:t,null!=(n=l.filepatternLowercase)&&n.call(l,a)&&(s=l)),l.extension&&(!r||l.extension.length>r.extension.length)&&t.endsWith(l.extensionLowercase)&&(r=l)}return o?o.mime:s?s.mime:r?r.mime:null}},b9db:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("561a");function o(e){let t=e.definition;for(;t instanceof n.b;)t=t.definition;return`.codicon-${e.id}:before { content: '${t.fontCharacter}'; }`}i("1e03"),i("f2d2")},b9f8:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return i.e("chunk-2d2138c7").then(i.bind(null,"acc2"))}})},ba77:function(e,t,i){},bc02:function(e,t,i){},bc04:function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return m})),i.d(t,"d",(function(){return f})),i.d(t,"c",(function(){return _}));var n=i("3742"),o=i("6a89"),s=(t=i("2504"),i("a666")),r=i("b2cc"),a=i("4fc3"),l=i("db88"),d=i("0a0f"),h=i("f5f3");i=i("dff7");const c=Object(d.c)("IEditorCancelService"),u=new a.c("cancellableOperation",!1,Object(i.a)("cancellableOperation","Whether the editor runs a cancellable operation, e.g. like 'Peek References'"));Object(h.b)(c,class{constructor(){this._tokens=new WeakMap}add(e,t){let i,n=this._tokens.get(e);return n||(n=e.invokeWithinContext(e=>({key:u.bindTo(e.get(a.b)),tokens:new l.a})),this._tokens.set(e,n)),n.key.set(!0),i=n.tokens.push(t),()=>{i&&(i(),n.key.set(!n.tokens.isEmpty()),i=void 0)}}cancel(e){const t=this._tokens.get(e);if(t){const e=t.tokens.pop();e&&(e.cancel(),t.key.set(!t.tokens.isEmpty()))}}},!0);class g extends t.b{constructor(e,t){super(t),this.editor=e,this._unregister=e.invokeWithinContext(t=>t.get(c).add(e,this))}dispose(){this._unregister(),super.dispose()}}Object(r.k)(new class extends r.c{constructor(){super({id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:u})}runEditorCommand(e,t){e.get(c).cancel(t)}});class p{constructor(e,t){if(this.flags=t,0!=(1&this.flags)){const t=e.getModel();this.modelVersionId=t?n.v("{0}#{1}",t.uri.toString(),t.getVersionId()):null}else this.modelVersionId=null;0!=(4&this.flags)?this.position=e.getPosition():this.position=null,0!=(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!=(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}_equals(e){return e instanceof p&&this.modelVersionId===(e=e).modelVersionId&&this.scrollLeft===e.scrollLeft&&this.scrollTop===e.scrollTop&&!(!this.position&&e.position||this.position&&!e.position||this.position&&e.position&&!this.position.equals(e.position))&&!(!this.selection&&e.selection||this.selection&&!e.selection||this.selection&&e.selection&&!this.selection.equalsRange(e.selection))}validate(e){return this._equals(new p(e,this.flags))}}class m extends g{constructor(e,t,i,n){super(e,n),this._listener=new s.b,4&t&&this._listener.add(e.onDidChangeCursorPosition(e=>{i&&o.a.containsPosition(i,e.position)||this.cancel()})),2&t&&this._listener.add(e.onDidChangeCursorSelection(e=>{i&&o.a.containsRange(i,e.selection)||this.cancel()})),8&t&&this._listener.add(e.onDidScrollChange(e=>this.cancel())),1&t&&(this._listener.add(e.onDidChangeModel(e=>this.cancel())),this._listener.add(e.onDidChangeModelContent(e=>this.cancel())))}dispose(){this._listener.dispose(),super.dispose()}}class f extends t.b{constructor(e,t){super(t),this._listener=e.onDidChangeContent(()=>this.cancel())}dispose(){this._listener.dispose(),super.dispose()}}class _{constructor(e,t,i){this._visiblePosition=e,this._visiblePositionScrollDelta=t,this._cursorPosition=i}static capture(e){let t=null,i=0;if(0!==e.getScrollTop()){const o=e.getVisibleRanges();var n;0r.a.shiftIndent(e,e.length+(t=t||1),h,g,p),f=(e,t)=>r.a.unshiftIndent(e,e.length+(t=t||1),h,g,p);let _,b=[],v=e.getLineContent(t),C=v,w=(null!=n?(_=n,n=s.x(v),C=_+v.substring(n.length),o.decreaseIndentPattern&&o.decreaseIndentPattern.test(C)&&(_=f(_),C=_+v.substring(n.length)),v!==C&&b.push(a.a.replaceMove(new d.a(t,1,t,n.length+1),c.b.normalizeIndentation(_,g,p)))):_=s.x(v),_);o.increaseIndentPattern&&o.increaseIndentPattern.test(C)?(w=m(w),_=m(_)):o.indentNextLinePattern&&o.indentNextLinePattern.test(C)&&(w=m(w));for(let r=++t;r<=i;r++){let t=e.getLineContent(r);var y=s.x(t),S=w+t.substring(y.length);o.decreaseIndentPattern&&o.decreaseIndentPattern.test(S)&&(w=f(w),_=f(_)),y!==w&&b.push(a.a.replaceMove(new d.a(r,1,r,y.length+1),c.b.normalizeIndentation(w,g,p))),o.unIndentedLinePattern&&o.unIndentedLinePattern.test(t)||(w=o.increaseIndentPattern&&o.increaseIndentPattern.test(S)?_=m(_):o.indentNextLinePattern&&o.indentNextLinePattern.test(S)?m(w):_)}return b}class _ extends t.b{constructor(){super({id:_.ID,label:n.a("indentationToSpaces","Convert Indentation to Spaces"),alias:"Convert Indentation to Spaces",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n,o;i&&(n=i.getOptions(),(o=t.getSelection())&&(o=new N(o,n.tabSize),t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!0})))}}_.ID="editor.action.indentationToSpaces";class b extends t.b{constructor(){super({id:b.ID,label:n.a("indentationToTabs","Convert Indentation to Tabs"),alias:"Convert Indentation to Tabs",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n,o;i&&(n=i.getOptions(),(o=t.getSelection())&&(o=new O(o,n.tabSize),t.pushUndoStop(),t.executeCommands(this.id,[o]),t.pushUndoStop(),i.updateOptions({insertSpaces:!1})))}}b.ID="editor.action.indentationToTabs";class v extends t.b{constructor(e,t){super(t),this.insertSpaces=e}run(e,t){const i=e.get(m.a),o=e.get(g.a);let s=t.getModel();if(s){let e=o.getCreationOptions(s.getLanguageIdentifier().language,s.uri,s.isForSimpleWidget);const t=[1,2,3,4,5,6,7,8].map(t=>({id:t.toString(),label:t.toString(),description:t===e.tabSize?n.a("configuredTabSize","Configured Tab Size"):void 0})),r=Math.min(s.getOptions().tabSize-1,7);setTimeout(()=>{i.pick(t,{placeHolder:n.a({key:"selectTabWidth",comment:["Tab corresponds to the tab key"]},"Select Tab Size for Current File"),activeItem:t[r]}).then(e=>{e&&s&&!s.isDisposed()&&s.updateOptions({tabSize:parseInt(e.label,10),insertSpaces:this.insertSpaces})})},50)}}}class C extends v{constructor(){super(!1,{id:C.ID,label:n.a("indentUsingTabs","Indent Using Tabs"),alias:"Indent Using Tabs",precondition:void 0})}}C.ID="editor.action.indentUsingTabs";class w extends v{constructor(){super(!0,{id:w.ID,label:n.a("indentUsingSpaces","Indent Using Spaces"),alias:"Indent Using Spaces",precondition:void 0})}}w.ID="editor.action.indentUsingSpaces";class y extends t.b{constructor(){super({id:y.ID,label:n.a("detectIndentation","Detect Indentation from Content"),alias:"Detect Indentation from Content",precondition:void 0})}run(e,t){const i=e.get(g.a);let n=t.getModel();n&&(e=i.getCreationOptions(n.getLanguageIdentifier().language,n.uri,n.isForSimpleWidget),n.detectIndentation(e.insertSpaces,e.tabSize))}}y.ID="editor.action.detectIndentation";class S extends t.b{constructor(){super({id:"editor.action.reindentlines",label:n.a("editor.reindentlines","Reindent Lines"),alias:"Reindent Lines",precondition:h.a.writable})}run(e,t){let i=t.getModel();var n;!i||0<(n=f(i,1,i.getLineCount())).length&&(t.pushUndoStop(),t.executeEdits(this.id,n),t.pushUndoStop())}}class L extends t.b{constructor(){super({id:"editor.action.reindentselectedlines",label:n.a("editor.reindentselectedlines","Reindent Selected Lines"),alias:"Reindent Selected Lines",precondition:h.a.writable})}run(e,t){var i=t.getModel();if(i){var n=t.getSelections();if(null!==n){let e=[];for(var o of n){let t=o.startLineNumber,n=o.endLineNumber;if(t!==n&&1===o.endColumn&&n--,1===t){if(t===n)continue}else t--;o=f(i,t,n),e.push(...o)}0this.update())),this.callOnDispose.add(e.onDidChangeModel(()=>this.update())),this.callOnDispose.add(e.onDidChangeModelLanguage(()=>this.update()))}update(){this.callOnModel.clear(),this.editor.getOption(9)<4||this.editor.getOption(46)||this.editor.hasModel()&&this.callOnModel.add(this.editor.onDidPaste(({range:e})=>{this.trigger(e)}))}trigger(e){var t=this.editor.getSelections();if(!(null===t||1r.a.shiftIndent(e,e.length+1,g,m,f),unshiftIndent:e=>r.a.unshiftIndent(e,e.length+1,g,m,f)};let b=e.startLineNumber;for(;b<=e.endLineNumber&&this.shouldIgnoreLine(c,b);)b++;if(!(b>e.endLineNumber)){let r=c.getLineContent(b);if(!/\S/.test(r.substring(0,e.startColumn-1))){var n=u.a.getGoodIndentForLine(t,c,c.getLanguageIdentifier().id,b,i);if(null!==n){var o=s.x(r);n=p.b(n,g);if(n!==p.b(o,g))n=p.a(n,g,f),_.push({range:new l.a(b,1,b,o.length+1),text:n}),r=n+r.substr(o.length);else if(n=u.a.getIndentMetadata(c,b),0===n||8===n)return}}const m=b;for(;bc.getLineTokens(e),getLanguageIdentifier:()=>c.getLanguageIdentifier(),getLanguageIdAtPosition:(e,t)=>c.getLanguageIdAtPosition(e,t),getLineContent:e=>e===m?r:c.getLineContent(e)},c.getLanguageIdentifier().id,b+1,i),null!==o&&(n=p.b(o,g),t=p.b(s.x(c.getLineContent(b+1)),g),n!==t))){var a=n-t;for(let t=b+1;t<=e.endLineNumber;t++){var d=c.getLineContent(t),h=(d=s.x(d),p.b(d,g));h=p.a(h+a,g,f);h!==d&&_.push({range:new l.a(t,1,t,d.length+1),text:h})}}0<_.length&&(this.editor.pushUndoStop(),i=new x(_,this.editor.getSelection()),this.editor.executeCommand("autoIndentOnPaste",i),this.editor.pushUndoStop())}}}}shouldIgnoreLine(e,t){e.forceTokenization(t);var i=e.getLineFirstNonWhitespaceColumn(t);if(0===i)return!0;let n=e.getLineTokens(t);return 0Promise.resolve(n(i,e,t)).then(void 0,e=>{Object(o.g)(e)})),Promise.all(i).then(e=>{const t=[];for(var i of e)Array.isArray(i)?t.push(...i):i&&t.push(i);return t})}function d(e,t,i){return l(e,t,s.f,(e,t,n)=>e.provideDefinition(t,n,i))}function h(e,t,i){return l(e,t,s.e,(e,t,n)=>e.provideDeclaration(t,n,i))}function c(e,t,i){return l(e,t,s.q,(e,t,n)=>e.provideImplementation(t,n,i))}function u(e,t,i){return l(e,t,s.G,(e,t,n)=>e.provideTypeDefinition(t,n,i))}function g(e,t,i,n){return l(e,t,s.y,(e,t,o)=>a(this,void 0,void 0,(function*(){var s,r=yield e.provideReferences(t,o,{includeDeclaration:!0},n);return i&&r&&2===r.length&&(s=yield e.provideReferences(t,o,{includeDeclaration:!1},n))&&1===s.length?s:r})))}function p(e){return a(this,void 0,void 0,(function*(){var t=yield e();const i=new r.c(t,"");return t=i.references.map(e=>e.link),i.dispose(),t}))}Object(t.n)("_executeDefinitionProvider",(e,t)=>p(()=>d(e,t,n.a.None))),Object(t.n)("_executeDeclarationProvider",(e,t)=>p(()=>h(e,t,n.a.None))),Object(t.n)("_executeImplementationProvider",(e,t)=>p(()=>c(e,t,n.a.None))),Object(t.n)("_executeTypeDefinitionProvider",(e,t)=>p(()=>u(e,t,n.a.None))),Object(t.n)("_executeReferenceProvider",(e,t)=>p(()=>g(e,t,!1,n.a.None)))},bd50:function(e,t,i){"use strict";i.r(t);t=i("b2cc");var n=i("b1ca"),o=i("03d9");class s extends t.b{constructor(){super({id:"editor.action.toggleHighContrast",label:o.i.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(e,t){const i=e.get(n.a);this._originalThemeName?(i.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=i.getColorTheme().themeName,i.setTheme("hc-black"))}}Object(t.j)(s)},be5f:function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"a",(function(){return s}));const n=Object.prototype.hasOwnProperty;function o(e,t){for(let i in e)if(n.call(e,i)&&!1===t({key:i,value:e[i]},(function(){delete e[i]})))return}class s{constructor(){this.map=new Map}add(e,t){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(t)}delete(e,t){const i=this.map.get(e);i&&(i.delete(t),0===i.size&&this.map.delete(e))}forEach(e,t){const i=this.map.get(e);i&&i.forEach(t)}}},bf44:function(e,t,i){"use strict";var n=i("33f9");i.o(n,"Emitter")&&i.d(t,"Emitter",(function(){return n.Emitter})),i.o(n,"MarkerSeverity")&&i.d(t,"MarkerSeverity",(function(){return n.MarkerSeverity})),i.o(n,"MarkerTag")&&i.d(t,"MarkerTag",(function(){return n.MarkerTag})),i.o(n,"Range")&&i.d(t,"Range",(function(){return n.Range})),i.o(n,"Uri")&&i.d(t,"Uri",(function(){return n.Uri})),i.o(n,"editor")&&i.d(t,"editor",(function(){return n.editor})),i.o(n,"languages")&&i.d(t,"languages",(function(){return n.languages}))},bf5b:function(e,t,i){"use strict";i.d(t,"b",(function(){return h})),i.d(t,"a",(function(){return c})),i.d(t,"c",(function(){return m}));t=i("5fe7");var n=i("561a"),o=i("308f"),s=i("dff7"),r=i("dd1b"),a=i("89cd"),l=i("b7d0");const d=new class{constructor(){this._onDidChange=new o.b,this.onDidChange=this._onDidChange.event,this.iconSchema={definitions:{icons:{type:"object",properties:{fontId:{type:"string",description:Object(s.a)("iconDefintion.fontId","The id of the font to use. If not set, the font that is defined first is used.")},fontCharacter:{type:"string",description:Object(s.a)("iconDefintion.fontCharacter","The font character associated with the icon definition.")}},additionalProperties:!1,defaultSnippets:[{body:{fontCharacter:"\\\\e030"}}]}},type:"object",properties:{}},this.iconReferenceSchema={type:"string",pattern:`^${n.a.iconNameExpression}$`,enum:[],enumDescriptions:[]},this.iconsById={},this.iconFontsById={}}registerIcon(e,t,i,n){const o=this.iconsById[e];var s;if(o)return i&&!o.description&&(o.description=i,this.iconSchema.properties[e].markdownDescription=i+` $(${e})`,-1!==(s=this.iconReferenceSchema.enum.indexOf(e))&&(this.iconReferenceSchema.enumDescriptions[s]=i),this._onDidChange.fire()),o;this.iconsById[e]={id:e,description:i,defaults:t,deprecationMessage:n};let r={$ref:"#/definitions/icons"};return n&&(r.deprecationMessage=n),i&&(r.markdownDescription=i+`: $(${e})`),this.iconSchema.properties[e]=r,this.iconReferenceSchema.enum.push(e),this.iconReferenceSchema.enumDescriptions.push(i||""),this._onDidChange.fire(),{id:e}}getIcons(){return Object.keys(this.iconsById).map(e=>this.iconsById[e])}getIcon(e){return this.iconsById[e]}getIconSchema(){return this.iconSchema}getIconFont(e){return this.iconFontsById[e]}toString(){var e=(e,t)=>e.id.localeCompare(t.id),t=e=>{for(;l.d.isThemeIcon(e.defaults);)e=this.iconsById[e.defaults.id];return"codicon codicon-"+(e?e.id:"")};let i=[];i.push("| preview | identifier | default codicon ID | description"),i.push("| ----------- | --------------------------------- | --------------------------------- | --------------------------------- |");const n=Object.keys(this.iconsById).map(e=>this.iconsById[e]);for(const o of n.filter(e=>!!e.description).sort(e))i.push(`||${o.id}|${(l.d.isThemeIcon(o.defaults)?o.defaults:o).id}|${o.description||""}|`);i.push("| preview | identifier "),i.push("| ----------- | --------------------------------- |");for(const o of n.filter(e=>!l.d.isThemeIcon(e.defaults)).sort(e))i.push(`||${o.id}|`);return i.join("\n")}};function h(e,t,i,n){return d.registerIcon(e,t,i,n)}function c(){return d}a.a.add("base.contributions.icons",d);for(const f of n.d.all)d.registerIcon(f.id,f.definition,f.description);n.d.onDidRegister(e=>d.registerIcon(e.id,e.definition,e.description));const u="vscode://schemas/icons";let g=a.a.as(r.a.JSONContribution);g.registerSchema(u,d.getIconSchema());const p=new t.e(()=>g.notifySchemaChanged(u),200),m=(d.onDidChange(()=>{p.isScheduled()||p.schedule()}),h("widget-close",n.b.close,Object(s.a)("widgetClose","Icon for the close action in widgets.")))},bfa1c:function(e,t,i){"use strict";i.d(t,"a",(function(){return I}));var n=i("11f7"),o=i("e32d"),s=i("31df"),r=i("5d28"),a=i("7ddc"),l=i("fdcc"),d=i("308f"),h=i("78bc"),c=i("1097"),u=i("9c3e");let g;!function e(t,i,n){function o(s,r){if(!i[s]){var a;if(!t[s])throw(a=new Error("Cannot find module '"+s+"'")).code="MODULE_NOT_FOUND",a;a=i[s]={exports:{}},t[s][0].call(a.exports,(function(e){return o(t[s][1][e]||e)}),a,a.exports,e,t,i,n)}return i[s].exports}for(var s=0;s\s]+))?)*)\s*(\/?)\s*>/,a=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^":">"))},end:function(e){e=o(e),-1!==(a.allowedTags||[]).indexOf(e)&&!1===i.ignoring?(l("")):h(e)},chars:function(e){!1===i.ignoring&&l(a.transformText?a.transformText(e):e)}};function l(t){e.push(t)}function d(e){r.voids[e]||(!1===i.ignoring?i={ignoring:e,depth:1}:i.ignoring===e&&i.depth++)}function h(e){i.ignoring===e&&--i.depth<=0&&c()}function c(){i={ignoring:!1,depth:0}}}},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,i){var n={"&":"&","<":"<",">":">",'"':""","'":"'"},o={"&":"&","<":"<",">":">",""":'"',"'":"'"},s=/(&|<|>|"|')/g,r=/[&<>"']/g;function a(e){return n[e]}function l(e){return o[e]}function d(e){return null==e?"":String(e).replace(r,a)}function h(e){return null==e?"":String(e).replace(s,l)}d.options=h.options={},t.exports={encode:d,escape:d,decode:h,unescape:h,version:"1.0.0-browser"}},{}],10:[function(e,t,i){function n(e,t){return e[t]=!0,e}t.exports=function(e){return e.reduce(n,{})}},{}]},{},[4]);var p=g,m=i("4acc"),f=i("438a"),_=i("b589"),b=i("aa3d"),v=i("82c9"),C=i("3742"),w=i("6d8e");const y=null==(t=window.trustedTypes)?void 0:t.createPolicy("insane",{createHTML(e,t){return p(e,t)}});function S(e,t={},i={}){var g;function S(t,i){var n=e.uris&&e.uris[t];if(!n)return t;let o=w.a.revive(n);return i?t.startsWith(_.c.data+":")?t:_.a.asBrowserUri(o).toString(!0):w.a.parse(t).toString()===o.toString()?t:(o=o.query?o.with({query:function(t){let i;try{i=Object(f.a)(decodeURIComponent(t))}catch(t){}return i?(i=Object(b.a)(i,t=>{if(e.uris&&e.uris[t])return w.a.revive(e.uris[t])}),encodeURIComponent(JSON.stringify(i))):t}(o.query)}):o).toString()}const L=Object(s.a)(t);let x;const k=new Promise(e=>x=e),D=new m.Renderer;D.image=(e,i,n)=>{let o=[],s=[];if(e){({href:e,dimensions:o}=Object(h.c)(e)),e=S(e,!0);try{var r=w.a.parse(e);t.baseUrl&&r.scheme===_.c.file&&(e=Object(v.j)(t.baseUrl,e).toString())}catch(e){}s.push(`src="${e}"`)}return n&&s.push(`alt="${n}"`),i&&s.push(`title="${i}"`),""},D.link=(i,n,o)=>(i===o&&(o=Object(h.d)(o)),i=S(i,!1),t.baseUrl&&!/^\w[\w\d+.-]*:/.test(i)&&(i=Object(v.j)(t.baseUrl,i).toString()),n=Object(h.d)(n),!(i=Object(h.d)(i))||i.match(/^data:|javascript:/i)||i.match(/^command:/i)&&!e.isTrusted||i.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?o:`
    /g,">").replace(/"/g,""").replace(/'/g,"'")}" title="${n||i}">${o}`),D.paragraph=t=>{if(e.supportThemeIcons){const e=Object(a.a)(t);t=e.map(e=>"string"==typeof e?e:e.outerHTML).join("")}return`

    ${t}

    `},t.codeBlockRenderer&&(D.code=(e,i)=>{i=t.codeBlockRenderer(i,e);const o=u.b.nextId(),s=Promise.all([i,k]).then(e=>{var t=L.querySelector(`div[data-code="${o}"]`);t&&n.R(t,e[0])}).catch(e=>{});return t.asyncRenderCallback&&s.then(t.asyncRenderCallback),`
    ${Object(C.s)(e)}
    `}),t.actionHandler&&(g=t.actionHandler.disposables.add(new o.a(L,"click")),O=t.actionHandler.disposables.add(new o.a(L,"auxclick")),t.actionHandler.disposables.add(d.c.any(g.event,O.event)(e=>{const i=new r.a(e);if(i.leftButton||i.middleButton){let o=i.target;if("A"===o.tagName||(o=o.parentElement)&&"A"===o.tagName)try{var n=o.dataset.href;n&&t.actionHandler.callback(n,i)}catch(e){Object(l.f)(e)}finally{i.preventDefault()}}}))),i.sanitizer=t=>(e.isTrusted?t.match(/^(]+>)|(<\/\s*span>)$/):void 0)?t:"",i.sanitize=!0,i.silent=!0,i.renderer=D;let N=null!=(g=e.value)?g:"";1e5{e.dispose(),t.asyncRenderCallback()})}return L}t=i("5bd7");var L,x=i("5818"),k=i("4d05"),D=i("a666"),N=i("b707"),O=(i=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3n.dispose()}}_getRenderOptions(t,i){return{baseUrl:this._options.baseUrl,codeBlockRenderer:(t,i)=>E(this,void 0,void 0,(function*(){var n;let o;t?o=this._modeService.getModeIdForLanguageName(t):this._options.editor&&(o=null==(s=this._options.editor.getModel())?void 0:s.getLanguageIdentifier().language),o=o||"plaintext",this._modeService.triggerMode(o);var s=null!=(s=yield N.F.getPromise(o))?s:void 0;const r=document.createElement("span");r.innerHTML=null!=(n=null==(n=e._ttpTokenizer)?void 0:n.createHTML(i,s))?n:Object(k.b)(i,s);let a=this._options.codeBlockFontFamily;return(a=this._options.editor?this._options.editor.getOption(42).fontFamily:a)&&(r.style.fontFamily=a),r})),asyncRenderCallback:()=>this._onDidRenderAsync.fire(),actionHandler:{callback:e=>this._openerService.open(e,{fromUserGesture:!0,allowContributedOpeners:!0,allowCommands:t.isTrusted}).catch(l.f),disposables:i}}}};I._ttpTokenizer=null==(L=window.trustedTypes)?void 0:L.createPolicy("tokenizeToString",{createHTML(e,t){return Object(k.b)(e,t)}}),I=i([O(1,x.a),O(2,t.a)],I)},c101:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n,o;t=i("dff7"),i=i("4fc3");(o=n=n||{}).editorSimpleInput=new i.c("editorSimpleInput",!1,!0),o.editorTextFocus=new i.c("editorTextFocus",!1,t.a("editorTextFocus","Whether the editor text has focus (cursor is blinking)")),o.focus=new i.c("editorFocus",!1,t.a("editorFocus","Whether the editor or an editor widget has focus (e.g. focus is in the find widget)")),o.textInputFocus=new i.c("textInputFocus",!1,t.a("textInputFocus","Whether an editor or a rich text input has focus (cursor is blinking)")),o.readOnly=new i.c("editorReadonly",!1,t.a("editorReadonly","Whether the editor is read only")),o.inDiffEditor=new i.c("inDiffEditor",!1,t.a("inDiffEditor","Whether the context is a diff editor")),o.columnSelection=new i.c("editorColumnSelection",!1,t.a("editorColumnSelection","Whether `editor.columnSelection` is enabled")),o.writable=o.readOnly.toNegated(),o.hasNonEmptySelection=new i.c("editorHasSelection",!1,t.a("editorHasSelection","Whether the editor has text selected")),o.hasOnlyEmptySelection=o.hasNonEmptySelection.toNegated(),o.hasMultipleSelections=new i.c("editorHasMultipleSelections",!1,t.a("editorHasMultipleSelections","Whether the editor has multiple selections")),o.hasSingleSelection=o.hasMultipleSelections.toNegated(),o.tabMovesFocus=new i.c("editorTabMovesFocus",!1,t.a("editorTabMovesFocus","Whether `Tab` will move focus out of the editor")),o.tabDoesNotMoveFocus=o.tabMovesFocus.toNegated(),o.isInWalkThroughSnippet=new i.c("isInEmbeddedEditor",!1,!0),o.canUndo=new i.c("canUndo",!1,!0),o.canRedo=new i.c("canRedo",!1,!0),o.hoverVisible=new i.c("editorHoverVisible",!1,t.a("editorHoverVisible","Whether the editor hover is visible")),o.inCompositeEditor=new i.c("inCompositeEditor",void 0,t.a("inCompositeEditor","Whether the editor is part of a larger editor (e.g. notebooks)")),o.notInCompositeEditor=o.inCompositeEditor.toNegated(),o.languageId=new i.c("editorLangId","",t.a("editorLangId","The language identifier of the editor")),o.hasCompletionItemProvider=new i.c("editorHasCompletionItemProvider",!1,t.a("editorHasCompletionItemProvider","Whether the editor has a completion item provider")),o.hasCodeActionsProvider=new i.c("editorHasCodeActionsProvider",!1,t.a("editorHasCodeActionsProvider","Whether the editor has a code actions provider")),o.hasCodeLensProvider=new i.c("editorHasCodeLensProvider",!1,t.a("editorHasCodeLensProvider","Whether the editor has a code lens provider")),o.hasDefinitionProvider=new i.c("editorHasDefinitionProvider",!1,t.a("editorHasDefinitionProvider","Whether the editor has a definition provider")),o.hasDeclarationProvider=new i.c("editorHasDeclarationProvider",!1,t.a("editorHasDeclarationProvider","Whether the editor has a declaration provider")),o.hasImplementationProvider=new i.c("editorHasImplementationProvider",!1,t.a("editorHasImplementationProvider","Whether the editor has an implementation provider")),o.hasTypeDefinitionProvider=new i.c("editorHasTypeDefinitionProvider",!1,t.a("editorHasTypeDefinitionProvider","Whether the editor has a type definition provider")),o.hasHoverProvider=new i.c("editorHasHoverProvider",!1,t.a("editorHasHoverProvider","Whether the editor has a hover provider")),o.hasDocumentHighlightProvider=new i.c("editorHasDocumentHighlightProvider",!1,t.a("editorHasDocumentHighlightProvider","Whether the editor has a document highlight provider")),o.hasDocumentSymbolProvider=new i.c("editorHasDocumentSymbolProvider",!1,t.a("editorHasDocumentSymbolProvider","Whether the editor has a document symbol provider")),o.hasReferenceProvider=new i.c("editorHasReferenceProvider",!1,t.a("editorHasReferenceProvider","Whether the editor has a reference provider")),o.hasRenameProvider=new i.c("editorHasRenameProvider",!1,t.a("editorHasRenameProvider","Whether the editor has a rename provider")),o.hasSignatureHelpProvider=new i.c("editorHasSignatureHelpProvider",!1,t.a("editorHasSignatureHelpProvider","Whether the editor has a signature help provider")),o.hasInlayHintsProvider=new i.c("editorHasInlayHintsProvider",!1,t.a("editorHasInlayHintsProvider","Whether the editor has an inline hints provider")),o.hasDocumentFormattingProvider=new i.c("editorHasDocumentFormattingProvider",!1,t.a("editorHasDocumentFormattingProvider","Whether the editor has a document formatting provider")),o.hasDocumentSelectionFormattingProvider=new i.c("editorHasDocumentSelectionFormattingProvider",!1,t.a("editorHasDocumentSelectionFormattingProvider","Whether the editor has a document selection formatting provider")),o.hasMultipleDocumentFormattingProvider=new i.c("editorHasMultipleDocumentFormattingProvider",!1,t.a("editorHasMultipleDocumentFormattingProvider","Whether the editor has multiple document formatting providers")),o.hasMultipleDocumentSelectionFormattingProvider=new i.c("editorHasMultipleDocumentSelectionFormattingProvider",!1,t.a("editorHasMultipleDocumentSelectionFormattingProvider","Whether the editor has multiple document selection formatting providers"))},c286:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return i.e("chunk-7459c510").then(i.bind(null,"23e02"))}})},c2c6:function(e,t,i){var n;self.MonacoEnvironment={globalAPI:!(n={editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"}),getWorkerUrl:function(e,t){var o=i.p;o=(o?o.replace(/\/$/,"")+"/":"")+n[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var s=String(window.location);s=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,s.length)!==s)return/^(\/\/)/.test(o)&&(o=window.location.protocol+o),s=new Blob(["/*"+t+'*/importScripts("'+o+'");'],{type:"application/javascript"}),URL.createObjectURL(s)}return o}},i("4816"),i("3765"),i("6e4e"),i("2935"),i("c36f"),i("0b112"),i("77a4"),i("db2d"),i("9f4d"),i("7c3e"),i("d585"),i("e516"),i("fd11"),i("891c"),i("a106"),i("7605"),i("6df4"),i("7082"),i("958f"),i("3323"),i("f187"),i("1f84"),i("aee8"),i("a222"),i("1af3"),i("bc61"),i("6e62"),i("2e66"),i("8090"),i("747f"),i("7eb7"),i("d844"),i("f17c"),i("5b02"),i("2e4b7"),i("6c8c"),i("8452"),i("e2c2"),i("43ad"),i("d741"),i("b574"),i("7a9e"),i("bd50"),i("93ba"),i("6daf"),i("87a3"),i("23ec"),i("5ed2"),i("b3b2"),i("2d47"),e.exports=i("8ea9"),i("09d16"),i("db7a"),i("38e9"),i("962f"),i("d1c2"),i("91d3"),i("0292"),i("8eb6"),i("82a1"),i("a771"),i("13e8"),i("f41d"),i("f570"),i("f5ba"),i("4af6"),i("a8f5"),i("9d48"),i("23f2"),i("2dec"),i("d282"),i("f9ad"),i("77db"),i("8457"),i("7367"),i("cd01"),i("93b9"),i("7257"),i("a79b"),i("daaa"),i("0ef9"),i("16f5"),i("38f6"),i("1aa7"),i("66f1"),i("2e5e"),i("4058"),i("6640"),i("fdc0"),i("c583"),i("8d5c"),i("ea53"),i("abca"),i("b12b"),i("a0a2"),i("1fa1"),i("cb70"),i("2652"),i("8f6a"),i("c286"),i("88b6"),i("4da7"),i("32cc"),i("6a38"),i("4220"),i("a48d"),i("c8aa"),i("8a3f"),i("5d08"),i("19bd"),i("1bd1"),i("c663"),i("73d3"),i("333a"),i("199a"),i("d65c"),i("e8cb"),i("c3d4"),i("b9f8"),i("2d19"),i("d2ce"),i("0542"),i("9f5f"),i("10eb"),i("cf78"),i("9eb0"),i("0447"),i("1389")},c317:function(e,t,i){"use strict";(function(e){i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a}));var n=i("30db");let o;if(void 0!==n.b.vscode&&void 0!==n.b.vscode.process){const e=n.b.vscode.process;o={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()},nextTick(e){return Object(n.j)(e)}}}else o=void 0!==e?{get platform(){return e.platform},get arch(){return e.arch},get env(){return Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",VUE_APP_WS_KEFU_URL:"",VUE_APP_WS_ADMIN_URL:"",BASE_URL:"/admin/"})},cwd(){return Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",VUE_APP_WS_KEFU_URL:"",VUE_APP_WS_ADMIN_URL:"",BASE_URL:"/admin/"}).VSCODE_CWD||e.cwd()},nextTick(t){return e.nextTick(t)}}:{get platform(){return n.i?"win32":n.f?"darwin":"linux"},get arch(){},nextTick(e){return Object(n.j)(e)},get env(){return{}},cwd(){return"/"}};const s=o.cwd,r=o.env,a=o.platform}).call(this,i("f28c"))},c36f:function(e,t,i){"use strict";i.r(t),i.d(t,"CutAction",(function(){return m})),i.d(t,"CopyAction",(function(){return f})),i.d(t,"PasteAction",(function(){return _}));var n=i("dff7"),o=(t=i("0f70"),i("30db")),s=i("e53c"),r=i("b2cc"),a=i("5717"),l=i("c101"),d=i("7e32"),h=i("f577"),c=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))},u=(i="9_cutcopypaste",o.g||document.queryCommandSupported("cut")),g=o.g||document.queryCommandSupported("copy");t=void 0!==navigator.clipboard&&!t.g||document.queryCommandSupported("paste");function p(e){return e.register(),e}const m=u?p(new r.e({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:o.g?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.cutLabel","Cut"),when:l.a.writable,order:1},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.cutLabel","Cut"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.cutLabel","Cut"),when:l.a.writable,order:1}]})):void 0,f=g?p(new r.e({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:o.g?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.copyLabel","Copy"),order:2},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.copyLabel","Copy"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0,_=(d.d.appendMenuItem(d.b.MenubarEditMenu,{submenu:d.b.MenubarCopy,title:{value:n.a("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3}),d.d.appendMenuItem(d.b.EditorContext,{submenu:d.b.EditorContextCopy,title:{value:n.a("copy as","Copy As"),original:"Copy As"},group:i,order:3}),t?p(new r.e({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:o.g?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:d.b.MenubarEditMenu,group:"2_ccp",title:n.a({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:d.b.EditorContext,group:i,title:n.a("actions.clipboard.pasteLabel","Paste"),when:l.a.writable,order:4},{menuId:d.b.CommandPalette,group:"",title:n.a("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:d.b.SimpleEditorContext,group:i,title:n.a("actions.clipboard.pasteLabel","Paste"),when:l.a.writable,order:4}]})):void 0);class b extends r.b{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:n.a("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:l.a.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(31)&&t.getSelection().isEmpty()||(s.a.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),s.a.forceCopyWithSyntaxHighlighting=!1)}}function v(e,t){e&&(e.addImplementation(1e4,"code-editor",(e,i)=>{const n=e.get(a.a).getFocusedCodeEditor();if(n&&n.hasTextFocus()){e=n.getOption(31);const i=n.getSelection();return i&&i.isEmpty()&&!e||document.execCommand(t),!0}return!1}),e.addImplementation(0,"generic-dom",(e,i)=>(document.execCommand(t),!0)))}v(m,"cut"),v(f,"copy"),_&&(_.addImplementation(1e4,"code-editor",(e,t)=>{const i=e.get(a.a),n=e.get(h.a),r=i.getFocusedCodeEditor();return!(!r||!r.hasTextFocus())&&(!document.execCommand("paste")&&o.h&&c(void 0,void 0,void 0,(function*(){var e=yield n.readText();if(""!==e){var t=s.b.INSTANCE.get(e);let i=!1,n=null,o=null;t&&(i=r.getOption(31)&&!!t.isFromEmptySelection,n=void 0!==t.multicursorText?t.multicursorText:null,o=t.mode),r.trigger("keyboard","paste",{text:e,pasteOnNewLine:i,multicursorText:n,mode:o})}})),!0)}),_.addImplementation(0,"generic-dom",(e,t)=>(document.execCommand("paste"),!0))),g&&Object(r.j)(b)},c3d4:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return i.e("chunk-2d0ae937").then(i.bind(null,"0b3b"))}})},c4e3:function(e,t,i){"use strict";i.d(t,"a",(function(){return m}));var n=i("11f7"),o=i("ee56"),s=i("5fe7"),r=i("2504"),a=i("a666"),l=i("ef8e9"),d=i("dff7"),h=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};function c(e,t,i){if(i){const o=function(e){if(Object(l.k)(e))return()=>h(this,void 0,void 0,(function*(){return e}));if(Object(l.h)(e.markdown))return e.markdown;{const t=e.markdown;return()=>h(this,void 0,void 0,(function*(){return t}))}}(i);let c,u;const g=n.i(t,n.d.MOUSE_OVER,g=>{if(!c){const g=new r.b;var p=e=>{var i=e.type===n.d.MOUSE_DOWN;i&&(null!==u&&void 0!==u&&u.dispose(),u=void 0),!i&&e.fromElement!==t||(null!==c&&void 0!==c&&c.dispose(),c=void 0)};const m=n.i(t,n.d.MOUSE_LEAVE,p,!0),f=n.i(t,n.d.MOUSE_DOWN,p,!0),_={targetElements:[t],dispose:()=>{}};let b;void 0!==e.placement&&"mouse"!==e.placement||(b=n.i(t,n.d.MOUSE_MOVE,e=>_.x=e.x+10,!0));const v=new s.e(()=>h(this,void 0,void 0,(function*(){var t;c&&(t={content:Object(d.a)("iconLabel.loading","Loading..."),target:_,hoverPosition:2},null!==u&&void 0!==u&&u.dispose(),u=e.showHover(t),t=null!=(t=yield o(g.token))?t:Object(l.k)(i)?void 0:i.markdownNotSupportedFallback,null!==u&&void 0!==u&&u.dispose(),u=void 0,t&&c&&(t={content:t,target:_,showPointer:"element"===e.placement,hoverPosition:2},u=e.showHover(t))),null!==b&&void 0!==b&&b.dispose()})),e.delay);v.schedule(),c=Object(a.i)(()=>{v.dispose(),null!==b&&void 0!==b&&b.dispose(),f.dispose(),m.dispose(),g.dispose(!0)})}},!0);return Object(a.i)(()=>{g.dispose(),null!==c&&void 0!==c&&c.dispose(),null!==u&&void 0!==u&&u.dispose()})}}var u=i("aa3d"),g=i("9ee1");i("2a04");class p{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class m extends a.a{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new p(n.q(e,n.a(".monaco-icon-label")))),this.labelContainer=n.q(this.domNode.element,n.a(".monaco-icon-label-container")),e=n.q(this.labelContainer,n.a("span.monaco-icon-name-container")),this.descriptionContainer=this._register(new p(n.q(this.labelContainer,n.a("span.monaco-icon-description-container")))),null!=t&&t.supportHighlights||null!=t&&t.supportIcons?this.nameNode=new _(e,!!t.supportIcons):this.nameNode=new f(e),null!=t&&t.supportDescriptionHighlights?this.descriptionNodeFactory=()=>new o.a(n.q(this.descriptionContainer.element,n.a("span.label-description")),!!t.supportIcons):this.descriptionNodeFactory=()=>this._register(new p(n.q(this.descriptionContainer.element,n.a("span.label-description")))),this.hoverDelegate=null==t?void 0:t.hoverDelegate}setLabel(e,t,i){const n=["monaco-icon-label"];i&&(i.extraClasses&&n.push(...i.extraClasses),i.italic&&n.push("italic"),i.strikethrough&&n.push("strikethrough")),this.domNode.className=n.join(" "),this.setupHover(this.labelContainer,null==i?void 0:i.title),this.nameNode.setLabel(e,i),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof o.a?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,null==i?void 0:i.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(null==i?void 0:i.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const i=this.customHovers.get(e);var n;i&&(i.dispose(),this.customHovers.delete(e)),t?this.hoverDelegate?(n=c(this.hoverDelegate,e,t))&&this.customHovers.set(e,n):(n=e,t=t,Object(l.k)(t)?n.title=t:null!=t&&t.markdownNotSupportedFallback?n.title=t.markdownNotSupportedFallback:n.removeAttribute("title")):e.removeAttribute("title")}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class f{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(this.label!==e||!Object(u.d)(this.options,t))if(this.label=e,this.options=t,"string"==typeof e)this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=n.q(this.container,n.a("a.label-name",{id:null==t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let s=0;s{const o={start:n,end:n+e.length};return e=i.map(e=>g.a.intersect(o,e)).filter(e=>!g.a.isEmpty(e)).map(({start:e,end:t})=>({start:e-n,end:t-n})),n=o.end+t.length,e})}}(e,i,null==t?void 0:t.matches);for(let d=0;d{if(t=e,Object(o.j)(t)&&n.a.isUri(t.resource)&&Object(o.j)(t.edit))return new a(e.resource,e.edit,e.modelVersionId,e.metadata);var t;if(t=e,Object(o.j)(t)&&(Boolean(t.newUri)||Boolean(t.oldUri)))return new l(e.oldUri,e.newUri,e.options,e.metadata);throw new Error("Unsupported edit")})}}class a extends r{constructor(e,t,i,n){super(n),this.resource=e,this.textEdit=t,this.versionId=i}}class l extends r{constructor(e,t,i,n){super(n),this.oldResource=e,this.newResource=t,this.options=i}}},c84a:function(e,t,i){},c8aa:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return i.e("chunk-2d0bdf38").then(i.bind(null,"2dd4"))}})},c8df:function(e,t,i){},caa1:function(e,t,i){},cab5:function(e,t,i){},cb70:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return i.e("chunk-2d0cf16e").then(i.bind(null,"61da"))}})},ccde:function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var n=i("3742"),o=i("2e5d"),s=i("6a89"),r=i("8025"),a=i("70cb");const l=Object.create(null);function d(e,t){if(t<=0)return"";l[e]||(l[e]=["",e]);const i=l[e];for(let n=i.length;n<=t;n++)i[n]=i[n-1]+e;return i[t]}class h{constructor(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}static unshiftIndent(e,t,i,n,s){return e=o.a.visibleColumnFromColumn(e,t,i),s?(t=d(" ",n),d(t,o.a.prevIndentTabStop(e,n)/n)):d("\t",o.a.prevRenderTabStop(e,i)/i)}static shiftIndent(e,t,i,n,s){return e=o.a.visibleColumnFromColumn(e,t,i),s?(t=d(" ",n),d(t,o.a.nextIndentTabStop(e,n)/n)):d("\t",o.a.nextRenderTabStop(e,i)/i)}_addEditOperation(e,t,i){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,i):e.addEditOperation(t,i)}getEditOperations(e,t){var i=this._selection.startLineNumber;let r=this._selection.endLineNumber;1===this._selection.endColumn&&i!==r&&(r-=1);var{tabSize:l,indentSize:c,insertSpaces:u}=this._opts,g=i===r;if(this._opts.useTabStops){this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(i))&&(this._useLastEditRangeForCursorEndPosition=!0);let d=0,m=0;for(let f=i;f<=r;f++,d=m){m=0;let r=e.getLineContent(f),_=n.u(r);if((!this._opts.isUnshift||0!==r.length&&0!==_)&&(g||this._opts.isUnshift||0!==r.length)){if(-1===_&&(_=r.length),1/?",o=function(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const i of n)0<=e.indexOf(i)||(t+="\\"+i);return t+="\\s]+)",new RegExp(t,"g")}();function s(e){let t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{let i="g";e.ignoreCase&&(i+="i"),e.multiline&&(i+="m"),e.unicode&&(i+="u"),t=new RegExp(e.source,i)}return t.lastIndex=0,t}const r={maxLen:1e3,windowSize:15,timeBudget:150};function a(e,t,i,n,o=r){if(i.length>o.maxLen){let s=e-o.maxLen/2;return s<0?s=0:n+=s,a(e,t,i=i.substring(s,e+o.maxLen/2),n,o)}var s=Date.now(),l=e-1-n;let d=-1,h=null;for(let r=1;!(Date.now()-s>=o.timeBudget);r++){var c=l-o.windowSize*r,u=(t.lastIndex=Math.max(0,c),function(e,t,i,n){for(var o;o=e.exec(t);){var s=o.index||0;if(s<=i&&e.lastIndex>=i)return o;if(0this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(e=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(e=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(e=>{!this._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach(e=>{this.ranges.push({rhs:!0,range:new r.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):this.ranges.push({rhs:!0,range:new r.a(e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})}),this.ranges.sort((e,t)=>e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0),this._onDidUpdate.fire(this)}_initIdx(e){let t=!1,i=this._editor.getPosition();if(i){for(let n=0,o=this.ranges.length;n=this.ranges.length&&(this.nextIdx=0)):(--this.nextIdx,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));let n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealPositionInCenter(i,t)}finally{this.ignoreSelectionChange=!1}}}canNavigate(){return this.ranges&&0t(e))),this._modelEventListeners.add(e.onDidChangeLanguage(t=>i(e,t)))}_disposeLanguageSelection(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null)}dispose(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()}setLanguage(e){this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange(()=>this.model.setMode(e.languageIdentifier)),this.model.setMode(e.languageIdentifier)}}const D=s.d||s.f?1:2;class N{constructor(e,t,i,n,o,s,r,a){this.uri=e,this.initialUndoRedoSnapshot=t,this.time=i,this.sharesUndoRedoStack=n,this.heapSize=o,this.sha1=s,this.versionId=r,this.alternativeVersionId=a}}let O=class e extends o.a{constructor(e,t,i,o,s){super(),this._configurationService=e,this._resourcePropertiesService=t,this._themeService=i,this._logService=o,this._undoRedoService=s,this._onModelAdded=this._register(new n.b),this.onModelAdded=this._onModelAdded.event,this._onModelRemoved=this._register(new n.b),this.onModelRemoved=this._onModelRemoved.event,this._onModelModeChanged=this._register(new n.b),this.onModelModeChanged=this._onModelModeChanged.event,this._modelCreationOptionsByLanguageAndResource=Object.create(null),this._models={},this._disposedModels=new Map,this._disposedModelsHeapSize=0,this._semanticStyling=this._register(new T(this._themeService,this._logService)),this._register(this._configurationService.onDidChangeConfiguration(()=>this._updateModelOptions())),this._updateModelOptions(),this._register(new M(this,this._themeService,this._configurationService,this._semanticStyling))}static _readModelOptions(e,t){let i=a.d.tabSize,n=(e.editor&&void 0!==e.editor.tabSize&&(r=parseInt(e.editor.tabSize,10),(i=isNaN(r)?i:r)<1&&(i=1)),i),o=(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize&&(r=parseInt(e.editor.indentSize,10),(n=isNaN(r)?n:r)<1&&(n=1)),a.d.insertSpaces),s=(e.editor&&void 0!==e.editor.insertSpaces&&(o="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces)),D);var r=e.eol;"\r\n"===r?s=2:"\n"===r&&(s=1);let l=a.d.trimAutoWhitespace,d=(e.editor&&void 0!==e.editor.trimAutoWhitespace&&(l="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace)),a.d.detectIndentation),h=(e.editor&&void 0!==e.editor.detectIndentation&&(d="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation)),a.d.largeFileOptimizations),c=(e.editor&&void 0!==e.editor.largeFileOptimizations&&(h="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),a.d.bracketPairColorizationOptions);return null!=(r=e.editor)&&r.bracketPairColorization&&"object"==typeof e.editor.bracketPairColorization&&(c={enabled:!!e.editor.bracketPairColorization.enabled}),{isForSimpleWidget:t,tabSize:i,indentSize:n,insertSpaces:o,detectIndentation:d,defaultEOL:s,trimAutoWhitespace:l,largeFileOptimizations:h,bracketPairColorizationOptions:c}}_getEOL(e,t){return e?this._resourcePropertiesService.getEOL(e,t):(e=this._configurationService.getValue("files.eol",{overrideIdentifier:t}))&&"string"==typeof e&&"auto"!==e?e:3===s.a||2===s.a?"\n":"\r\n"}_shouldRestoreUndoStack(){var e=this._configurationService.getValue("files.restoreUndoStack");return"boolean"!=typeof e||e}getCreationOptions(t,i,n){let o=this._modelCreationOptionsByLanguageAndResource[t+i];var s,r;return o||(s=this._configurationService.getValue("editor",{overrideIdentifier:t,resource:i}),r=this._getEOL(i,t),o=e._readModelOptions({editor:s,eol:r},n),this._modelCreationOptionsByLanguageAndResource[t+i]=o),o}_updateModelOptions(){var t=this._modelCreationOptionsByLanguageAndResource,i=(this._modelCreationOptionsByLanguageAndResource=Object.create(null),Object.keys(this._models));for(let r=0,a=i.length;re){const i=[];for(this._disposedModels.forEach(e=>{e.sharesUndoRedoStack||i.push(e)}),i.sort((e,t)=>e.time-t.time);0e;){var t=i.shift();this._removeDisposedModel(t.uri),null!==t.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(t.initialUndoRedoSnapshot)}}}_createModelData(e,t,i,n){n=this.getCreationOptions(t.language,i,n);const o=new l.b(e,n,t,i,this._undoRedoService);if(i&&this._disposedModels.has(L(i)))if(e=this._removeDisposedModel(i),n=this._undoRedoService.getElements(i),t=x(o)===e.sha1,t||e.sharesUndoRedoStack){for(const e of n.past)Object(b.b)(e)&&e.matchesResource(i)&&e.setModel(o);for(const e of n.future)Object(b.b)(e)&&e.matchesResource(i)&&e.setModel(o);this._undoRedoService.setElementsValidFlag(i,!0,e=>Object(b.b)(e)&&e.matchesResource(i)),t&&(o._overwriteVersionId(e.versionId),o._overwriteAlternativeVersionId(e.alternativeVersionId),o._overwriteInitialUndoRedoSnapshot(e.initialUndoRedoSnapshot))}else null!==e.initialUndoRedoSnapshot&&this._undoRedoService.restoreSnapshot(e.initialUndoRedoSnapshot);if(n=L(o.uri),this._models[n])throw new Error("ModelService: Cannot add model because it already exists!");return t=new k(o,e=>this._onWillDispose(e),(e,t)=>this._onDidChangeLanguage(e,t)),this._models[n]=t}createModel(e,t,i,n=!1){let o;return t?(o=this._createModelData(e,t.languageIdentifier,i,n),this.setMode(o.model,t)):o=this._createModelData(e,h.b,i,n),this._onModelAdded.fire(o.model),o.model}setMode(e,t){if(t){const i=this._models[L(e.uri)];i&&i.setLanguage(t)}}getModels(){const e=[];var t=Object.keys(this._models);for(let n=0,o=t.length;nd?null!==(l=n.model.getInitialUndoRedoSnapshot())&&this._undoRedoService.restoreSnapshot(l):(this._ensureDisposedModelsHeapSize(d-r),this._undoRedoService.setElementsValidFlag(t.uri,!1,e=>Object(b.b)(e)&&e.matchesResource(t.uri)),this._insertDisposedModel(new N(t.uri,n.model.getInitialUndoRedoSnapshot(),Date.now(),o,r,x(t),t.getVersionId(),t.getAlternativeVersionId()))):o||null!==(l=n.model.getInitialUndoRedoSnapshot())&&this._undoRedoService.restoreSnapshot(l),delete this._models[i],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[t.getLanguageIdentifier().language+t.uri],this._onModelRemoved.fire(t)}_onDidChangeLanguage(t,i){i=i.oldLanguage;var n=t.getLanguageIdentifier().language,o=this.getCreationOptions(i,t.uri,t.isForSimpleWidget);n=this.getCreationOptions(n,t.uri,t.isForSimpleWidget);e._setModelOptionsForModel(t,n,o),this._onModelModeChanged.fire({model:t,oldModeId:i})}};O.MAX_MEMORY_FOR_CLOSED_FILES_UNDO_STACK=20971520,O=i([S(0,c.a),S(1,t.b),S(2,p.b),S(3,m.b),S(4,f.a)],O);const E="editor.semanticHighlighting";function I(e,t,i){return e=null==(i=i.getValue(E,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri}))?void 0:i.enabled,"boolean"==typeof e?e:t.getColorTheme().semanticHighlighting}class M extends o.a{constructor(e,t,i,n){super(),this._watchers=Object.create(null),this._semanticStyling=n;const o=e=>{this._watchers[e.uri.toString()]=new R(e,t,this._semanticStyling)},s=(e,t)=>{t.dispose(),delete this._watchers[e.uri.toString()]},r=()=>{for(var n of e.getModels()){var r=this._watchers[n.uri.toString()];I(n,t,i)?r||o(n):r&&s(n,r)}};this._register(e.onModelAdded(e=>{I(e,t,i)&&o(e)})),this._register(e.onModelRemoved(e=>{var t=this._watchers[e.uri.toString()];t&&s(e,t)})),this._register(i.onDidChangeConfiguration(e=>{e.affectsConfiguration(E)&&r()})),this._register(t.onDidColorThemeChange(r))}}class T extends o.a{constructor(e,t){super(),this._themeService=e,this._logService=t,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}get(e){return this._caches.has(e)||this._caches.set(e,new C.a(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)}}class A{constructor(e,t,i){this._provider=e,this.resultId=t,this.data=i}dispose(){this._provider.releaseDocumentSemanticTokens(this.resultId)}}class R extends o.a{constructor(e,t,i){super(),this._isDisposed=!1,this._model=e,this._semanticStyling=i,this._fetchDocumentSemanticTokens=this._register(new u.e(()=>this._fetchDocumentSemanticTokensNow(),R.FETCH_DOCUMENT_SEMANTIC_TOKENS_DELAY)),this._currentDocumentResponse=null,this._currentDocumentRequestCancellationTokenSource=null,this._documentProvidersChangeListeners=[],this._register(this._model.onDidChangeContent(()=>{this._fetchDocumentSemanticTokens.isScheduled()||this._fetchDocumentSemanticTokens.schedule()})),this._register(this._model.onDidChangeLanguage(()=>{this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule(0)}));const n=()=>{Object(o.f)(this._documentProvidersChangeListeners),this._documentProvidersChangeListeners=[];for(const t of d.l.all(e))"function"==typeof t.onDidChange&&this._documentProvidersChangeListeners.push(t.onDidChange(()=>this._fetchDocumentSemanticTokens.schedule(0)))};n(),this._register(d.l.onDidChange(()=>{n(),this._fetchDocumentSemanticTokens.schedule()})),this._register(t.onDidColorThemeChange(e=>{this._setDocumentSemanticTokens(null,null,null,[]),this._fetchDocumentSemanticTokens.schedule()})),this._fetchDocumentSemanticTokens.schedule(0)}dispose(){this._currentDocumentResponse&&(this._currentDocumentResponse.dispose(),this._currentDocumentResponse=null),this._currentDocumentRequestCancellationTokenSource&&(this._currentDocumentRequestCancellationTokenSource.cancel(),this._currentDocumentRequestCancellationTokenSource=null),this._setDocumentSemanticTokens(null,null,null,[]),this._isDisposed=!0,super.dispose()}_fetchDocumentSemanticTokensNow(){if(!this._currentDocumentRequestCancellationTokenSource){var e=new g.b,t=this._currentDocumentResponse&&this._currentDocumentResponse.resultId||null;t=Object(w.b)(this._model,t,e.token);if(t){const{provider:i,request:n}=t,o=(this._currentDocumentRequestCancellationTokenSource=e,[]),s=this._model.onDidChangeContent(e=>{o.push(e)}),a=this._semanticStyling.get(i);n.then(e=>{this._currentDocumentRequestCancellationTokenSource=null,s.dispose(),this._setDocumentSemanticTokens(i,e||null,a,o)},e=>{e&&(r.e(e)||"string"==typeof e.message&&-1!==e.message.indexOf("busy"))||r.f(e),this._currentDocumentRequestCancellationTokenSource=null,s.dispose(),0{0this._onParentConfigurationChanged(e)))}getParentEditor(){return this._parentEditor}_onParentConfigurationChanged(e){super.updateOptions(this._parentEditor.getRawOptions()),super.updateOptions(this._overwriteOptions)}updateOptions(e){n.f(this._overwriteOptions,e,!0),super.updateOptions(this._overwriteOptions)}};u=h([c(3,a.a),c(4,t.a),c(5,s.b),c(6,r.b),c(7,d.b),c(8,l.a),c(9,i.b)],u)},d3d7:function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){return l})),i.d(t,"d",(function(){return d}));var n,o=i("308f");t=i("a666"),i=i("0a0f");const s=Object(i.c)("logService"),r=((i=n=n||{})[i.Trace=0]="Trace",i[i.Debug=1]="Debug",i[i.Info=2]="Info",i[i.Warning=3]="Warning",i[i.Error=4]="Error",i[i.Critical=5]="Critical",i[i.Off=6]="Off",n.Info);class a extends t.a{constructor(){super(...arguments),this.level=r,this._onDidChangeLogLevel=this._register(new o.b)}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class l extends a{constructor(e=r){super(),this.setLevel(e)}trace(e){this.getLevel(),n.Trace}debug(e){this.getLevel(),n.Debug}info(e){this.getLevel(),n.Info}error(e){this.getLevel(),n.Error}dispose(){}}class d extends t.a{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},d3ef:function(e,t,i){"use strict";i.d(t,"b",(function(){return _})),i.d(t,"a",(function(){return b}));var n=i("11f7"),o=i("e32d"),s=i("31df"),r=i("5aa5"),a=i("3813"),l=i("1898"),d=(t=i("1b7d"),i("ceb8")),h=i("308f");class c{constructor(e,t=0,i=e.length,n=t-1){this.items=e,this.start=t,this.end=i,this.index=n}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}class u{constructor(e=[],t=10){this._initialize(e),this._limit=t,this._onChange()}add(e){this._history.delete(e),this._history.add(e),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return 0!==this._currentPosition()?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(e){return this._history.has(e)}_onChange(){this._reduceToLimit();var e=this._elements;this._navigator=new c(e,0,e.length,e.length)}_reduceToLimit(){const e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))}_currentPosition(){var e=this._navigator.current();return e?this._elements.indexOf(e):-1}_initialize(e){this._history=new Set;for(const t of e)this._history.add(t)}get _elements(){const e=[];return this._history.forEach(t=>e.push(t)),e}}var g=i("aa3d"),p=(i("8bf4"),i("dff7"));const m=n.a,f={inputBackground:d.a.fromHex("#3C3C3C"),inputForeground:d.a.fromHex("#CCCCCC"),inputValidationInfoBorder:d.a.fromHex("#55AAFF"),inputValidationInfoBackground:d.a.fromHex("#063B49"),inputValidationWarningBorder:d.a.fromHex("#B89500"),inputValidationWarningBackground:d.a.fromHex("#352A05"),inputValidationErrorBorder:d.a.fromHex("#BE1100"),inputValidationErrorBackground:d.a.fromHex("#5A1D1D")};class _ extends t.a{constructor(e,t,i){super(),this.state="idle",this.maxHeight=Number.POSITIVE_INFINITY,this._onDidChange=this._register(new h.b),this.onDidChange=this._onDidChange.event,this._onDidHeightChange=this._register(new h.b),this.onDidHeightChange=this._onDidHeightChange.event,this.contextViewProvider=t,this.options=i||Object.create(null),Object(g.f)(this.options,f,!1),this.message=null,this.placeholder=this.options.placeholder||"",this.tooltip=null!=(t=this.options.tooltip)?t:this.placeholder||"",this.ariaLabel=this.options.ariaLabel||"",this.inputBackground=this.options.inputBackground,this.inputForeground=this.options.inputForeground,this.inputBorder=this.options.inputBorder,this.inputValidationInfoBorder=this.options.inputValidationInfoBorder,this.inputValidationInfoBackground=this.options.inputValidationInfoBackground,this.inputValidationInfoForeground=this.options.inputValidationInfoForeground,this.inputValidationWarningBorder=this.options.inputValidationWarningBorder,this.inputValidationWarningBackground=this.options.inputValidationWarningBackground,this.inputValidationWarningForeground=this.options.inputValidationWarningForeground,this.inputValidationErrorBorder=this.options.inputValidationErrorBorder,this.inputValidationErrorBackground=this.options.inputValidationErrorBackground,this.inputValidationErrorForeground=this.options.inputValidationErrorForeground,this.options.validationOptions&&(this.validation=this.options.validationOptions.validation),this.element=n.q(e,m(".monaco-inputbox.idle")),i=this.options.flexibleHeight?"textarea":"input";let s=n.q(this.element,m(".ibwrapper"));if(this.input=n.q(s,m(i+".input.empty")),this.input.setAttribute("autocorrect","off"),this.input.setAttribute("autocapitalize","off"),this.input.setAttribute("spellcheck","false"),this.onfocus(this.input,()=>this.element.classList.add("synthetic-focus")),this.onblur(this.input,()=>this.element.classList.remove("synthetic-focus")),this.options.flexibleHeight){this.maxHeight="number"==typeof this.options.flexibleMaxHeight?this.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,this.mirror=n.q(s,m("div.mirror")),this.mirror.innerText=" ",this.scrollableElement=new l.b(this.element,{vertical:1}),this.options.flexibleWidth&&(this.input.setAttribute("wrap","off"),this.mirror.style.whiteSpace="pre",this.mirror.style.wordWrap="initial"),n.q(e,this.scrollableElement.getDomNode()),this._register(this.scrollableElement),this._register(this.scrollableElement.onScroll(e=>this.input.scrollTop=e.scrollTop)),t=this._register(new o.a(document,"selectionchange"));const i=h.c.filter(t.event,()=>{var e=document.getSelection();return(null==e?void 0:e.anchorNode)===s});this._register(i(this.updateScrollDimensions,this)),this._register(this.onDidHeightChange(this.updateScrollDimensions,this))}else this.input.type=this.options.type||"text",this.input.setAttribute("wrap","off");this.ariaLabel&&this.input.setAttribute("aria-label",this.ariaLabel),this.placeholder&&!this.options.showPlaceholderOnFocus&&this.setPlaceHolder(this.placeholder),this.tooltip&&this.setTooltip(this.tooltip),this.oninput(this.input,()=>this.onValueChange()),this.onblur(this.input,()=>this.onBlur()),this.onfocus(this.input,()=>this.onFocus()),this.ignoreGesture(this.input),setTimeout(()=>this.updateMirror(),0),this.options.actions&&(this.actionbar=this._register(new r.a(this.element)),this.actionbar.push(this.options.actions,{icon:!0,label:!1})),this.applyStyles()}onBlur(){this._hideMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder","")}onFocus(){this._showMessage(),this.options.showPlaceholderOnFocus&&this.input.setAttribute("placeholder",this.placeholder||"")}setPlaceHolder(e){this.placeholder=e,this.input.setAttribute("placeholder",e)}setTooltip(e){this.tooltip=e,this.input.title=e}setAriaLabel(e){(this.ariaLabel=e)?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")}getAriaLabel(){return this.ariaLabel}get inputElement(){return this.input}get value(){return this.input.value}set value(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())}get height(){return"number"==typeof this.cachedHeight?this.cachedHeight:n.H(this.element)}focus(){this.input.focus()}blur(){this.input.blur()}hasFocus(){return document.activeElement===this.input}select(e=null){this.input.select(),e&&(this.input.setSelectionRange(e.start,e.end),e.end===this.input.value.length&&(this.input.scrollLeft=this.input.scrollWidth))}isSelectionAtEnd(){return this.input.selectionEnd===this.input.value.length&&this.input.selectionStart===this.input.selectionEnd}enable(){this.input.removeAttribute("disabled")}disable(){this.blur(),this.input.disabled=!0,this._hideMessage()}get width(){return n.I(this.input)}set width(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){let n=0;var t,i;this.mirror&&(t=parseFloat(this.mirror.style.paddingLeft||"")||0,i=parseFloat(this.mirror.style.paddingRight||"")||0,n=t+i),this.input.style.width=e-n+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")}set paddingRight(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width=`calc(100% - ${e}px)`:this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")}updateScrollDimensions(){var e,t,i;"number"==typeof this.cachedContentHeight&&"number"==typeof this.cachedHeight&&this.scrollableElement&&(e=this.cachedContentHeight,t=this.cachedHeight,i=this.input.scrollTop,this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:i}))}showMessage(e,t){this.message=e,this.element.classList.remove("idle"),this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add(this.classForType(e.type)),e=this.stylesForType(this.message.type),this.element.style.border=e.border?"1px solid "+e.border:"",(this.hasFocus()||t)&&this._showMessage()}hideMessage(){this.message=null,this.element.classList.remove("info"),this.element.classList.remove("warning"),this.element.classList.remove("error"),this.element.classList.add("idle"),this._hideMessage(),this.applyStyles()}validate(){let e=null;return this.validation&&((e=this.validation(this.value))?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),null===e||void 0===e?void 0:e.type}stylesForType(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}}classForType(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}}_showMessage(){if(this.contextViewProvider&&this.message){let e,t,i=()=>e.style.width=n.I(this.element)+"px";this.contextViewProvider.showContextView({getAnchor:()=>this.element,anchorAlignment:1,render:t=>{if(this.message){e=n.q(t,m(".monaco-inputbox-container")),i(),t={inline:!0,className:"monaco-inputbox-message"};const o=(this.message.formatContent?Object(s.b):Object(s.c))(this.message.content,t),r=(o.classList.add(this.classForType(this.message.type)),this.stylesForType(this.message.type));o.style.backgroundColor=r.background?r.background.toString():"",o.style.color=r.foreground?r.foreground.toString():"",o.style.border=r.border?"1px solid "+r.border:"",n.q(e,o)}return null},onHide:()=>{this.state="closed"},layout:i}),t=3===this.message.type?p.a("alertErrorMessage","Error: {0}",this.message.content):2===this.message.type?p.a("alertWarningMessage","Warning: {0}",this.message.content):p.a("alertInfoMessage","Info: {0}",this.message.content),a.a(t),this.state="open"}}_hideMessage(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")}onValueChange(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),this.input.classList.toggle("empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()}updateMirror(){if(this.mirror){const t=this.value;var e=10===t.charCodeAt(t.length-1)?" ":"";(t+e).replace(/\u000c/g,"")?this.mirror.textContent=t+e:this.mirror.innerText=" ",this.layout()}}style(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()}applyStyles(){var e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",i=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor="inherit",this.input.style.color=t,this.element.style.borderWidth=i?"1px":"",this.element.style.borderStyle=i?"solid":"",this.element.style.borderColor=i}layout(){var e;this.mirror&&(e=this.cachedContentHeight,this.cachedContentHeight=n.H(this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight)))}insertAtCursor(e){const t=this.inputElement;var i=t.selectionStart,n=t.selectionEnd;const o=t.value;null!==i&&null!==n&&(this.value=o.substr(0,i)+e+o.substr(n),t.setSelectionRange(i+1,i+1),this.layout())}dispose(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),super.dispose()}}class b extends _{constructor(e,t,i){super(e,t,i),this.history=new u(i.history,100)}addToHistory(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)}showNextValue(){this.history.has(this.value)||this.addToHistory();let e=this.getNextValue();(e=e&&(e===this.value?this.getNextValue():e))&&(this.value=e,a.c(this.value))}showPreviousValue(){this.history.has(this.value)||this.addToHistory();let e=this.getPreviousValue();(e=e&&(e===this.value?this.getPreviousValue():e))&&(this.value=e,a.c(this.value))}getCurrentValue(){let e=this.history.current();return e||(e=this.history.last(),this.history.next()),e}getPreviousValue(){return this.history.previous()||this.history.first()}getNextValue(){return this.history.next()||this.history.last()}}},d3f4:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("6a89");class o{static insert(e,t){return{range:new n.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}}static delete(e){return{range:e,text:null}}static replace(e,t){return{range:e,text:t}}static replaceMove(e,t){return{range:e,text:t,forceMoveMarkers:!0}}}},d48d:function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return h}));var n=i("3742"),o=i("2e5d"),s=i("b272"),r=i("e6ff"),a=i("7061"),l=i("6a89");class d{static _createWord(e,t,i,n,o){return{start:n,end:o,wordType:t,nextCharClass:i}}static _findPreviousWordOnLine(e,t,i){return t=t.getLineContent(i.lineNumber),this._doFindPreviousWordOnLine(t,e,i)}static _doFindPreviousWordOnLine(e,t,i){let n=0;for(let s=i.column-2;0<=s;s--){var o=e.charCodeAt(s);o=t.get(o);if(0===o){if(2===n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1));n=1}else if(2===o){if(1===n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1));n=2}else if(1===o&&0!==n)return this._createWord(e,n,o,s+1,this._findEndOfWord(e,t,n,s+1))}return 0!==n?this._createWord(e,n,1,0,this._findEndOfWord(e,t,n,0)):null}static _findEndOfWord(e,t,i,n){var o=e.length;for(let r=n;r=l.start+1&&(l=d._findNextWordOnLine(e,t,new a.a(o,l.end+1)));s=l?l.start+1:t.getLineMaxColumn(o)}return new a.a(o,s)}static _moveWordPartRight(e,t){var i=t.lineNumber,o=e.getLineMaxColumn(i);if(t.column===o)return ie.start+1<=i.column&&i.column<=e.end+1;const r=(e,t)=>(e=Math.min(e,i.column),t=Math.max(t,i.column),new l.a(i.lineNumber,e,i.lineNumber,t));var a=e=>{let t=e.start+1,i=e.end+1,s=!1;for(;i-1=g.start+1?d._findNextWordOnLine(i,n,new a.a(r,g.end+1)):g)?g.start+1:hBoolean(e))}},d585:function(e,t,i){"use strict";i.r(t),i.d(t,"CoreEditorCommand",(function(){return L})),i.d(t,"EditorScroll_",(function(){return g})),i.d(t,"RevealLine_",(function(){return m})),i.d(t,"CoreNavigationCommands",(function(){return f})),i.d(t,"CoreEditingCommands",(function(){return _}));var n=i("dff7"),o=i("0f70"),s=i("ef8e9"),r=i("3813"),a=i("b2cc"),l=i("5717"),d=i("2e5d"),h=i("7061"),c=i("6a89");class u{static columnSelect(e,t,i,n,o,s){var r=Math.abs(o-i)+1,a=o{const i=e.get(l.a).getFocusedCodeEditor();return!(!i||!i.hasTextFocus())&&this._runEditorCommand(e,i,t)}),e.addImplementation(1e3,"generic-dom-input-textarea",(e,t)=>{const i=document.activeElement;return!!(i&&0<=["input","textarea"].indexOf(i.tagName.toLowerCase()))&&(this.runDOMCommand(),!0)}),e.addImplementation(0,"generic-dom",(e,t)=>{const i=e.get(l.a).getActiveCodeEditor();return!!i&&(i.focus(),this._runEditorCommand(e,i,t))})}_runEditorCommand(e,t,i){return e=this.runEditorCommand(e,t,i),e||!0}}{var k=f=f||{};class e extends L{constructor(e){super(e),this._inSelectionMode=e.inSelectionMode}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[v.b.moveTo(e,e.getPrimaryCursorState(),this._inSelectionMode,t.position,t.viewPosition)]),e.revealPrimaryCursor(t.source,!0)}}k.MoveTo=Object(a.k)(new e({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),k.MoveToSelect=Object(a.k)(new e({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));class t extends L{runCoreEditorCommand(e,t){e.model.pushStackElement();const i=this._getColumnSelectResult(e,e.getPrimaryCursorState(),e.getCursorColumnSelectData(),t);e.setCursorStates(t.source,3,i.viewStates.map(e=>d.d.fromViewState(e))),e.setCursorColumnSelectData({isReal:!0,fromViewLineNumber:i.fromLineNumber,fromViewVisualColumn:i.fromVisualColumn,toViewLineNumber:i.toLineNumber,toViewVisualColumn:i.toVisualColumn}),i.reversed?e.revealTopMostCursor(t.source):e.revealBottomMostCursor(t.source)}}k.ColumnSelect=Object(a.k)(new class extends t{constructor(){super({id:"columnSelect",precondition:void 0})}_getColumnSelectResult(e,t,i,n){var o=e.model.validatePosition(n.position),s=(o=e.coordinatesConverter.validateViewPosition(new h.a(n.viewPosition.lineNumber,n.viewPosition.column),o),n.doColumnSelect?i.fromViewLineNumber:o.lineNumber);i=n.doColumnSelect?i.fromViewVisualColumn:n.mouseColumn-1;return u.columnSelect(e.cursorConfig,e,s,i,o.lineNumber,n.mouseColumn-1)}}),k.CursorColumnSelectLeft=Object(a.k)(new class extends t{constructor(){super({id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3599,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return u.columnSelectLeft(e.cursorConfig,e,i)}}),k.CursorColumnSelectRight=Object(a.k)(new class extends t{constructor(){super({id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3601,linux:{primary:0}}})}_getColumnSelectResult(e,t,i,n){return u.columnSelectRight(e.cursorConfig,e,i)}});class i extends t{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return u.columnSelectUp(e.cursorConfig,e,i,this._isPaged)}}k.CursorColumnSelectUp=Object(a.k)(new i({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3600,linux:{primary:0}}})),k.CursorColumnSelectPageUp=Object(a.k)(new i({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3595,linux:{primary:0}}}));class s extends t{constructor(e){super(e),this._isPaged=e.isPaged}_getColumnSelectResult(e,t,i,n){return u.columnSelectDown(e.cursorConfig,e,i,this._isPaged)}}k.CursorColumnSelectDown=Object(a.k)(new s({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3602,linux:{primary:0}}})),k.CursorColumnSelectPageDown=Object(a.k)(new s({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:3596,linux:{primary:0}}}));class l extends L{constructor(){super({id:"cursorMove",precondition:void 0,description:v.a.description})}runCoreEditorCommand(e,t){var i=v.a.parse(t);i&&this._runCursorMove(e,t.source,i)}_runCursorMove(e,t,i){e.model.pushStackElement(),e.setCursorStates(t,3,l._move(e,e.getCursorStates(),i)),e.revealPrimaryCursor(t,!0)}static _move(e,t,i){var n=i.select,o=i.value;switch(i.direction){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:return v.b.simpleMove(e,t,i.direction,n,o,i.unit);case 11:case 13:case 12:case 14:return v.b.viewportMove(e,t,i.direction,n,o);default:return null}}}k.CursorMoveImpl=l,k.CursorMove=Object(a.k)(new l);class p extends L{constructor(e){super(e),this._staticArgs=e.args}runCoreEditorCommand(e,t){let i=this._staticArgs;-1===this._staticArgs.value&&(i={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.cursorConfig.pageSize}),e.model.pushStackElement(),e.setCursorStates(t.source,3,v.b.simpleMove(e,e.getCursorStates(),i.direction,i.select,i.value,i.unit)),e.revealPrimaryCursor(t.source,!0)}}k.CursorLeft=Object(a.k)(new p({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),k.CursorLeftSelect=Object(a.k)(new p({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1039}})),k.CursorRight=Object(a.k)(new p({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),k.CursorRightSelect=Object(a.k)(new p({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1041}})),k.CursorUp=Object(a.k)(new p({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),k.CursorUpSelect=Object(a.k)(new p({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),k.CursorPageUp=Object(a.k)(new p({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:11}})),k.CursorPageUpSelect=Object(a.k)(new p({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1035}})),k.CursorDown=Object(a.k)(new p({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),k.CursorDownSelect=Object(a.k)(new p({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),k.CursorPageDown=Object(a.k)(new p({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:12}})),k.CursorPageDownSelect=Object(a.k)(new p({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1036}})),k.CreateCursor=Object(a.k)(new class extends L{constructor(){super({id:"createCursor",precondition:void 0})}runCoreEditorCommand(e,t){let i;i=t.wholeLine?v.b.line(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition):v.b.moveTo(e,e.getPrimaryCursorState(),!1,t.position,t.viewPosition);const n=e.getCursorStates();if(1n&&(o=n),n=new c.a(o,1,o,e.model.getLineMaxColumn(o));let s=0;if(i.at)switch(i.at){case m.RawAtArgument.Top:s=3;break;case m.RawAtArgument.Center:s=1;break;case m.RawAtArgument.Bottom:s=4}i=e.coordinatesConverter.convertModelRangeToViewRange(n),e.revealRange(t.source,!1,i,s,0)}}),k.SelectAll=new class extends x{constructor(){super(a.h)}runDOMCommand(){o.g&&(document.activeElement.focus(),document.activeElement.select()),document.execCommand("selectAll")}runEditorCommand(e,t,i){t=t._getViewModel(),t&&this.runCoreEditorCommand(t,i)}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates("keyboard",3,[v.b.selectAll(e,e.getPrimaryCursorState())])}},k.SetSelection=Object(a.k)(new class extends L{constructor(){super({id:"setSelection",precondition:void 0})}runCoreEditorCommand(e,t){e.model.pushStackElement(),e.setCursorStates(t.source,3,[d.d.fromModelSelection(t.selection)])}})}const D=y.a.and(w.a.textInputFocus,w.a.columnSelection);function N(e,t){S.a.registerKeybindingRule({id:e,primary:t,when:D,weight:1})}function O(e){e.register()}N(f.CursorColumnSelectLeft.id,1039),N(f.CursorColumnSelectRight.id,1041),N(f.CursorColumnSelectUp.id,1040),N(f.CursorColumnSelectPageUp.id,1035),N(f.CursorColumnSelectDown.id,1042),N(f.CursorColumnSelectPageDown.id,1036);{i=_=_||{};class e extends a.c{runEditorCommand(e,t,i){var n=t._getViewModel();n&&this.runCoreEditingCommand(t,n,i||{})}}i.CoreEditingCommand=e,i.LineBreakInsert=Object(a.k)(new class extends e{constructor(){super({id:"lineBreakInsert",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:0,mac:{primary:301}}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.lineBreakInsert(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection)))}}),i.Outdent=Object(a.k)(new class extends e{constructor(){super({id:"outdent",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:y.a.and(w.a.editorTextFocus,w.a.tabDoesNotMoveFocus),primary:1026}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.outdent(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),i.Tab=Object(a.k)(new class extends e{constructor(){super({id:"tab",precondition:w.a.writable,kbOpts:{weight:0,kbExpr:y.a.and(w.a.editorTextFocus,w.a.tabDoesNotMoveFocus),primary:2}})}runCoreEditingCommand(e,t,i){e.pushUndoStop(),e.executeCommands(this.id,C.a.tab(t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection))),e.pushUndoStop()}}),i.DeleteLeft=Object(a.k)(new class extends e{constructor(){super({id:"deleteLeft",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})}runCoreEditingCommand(e,t,i){var[n,o]=b.a.deleteLeft(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection),t.getCursorAutoClosedCharacters());n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)}}),i.DeleteRight=Object(a.k)(new class extends e{constructor(){super({id:"deleteRight",precondition:void 0,kbOpts:{weight:0,kbExpr:w.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})}runCoreEditingCommand(e,t,i){var[n,o]=b.a.deleteRight(t.getPrevEditOperationType(),t.cursorConfig,t.model,t.getCursorStates().map(e=>e.modelState.selection));n&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)}}),i.Undo=new class extends x{constructor(){super(a.i)}runDOMCommand(){document.execCommand("undo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(80))return t.getModel().undo()}},i.Redo=new class extends x{constructor(){super(a.g)}runDOMCommand(){document.execCommand("redo")}runEditorCommand(e,t,i){if(t.hasModel()&&!0!==t.getOption(80))return t.getModel().redo()}}}class E extends a.a{constructor(e,t,i){super({id:e,precondition:void 0,description:i}),this._handlerId=t}runCommand(e,t){const i=e.get(l.a).getFocusedCodeEditor();i&&i.trigger("keyboard",this._handlerId,t)}}function I(e,t){O(new E("default:"+e,e)),O(new E(e,e,t))}I("type",{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I("replacePreviousChar"),I("compositionType"),I("compositionStart"),I("compositionEnd"),I("paste"),I("cut")},d65c:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return i.e("chunk-2d0d61fd").then(i.bind(null,"70e3"))}})},d741:function(e,t,i){"use strict";i.r(t),i.d(t,"provideSelectionRanges",(function(){return C}));var n=i("e8e3"),o=i("2504"),s=(t=i("b2cc"),i("7061")),r=i("6a89"),a=i("8025"),l=i("c101"),d=i("b707"),h=i("dff7"),c=i("7e32"),u=i("3742"),g=i("67b4"),p=i("9e74"),m=i("fdcc"),f=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class _{constructor(e,t){this.index=e,this.ranges=t}mov(e){var t=this.index+(e?1:-1);if(t<0||t>=this.ranges.length)return this;const i=new _(t,this.ranges);return i.ranges[t].equalsRange(this.ranges[this.index])?i.mov(e):i}}class b{constructor(e){this._editor=e,this._ignoreSelection=!1}static get(e){return e.getContribution(b.ID)}dispose(){var e;null!=(e=this._selectionListener)&&e.dispose()}run(e){return f(this,void 0,void 0,(function*(){if(this._editor.hasModel()){const i=this._editor.getSelections();var t=this._editor.getModel();if(d.A.has(t)&&(this._state||(yield C(t,i.map(e=>e.getPosition()),this._editor.getOption(102),o.a.None).then(e=>{var t;if(n.n(e)&&e.length===i.length&&this._editor.hasModel()&&n.h(this._editor.getSelections(),i,(e,t)=>e.equalsSelection(t))){for(let t=0;te.containsPosition(i[t].getStartPosition())&&e.containsPosition(i[t].getEndPosition())),e[t].unshift(i[t]);this._state=e.map(e=>new _(0,e)),null!=(t=this._selectionListener)&&t.dispose(),this._selectionListener=this._editor.onDidChangeCursorPosition(()=>{var e;this._ignoreSelection||(null!=(e=this._selectionListener)&&e.dispose(),this._state=void 0)})}})),this._state)){this._state=this._state.map(t=>t.mov(e)),t=this._state.map(e=>a.a.fromPositions(e.ranges[e.index].getStartPosition(),e.ranges[e.index].getEndPosition())),this._ignoreSelection=!0;try{this._editor.setSelections(t)}finally{this._ignoreSelection=!1}}}}))}}b.ID="editor.contrib.smartSelectController";class v extends t.b{constructor(e,t){super(t),this._forward=e}run(e,t){return f(this,void 0,void 0,(function*(){let e=b.get(t);e&&(yield e.run(this._forward))}))}}function C(e,t,i,o){return f(this,void 0,void 0,(function*(){const a=d.A.all(e);1===a.length&&a.unshift(new g.a);let l=[],h=[];for(const i of a)l.push(Promise.resolve(i.provideSelectionRanges(e,t,o)).then(e=>{if(n.n(e)&&e.length===t.length)for(let i=0;i{if(0===t.length)return[];t.sort((e,t)=>s.a.isBefore(e.getStartPosition(),t.getStartPosition())?1:s.a.isBefore(t.getStartPosition(),e.getStartPosition())||s.a.isBefore(e.getEndPosition(),t.getEndPosition())?-1:s.a.isBefore(t.getEndPosition(),e.getEndPosition())?1:0);let n,o=[];for(const e of t)n&&(!r.a.containsRange(e,n)||r.a.equalsRange(e,n))||(o.push(e),n=e);if(!i.selectLeadingAndTrailingWhitespace)return o;let a=[o[0]];for(let i=1;i(this._link=t||this._link,this._link.url?this.resolve(e):Promise.reject(new Error("missing")))):Promise.reject(new Error("missing")))}))}}class w{constructor(e){this._disposables=new l.b;let t=[];for(const[n,o]of e){var i=n.links.map(e=>new C(e,o));t=w._union(t,i),Object(l.g)(n)&&this._disposables.add(n)}this.links=t}dispose(){this._disposables.dispose(),this.links.length=0}static _union(e,t){let i,n=[];var o,s;let r;for(i=0,r=0,o=e.length,s=t.length;iPromise.resolve(n.provideLinks(e,t)).then(e=>{e&&(i[o]=[e,n])},r.g));return Promise.all(n).then(()=>{const e=new w(Object(_.e)(i));return t.isCancellationRequested?(e.dispose(),new w([])):e})}f.a.registerCommand("_executeLinkProvider",(e,...t)=>v(void 0,void 0,void 0,(function*(){let[i,n]=t;Object(b.c)(i instanceof g.a),"number"!=typeof n&&(n=0);var o=e.get(m.a).getModel(i);if(!o)return[];const r=yield y(o,s.a.None);if(!r)return[];for(let e=0;e{this._onEditorMouseMove(e,t)})),this.listenersToRemove.add(n.onExecute(e=>{this.onEditorMouseUp(e)})),this.listenersToRemove.add(n.onCancel(e=>{this.cleanUpActiveLinkDecoration()})),this.enabled=e.getOption(62),this.listenersToRemove.add(e.onDidChangeConfiguration(t=>{var i=e.getOption(62);this.enabled!==i&&(this.enabled=i,this.updateDecorations([]),this.stop(),this.beginCompute())})),this.listenersToRemove.add(e.onDidChangeModelContent(e=>this.onChange())),this.listenersToRemove.add(e.onDidChangeModel(e=>this.onModelChanged())),this.listenersToRemove.add(e.onDidChangeModelLanguage(e=>this.onModelModeChanged())),this.listenersToRemove.add(c.v.onDidChange(e=>this.onModelModeChanged())),this.timeout=new o.g,this.computePromise=null,this.activeLinksList=null,this.currentOccurrences={},this.activeLinkDecorationId=null,this.beginCompute()}static get(e){return e.getContribution(t.ID)}onModelChanged(){this.currentOccurrences={},this.activeLinkDecorationId=null,this.stop(),this.beginCompute()}onModelModeChanged(){this.stop(),this.beginCompute()}onChange(){this.timeout.setIfNotSet(()=>this.beginCompute(),t.RECOMPUTE_TIME)}beginCompute(){return O(this,void 0,void 0,(function*(){if(this.editor.hasModel()&&this.enabled){const t=this.editor.getModel();if(c.v.has(t)){this.activeLinksList&&(this.activeLinksList.dispose(),this.activeLinksList=null),this.computePromise=o.h(e=>y(t,e));try{this.activeLinksList=yield this.computePromise,this.updateDecorations(this.activeLinksList.links)}catch(e){Object(r.f)(e)}finally{this.computePromise=null}}}}))}updateDecorations(e){var t="altKey"===this.editor.getOption(69);let i=[];var n=Object.keys(this.currentOccurrences);for(let l=0,d=n.length;l{t.activate(e,i),this.activeLinkDecorationId=t.decorationId})}else this.cleanUpActiveLinkDecoration()}cleanUpActiveLinkDecoration(){const e="altKey"===this.editor.getOption(69);if(this.activeLinkDecorationId){const t=this.currentOccurrences[this.activeLinkDecorationId];t&&this.editor.changeDecorations(i=>{t.deactivate(i,e)}),this.activeLinkDecorationId=null}}onEditorMouseUp(e){var t;!this.isEnabled(e)||(t=this.getLinkOccurrence(e.target.position))&&this.openLinkOccurrence(t,e.hasSideBySideModifier,!0)}openLinkOccurrence(e,t,i=!1){if(this.openerService){const o=e["link"];o.resolve(s.a.None).then(e=>{if("string"==typeof e&&this.editor.hasModel()){var n=this.editor.getModel().uri;if(n.scheme===k.c.file&&e.startsWith(k.c.file+":")){var o=g.a.parse(e);if(o.scheme===k.c.file){const t=D.i(o);let i=null;t.startsWith("/./")?i="."+t.substr(1):t.startsWith("//./")&&(i="."+t.substr(2)),i&&(e=D.g(n,i))}}}return this.openerService.open(e,{openToSide:t,fromUserGesture:i,allowContributedOpeners:!0,allowCommands:!0})},e=>{var t=e instanceof Error?e.message:e;"invalid"===t?this.notificationService.warn(n.a("invalid.url","Failed to open this link because it is not well-formed: {0}",o.url.toString())):"missing"===t?this.notificationService.warn(n.a("missing.url","Failed to open this link because its target is missing.")):Object(r.f)(e)})}}getLinkOccurrence(e){if(this.editor.hasModel()&&e)for(const i of this.editor.getModel().getDecorationsInRange({startLineNumber:e.lineNumber,startColumn:e.column,endLineNumber:e.lineNumber,endColumn:e.column},0,!0)){var t=this.currentOccurrences[i.id];if(t)return t}return null}isEnabled(e,t){return Boolean(6===e.target.type&&(e.hasTriggerModifier||t&&t.keyCodeIsTriggerKey))}stop(){var e;this.timeout.cancel(),this.activeLinksList&&(null!=(e=this.activeLinksList)&&e.dispose(),this.activeLinksList=null),this.computePromise&&(this.computePromise.cancel(),this.computePromise=null)}dispose(){this.listenersToRemove.dispose(),this.stop(),this.timeout.dispose()}};M.ID="editor.linkDetector",M.RECOMPUTE_TIME=1e3,M=i([N(1,S.a),N(2,f.a)],M);class T extends t.b{constructor(){super({id:"editor.action.openLink",label:n.a("label","Open Link"),alias:"Open Link",precondition:void 0})}run(e,t){let i=M.get(t);var n;if(i&&t.hasModel())for(n of t.getSelections()){var o=i.getLinkOccurrence(n.getEndPosition());o&&i.openLinkOccurrence(o,!1)}}}Object(t.l)(M.ID,M),Object(t.j)(T),Object(x.f)((e,t)=>{e=e.getColor(L.q),e&&t.addRule(`.monaco-editor .detected-link-active { color: ${e} !important; }`)})},d8c3:function(e,t,i){},d93b:function(e,t,i){},d95f:function(e,t,i){},daaa:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return i.e("chunk-2d0e4fe5").then(i.bind(null,"931f"))}})},db2d:function(e,t,i){"use strict";i.r(t),i.d(t,"ColorContribution",(function(){return r})),i("92a6d");t=i("a666");var n=i("b2cc"),o=i("aee8"),s=i("6a89");class r extends t.a{constructor(e){super(),this._editor=e,this._register(e.onMouseDown(e=>this.onMouseDown(e)))}dispose(){super.dispose()}onMouseDown(e){var t=e.target.type;if(6===t){t=[...(null==(t=e.target.element)?void 0:t.classList.values())||[]].find(e=>e.startsWith("ced-colorBox"));if(t&&e.target.range){const i=this._editor.getContribution(o.ModesHoverController.ID);i.isColorPickerVisible()||(t=new s.a(e.target.range.startLineNumber,e.target.range.startColumn+1,e.target.range.endLineNumber,e.target.range.endColumn+1),i.showContentHover(t,0,!1))}}}}r.ID="editor.contrib.colorContribution",Object(n.l)(r.ID,r)},db7a:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return i.e("chunk-2d0d056d").then(i.bind(null,"680e"))}})},db88:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));class n{constructor(e){this.element=e,this.next=n.Undefined,this.prev=n.Undefined}}n.Undefined=new n(void 0);class o{constructor(){this._first=n.Undefined,this._last=n.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===n.Undefined}clear(){let e=this._first;for(;e!==n.Undefined;){var t=e.next;e.prev=n.Undefined,e.next=n.Undefined,e=t}this._first=n.Undefined,this._last=n.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const i=new n(e);if(this._first===n.Undefined)this._first=i,this._last=i;else if(t){const e=this._last;((this._last=i).prev=e).next=i}else{const e=this._first;((this._first=i).next=e).prev=i}this._size+=1;let o=!1;return()=>{o||(o=!0,this._remove(i))}}shift(){var e;if(this._first!==n.Undefined)return e=this._first.element,this._remove(this._first),e}pop(){var e;if(this._last!==n.Undefined)return e=this._last.element,this._remove(this._last),e}_remove(e){if(e.prev!==n.Undefined&&e.next!==n.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===n.Undefined&&e.next===n.Undefined?(this._first=n.Undefined,this._last=n.Undefined):e.next===n.Undefined?(this._last=this._last.prev,this._last.next=n.Undefined):e.prev===n.Undefined&&(this._first=this._first.next,this._first.prev=n.Undefined);--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==n.Undefined;)yield e.element,e=e.next}}},dbc9:function(e,t,i){"use strict";var n=i("dff7"),o=i("b7d0"),s=i("303e"),r=i("561a");const a=Object(s.wc)("symbolIcon.arrayForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),l=Object(s.wc)("symbolIcon.booleanForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),d=Object(s.wc)("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),h=Object(s.wc)("symbolIcon.colorForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),c=Object(s.wc)("symbolIcon.constantForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),u=Object(s.wc)("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),g=Object(s.wc)("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),p=Object(s.wc)("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),m=Object(s.wc)("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(n.a)("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),f=Object(s.wc)("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_=Object(s.wc)("symbolIcon.fileForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),b=Object(s.wc)("symbolIcon.folderForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),v=Object(s.wc)("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),C=Object(s.wc)("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),w=Object(s.wc)("symbolIcon.keyForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),y=Object(s.wc)("symbolIcon.keywordForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),S=Object(s.wc)("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(n.a)("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),L=Object(s.wc)("symbolIcon.moduleForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),x=Object(s.wc)("symbolIcon.namespaceForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),k=Object(s.wc)("symbolIcon.nullForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),D=Object(s.wc)("symbolIcon.numberForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),N=Object(s.wc)("symbolIcon.objectForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),O=Object(s.wc)("symbolIcon.operatorForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),E=Object(s.wc)("symbolIcon.packageForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),I=Object(s.wc)("symbolIcon.propertyForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),M=Object(s.wc)("symbolIcon.referenceForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),T=Object(s.wc)("symbolIcon.snippetForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),A=Object(s.wc)("symbolIcon.stringForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),R=Object(s.wc)("symbolIcon.structForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),P=Object(s.wc)("symbolIcon.textForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),F=Object(s.wc)("symbolIcon.typeParameterForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),B=Object(s.wc)("symbolIcon.unitForeground",{dark:s.eb,light:s.eb,hc:s.eb},Object(n.a)("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),j=Object(s.wc)("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(n.a)("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(o.f)((e,t)=>{var i=e.getColor(a);i&&t.addRule(r.b.symbolArray.cssSelector+` { color: ${i}; }`),i=e.getColor(l),i&&t.addRule(r.b.symbolBoolean.cssSelector+` { color: ${i}; }`),i=e.getColor(d),i&&t.addRule(r.b.symbolClass.cssSelector+` { color: ${i}; }`),i=e.getColor(S),i&&t.addRule(r.b.symbolMethod.cssSelector+` { color: ${i}; }`),i=e.getColor(h),i&&t.addRule(r.b.symbolColor.cssSelector+` { color: ${i}; }`),i=e.getColor(c),i&&t.addRule(r.b.symbolConstant.cssSelector+` { color: ${i}; }`),i=e.getColor(u),i&&t.addRule(r.b.symbolConstructor.cssSelector+` { color: ${i}; }`),i=e.getColor(g),i&&t.addRule(`\n\t\t\t${r.b.symbolValue.cssSelector},${r.b.symbolEnum.cssSelector} { color: ${i}; }`),i=e.getColor(p),i&&t.addRule(r.b.symbolEnumMember.cssSelector+` { color: ${i}; }`),i=e.getColor(m),i&&t.addRule(r.b.symbolEvent.cssSelector+` { color: ${i}; }`),i=e.getColor(f),i&&t.addRule(r.b.symbolField.cssSelector+` { color: ${i}; }`),i=e.getColor(_),i&&t.addRule(r.b.symbolFile.cssSelector+` { color: ${i}; }`),i=e.getColor(b),i&&t.addRule(r.b.symbolFolder.cssSelector+` { color: ${i}; }`),i=e.getColor(v),i&&t.addRule(r.b.symbolFunction.cssSelector+` { color: ${i}; }`),i=e.getColor(C),i&&t.addRule(r.b.symbolInterface.cssSelector+` { color: ${i}; }`),i=e.getColor(w),i&&t.addRule(r.b.symbolKey.cssSelector+` { color: ${i}; }`),i=e.getColor(y),i&&t.addRule(r.b.symbolKeyword.cssSelector+` { color: ${i}; }`),i=e.getColor(L),i&&t.addRule(r.b.symbolModule.cssSelector+` { color: ${i}; }`),i=e.getColor(x),i&&t.addRule(r.b.symbolNamespace.cssSelector+` { color: ${i}; }`),i=e.getColor(k),i&&t.addRule(r.b.symbolNull.cssSelector+` { color: ${i}; }`),i=e.getColor(D),i&&t.addRule(r.b.symbolNumber.cssSelector+` { color: ${i}; }`),i=e.getColor(N),i&&t.addRule(r.b.symbolObject.cssSelector+` { color: ${i}; }`),i=e.getColor(O),i&&t.addRule(r.b.symbolOperator.cssSelector+` { color: ${i}; }`),i=e.getColor(E),i&&t.addRule(r.b.symbolPackage.cssSelector+` { color: ${i}; }`),i=e.getColor(I),i&&t.addRule(r.b.symbolProperty.cssSelector+` { color: ${i}; }`),i=e.getColor(M),i&&t.addRule(r.b.symbolReference.cssSelector+` { color: ${i}; }`),i=e.getColor(T),i&&t.addRule(r.b.symbolSnippet.cssSelector+` { color: ${i}; }`),i=e.getColor(A),i&&t.addRule(r.b.symbolString.cssSelector+` { color: ${i}; }`),i=e.getColor(R),i&&t.addRule(r.b.symbolStruct.cssSelector+` { color: ${i}; }`),i=e.getColor(P),i&&t.addRule(r.b.symbolText.cssSelector+` { color: ${i}; }`),i=e.getColor(F),i&&t.addRule(r.b.symbolTypeParameter.cssSelector+` { color: ${i}; }`),i=e.getColor(B),i&&t.addRule(r.b.symbolUnit.cssSelector+` { color: ${i}; }`),i=e.getColor(j);i&&t.addRule(r.b.symbolVariable.cssSelector+` { color: ${i}; }`)})},dd1b:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("308f");t=i("89cd");const o={JSONContribution:"base.contributions.json"};i=new class{constructor(){this._onDidChangeSchema=new n.b,this.schemasById={}}registerSchema(e,t){var i;this.schemasById[0<(i=e).length&&"#"===i.charAt(i.length-1)?i.substring(0,i.length-1):i]=t,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}},t.a.add(o.JSONContribution,i)},debc:function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"b",(function(){return d}));var n=i("3d378"),o=i("b589"),s=i("30db"),r=i("82c9"),a=i("6d8e");function l(e){if(e)return"string"==typeof e&&(e=a.a.file(e)),e=Object(r.b)(e)||(e.scheme===o.c.file?e.fsPath:e.path),s.i&&Object(n.c)(e)?d(e):e}function d(e){return Object(n.a)(e)?e.charAt(0).toUpperCase()+e.slice(1):e}},dff7:function(e,t,i){"use strict";function n(e,t,...i){{var n=i;let e;return e=0===n.length?t:t.replace(/\{(\d+)\}/g,(function(e,t){return t=t[0],void 0!==n[t]?n[t]:e}))}}i.d(t,"a",(function(){return n}))},e1b5:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i("b707");class o{constructor(e,t){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}static createEmpty(e){var t=o.defaultTokenMetadata;const i=new Uint32Array(2);return i[0]=e.length,i[1]=t,new o(i,e)}equals(e){return e instanceof o&&this.slicedEquals(e,0,this._tokensCount)}slicedEquals(e,t,i){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;t<<=1;var n=t+(i<<1);for(let o=t;o>>1)-1;for(let n=0;n>>1)-1;for(;ir&&(n+=this._text.substring(r,l.offset),d=this._tokens[1+(t<<1)],s.push(n.length,d),r=l.offset),n+=l.text,s.push(n.length,l.tokenMetadata),i++}}return new o(new Uint32Array(s),n)}}o.defaultTokenMetadata=16793600;class s{constructor(e,t,i,n){this._source=e,this._startOffset=t,this._endOffset=i,this._deltaOffset=n,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(let o=this._firstTokenIndex,s=e.getCount();othis.emitter.fire(e);this.emitter=new n.b({onFirstListenerAdd:()=>e.addEventListener(t,o,i),onLastListenerRemove:()=>e.removeEventListener(t,o,i)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}function s(e){return e.preventDefault(),e.stopPropagation(),e}},e385d:function(e,t,i){"use strict";i.d(t,"a",(function(){return o})),i.d(t,"b",(function(){return b}));var n,o,s=i("11f7"),r=i("70c3"),a=i("1898"),l=i("e8e3"),d=(t=i("ceb8"),i("308f")),h=i("a666"),c=i("49d9"),u=i("42e39"),g=i("ef8e9");i("e750");const p={separatorBorder:t.a.transparent};class m{constructor(e,t,i,n){this.container=e,this.view=t,this.disposable=n,this._cachedVisibleSize=void 0,"number"==typeof i?(this._size=i,this._cachedVisibleSize=void 0,e.classList.add("visible")):(this._size=0,this._cachedVisibleSize=i.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=Object(c.b)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)}dispose(){return this.disposable.dispose(),this.view}}class f extends m{layoutContainer(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"}}class _ extends m{layoutContainer(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"}}(i=n=n||{})[i.Idle=0]="Idle",i[i.Busy=1]="Busy",(t=o=o||{}).Distribute={type:"distribute"},t.Split=function(e){return{type:"split",index:e}},t.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}};class b extends h.a{constructor(e,t={}){super(),this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=n.Idle,this._onDidSashChange=this._register(new d.b),this.onDidSashChange=this._onDidSashChange.event,this._onDidSashReset=this._register(new d.b),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.orientation=g.l(t.orientation)?0:t.orientation,this.inverseAltBehavior=!!t.inverseAltBehavior,this.proportionalLayout=!!g.l(t.proportionalLayout)||!!t.proportionalLayout,this.getSashOrthogonalSize=t.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(0===this.orientation?"vertical":"horizontal"),e.appendChild(this.el),this.sashContainer=Object(s.q)(this.el,Object(s.a)(".sash-container")),this.viewContainer=Object(s.a)(".split-view-container"),this.scrollable=new u.a(125,s.V),this.scrollableElement=this._register(new a.c(this.viewContainer,{vertical:0===this.orientation?null!=(e=t.scrollbarVisibility)?e:1:2,horizontal:1===this.orientation?null!=(e=t.scrollbarVisibility)?e:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(e=>{this.viewContainer.scrollTop=e.scrollTop,this.viewContainer.scrollLeft=e.scrollLeft})),Object(s.q)(this.el,this.scrollableElement.getDomNode()),this.style(t.styles||p),t.descriptor&&(this.size=t.descriptor.size,t.descriptor.views.forEach((e,t)=>{var i=g.l(e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size};e=e.view;this.doAddView(e,i,t,!0)}),this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}set orthogonalStartSash(e){for(const t of this.sashItems)t.sash.orthogonalStartSash=e;this._orthogonalStartSash=e}get orthogonalEndSash(){return this._orthogonalEndSash}set orthogonalEndSash(e){for(const t of this.sashItems)t.sash.orthogonalEndSash=e;this._orthogonalEndSash=e}get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}style(e){e.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))}addView(e,t,i=this.viewItems.length,n){this.doAddView(e,t,i,n)}layout(e,t){var i=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(let o=0;o1===this.viewItems[e].priority);var n=o.filter(e=>2===this.viewItems[e].priority);this.resize(this.viewItems.length-1,e-i,void 0,t,n)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&0e.size/this.contentSize))}onSashStart({sash:e,start:t,alt:i}){for(const s of this.viewItems)s.enabled=!1;const n=this.sashItems.findIndex(t=>t.sash===e),o=Object(h.e)(Object(s.i)(document.body,"keydown",e=>r(this.sashDragState.current,e.altKey)),Object(s.i)(document.body,"keyup",()=>r(this.sashDragState.current,!1))),r=(e,t)=>{const i=this.viewItems.map(e=>e.size);let s,r,a=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;if((t=this.inverseAltBehavior?!t:t)&&(h=n===this.sashItems.length-1,d=h?(h=this.viewItems[n],a=(h.minimumSize-h.size)/2,(h.maximumSize-h.size)/2):(h=this.viewItems[n+1],a=(h.size-h.maximumSize)/2,(h.size-h.minimumSize)/2)),!t){const e=Object(l.r)(n,-1),t=Object(l.r)(n+1,this.viewItems.length);var h=e.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),c=e.reduce((e,t)=>e+(this.viewItems[t].viewMaximumSize-i[t]),0),u=0===t.length?Number.POSITIVE_INFINITY:t.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),g=0===t.length?Number.NEGATIVE_INFINITY:t.reduce((e,t)=>e+(i[t]-this.viewItems[t].viewMaximumSize),0);const o=Math.max(h,g),a=Math.min(u,c);h=this.findFirstSnapIndex(e),g=this.findFirstSnapIndex(t);"number"==typeof h&&(u=this.viewItems[h],c=Math.floor(u.viewMinimumSize/2),s={index:h,limitDelta:u.visible?o-c:o+c,size:u.size}),"number"==typeof g&&(h=this.viewItems[g],c=Math.floor(h.viewMinimumSize/2),r={index:g,limitDelta:h.visible?a+c:a-c,size:h.size})}this.sashDragState={start:e,current:e,index:n,sizes:i,minDelta:a,maxDelta:d,alt:t,snapBefore:s,snapAfter:r,disposable:o}};r(t,i)}onSashChange({current:e}){var{index:t,start:i,sizes:n,alt:o,minDelta:s,maxDelta:r,snapBefore:a,snapAfter:l}=this.sashDragState,i=(e=(this.sashDragState.current=e)-i,this.resize(t,e,n,void 0,void 0,s,r,a,l));o&&(e=t===this.sashItems.length-1,n=this.viewItems.map(e=>e.size),r=(s=this.viewItems[e?t:t+1]).size-s.maximumSize,a=s.size-s.minimumSize,this.resize(e?t-1:t+1,-i,n,void 0,void 0,r,a)),this.distributeEmptySpace(),this.layoutViews()}onSashEnd(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(const t of this.viewItems)t.enabled=!0}onViewChange(e,t){var i=this.viewItems.indexOf(e);i<0||i>=this.viewItems.length||(t="number"==typeof t?t:e.size,t=Object(c.b)(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&0=this.viewItems.length)){const s=Object(l.r)(this.viewItems.length).filter(t=>t!==e);var i=[...s.filter(e=>1===this.viewItems[e].priority),e],o=s.filter(e=>2===this.viewItems[e].priority);const r=this.viewItems[e];t=Math.round(t),t=Object(c.b)(t,r.minimumSize,Math.min(r.maximumSize,this.size)),r.size=t,this.relayout(i,o),this.state=n.Idle}}distributeViewSizes(){const e=[];let t=0;for(const r of this.viewItems)01===this.viewItems[e].priority),s=n.filter(e=>2===this.viewItems[e].priority);this.relayout(o,s)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}doAddView(e,t,i=this.viewItems.length,o){if(this.state!==n.Idle)throw new Error("Cant modify splitview");this.state=n.Busy;const a=Object(s.a)(".split-view-view"),c=(i===this.viewItems.length?this.viewContainer.appendChild(a):this.viewContainer.insertBefore(a,this.viewContainer.children.item(i)),e.onDidChange(e=>this.onViewChange(m,e)));var u=Object(h.i)(()=>this.viewContainer.removeChild(a));const g=Object(h.e)(c,u);let p;p="number"==typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;const m=new(0===this.orientation?f:_)(a,e,p,g);if(this.viewItems.splice(i,0,m),1this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},u),{orientation:1})):new r.b(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},u),{orientation:0}));u=0===this.orientation?t=>({sash:e,start:t.startY,current:t.currentY,alt:t.altKey}):t=>({sash:e,start:t.startX,current:t.currentX,alt:t.altKey});const t=d.c.map(e.onDidStart,u);var b=t(this.onSashStart,this);const n=d.c.map(e.onDidChange,u),o=n(this.onSashChange,this),s=d.c.map(e.onDidEnd,()=>this.sashItems.findIndex(t=>t.sash===e));u=s(this.onSashEnd,this);var v=e.onDidReset(()=>{var t=this.sashItems.findIndex(t=>t.sash===e),i=Object(l.r)(t,-1),n=Object(l.r)(t+1,this.viewItems.length);i=this.findFirstSnapIndex(i),n=this.findFirstSnapIndex(n);"number"==typeof i&&!this.viewItems[i].visible||"number"==typeof n&&!this.viewItems[n].visible||this._onDidSashReset.fire(t)});const a=Object(h.e)(b,o,u,v,e);b={sash:e,disposable:a},this.sashItems.splice(i-1,0,b)}let C;a.appendChild(e.element),"number"!=typeof t&&"split"===t.type&&(C=[t.index]),o||this.relayout([i],C),this.state=n.Idle,o||"number"==typeof t||"distribute"!==t.type||this.distributeViewSizes()}relayout(e,t){var i=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-i,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(e,t,i=this.viewItems.map(e=>e.size),n,o,s=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY,a,d){if(e<0||e>=this.viewItems.length)return 0;const h=Object(l.r)(e,-1),u=Object(l.r)(e+1,this.viewItems.length);if(o)for(const c of o)Object(l.p)(h,c),Object(l.p)(u,c);if(n)for(const c of n)Object(l.o)(h,c),Object(l.o)(u,c);var g=h.map(e=>this.viewItems[e]),p=h.map(e=>i[e]),m=u.map(e=>this.viewItems[e]),f=u.map(e=>i[e]),_=h.reduce((e,t)=>e+(this.viewItems[t].minimumSize-i[t]),0),b=h.reduce((e,t)=>e+(this.viewItems[t].maximumSize-i[t]),0),v=0===u.length?Number.POSITIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].minimumSize),0),C=0===u.length?Number.NEGATIVE_INFINITY:u.reduce((e,t)=>e+(i[t]-this.viewItems[t].maximumSize),0);_=Math.max(_,C,s),C=Math.min(v,b,r);let w=!1;if(a){const e=this.viewItems[a.index];v=t>=a.limitDelta,w=v!==e.visible,e.setVisible(v,a.size)}if(!w&&d){const e=this.viewItems[d.index];b=te+t.size,0);let i=this.size-t;const n=Object(l.r)(this.viewItems.length-1,-1);t=n.filter(e=>1===this.viewItems[e].priority);for(const r of n.filter(e=>2===this.viewItems[e].priority))Object(l.p)(n,r);for(const r of t)Object(l.o)(n,r);"number"==typeof e&&Object(l.o)(n,e);for(let r=0;0!==i&&re+t.size,0);let e=0;for(const t of this.viewItems)t.layout(e,this.layoutContext),e+=t.size;this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){0===this.orientation?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let e=!1;var t=this.viewItems.map(t=>e=0e=0e=0e=0e.dispose()),this.viewItems=[],this.sashItems.forEach(e=>e.disposable.dispose()),this.sashItems=[]}}},e516:function(e,t,i){"use strict";i.r(t),i.d(t,"CursorUndoRedoController",(function(){return l})),i.d(t,"CursorUndo",(function(){return d})),i.d(t,"CursorRedo",(function(){return h}));var n=i("dff7"),o=(t=i("a666"),i("b2cc")),s=i("c101");class r{constructor(e){this.selections=e}equals(e){var t=this.selections.length;if(t!==e.selections.length)return!1;for(let i=0;i{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeModelContent(e=>{this._undoStack=[],this._redoStack=[]})),this._register(e.onDidChangeCursorSelection(t=>{this._isCursorUndoRedo||t.oldSelections&&t.oldModelVersionId===t.modelVersionId&&(t=new r(t.oldSelections),0this._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new r.e(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=c.b.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._isDoingComposition=!1,this._nextCommand=0;let i=null;this._register(s.o(t.domNode,"keydown",e=>{(109===e.keyCode||this._isDoingComposition&&1===e.keyCode)&&e.stopPropagation(),e.equals(9)&&e.preventDefault(),i=e,this._onKeyDown.fire(e)})),this._register(s.o(t.domNode,"keyup",e=>{this._onKeyUp.fire(e)})),this._register(s.i(t.domNode,"compositionstart",e=>{if(c.c,!this._isDoingComposition){if(this._isDoingComposition=!0,d.f&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&0{var t=this._textAreaState,i=c.b.readFromTextArea(this._textArea);return[i,c.b.deduceInput(t,i,e)]},g=()=>{var e=this._textAreaState,t=c.b.readFromTextArea(this._textArea);return[t,c.b.deduceAndroidCompositionInput(e,t)]},p=e=>{var t=this._textAreaState;e=c.b.selectedText(e);return[e,{text:e.value,replacePrevCharCnt:t.selectionEnd-t.selectionStart,replaceNextCharCnt:0,positionDelta:0}]};this._register(s.i(t.domNode,"compositionupdate",e=>{if(c.c,o.e){const[t,i]=g();this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e)}else{const[t,i]=p(e.data||"");this._textAreaState=t,this._onType.fire(i),this._onCompositionUpdate.fire(e)}})),this._register(s.i(t.domNode,"compositionend",e=>{if(c.c,this._isDoingComposition)if(this._isDoingComposition=!1,o.e){const[e,t]=g();this._textAreaState=e,this._onType.fire(t),this._onCompositionEnd.fire()}else{const[t,i]=p(e.data||"");this._textAreaState=t,this._onType.fire(i),(o.f||o.g)&&(this._textAreaState=c.b.readFromTextArea(this._textArea)),this._onCompositionEnd.fire()}})),this._register(s.i(t.domNode,"input",()=>{if(this._textArea.setIgnoreSelectionChangeTime("received input event"),!this._isDoingComposition){const[e,t]=l(d.f);0===t.replacePrevCharCnt&&1===t.text.length&&h.E(t.text.charCodeAt(0))||(this._textAreaState=e,0===this._nextCommand?""===t.text&&0===t.replacePrevCharCnt||this._onType.fire(t):(""===t.text&&0===t.replacePrevCharCnt||this._firePaste(t.text,null),this._nextCommand=0))}})),this._register(s.i(t.domNode,"cut",e=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(e),this._asyncTriggerCut.schedule()})),this._register(s.i(t.domNode,"copy",e=>{this._ensureClipboardGetsEditorSelection(e)})),this._register(s.i(t.domNode,"paste",e=>{var t;this._textArea.setIgnoreSelectionChangeTime("received paste event"),_.canUseTextData(e)?([e,t]=_.getTextData(e),""!==e&&this._firePaste(e,t)):(this._textArea.getSelectionStart()!==this._textArea.getSelectionEnd()&&this._setAndWriteTextAreaState("paste",c.b.EMPTY),this._nextCommand=1)})),this._register(s.i(t.domNode,"focus",()=>{var e=this._hasFocus;this._setHasFocus(!0),o.h&&!e&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()})),this._register(s.i(t.domNode,"blur",()=>{this._isDoingComposition&&(this._isDoingComposition=!1,this.writeScreenReaderContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(s.i(t.domNode,n.Tap,()=>{o.e&&this._isDoingComposition&&(this._isDoingComposition=!1,this.writeScreenReaderContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let e=0;return s.i(document,"selectionchange",t=>{var i,n;this._hasFocus&&!this._isDoingComposition&&o.f&&(n=(i=Date.now())-e,e=i,n<5||(n=i-this._textArea.getIgnoreSelectionChangeTime(),this._textArea.resetSelectionChangeTime(),n<100||this._textAreaState.selectionStartPosition&&this._textAreaState.selectionEndPosition&&(i=this._textArea.getValue(),this._textAreaState.value===i&&(n=this._textArea.getSelectionStart(),i=this._textArea.getSelectionEnd(),this._textAreaState.selectionStart===n&&this._textAreaState.selectionEnd===i||(n=this._textAreaState.deduceEditorPosition(n),n=this._host.deduceModelPosition(n[0],n[1],n[2]),i=this._textAreaState.deduceEditorPosition(i),i=this._host.deduceModelPosition(i[0],i[1],i[2]),n=new g.a(n.lineNumber,n.column,i.lineNumber,i.column),this._onSelectionChangeRequest.fire(n))))))})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){var e=s.F(this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):s.N(this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)}_setHasFocus(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),(this._hasFocus?this._onFocus:this._onBlur).fire())}_setAndWriteTextAreaState(e,t){(t=this._hasFocus?t:t.collapseSelection()).writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t}writeScreenReaderContent(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(e){const t=this._host.getDataToCopy(_.canUseTextData(e));var i={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};m.INSTANCE.set(o.g?t.text.replace(/\r\n/g,"\n"):t.text,i),_.canUseTextData(e)?_.setTextData(e,t.text,t.html,i):this._setAndWriteTextAreaState("copy or cut",c.b.selectedText(t.text))}_firePaste(e,t){t=t||m.INSTANCE.get(e),this._onPaste.fire({text:e,metadata:t})}}class _{static canUseTextData(e){return!!e.clipboardData||!!window.clipboardData}static getTextData(t){if(t.clipboardData){t.preventDefault();var i=t.clipboardData.getData(l.a.text);let o=null;var n=t.clipboardData.getData("vscode-editor-data");if("string"==typeof n)try{1!==(o=JSON.parse(n)).version&&(o=null)}catch(e){}return[i,o]}if(window.clipboardData)return t.preventDefault(),[window.clipboardData.getData("Text"),null];throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")}static setTextData(e,t,i,n){if(e.clipboardData)e.clipboardData.setData(l.a.text,t),"string"==typeof i&&e.clipboardData.setData("text/html",i),e.clipboardData.setData("vscode-editor-data",JSON.stringify(n));else{if(!window.clipboardData)throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!");window.clipboardData.setData("Text",t)}e.preventDefault()}}class b extends t.a{constructor(e){super(),this._actual=e,this._ignoreSelectionChangeTime=0}setIgnoreSelectionChangeTime(e){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.domNode.value}setValue(e,t){const i=this._actual.domNode;i.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),i.value=t)}getSelectionStart(){return"backward"===this._actual.domNode.selectionDirection?this._actual.domNode.selectionEnd:this._actual.domNode.selectionStart}getSelectionEnd(){return"backward"===this._actual.domNode.selectionDirection?this._actual.domNode.selectionStart:this._actual.domNode.selectionEnd}setSelectionRange(e,t,i){const n=this._actual.domNode;let r=null;var a=s.F(n),l=(a=(r=(a||document).activeElement)===n,n.selectionStart),d=n.selectionEnd;if(a&&l===t&&d===i)o.g&&window.parent!==window&&n.focus();else if(a)this.setIgnoreSelectionChangeTime("setSelectionRange"),n.setSelectionRange(t,i),o.g&&window.parent!==window&&n.focus();else try{var h=s.U(n);this.setIgnoreSelectionChangeTime("setSelectionRange"),n.focus(),n.setSelectionRange(t,i),s.S(n,h)}catch(e){}}}},e58e:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("30db");const o=n.b.performance&&"function"==typeof n.b.performance.now;class s{constructor(e){this._highResolution=o&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new s(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return(this._highResolution?n.b.performance:Date).now()}}},e679:function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var n=i("1e93"),o=i("7ab3");function s(e){return e.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class r{constructor(e,t,i,n){this.oldPosition=e,this.oldText=t,this.newPosition=i,this.newText=n}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return 0===this.oldText.length?`(insert@${this.oldPosition} "${s(this.newText)}")`:0===this.newText.length?`(delete@${this.oldPosition} "${s(this.oldText)}")`:`(replace@${this.oldPosition} "${s(this.oldText)}" with "${s(this.newText)}")`}static _writeStringSize(e){return 4+2*e.length}static _writeString(e,t,i){var o=t.length;n.f(e,o,i),i+=4;for(let s=0;s(t.hasOwnProperty(i)||(t[i]=e(i)),t[i])}(e=>new n(e))},e750:function(e,t,i){},e757:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));let n=!1,o=null;class s{static getSameOriginWindowChain(){if(!o){o=[];let t=window;for(var e;(e=function(e){if(!e.parent||e.parent===e)return null;try{var t=e.location,i=e.parent.location;if("null"!==t.origin&&"null"!==i.origin&&(t.protocol!==i.protocol||t.hostname!==i.hostname||t.port!==i.port))return n=!0,null}catch(e){return n=!0,null}return e.parent}(t))?o.push({window:t,iframeElement:t.frameElement||null}):o.push({window:t,iframeElement:null}),t=e;);}return o.slice(0)}static hasDifferentOriginAncestor(){return o||this.getSameOriginWindowChain(),n}static getPositionOfChildWindowRelativeToAncestorWindow(e,t){if(!t||e===t)return{top:0,left:0};let i=0,n=0;for(const s of this.getSameOriginWindowChain()){if(i+=s.window.scrollY,n+=s.window.scrollX,s.window===t)break;if(!s.iframeElement)break;var o=s.iframeElement.getBoundingClientRect();i+=o.top,n+=o.left}return{top:i,left:n}}}},e75b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i("f0b2");const n="monaco-mouse-cursor-text"},e8cb:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:function(){return i.e("chunk-2d0b21d7").then(i.bind(null,"2377"))}})},e8e3:function(e,t,i){"use strict";function n(e,t=0){return e[e.length-(1+t)]}function o(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function s(e,t,i=((e,t)=>e===t)){if(e!==t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let n=0,o=e.length;n=t.length)throw new TypeError("invalid index");var n,o=t[Math.floor(t.length*Math.random())];let s=[],r=[],a=[];for(n of t){var d=i(n,o);(d<0?s:0!!e)}function c(e){return!Array.isArray(e)||0===e.length}function u(e){return Array.isArray(e)&&0e.indexOf(t)===i);const i=Object.create(null);return e.filter(e=>(e=t(e),!i[e]&&(i[e]=!0)))}function p(e){const t=new Set;return e.filter(e=>!t.has(e)&&(t.add(e),!0))}function m(e,t){return 0t;o--)n.push(o);return n}function b(e,t,i){const n=e.slice(0,t);return e=e.slice(t),n.concat(i,e)}function v(e,t){var i=e.indexOf(t);-1=r;l--)o[l+a]=o[l];for(let l=0;ls(t,e),n)):(i=e,n=r(181387,n=t),Object.keys(i).sort().reduce((e,t)=>(e=a(t,e),s(i[t],e)),n));case"string":return a(e,t);case"boolean":return r(e?433:863,t);case"number":return r(e,t);case"undefined":return r(937,t);default:return r(617,t)}var i,n}function r(e,t){return(t<<5)-t+e|0}function a(e,t){t=r(149417,t);for(let i=0,n=e.length;i>>i)>>>0}function d(e,t=0,i=e.byteLength,n=0){for(let o=0;oe.toString(16).padStart(2,"0")).join("");for(var[i,n,o="0"]=[(e>>>0).toString(16),t/4];i.length>>6:(i<65536?e[t++]=224|(61440&i)>>>12:(e[t++]=240|(1835008&i)>>>18,e[t++]=128|(258048&i)>>>12),e[t++]=128|(4032&i)>>>6),e[t++]=128|(63&i)>>>0),64<=t&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,d(this._buff,this._buffLen),56{i="\r\n"===e?-1:0,o+=n;for(const n of t)n.end<=o||(n.start>=o&&(n.start+=i),n.end>=o&&(n.end+=i));return n+=i,"⏎"})}}},ef37:function(e,t,i){},ef8e9:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}function o(e){return"string"==typeof e}function s(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function r(e){return"number"==typeof e&&!isNaN(e)}function a(e){return!0===e||!1===e}function l(e){return void 0===e}function d(e){return l(e)||null===e}function h(e,t){if(!e)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function c(e){if(d(e))throw new Error("Assertion Failed: argument is undefined or null");return e}function u(e){return"function"==typeof e}function g(e,t){var i=Math.min(e.length,t.length);for(let n=0;nfunction(){var i=Array.prototype.slice.call(arguments,0);return t(e,i)})(n);return i}function f(e){return null===e?void 0:e}function _(e,t="Unreachable"){throw new Error(t)}i.d(t,"f",(function(){return n})),i.d(t,"k",(function(){return o})),i.d(t,"j",(function(){return s})),i.d(t,"i",(function(){return r})),i.d(t,"g",(function(){return a})),i.d(t,"l",(function(){return l})),i.d(t,"m",(function(){return d})),i.d(t,"c",(function(){return h})),i.d(t,"a",(function(){return c})),i.d(t,"h",(function(){return u})),i.d(t,"n",(function(){return g})),i.d(t,"e",(function(){return p})),i.d(t,"d",(function(){return m})),i.d(t,"o",(function(){return f})),i.d(t,"b",(function(){return _}))},efdb:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("markerDecorationsService")},eff2:function(e,t,i){"use strict";i.d(t,"b",(function(){return c})),i.d(t,"a",(function(){return u}));var n=i("0f70"),o=i("650e"),s=i("11f7"),r=i("a60f"),a=i("f070"),l=(t=i("a666"),i("30db")),d=i("ef8e9"),h=(i("c84a"),i("dff7"));class c extends t.a{constructor(e,t,i={}){super(),this.options=i,this._context=e||this,(this._action=t)instanceof a.a&&this._register(t.onDidChange(e=>{this.element&&this.handleActionChangeEvent(e)}))}handleActionChangeEvent(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()}get actionRunner(){return this._actionRunner||(this._actionRunner=this._register(new a.b)),this._actionRunner}set actionRunner(e){this._actionRunner=e}getAction(){return this._action}isEnabled(){return this._action.enabled}setActionContext(e){this._context=e}render(e){const t=this.element=e,i=(this._register(r.b.addTarget(e)),this.options&&this.options.draggable);i&&(e.draggable=!0,n.g&&this._register(Object(s.i)(e,s.d.DRAG_START,e=>null==(e=e.dataTransfer)?void 0:e.setData(o.a.TEXT,this._action.label)))),this._register(Object(s.i)(t,r.a.Tap,e=>this.onClick(e,!0))),this._register(Object(s.i)(t,s.d.MOUSE_DOWN,e=>{i||s.c.stop(e,!0),this._action.enabled&&0===e.button&&t.classList.add("active")})),l.f&&this._register(Object(s.i)(t,s.d.CONTEXT_MENU,e=>{0===e.button&&!0===e.ctrlKey&&this.onClick(e)})),this._register(Object(s.i)(t,s.d.CLICK,e=>{s.c.stop(e,!0),this.options&&this.options.isMenu||l.j(()=>this.onClick(e))})),this._register(Object(s.i)(t,s.d.DBLCLICK,e=>{s.c.stop(e,!0)})),[s.d.MOUSE_UP,s.d.MOUSE_OUT].forEach(e=>{this._register(Object(s.i)(t,e,e=>{s.c.stop(e),t.classList.remove("active")}))})}onClick(e,t=!1){s.c.stop(e,!0);var i=d.m(this._context)?null!=(i=this.options)&&i.useEventAsContext?e:{preserveFocus:t}:this._context;this.actionRunner.run(this._action,i)}focus(){this.element&&(this.element.tabIndex=0,this.element.focus(),this.element.classList.add("focused"))}blur(){this.element&&(this.element.blur(),this.element.tabIndex=-1,this.element.classList.remove("focused"))}setFocusable(e){this.element&&(this.element.tabIndex=e?0:-1)}get trapsArrowNavigation(){return!1}updateEnabled(){}updateLabel(){}updateTooltip(){}updateClass(){}updateChecked(){}dispose(){this.element&&(this.element.remove(),this.element=void 0),super.dispose()}}class u extends c{constructor(e,t,i={}){super(e,t,i),this.options=i,this.options.icon=void 0!==i.icon&&i.icon,this.options.label=void 0===i.label||i.label,this.cssClass=""}render(e){super.render(e),this.element&&(this.label=Object(s.q)(this.element,Object(s.a)("a.action-label"))),this.label&&(this._action.id===a.d.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(Object(s.q)(this.element,Object(s.a)("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()}focus(){this.label&&(this.label.tabIndex=0,this.label.focus())}blur(){this.label&&(this.label.tabIndex=-1)}setFocusable(e){this.label&&(this.label.tabIndex=e?0:-1)}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=h.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)}updateClass(){this.cssClass&&this.label&&this.label.classList.remove(...this.cssClass.split(" ")),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(this.label.classList.add("codicon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" "))),this.updateEnabled()):this.label&&this.label.classList.remove("codicon")}updateEnabled(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),this.label.classList.remove("disabled")),this.element&&this.element.classList.remove("disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),this.label.classList.add("disabled")),this.element&&this.element.classList.add("disabled"))}updateChecked(){this.label&&(this.getAction().checked?this.label.classList.add("checked"):this.label.classList.remove("checked"))}}},f004:function(e,t,i){},f070:function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"d",(function(){return l})),i.d(t,"e",(function(){return d})),i.d(t,"c",(function(){return h}));var n=i("308f"),o=(t=i("a666"),i("dff7")),s=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class r extends t.a{constructor(e,t="",i="",o=!0,s){super(),this._onDidChange=this._register(new n.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._checked=!1,this._id=e,this._label=t,this._cssClass=i,this._enabled=o,this._actionCallback=s}get id(){return this._id}get label(){return this._label}set label(e){this._setLabel(e)}_setLabel(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))}get tooltip(){return this._tooltip||""}set tooltip(e){this._setTooltip(e)}_setTooltip(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))}get class(){return this._cssClass}set class(e){this._setClass(e)}_setClass(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))}get enabled(){return this._enabled}set enabled(e){this._setEnabled(e)}_setEnabled(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))}get checked(){return this._checked}set checked(e){this._setChecked(e)}_setChecked(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))}run(e,t){return s(this,void 0,void 0,(function*(){this._actionCallback&&(yield this._actionCallback(e))}))}}class a extends t.a{constructor(){super(...arguments),this._onBeforeRun=this._register(new n.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new n.b),this.onDidRun=this._onDidRun.event}run(e,t){return s(this,void 0,void 0,(function*(){if(e.enabled){this._onBeforeRun.fire({action:e});let i=void 0;try{yield this.runAction(e,t)}catch(e){i=e}this._onDidRun.fire({action:e,error:i})}}))}runAction(e,t){return s(this,void 0,void 0,(function*(){yield e.run(t)}))}}class l extends r{constructor(e){super(l.ID,e,e?"separator text":"separator"),this.checked=!1,this.enabled=!1}}l.ID="vs.actions.separator";class d{constructor(e,t,i,n){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=e,this.label=t,this.class=n,this._actions=i}get actions(){return this._actions}dispose(){}run(){return s(this,void 0,void 0,(function*(){}))}}class h extends r{constructor(){super(h.ID,o.a("submenu.empty","(empty)"),void 0,!1)}}h.ID="vs.actions.empty"},f07b:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(...e){for(var[t,i]of(this._entries=new Map,e))this.set(t,i)}set(e,t){var i=this._entries.get(e);return this._entries.set(e,t),i}has(e){return this._entries.has(e)}get(e){return this._entries.get(e)}}},f0b2:function(e,t,i){},f17c:function(e,t,i){"use strict";i.r(t),i.d(t,"InsertCursorAbove",(function(){return w})),i.d(t,"InsertCursorBelow",(function(){return y})),i.d(t,"MultiCursorSessionResult",(function(){return k})),i.d(t,"MultiCursorSession",(function(){return D})),i.d(t,"MultiCursorSelectionController",(function(){return N})),i.d(t,"MultiCursorSelectionControllerAction",(function(){return O})),i.d(t,"AddSelectionToNextFindMatchAction",(function(){return E})),i.d(t,"AddSelectionToPreviousFindMatchAction",(function(){return I})),i.d(t,"MoveSelectionToNextFindMatchAction",(function(){return M})),i.d(t,"MoveSelectionToPreviousFindMatchAction",(function(){return T})),i.d(t,"SelectHighlightsAction",(function(){return A})),i.d(t,"CompatChangeAll",(function(){return R})),i.d(t,"SelectionHighlighter",(function(){return F}));var n=i("dff7"),o=i("5fe7"),s=i("fe45"),r=i("a666"),a=i("3813"),l=(t=i("b2cc"),i("a007")),d=i("6a89"),h=i("8025"),c=i("c101"),u=i("3352"),g=i("b57f"),p=i("b707"),m=i("a106"),f=i("7e32"),_=i("303e"),b=i("b7d0"),v=i("4fc3");function C(e,t){const i=t.filter(t=>!e.find(e=>e.equals(t)));1<=i.length&&(t=i.map(e=>`line ${e.viewState.position.lineNumber} column `+e.viewState.position.column).join(", "),t=1===i.length?n.a("cursorAdded","Cursor added: {0}",t):n.a("cursorsAdded","Cursors added: {0}",t),Object(a.c)(t))}class w extends t.b{constructor(){super({id:"editor.action.insertCursorAbove",label:n.a("mutlicursor.insertAbove","Add Cursor Above"),alias:"Add Cursor Above",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:2576,linux:{primary:1552,secondary:[3088]},weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorAbove",comment:["&& denotes a mnemonic"]},"&&Add Cursor Above"),order:2}})}run(e,t,i){if(t.hasModel()){var n=i&&!0===i.logicalLine;const e=t._getViewModel();e.cursorConfig.readOnly||(e.pushStackElement(),t=e.getCursorStates(),e.setCursorStates(i.source,3,l.b.addCursorUp(e,t,n)),e.revealTopMostCursor(i.source),C(t,e.getCursorStates()))}}}class y extends t.b{constructor(){super({id:"editor.action.insertCursorBelow",label:n.a("mutlicursor.insertBelow","Add Cursor Below"),alias:"Add Cursor Below",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:2578,linux:{primary:1554,secondary:[3090]},weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorBelow",comment:["&& denotes a mnemonic"]},"A&&dd Cursor Below"),order:3}})}run(e,t,i){if(t.hasModel()){var n=i&&!0===i.logicalLine;const e=t._getViewModel();e.cursorConfig.readOnly||(e.pushStackElement(),t=e.getCursorStates(),e.setCursorStates(i.source,3,l.b.addCursorDown(e,t,n)),e.revealBottomMostCursor(i.source),C(t,e.getCursorStates()))}}}class S extends t.b{constructor(){super({id:"editor.action.insertCursorAtEndOfEachLineSelected",label:n.a("mutlicursor.insertAtEndOfEachLineSelected","Add Cursors to Line Ends"),alias:"Add Cursors to Line Ends",precondition:void 0,kbOpts:{kbExpr:c.a.editorTextFocus,primary:1575,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miInsertCursorAtEndOfEachLineSelected",comment:["&& denotes a mnemonic"]},"Add C&&ursors to Line Ends"),order:4}})}getCursorsForSelection(e,t,i){if(!e.isEmpty()){for(let o=e.startLineNumber;othis.getCursorsForSelection(t,e,s)),0{this._ignoreSelectionChange||this._endSession()})),this._sessionDispose.add(this._editor.onDidBlurEditorText(()=>{this._endSession()})),this._sessionDispose.add(e.getState().onFindReplaceStateChange(e=>{(e.matchCase||e.wholeWord)&&this._endSession()}))}}}_endSession(){var e;this._sessionDispose.clear(),this._session&&this._session.isDisconnectedFromFindController&&(e={wholeWordOverride:0,matchCaseOverride:0,isRegexOverride:0},this._session.findController.getState().change(e,!1)),this._session=null}_setSelections(e){this._ignoreSelectionChange=!0,this._editor.setSelections(e),this._ignoreSelectionChange=!1}_expandEmptyToWord(e,t){var i;return t.isEmpty()&&(i=this._editor.getConfiguredWordAtPosition(t.getStartPosition()))?new h.a(t.startLineNumber,i.startColumn,t.startLineNumber,i.endColumn):t}_applySessionResult(e){e&&(this._setSelections(e.selections),e.revealRange&&this._editor.revealRangeInCenterIfOutsideViewport(e.revealRange,e.revealScrollType))}getSession(e){return this._session}addSelectionToNextFindMatch(e){if(this._editor.hasModel()){if(!this._session){var t=this._editor.getSelections();if(1{e.forEach(e=>{t.range.endLineNumber<=e.endLineNumber&&t.range.startLineNumber>=e.startLineNumber&&i.push(t)})}),n=i}if(0new h.a(e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)))}}}}N.ID="editor.contrib.multiCursorController";class O extends t.b{run(e,t){var i=N.get(t);if(i){var n=m.CommonFindController.get(t);if(n){const e=t._getViewModel();e&&(t=e.getCursorStates(),this._run(i,n),C(t,e.getCursorStates()))}}}}class E extends O{constructor(){super({id:"editor.action.addSelectionToNextFindMatch",label:n.a("addSelectionToNextFindMatch","Add Selection To Next Find Match"),alias:"Add Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:2082,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miAddSelectionToNextFindMatch",comment:["&& denotes a mnemonic"]},"Add &&Next Occurrence"),order:5}})}_run(e,t){e.addSelectionToNextFindMatch(t)}}class I extends O{constructor(){super({id:"editor.action.addSelectionToPreviousFindMatch",label:n.a("addSelectionToPreviousFindMatch","Add Selection To Previous Find Match"),alias:"Add Selection To Previous Find Match",precondition:void 0,menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miAddSelectionToPreviousFindMatch",comment:["&& denotes a mnemonic"]},"Add P&&revious Occurrence"),order:6}})}_run(e,t){e.addSelectionToPreviousFindMatch(t)}}class M extends O{constructor(){super({id:"editor.action.moveSelectionToNextFindMatch",label:n.a("moveSelectionToNextFindMatch","Move Last Selection To Next Find Match"),alias:"Move Last Selection To Next Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:Object(s.a)(2089,2082),weight:100}})}_run(e,t){e.moveSelectionToNextFindMatch(t)}}class T extends O{constructor(){super({id:"editor.action.moveSelectionToPreviousFindMatch",label:n.a("moveSelectionToPreviousFindMatch","Move Last Selection To Previous Find Match"),alias:"Move Last Selection To Previous Find Match",precondition:void 0})}_run(e,t){e.moveSelectionToPreviousFindMatch(t)}}class A extends O{constructor(){super({id:"editor.action.selectHighlights",label:n.a("selectAllOccurrencesOfFindMatch","Select All Occurrences of Find Match"),alias:"Select All Occurrences of Find Match",precondition:void 0,kbOpts:{kbExpr:c.a.focus,primary:3114,weight:100},menuOpts:{menuId:f.b.MenubarSelectionMenu,group:"3_multi",title:n.a({key:"miSelectHighlights",comment:["&& denotes a mnemonic"]},"Select All &&Occurrences"),order:7}})}_run(e,t){e.selectAll(t)}}class R extends O{constructor(){super({id:"editor.action.changeAll",label:n.a("changeAll.label","Change All Occurrences"),alias:"Change All Occurrences",precondition:v.a.and(c.a.writable,c.a.editorTextFocus),kbOpts:{kbExpr:c.a.editorTextFocus,primary:2108,weight:100},contextMenuOpts:{group:"1_modification",order:1.2}})}_run(e,t){e.selectAll(t)}}class P{constructor(e,t,i,n){this.searchText=e,this.matchCase=t,this.wordSeparators=i,this.modelVersionId=n}static softEquals(e,t){return!e&&!t||!(!e||!t)&&e.searchText===t.searchText&&e.matchCase===t.matchCase&&e.wordSeparators===t.wordSeparators&&e.modelVersionId===t.modelVersionId}}class F extends r.a{constructor(e){super(),this.editor=e,this._isEnabled=e.getOption(97),this.decorations=[],this.updateSoon=this._register(new o.e(()=>this._update(),300)),this.state=null,this._register(e.onDidChangeConfiguration(t=>{this._isEnabled=e.getOption(97)})),this._register(e.onDidChangeCursorSelection(e=>{this._isEnabled&&(e.selection.isEmpty()?3===e.reason?(this.state&&this._setState(null),this.updateSoon.schedule()):this._setState(null):this._update())})),this._register(e.onDidChangeModel(e=>{this._setState(null)})),this._register(e.onDidChangeModelContent(e=>{this._isEnabled&&this.updateSoon.schedule()})),this._register(m.CommonFindController.get(e).getState().onFindReplaceStateChange(e=>{this._update()}))}_update(){this._setState(F._createState(this._isEnabled,this.editor))}static _createState(e,t){if(!e)return null;if(!t.hasModel())return null;if(e=t.getSelection(),e.startLineNumber!==e.endLineNumber)return null;const i=N.get(t);if(!i)return null;const n=m.CommonFindController.get(t);if(!n)return null;let o=i.getSession(n);if(!o){if(e=t.getSelections(),1e.range),r=(s.sort(d.a.compareRangesUsingStarts),this.editor.getSelections()),a=(r.sort(d.a.compareRangesUsingStarts),[]);for(let e=0,n=0,l=s.length,h=r.length;e=h?(a.push(i),e++):(t=d.a.compareRangesUsingStarts(i,r[n]))<0?(!r[n].isEmpty()&&d.a.areIntersecting(i,r[n])||a.push(i),e++):(0({range:e,options:o?F._SELECTION_HIGHLIGHT:F._SELECTION_HIGHLIGHT_OVERVIEW})),this.decorations=this.editor.deltaDecorations(this.decorations,e)}}}else this.decorations=this.editor.deltaDecorations(this.decorations,[])}dispose(){this._setState(null),super.dispose()}}function B(e,t,i){var n=j(e,t[0],!i);for(let o=1,s=t.length;o{if(!this._ignoreEditorChange){const e=this._editorService.getActiveCodeEditor();if(e){var i=e.getModel(),n=e.getPosition();if(i&&n){let e=!1,o=!1;for(const s of t.references)if(Object(I.f)(s.uri,i.uri))e=!0,o=o||h.a.containsPosition(s.range,n);else if(e)break;e&&o||this.reset()}}}}),this._currentState=Object(N.e)(i,e)}}revealNext(e){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;var t=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:t.uri,options:{selection:h.a.collapseToStart(t.range),selectionRevealType:3}},e).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){null!=(t=this._currentMessage)&&t.dispose();const e=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult");var t=e?Object(_.a)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,e.getLabel()):Object(_.a)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(t)}};P=M([T(0,v.b),T(1,l.a),T(2,C.a),T(3,E.a)],P);Object(k.b)(R,P,!0),Object(a.k)(new class extends a.c{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:A,kbOpts:{weight:100,primary:70}})}runEditorCommand(e,t){return e.get(R).revealNext(t)}}),D.a.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:A,primary:9,handler(e){e.get(R).reset()}});let F=class{constructor(e){this._listener=new Map,this._disposables=new N.b,this._onDidChange=new O.b,this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),Object(N.f)(this._listener.values())}_onDidAddEditor(e){this._listener.set(e,Object(N.e)(e.onDidChangeCursorPosition(t=>this._onDidChange.fire({editor:e})),e.onDidChangeModelContent(t=>this._onDidChange.fire({editor:e}))))}_onDidRemoveEditor(e){var t;null!=(t=this._listener.get(e))&&t.dispose(),this._listener.delete(e)}};F=M([T(0,l.a)],F);E=i("0f70");var B=i("6d8e"),j=i("ef8e9"),W=i("d379"),V=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};b.d.appendMenuItem(b.b.EditorContext,{submenu:b.b.EditorContextPeek,title:_.a("peek.submenu","Peek"),group:"navigation",order:100});const H=new Set;function z(e){e=new e,Object(a.m)(e),H.add(e.id)}class U extends a.b{constructor(e,t){super(t),this._configuration=e}run(e,t){if(!t.hasModel())return Promise.resolve(void 0);const i=e.get(C.a),s=e.get(l.a),r=e.get(w.a),a=e.get(R),d=t.getModel(),h=t.getPosition(),c=new L.b(t,5);return e=Object(o.l)(this._getLocationModel(d,h,c.token),c.token).then(e=>V(this,void 0,void 0,(function*(){if(e&&!c.token.isCancellationRequested){let r;Object(n.a)(e.ariaMessage),!e.referenceAt(d.uri,h)||(o=this._getAlternativeCommand(t))!==this.id&&H.has(o)&&(r=t.getAction(o));var i,o=e.references.length;if(0===o)this._configuration.muteMessage||(i=d.getWordAtPosition(h),g.a.get(t).showMessage(this._getNoResultFoundMessage(i),h));else{if(1!==o||!r)return this._onResult(s,a,t,e);r.run()}}})),e=>{i.error(e)}).finally(()=>{c.dispose()}),r.showWhile(e,250),e}_onResult(e,t,i,n){return V(this,void 0,void 0,(function*(){var o,s,r,a=this._getGoToPreference(i);i instanceof W.a||!(this._configuration.openInPeek||"peek"===a&&1{r.getModel()===e&&r.deltaDecorations(t,[])},350)}return r}}}))}_openInPeek(e,t){let i=m.a.get(e);i&&e.hasModel()?i.toggleWidget(e.getSelection(),Object(o.h)(e=>Promise.resolve(t)),this._configuration.openInPeek):t.dispose()}}class K extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.b)(e,t,i),_.a("def.title","Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("noResultWord","No definition found for '{0}'",e.word):_.a("generic.noResults","No definition found")}_getAlternativeCommand(e){return e.getOption(49).alternativeDefinitionCommand}_getGoToPreference(e){return e.getOption(49).multipleDefinitions}}const q=t.h&&!E.i?2118:70;z(((k=class e extends K{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:v.a.and(c.a.hasDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:q,weight:100},contextMenuOpts:{group:"navigation",order:1.1}}),S.a.registerCommandAlias("editor.action.goToDeclaration",e.id)}}).id="editor.action.revealDefinition",k)),z(((P=class e extends K{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:v.a.and(c.a.hasDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:Object(s.a)(2089,q),weight:100}}),S.a.registerCommandAlias("editor.action.openDeclarationToTheSide",e.id)}}).id="editor.action.revealDefinitionAside",P)),z(((D=class e extends K{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.id,label:_.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:v.a.and(c.a.hasDefinitionProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:2}}),S.a.registerCommandAlias("editor.action.previewDeclaration",e.id)}}).id="editor.action.peekDefinition",D));class $ extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.a)(e,t,i),_.a("decl.title","Declarations"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("decl.noResultWord","No declaration found for '{0}'",e.word):_.a("decl.generic.noResults","No declaration found")}_getAlternativeCommand(e){return e.getOption(49).alternativeDeclarationCommand}_getGoToPreference(e){return e.getOption(49).multipleDeclarations}}z(((M=class e extends ${constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.id,label:_.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:v.a.and(c.a.hasDeclarationProvider,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3}})}_getNoResultFoundMessage(e){return e&&e.word?_.a("decl.noResultWord","No declaration found for '{0}'",e.word):_.a("decl.generic.noResults","No declaration found")}}).id="editor.action.revealDeclaration",M)),z(class extends ${constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:_.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:v.a.and(c.a.hasDeclarationProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:3}})}});class G extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.e)(e,t,i),_.a("typedef.title","Type Definitions"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):_.a("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(e){return e.getOption(49).alternativeTypeDefinitionCommand}_getGoToPreference(e){return e.getOption(49).multipleTypeDefinitions}}z(((T=class e extends G{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:_.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:v.a.and(c.a.hasTypeDefinitionProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4}})}}).ID="editor.action.goToTypeDefinition",T)),z(((i=class e extends G{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:_.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:v.a.and(c.a.hasTypeDefinitionProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:4}})}}).ID="editor.action.peekTypeDefinition",i));class Z extends U{_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.c)(e,t,i),_.a("impl.title","Implementations"))}))}_getNoResultFoundMessage(e){return e&&e.word?_.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):_.a("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(e){return e.getOption(49).alternativeImplementationCommand}_getGoToPreference(e){return e.getOption(49).multipleImplementations}}z(((t=class e extends Z{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:e.ID,label:_.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:v.a.and(c.a.hasImplementationProvider,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}}).ID="editor.action.goToImplementation",t)),z(((E=class e extends Z{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:e.ID,label:_.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:v.a.and(c.a.hasImplementationProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:5}})}}).ID="editor.action.peekImplementation",E));class Y extends U{_getNoResultFoundMessage(e){return e?_.a("references.no","No references found for '{0}'",e.word):_.a("references.noGeneric","No references found")}_getAlternativeCommand(e){return e.getOption(49).alternativeReferenceCommand}_getGoToPreference(e){return e.getOption(49).multipleReferences}}z(class extends Y{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:_.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:v.a.and(c.a.hasReferenceProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:c.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.d)(e,t,!0,i),_.a("ref.title","References"))}))}}),z(class extends Y{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:_.a("references.action.label","Peek References"),alias:"Peek References",precondition:v.a.and(c.a.hasReferenceProvider,p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:b.b.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(yield Object(y.d)(e,t,!1,i),_.a("ref.title","References"))}))}});class X extends U{constructor(e,t,i){super(e,{id:"editor.action.goToLocation",label:_.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:v.a.and(p.b.notInPeekEditor,c.a.isInWalkThroughSnippet.toNegated())}),this._references=t,this._gotoMultipleBehaviour=i}_getLocationModel(e,t,i){return V(this,void 0,void 0,(function*(){return new f.c(this._references,_.a("generic.title","Locations"))}))}_getNoResultFoundMessage(e){return e&&_.a("generic.noResult","No results for '{0}'",e.word)||""}_getGoToPreference(e){var t;return null!=(t=this._gotoMultipleBehaviour)?t:e.getOption(49).multipleReferences}_getAlternativeCommand(){return""}}S.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:B.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(e,t,i,n,o,s,a)=>V(void 0,void 0,void 0,(function*(){Object(j.c)(B.a.isUri(t)),Object(j.c)(d.a.isIPosition(i)),Object(j.c)(Array.isArray(n)),Object(j.c)(void 0===o||"string"==typeof o),Object(j.c)(void 0===a||"boolean"==typeof a);const h=e.get(l.a),c=yield h.openCodeEditor({resource:t},h.getFocusedCodeEditor());if(Object(r.b)(c))return c.setPosition(i),c.revealPositionInCenterIfOutsideViewport(i,0),c.invokeWithinContext(e=>{const t=new class extends X{_getNoResultFoundMessage(e){return s||super._getNoResultFoundMessage(e)}}({muteMessage:!Boolean(s),openInPeek:Boolean(a),openToSide:!1},n,o);e.get(x.a).invokeFunction(t.run.bind(t),c)})}))}),S.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:B.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(e,t,i,n,o)=>V(void 0,void 0,void 0,(function*(){e.get(S.b).executeCommand("editor.action.goToLocations",t,i,n,o,void 0,!0)}))}),S.a.registerCommand({id:"editor.action.findReferences",handler:(e,t,i)=>{Object(j.c)(B.a.isUri(t)),Object(j.c)(d.a.isIPosition(i));const n=e.get(l.a);return n.openCodeEditor({resource:t},n.getFocusedCodeEditor()).then(e=>{if(Object(r.b)(e)&&e.hasModel()){const s=m.a.get(e);var t,n;if(s)return t=Object(o.h)(t=>Object(y.d)(e.getModel(),d.a.lift(i),!1,t).then(e=>new f.c(e,_.a("ref.title","References")))),n=new h.a(i.lineNumber,i.column,i.lineNumber,i.column),Promise.resolve(s.toggleWidget(n,t,!1))}})}}),S.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),b.d.appendMenuItems([{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.revealDefinition",title:_.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},group:"4_symbol_nav",order:2}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.revealDeclaration",title:_.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},group:"4_symbol_nav",order:3}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToTypeDefinition",title:_.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},group:"4_symbol_nav",order:3}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToImplementation",title:_.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},group:"4_symbol_nav",order:4}},{id:b.b.MenubarGoMenu,item:{command:{id:"editor.action.goToReferences",title:_.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},group:"4_symbol_nav",order:5}}])},f20b:function(e,t,i){},f2d2:function(e,t,i){},f33e:function(e,t,i){"use strict";i.r(t),i.d(t,"CancellationTokenSource",(function(){return xa})),i.d(t,"Emitter",(function(){return ka})),i.d(t,"KeyCode",(function(){return Da})),i.d(t,"KeyMod",(function(){return Na})),i.d(t,"Position",(function(){return Oa})),i.d(t,"Range",(function(){return Ea})),i.d(t,"Selection",(function(){return Ia})),i.d(t,"SelectionDirection",(function(){return Ma})),i.d(t,"MarkerSeverity",(function(){return Ta})),i.d(t,"MarkerTag",(function(){return Aa})),i.d(t,"Uri",(function(){return Ra})),i.d(t,"Token",(function(){return Pa})),i.d(t,"editor",(function(){return Fa})),i.d(t,"languages",(function(){return Ba}));t=i("fd49");var n,o,s,r,a,l,d,h,c,u,g,p,m,f,_,b,v,C,w,y,S,L,x,k,D,N,O,E,I,M,T,A,R,P,F,B=i("2504"),j=i("308f"),W=i("fe45"),V=i("6d8e"),H=i("7061"),z=i("6a89"),U=i("8025"),K=i("4dc7");(oe=n=n||{})[oe.Unknown=0]="Unknown",oe[oe.Disabled=1]="Disabled",oe[oe.Enabled=2]="Enabled",(oe=o=o||{})[oe.KeepWhitespace=1]="KeepWhitespace",oe[oe.InsertAsSnippet=4]="InsertAsSnippet",(oe=s=s||{})[oe.Method=0]="Method",oe[oe.Function=1]="Function",oe[oe.Constructor=2]="Constructor",oe[oe.Field=3]="Field",oe[oe.Variable=4]="Variable",oe[oe.Class=5]="Class",oe[oe.Struct=6]="Struct",oe[oe.Interface=7]="Interface",oe[oe.Module=8]="Module",oe[oe.Property=9]="Property",oe[oe.Event=10]="Event",oe[oe.Operator=11]="Operator",oe[oe.Unit=12]="Unit",oe[oe.Value=13]="Value",oe[oe.Constant=14]="Constant",oe[oe.Enum=15]="Enum",oe[oe.EnumMember=16]="EnumMember",oe[oe.Keyword=17]="Keyword",oe[oe.Text=18]="Text",oe[oe.Color=19]="Color",oe[oe.File=20]="File",oe[oe.Reference=21]="Reference",oe[oe.Customcolor=22]="Customcolor",oe[oe.Folder=23]="Folder",oe[oe.TypeParameter=24]="TypeParameter",oe[oe.User=25]="User",oe[oe.Issue=26]="Issue",oe[oe.Snippet=27]="Snippet",r=r||{},r[r.Deprecated=1]="Deprecated",(oe=a=a||{})[oe.Invoke=0]="Invoke",oe[oe.TriggerCharacter=1]="TriggerCharacter",oe[oe.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(oe=l=l||{})[oe.EXACT=0]="EXACT",oe[oe.ABOVE=1]="ABOVE",oe[oe.BELOW=2]="BELOW",(oe=d=d||{})[oe.NotSet=0]="NotSet",oe[oe.ContentFlush=1]="ContentFlush",oe[oe.RecoverFromMarkers=2]="RecoverFromMarkers",oe[oe.Explicit=3]="Explicit",oe[oe.Paste=4]="Paste",oe[oe.Undo=5]="Undo",oe[oe.Redo=6]="Redo",(oe=h=h||{})[oe.LF=1]="LF",oe[oe.CRLF=2]="CRLF",(oe=c=c||{})[oe.Text=0]="Text",oe[oe.Read=1]="Read",oe[oe.Write=2]="Write",(oe=u=u||{})[oe.None=0]="None",oe[oe.Keep=1]="Keep",oe[oe.Brackets=2]="Brackets",oe[oe.Advanced=3]="Advanced",oe[oe.Full=4]="Full",(oe=g=g||{})[oe.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",oe[oe.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",oe[oe.accessibilitySupport=2]="accessibilitySupport",oe[oe.accessibilityPageSize=3]="accessibilityPageSize",oe[oe.ariaLabel=4]="ariaLabel",oe[oe.autoClosingBrackets=5]="autoClosingBrackets",oe[oe.autoClosingDelete=6]="autoClosingDelete",oe[oe.autoClosingOvertype=7]="autoClosingOvertype",oe[oe.autoClosingQuotes=8]="autoClosingQuotes",oe[oe.autoIndent=9]="autoIndent",oe[oe.automaticLayout=10]="automaticLayout",oe[oe.autoSurround=11]="autoSurround",oe[oe.bracketPairColorization=12]="bracketPairColorization",oe[oe.codeLens=13]="codeLens",oe[oe.codeLensFontFamily=14]="codeLensFontFamily",oe[oe.codeLensFontSize=15]="codeLensFontSize",oe[oe.colorDecorators=16]="colorDecorators",oe[oe.columnSelection=17]="columnSelection",oe[oe.comments=18]="comments",oe[oe.contextmenu=19]="contextmenu",oe[oe.copyWithSyntaxHighlighting=20]="copyWithSyntaxHighlighting",oe[oe.cursorBlinking=21]="cursorBlinking",oe[oe.cursorSmoothCaretAnimation=22]="cursorSmoothCaretAnimation",oe[oe.cursorStyle=23]="cursorStyle",oe[oe.cursorSurroundingLines=24]="cursorSurroundingLines",oe[oe.cursorSurroundingLinesStyle=25]="cursorSurroundingLinesStyle",oe[oe.cursorWidth=26]="cursorWidth",oe[oe.disableLayerHinting=27]="disableLayerHinting",oe[oe.disableMonospaceOptimizations=28]="disableMonospaceOptimizations",oe[oe.domReadOnly=29]="domReadOnly",oe[oe.dragAndDrop=30]="dragAndDrop",oe[oe.emptySelectionClipboard=31]="emptySelectionClipboard",oe[oe.extraEditorClassName=32]="extraEditorClassName",oe[oe.fastScrollSensitivity=33]="fastScrollSensitivity",oe[oe.find=34]="find",oe[oe.fixedOverflowWidgets=35]="fixedOverflowWidgets",oe[oe.folding=36]="folding",oe[oe.foldingStrategy=37]="foldingStrategy",oe[oe.foldingHighlight=38]="foldingHighlight",oe[oe.foldingImportsByDefault=39]="foldingImportsByDefault",oe[oe.unfoldOnClickAfterEndOfLine=40]="unfoldOnClickAfterEndOfLine",oe[oe.fontFamily=41]="fontFamily",oe[oe.fontInfo=42]="fontInfo",oe[oe.fontLigatures=43]="fontLigatures",oe[oe.fontSize=44]="fontSize",oe[oe.fontWeight=45]="fontWeight",oe[oe.formatOnPaste=46]="formatOnPaste",oe[oe.formatOnType=47]="formatOnType",oe[oe.glyphMargin=48]="glyphMargin",oe[oe.gotoLocation=49]="gotoLocation",oe[oe.hideCursorInOverviewRuler=50]="hideCursorInOverviewRuler",oe[oe.highlightActiveIndentGuide=51]="highlightActiveIndentGuide",oe[oe.hover=52]="hover",oe[oe.inDiffEditor=53]="inDiffEditor",oe[oe.inlineSuggest=54]="inlineSuggest",oe[oe.letterSpacing=55]="letterSpacing",oe[oe.lightbulb=56]="lightbulb",oe[oe.lineDecorationsWidth=57]="lineDecorationsWidth",oe[oe.lineHeight=58]="lineHeight",oe[oe.lineNumbers=59]="lineNumbers",oe[oe.lineNumbersMinChars=60]="lineNumbersMinChars",oe[oe.linkedEditing=61]="linkedEditing",oe[oe.links=62]="links",oe[oe.matchBrackets=63]="matchBrackets",oe[oe.minimap=64]="minimap",oe[oe.mouseStyle=65]="mouseStyle",oe[oe.mouseWheelScrollSensitivity=66]="mouseWheelScrollSensitivity",oe[oe.mouseWheelZoom=67]="mouseWheelZoom",oe[oe.multiCursorMergeOverlapping=68]="multiCursorMergeOverlapping",oe[oe.multiCursorModifier=69]="multiCursorModifier",oe[oe.multiCursorPaste=70]="multiCursorPaste",oe[oe.occurrencesHighlight=71]="occurrencesHighlight",oe[oe.overviewRulerBorder=72]="overviewRulerBorder",oe[oe.overviewRulerLanes=73]="overviewRulerLanes",oe[oe.padding=74]="padding",oe[oe.parameterHints=75]="parameterHints",oe[oe.peekWidgetDefaultFocus=76]="peekWidgetDefaultFocus",oe[oe.definitionLinkOpensInPeek=77]="definitionLinkOpensInPeek",oe[oe.quickSuggestions=78]="quickSuggestions",oe[oe.quickSuggestionsDelay=79]="quickSuggestionsDelay",oe[oe.readOnly=80]="readOnly",oe[oe.renameOnType=81]="renameOnType",oe[oe.renderControlCharacters=82]="renderControlCharacters",oe[oe.renderIndentGuides=83]="renderIndentGuides",oe[oe.renderFinalNewline=84]="renderFinalNewline",oe[oe.renderLineHighlight=85]="renderLineHighlight",oe[oe.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",oe[oe.renderValidationDecorations=87]="renderValidationDecorations",oe[oe.renderWhitespace=88]="renderWhitespace",oe[oe.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",oe[oe.roundedSelection=90]="roundedSelection",oe[oe.rulers=91]="rulers",oe[oe.scrollbar=92]="scrollbar",oe[oe.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",oe[oe.scrollBeyondLastLine=94]="scrollBeyondLastLine",oe[oe.scrollPredominantAxis=95]="scrollPredominantAxis",oe[oe.selectionClipboard=96]="selectionClipboard",oe[oe.selectionHighlight=97]="selectionHighlight",oe[oe.selectOnLineNumbers=98]="selectOnLineNumbers",oe[oe.showFoldingControls=99]="showFoldingControls",oe[oe.showUnused=100]="showUnused",oe[oe.snippetSuggestions=101]="snippetSuggestions",oe[oe.smartSelect=102]="smartSelect",oe[oe.smoothScrolling=103]="smoothScrolling",oe[oe.stickyTabStops=104]="stickyTabStops",oe[oe.stopRenderingLineAfter=105]="stopRenderingLineAfter",oe[oe.suggest=106]="suggest",oe[oe.suggestFontSize=107]="suggestFontSize",oe[oe.suggestLineHeight=108]="suggestLineHeight",oe[oe.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",oe[oe.suggestSelection=110]="suggestSelection",oe[oe.tabCompletion=111]="tabCompletion",oe[oe.tabIndex=112]="tabIndex",oe[oe.unusualLineTerminators=113]="unusualLineTerminators",oe[oe.useShadowDOM=114]="useShadowDOM",oe[oe.useTabStops=115]="useTabStops",oe[oe.wordSeparators=116]="wordSeparators",oe[oe.wordWrap=117]="wordWrap",oe[oe.wordWrapBreakAfterCharacters=118]="wordWrapBreakAfterCharacters",oe[oe.wordWrapBreakBeforeCharacters=119]="wordWrapBreakBeforeCharacters",oe[oe.wordWrapColumn=120]="wordWrapColumn",oe[oe.wordWrapOverride1=121]="wordWrapOverride1",oe[oe.wordWrapOverride2=122]="wordWrapOverride2",oe[oe.wrappingIndent=123]="wrappingIndent",oe[oe.wrappingStrategy=124]="wrappingStrategy",oe[oe.showDeprecated=125]="showDeprecated",oe[oe.inlayHints=126]="inlayHints",oe[oe.editorClassName=127]="editorClassName",oe[oe.pixelRatio=128]="pixelRatio",oe[oe.tabFocusMode=129]="tabFocusMode",oe[oe.layoutInfo=130]="layoutInfo",oe[oe.wrappingInfo=131]="wrappingInfo",(oe=p=p||{})[oe.TextDefined=0]="TextDefined",oe[oe.LF=1]="LF",oe[oe.CRLF=2]="CRLF",(oe=m=m||{})[oe.LF=0]="LF",oe[oe.CRLF=1]="CRLF",(oe=f=f||{})[oe.None=0]="None",oe[oe.Indent=1]="Indent",oe[oe.IndentOutdent=2]="IndentOutdent",oe[oe.Outdent=3]="Outdent",(oe=_=_||{})[oe.Other=0]="Other",oe[oe.Type=1]="Type",oe[oe.Parameter=2]="Parameter",(oe=b=b||{})[oe.Automatic=0]="Automatic",oe[oe.Explicit=1]="Explicit",(oe=v=v||{})[oe.DependsOnKbLayout=-1]="DependsOnKbLayout",oe[oe.Unknown=0]="Unknown",oe[oe.Backspace=1]="Backspace",oe[oe.Tab=2]="Tab",oe[oe.Enter=3]="Enter",oe[oe.Shift=4]="Shift",oe[oe.Ctrl=5]="Ctrl",oe[oe.Alt=6]="Alt",oe[oe.PauseBreak=7]="PauseBreak",oe[oe.CapsLock=8]="CapsLock",oe[oe.Escape=9]="Escape",oe[oe.Space=10]="Space",oe[oe.PageUp=11]="PageUp",oe[oe.PageDown=12]="PageDown",oe[oe.End=13]="End",oe[oe.Home=14]="Home",oe[oe.LeftArrow=15]="LeftArrow",oe[oe.UpArrow=16]="UpArrow",oe[oe.RightArrow=17]="RightArrow",oe[oe.DownArrow=18]="DownArrow",oe[oe.Insert=19]="Insert",oe[oe.Delete=20]="Delete",oe[oe.KEY_0=21]="KEY_0",oe[oe.KEY_1=22]="KEY_1",oe[oe.KEY_2=23]="KEY_2",oe[oe.KEY_3=24]="KEY_3",oe[oe.KEY_4=25]="KEY_4",oe[oe.KEY_5=26]="KEY_5",oe[oe.KEY_6=27]="KEY_6",oe[oe.KEY_7=28]="KEY_7",oe[oe.KEY_8=29]="KEY_8",oe[oe.KEY_9=30]="KEY_9",oe[oe.KEY_A=31]="KEY_A",oe[oe.KEY_B=32]="KEY_B",oe[oe.KEY_C=33]="KEY_C",oe[oe.KEY_D=34]="KEY_D",oe[oe.KEY_E=35]="KEY_E",oe[oe.KEY_F=36]="KEY_F",oe[oe.KEY_G=37]="KEY_G",oe[oe.KEY_H=38]="KEY_H",oe[oe.KEY_I=39]="KEY_I",oe[oe.KEY_J=40]="KEY_J",oe[oe.KEY_K=41]="KEY_K",oe[oe.KEY_L=42]="KEY_L",oe[oe.KEY_M=43]="KEY_M",oe[oe.KEY_N=44]="KEY_N",oe[oe.KEY_O=45]="KEY_O",oe[oe.KEY_P=46]="KEY_P",oe[oe.KEY_Q=47]="KEY_Q",oe[oe.KEY_R=48]="KEY_R",oe[oe.KEY_S=49]="KEY_S",oe[oe.KEY_T=50]="KEY_T",oe[oe.KEY_U=51]="KEY_U",oe[oe.KEY_V=52]="KEY_V",oe[oe.KEY_W=53]="KEY_W",oe[oe.KEY_X=54]="KEY_X",oe[oe.KEY_Y=55]="KEY_Y",oe[oe.KEY_Z=56]="KEY_Z",oe[oe.Meta=57]="Meta",oe[oe.ContextMenu=58]="ContextMenu",oe[oe.F1=59]="F1",oe[oe.F2=60]="F2",oe[oe.F3=61]="F3",oe[oe.F4=62]="F4",oe[oe.F5=63]="F5",oe[oe.F6=64]="F6",oe[oe.F7=65]="F7",oe[oe.F8=66]="F8",oe[oe.F9=67]="F9",oe[oe.F10=68]="F10",oe[oe.F11=69]="F11",oe[oe.F12=70]="F12",oe[oe.F13=71]="F13",oe[oe.F14=72]="F14",oe[oe.F15=73]="F15",oe[oe.F16=74]="F16",oe[oe.F17=75]="F17",oe[oe.F18=76]="F18",oe[oe.F19=77]="F19",oe[oe.NumLock=78]="NumLock",oe[oe.ScrollLock=79]="ScrollLock",oe[oe.US_SEMICOLON=80]="US_SEMICOLON",oe[oe.US_EQUAL=81]="US_EQUAL",oe[oe.US_COMMA=82]="US_COMMA",oe[oe.US_MINUS=83]="US_MINUS",oe[oe.US_DOT=84]="US_DOT",oe[oe.US_SLASH=85]="US_SLASH",oe[oe.US_BACKTICK=86]="US_BACKTICK",oe[oe.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",oe[oe.US_BACKSLASH=88]="US_BACKSLASH",oe[oe.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",oe[oe.US_QUOTE=90]="US_QUOTE",oe[oe.OEM_8=91]="OEM_8",oe[oe.OEM_102=92]="OEM_102",oe[oe.NUMPAD_0=93]="NUMPAD_0",oe[oe.NUMPAD_1=94]="NUMPAD_1",oe[oe.NUMPAD_2=95]="NUMPAD_2",oe[oe.NUMPAD_3=96]="NUMPAD_3",oe[oe.NUMPAD_4=97]="NUMPAD_4",oe[oe.NUMPAD_5=98]="NUMPAD_5",oe[oe.NUMPAD_6=99]="NUMPAD_6",oe[oe.NUMPAD_7=100]="NUMPAD_7",oe[oe.NUMPAD_8=101]="NUMPAD_8",oe[oe.NUMPAD_9=102]="NUMPAD_9",oe[oe.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",oe[oe.NUMPAD_ADD=104]="NUMPAD_ADD",oe[oe.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",oe[oe.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",oe[oe.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",oe[oe.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",oe[oe.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",oe[oe.ABNT_C1=110]="ABNT_C1",oe[oe.ABNT_C2=111]="ABNT_C2",oe[oe.MAX_VALUE=112]="MAX_VALUE",(oe=C=C||{})[oe.Hint=1]="Hint",oe[oe.Info=2]="Info",oe[oe.Warning=4]="Warning",oe[oe.Error=8]="Error",(oe=w=w||{})[oe.Unnecessary=1]="Unnecessary",oe[oe.Deprecated=2]="Deprecated",(oe=y=y||{})[oe.Inline=1]="Inline",oe[oe.Gutter=2]="Gutter",(oe=S=S||{})[oe.UNKNOWN=0]="UNKNOWN",oe[oe.TEXTAREA=1]="TEXTAREA",oe[oe.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",oe[oe.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",oe[oe.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",oe[oe.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",oe[oe.CONTENT_TEXT=6]="CONTENT_TEXT",oe[oe.CONTENT_EMPTY=7]="CONTENT_EMPTY",oe[oe.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",oe[oe.CONTENT_WIDGET=9]="CONTENT_WIDGET",oe[oe.OVERVIEW_RULER=10]="OVERVIEW_RULER",oe[oe.SCROLLBAR=11]="SCROLLBAR",oe[oe.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",oe[oe.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(oe=L=L||{})[oe.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",oe[oe.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",oe[oe.TOP_CENTER=2]="TOP_CENTER",(oe=x=x||{})[oe.Left=1]="Left",oe[oe.Center=2]="Center",oe[oe.Right=4]="Right",oe[oe.Full=7]="Full",(oe=k=k||{})[oe.Off=0]="Off",oe[oe.On=1]="On",oe[oe.Relative=2]="Relative",oe[oe.Interval=3]="Interval",oe[oe.Custom=4]="Custom",(oe=D=D||{})[oe.None=0]="None",oe[oe.Text=1]="Text",oe[oe.Blocks=2]="Blocks",(oe=N=N||{})[oe.Smooth=0]="Smooth",oe[oe.Immediate=1]="Immediate",(oe=O=O||{})[oe.Auto=1]="Auto",oe[oe.Hidden=2]="Hidden",oe[oe.Visible=3]="Visible",(oe=E=E||{})[oe.LTR=0]="LTR",oe[oe.RTL=1]="RTL",(oe=I=I||{})[oe.Invoke=1]="Invoke",oe[oe.TriggerCharacter=2]="TriggerCharacter",oe[oe.ContentChange=3]="ContentChange",(oe=M=M||{})[oe.File=0]="File",oe[oe.Module=1]="Module",oe[oe.Namespace=2]="Namespace",oe[oe.Package=3]="Package",oe[oe.Class=4]="Class",oe[oe.Method=5]="Method",oe[oe.Property=6]="Property",oe[oe.Field=7]="Field",oe[oe.Constructor=8]="Constructor",oe[oe.Enum=9]="Enum",oe[oe.Interface=10]="Interface",oe[oe.Function=11]="Function",oe[oe.Variable=12]="Variable",oe[oe.Constant=13]="Constant",oe[oe.String=14]="String",oe[oe.Number=15]="Number",oe[oe.Boolean=16]="Boolean",oe[oe.Array=17]="Array",oe[oe.Object=18]="Object",oe[oe.Key=19]="Key",oe[oe.Null=20]="Null",oe[oe.EnumMember=21]="EnumMember",oe[oe.Struct=22]="Struct",oe[oe.Event=23]="Event",oe[oe.Operator=24]="Operator",oe[oe.TypeParameter=25]="TypeParameter",T=T||{},T[T.Deprecated=1]="Deprecated",(oe=A=A||{})[oe.Hidden=0]="Hidden",oe[oe.Blink=1]="Blink",oe[oe.Smooth=2]="Smooth",oe[oe.Phase=3]="Phase",oe[oe.Expand=4]="Expand",oe[oe.Solid=5]="Solid",(oe=R=R||{})[oe.Line=1]="Line",oe[oe.Block=2]="Block",oe[oe.Underline=3]="Underline",oe[oe.LineThin=4]="LineThin",oe[oe.BlockOutline=5]="BlockOutline",oe[oe.UnderlineThin=6]="UnderlineThin",(oe=P=P||{})[oe.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",oe[oe.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",oe[oe.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",oe[oe.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(oe=F=F||{})[oe.None=0]="None",oe[oe.Same=1]="Same",oe[oe.Indent=2]="Indent",oe[oe.DeepIndent=3]="DeepIndent";class q{static chord(e,t){return Object(W.a)(e,t)}}function $(){return{editor:void 0,languages:void 0,CancellationTokenSource:B.b,Emitter:j.b,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:E,MarkerSeverity:C,MarkerTag:w,Uri:V.a,Token:K.a}}q.CtrlCmd=2048,q.Shift=1024,q.Alt=512,q.WinCtrl=256,i("b223");var G,Z=i("5717"),Y=i("11f7"),X=i("db88"),Q=i("40355"),J=i("438a"),ee=i("b589"),te=i("82c9"),ie=i("9e74"),ne=((oe=G=G||{})[oe.API=0]="API",oe[oe.USER=1]="USER",i("5bd7")),oe=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.with({path:null,fragment:null,query:null}).toString()),this._externalOpeners=new X.a,this._defaultExternalOpener={openExternal:e=>re(this,void 0,void 0,(function*(){return Object(ne.c)(e,ee.c.http)||Object(ne.c)(e,ee.c.https)?Y.Z(e):window.location.href=e,!0}))},this._openers.push({open:(e,t)=>re(this,void 0,void 0,(function*(){return!!(null!=t&&t.openExternal||Object(ne.c)(e,ee.c.mailto)||Object(ne.c)(e,ee.c.http)||Object(ne.c)(e,ee.c.https))&&(yield this._doOpenExternal(e,t),!0)}))}),this._openers.push(new ae(t)),this._openers.push(new le(e))}registerOpener(e){return{dispose:this._openers.unshift(e)}}registerValidator(e){return{dispose:this._validators.push(e)}}registerExternalUriResolver(e){return{dispose:this._resolvers.push(e)}}setDefaultExternalOpener(e){this._defaultExternalOpener=e}registerExternalOpener(e){return{dispose:this._externalOpeners.push(e)}}open(e,t){var i;return re(this,void 0,void 0,(function*(){var n="string"==typeof e?V.a.parse(e):e,o=null!=(i=this._resolvedUriTargets.get(n))?i:e;for(const e of this._validators)if(!(yield e.shouldOpen(o)))return!1;for(const i of this._openers)if(yield i.open(e,t))return!0;return!1}))}resolveExternalUri(e,t){return re(this,void 0,void 0,(function*(){for(const n of this._resolvers)try{var i=yield n.resolveExternalUri(e,t);if(i)return this._resolvedUriTargets.has(i.resolved)||this._resolvedUriTargets.set(i.resolved,e),i}catch(i){}throw new Error("Could not resolve external URI: "+e.toString())}))}_doOpenExternal(e,t){return re(this,void 0,void 0,(function*(){const i="string"==typeof e?V.a.parse(e):e;let n,o;try{n=(yield this.resolveExternalUri(i,t)).resolved}catch(o){n=i}if(o="string"==typeof e&&i.toString()===n.toString()?e:encodeURI(n.toString(!0)),null!=t&&t.allowContributedOpeners){var s="string"!=typeof(null==t?void 0:t.allowContributedOpeners)||null==t?void 0:t.allowContributedOpeners;for(const e of this._externalOpeners)if(yield e.openExternal(o,{sourceUri:i,preferredOpenerId:s},B.a.None))return!0}return this._defaultExternalOpener.openExternal(o,{sourceUri:i},B.a.None)}))}dispose(){this._validators.clear()}});de=oe([se(0,Z.a),se(1,ie.b)],de);var he=i("d0b6"),ce=(oe=i("fb71"),i("8ae8")),ue=i("3352"),ge=i("b707"),pe=i("8bf1"),me=i("a40b"),fe=i("5818"),_e=i("b78f"),be=i("5fe7"),ve=i("a666"),Ce=i("fdcc"),we=i("30db"),ye=i("ef8e9");const Se="$initialize";let Le=!1;function xe(){we.h&&(Le=Le||!0)}class ke{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let i=String(++this._lastSentReq);return new Promise((n,o)=>{this._pendingReplies[i]={resolve:n,reject:o},this._send({vsWorker:this._workerId,req:i,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){var t=e;if(!this._pendingReplies[t.seq])return;let i=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;return t.err.$isError&&((e=new Error).name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),void i.reject(e)}i.resolve(t.res)}else{let t=e.req,i=this._handler.handleMessage(e.method,e.args);i.then(e=>{this._send({vsWorker:this._workerId,seq:t,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=Object(Ce.h)(e.detail)),this._send({vsWorker:this._workerId,seq:t,res:void 0,err:Object(Ce.h)(e)})})}}_send(e){let t=[];if(e.req){var i=e;for(let e=0;e{this._protocol.handleMessage(e)},e=>{n&&n(e)})),this._protocol=new ke({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t)=>{if("function"!=typeof i[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(i[e].apply(i,t))}catch(e){return Promise.reject(e)}}}),this._protocol.setWorkerId(this._worker.getId()),null);void 0!==self.require&&"function"==typeof self.require.getConfig?o=self.require.getConfig():void 0!==self.requirejs&&(o=self.requirejs.s.contexts._.config),e=ye.e(i),this._onModuleLoaded=this._protocol.sendMessage(Se,[this._worker.getId(),JSON.parse(JSON.stringify(o)),t,e]);const s=(e,t)=>this._request(e,t);this._lazyProxy=new Promise((e,i)=>{n=i,this._onModuleLoaded.then(t=>{e(ye.d(t,s))},e=>{i(e),this._onError("Worker failed to load "+t,e)})})}getProxyObject(){return this._lazyProxy}_request(e,t){return new Promise((i,n)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,t).then(i,n)},n)})}_onError(e,t){}}const Ne=null==(se=window.trustedTypes)?void 0:se.createPolicy("defaultWorkerFactory",{createScriptURL:e=>e});class Oe{constructor(e,t,i,n,o){this.id=t,t=function(e,t){if(we.b.MonacoEnvironment){if("function"==typeof we.b.MonacoEnvironment.getWorker)return we.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof we.b.MonacoEnvironment.getWorkerUrl)return e=we.b.MonacoEnvironment.getWorkerUrl(e,t),new Worker(Ne?Ne.createScriptURL(e):e,{name:t})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",i),"function"==typeof t.then?this.worker=t:this.worker=Promise.resolve(t),this.postMessage(e,[]),this.worker.then(e=>{e.onmessage=function(e){n(e.data)},e.onmessageerror=o,"function"==typeof e.addEventListener&&e.addEventListener("error",o)})}getId(){return this.id}postMessage(e,t){this.worker&&this.worker.then(i=>i.postMessage(e,t))}dispose(){this.worker&&this.worker.then(e=>e.terminate()),this.worker=null}}class Ee{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,t,i){var n=++Ee.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Oe(e,n,this._label||"anonymous"+n,t,e=>{xe(),this._webWorkerFailedBeforeError=e,i(e)})}}Ee.LAST_WORKER_ID=0;var Ie=i("70cb"),Me=i("1b0e"),Te=i("3742");function Ae(e,t,i,n){const o=new Me.a(e,t,i);return o.ComputeDiff(n)}class Re{constructor(e){const t=[],i=[];for(let n=0,o=e.length;n!0;const t=Date.now();return()=>Date.now()-tt&&(t=o),s>(i=n>i?n:i)&&(i=s)}t++,i++;let r=new qe(i,t,0);for(let h=0,c=e.length;h=this._maxCharCode?0:this._states.get(e,t)}}let Ge=null,Ze=null;class Ye{static _createLink(e,t,i,n,o){let s=o-1;do{var r=t.charCodeAt(s);if(2!==e.get(r))break}while(--s>n);var a;return 0this._lines.length?(t=this._lines.length,i=this._lines[t-1].length+1,n=!0):(o=this._lines[t-1].length+1,i<1?(i=1,n=!0):i>o&&(i=o,n=!0)),n?{lineNumber:t,column:i}:e}}class tt{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new et(V.a.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){if(this._models[e]){let i=this._models[e];i.onEvents(t)}}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,i,n){return Je(this,void 0,void 0,(function*(){const o=this._getModel(e),s=this._getModel(t);if(!o||!s)return null;var r=o.getLinesContent(),a=s.getLinesContent();const l=new je(r,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:i,shouldMakePrettyDiff:!0,maxComputationTime:n});return r=l.computeDiff(),a=!(0e.range&&t.range?z.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)))if("number"==typeof a&&(o=a),(!z.a.isEmpty(s)||r)&&(a=i.getValueInRange(s),a!==(r=r.replace(/\r\n|\n|\r/g,i.eol))))if(Math.max(r.length,a.length)>tt._diffLimit)n.push({range:s,text:r});else{var a=Object(Me.b)(a,r,!1),l=i.offsetAt(z.a.lift(s).getStartPosition());for(const e of a){var d=i.positionAt(l+e.originalStart),h=i.positionAt(l+e.originalStart+e.originalLength);d={text:r.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:d.lineNumber,startColumn:d.column,endLineNumber:h.lineNumber,endColumn:h.column}};i.getValueInRange(d.range)!==d.text&&n.push(d)}}return"number"==typeof o&&n.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),n}))}computeLinks(e){return Je(this,void 0,void 0,(function*(){var t=this._getModel(e);return t?(t=t)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?Ye.computeLinks(t):[]:null}))}textualSuggest(e,t,i,n){return Je(this,void 0,void 0,(function*(){const o=new Qe.a(!0);var s=new RegExp(i,n);const r=new Set;e:for(var a of e){const e=this._getModel(a);if(e)for(var l of e.words(s))if(l!==t&&isNaN(Number(l))&&(r.add(l),r.size>tt._suggestionsLimit))break e}return{words:Array.from(r),duration:o.elapsed()}}))}computeWordRanges(e,t,i,n){return Je(this,void 0,void 0,(function*(){let o=this._getModel(e);if(!o)return Object.create(null);var s=new RegExp(i,n);const r=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t)),this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:i,getMirrorModels:()=>this._getModels()},t),Promise.resolve(ye.e(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}tt._diffLimit=1e5,tt._suggestionsLimit=1e4,"function"==typeof importScripts&&(we.b.monaco=$());var it=i("1b69"),nt=(se=i("7b4a"),i("e8e3")),ot=i("d3d7"),st=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3lt(this._modelService,e.uri)?this._workerManager.withWorker().then(t=>t.computeLinks(e.uri)).then(e=>e&&{links:e}):Promise.resolve({links:[]})})),this._register(ge.d.register("*",new ht(this._workerManager,t,this._modelService)))}dispose(){super.dispose()}canComputeDiff(e,t){return lt(this._modelService,e)&<(this._modelService,t)}computeDiff(e,t,i,n){return this._workerManager.withWorker().then(o=>o.computeDiff(e,t,i,n))}computeMoreMinimalEdits(e,t){if(Object(nt.n)(t)){if(!lt(this._modelService,e))return Promise.resolve(t);const i=Qe.a.create(!0),n=this._workerManager.withWorker().then(i=>i.computeMoreMinimalEdits(e,t));return n.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),i.elapsed())),Promise.race([n,Object(be.n)(1e3).then(()=>t)])}return Promise.resolve(void 0)}canNavigateValueSet(e){return lt(this._modelService,e)}navigateValueSet(e,t,i){return this._workerManager.withWorker().then(n=>n.navigateValueSet(e,t,i))}canComputeWordRanges(e){return lt(this._modelService,e)}computeWordRanges(e,t){return this._workerManager.withWorker().then(i=>i.computeWordRanges(e,t))}};dt=st([rt(0,it.a),rt(1,se.a),rt(2,ot.b)],dt);class ht{constructor(e,t,i){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=i}provideCompletionItems(e,t){return at(this,void 0,void 0,(function*(){var i=this._configurationService.getValue(e.uri,t,"editor");if(i.wordBasedSuggestions){const s=[];if("currentDocument"===i.wordBasedSuggestionsMode)lt(this._modelService,e.uri)&&s.push(e.uri);else for(const t of this._modelService.getModels())lt(this._modelService,t.uri)&&(t===e?s.unshift(t.uri):"allDocuments"!==i.wordBasedSuggestionsMode&&t.getLanguageIdentifier().id!==e.getLanguageIdentifier().id||s.push(t.uri));if(0!==s.length){var n=Ie.a.getWordDefinition(e.getLanguageIdentifier().id),o=e.getWordAtPosition(t);const i=o?new z.a(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn):z.a.fromPositions(t),r=i.setEndPosition(t.lineNumber,t.column),a=yield this._workerManager.withWorker(),l=yield a.textualSuggest(s,null==o?void 0:o.word,n);if(l)return{duration:l.duration,suggestions:l.words.map(e=>({kind:18,label:e,insertText:e,range:{insert:r,replace:i}}))}}}}))}}class ct extends ve.a{constructor(e){super(),this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=(new Date).getTime();let t=this._register(new be.c);t.cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(15e4)),this._register(this._modelService.onModelRemoved(e=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){this._editorWorkerClient&&0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){this._editorWorkerClient&&3e5<(new Date).getTime()-this._lastWorkerUsedTime&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new mt(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)}}class ut extends ve.a{constructor(e,t,i){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!i){let e=new be.c;e.cancelAndSet(()=>this._checkStopModelSync(),Math.round(3e4)),this._register(e)}}dispose(){for(var e in this._syncedModels)Object(ve.f)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e){for(const i of e){var t=i.toString();this._syncedModels[t]||this._beginModelSync(i),this._syncedModels[t]&&(this._syncedModelsLastUsedTime[t]=(new Date).getTime())}}_checkStopModelSync(){var e,t=(new Date).getTime();let i=[];for(e in this._syncedModelsLastUsedTime)6e4{this._proxy.acceptModelChanged(i.toString(),e)})),n.add(t.onWillDispose(()=>{this._stopModelSync(i)})),n.add(Object(ve.i)(()=>{this._proxy.acceptRemovedModel(i)})),this._syncedModels[i]=n}}_stopModelSync(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(ve.f)(t)}}class gt{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class pt{constructor(e){this._workerClient=e}fhr(e,t){return this._workerClient.fhr(e,t)}}class mt extends ve.a{constructor(e,t,i){super(),this._disposed=!1,this._modelService=e,this._keepIdleModels=t,this._workerFactory=new Ee(i),this._worker=null,this._modelManager=null}fhr(e,t){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new De(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new pt(this)))}catch(t){xe(),this._worker=new gt(new tt(new pt(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(xe(),this._worker=new gt(new tt(new pt(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new ut(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e){return this._disposed?Promise.reject(Object(Ce.b)()):this._getProxy().then(t=>(this._getOrCreateModelManager(t).ensureSyncedResources(e),t))}computeDiff(e,t,i,n){return this._withSyncedResources([e,t]).then(o=>o.computeDiff(e.toString(),t.toString(),i,n))}computeMoreMinimalEdits(e,t){return this._withSyncedResources([e]).then(i=>i.computeMoreMinimalEdits(e.toString(),t))}computeLinks(e){return this._withSyncedResources([e]).then(t=>t.computeLinks(e.toString()))}textualSuggest(e,t,i){return at(this,void 0,void 0,(function*(){const n=yield this._withSyncedResources(e);var o=i.source,s=Object(Te.M)(i);return n.textualSuggest(e.map(e=>e.toString()),t,o,s)}))}computeWordRanges(e,t){return this._withSyncedResources([e]).then(i=>{let n=this._modelService.getModel(e);var o,s;return n?(o=(s=Ie.a.getWordDefinition(n.getLanguageIdentifier().id)).source,s=Object(Te.M)(s),i.computeWordRanges(e.toString(),t,o,s)):Promise.resolve(null)})}navigateValueSet(e,t,i){return this._withSyncedResources([e]).then(n=>{let o=this._modelService.getModel(e);var s,r;return o?(s=(r=Ie.a.getWordDefinition(o.getLanguageIdentifier().id)).source,r=Object(Te.M)(r),n.navigateValueSet(e.toString(),t,i,s,r)):null})}dispose(){super.dispose(),this._disposed=!0}}class ft extends mt{constructor(e,t){super(e,t.keepIdleModels||!1,t.label),this._foreignModuleId=t.moduleId,this._foreignModuleCreateData=t.createData||null,this._foreignModuleHost=t.host||null,this._foreignProxy=null}fhr(e,t){if(!this._foreignModuleHost||"function"!=typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(e){return Promise.reject(e)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{var t=this._foreignModuleHost?ye.e(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,t).then(t=>{this._foreignModuleCreateData=null;var i=(t,i)=>e.fmr(t,i);let n={};for(const e of t)n[e]=((e,t)=>function(){var i=Array.prototype.slice.call(arguments,0);return t(e,i)})(e,i);return n})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(e=>this.getProxy())}}var _t=i("e1b5"),bt=i("6da2"),vt=i("a8d0");function Ct(e){return!Array.isArray(e)}function wt(e){return"string"==typeof e}function yt(e){return!wt(e)}function St(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Lt(e){return e.replace(/[&<>'"_]/g,"-")}function xt(e,t){return new Error(e.languageId+": "+t)}function kt(e,t,i,n,o){let s=null;return t.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,(function(t,r,a,l,d,h,c,u,g){return a?"$":l?St(e,i):d&&d=this._maxCacheDepth)return new Ot(e,t);let i=Ot.getStackElementId(e),n=(0=this._maxCacheDepth)return new Mt(e,t);t=Ot.getStackElementId(e);let i=this._entries[t];return i||(i=new Mt(e,null),this._entries[t]=i),i}}It._INSTANCE=new It(5);class Mt{constructor(e,t){this.stack=e,this.embeddedModeData=t}clone(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:It.create(this.stack,this.embeddedModeData)}equals(e){return e instanceof Mt&&!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData))}}class Tt{constructor(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterMode(e,t){this._language=t}emit(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new K.a(e,t,this._language)))}nestedModeTokenize(e,t,i,n){var o=i.modeId;i=i.state;const s=ge.F.get(o);return s?(e=s.tokenize(e,t,i,n),this._tokens=this._tokens.concat(e.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,e.endState):(this.enterMode(n,o),this.emit(n,""),i)}finalize(e){return new K.b(this._tokens,e)}}class At{constructor(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterMode(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id}emit(e,t){t=this._theme.match(this._currentLanguageId,t),this._lastTokenMetadata!==t&&(this._lastTokenMetadata=t,this._tokens.push(e),this._tokens.push(t))}static _merge(e,t,i){var n=null!==e?e.length:0,o=t.length,s=null!==i?i.length:0;if(0===n&&0===o&&0===s)return new Uint32Array(0);if(0===n&&0===o)return i;if(0===o&&0===s)return e;let r=new Uint32Array(n+o+s);null!==e&&r.set(e);for(let a=0;a{if(!o){let i=!1;for(let n=0,o=e.changedLanguages.length;n{})}}getInitialState(){var e=Nt.create(null,this._lexer.start);return It.create(e,null)}tokenize(e,t,i,n){let o=new Tt;return e=this._tokenize(e,t,i,n,o),o.finalize(e)}tokenize2(e,t,i,n){let o=new At(this._modeService,this._standaloneThemeService.getColorTheme().tokenTheme);return e=this._tokenize(e,t,i,n,o),o.finalize(e)}_tokenize(e,t,i,n,o){return i.embeddedModeData?this._nestedTokenize(e,t,i,n,o):this._myTokenize(e,t,i,n,o)}_findLeavingNestedModeOffset(e,t){let i=this._lexer.tokenizer[t.stack.state];if(!i&&!(i=Dt(this._lexer,t.stack.state)))throw xt(this._lexer,"tokenizer state is not defined: "+t.stack.state);let n=-1,o=!1;for(const r of i)if(yt(r.action)&&"@pop"===r.action.nextEmbedded){o=!0;let t=r.regex,i=r.regex.source;"^(?:"===i.substr(0,4)&&")"===i.substr(i.length-1,1)&&(s=(t.ignoreCase?"i":"")+(t.unicode?"u":""),t=new RegExp(i.substr(4,i.length-5),s));var s=e.search(t);-1===s||0!==s&&r.matchOnlyAtLineStart||(-1===n||s=a)break;u=!1;let e=this._lexer.tokenizer[f];if(!e&&!(e=Dt(this._lexer,f)))throw xt(this._lexer,"tokenizer state is not defined: "+f);let t=r.substr(h);for(const n of e)if((0===h||!n.matchOnlyAtLineStart)&&(i=t.match(n.regex))){b=i[0],v=n.action;break}}if(i||(i=[""],b=""),v||(h=this._lexer.maxStack)throw xt(this._lexer,"maximum tokenizer stack size reached: ["+d.state+","+d.parent.state+",...]");d=d.push(f)}else if("@pop"===v.next){if(d.depth<=1)throw xt(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(C));d=d.pop()}else if("@popall"===v.next)d=d.popall();else{let e=kt(this._lexer,v.next,b,i,f);if("@"===e[0]&&(e=e.substr(1)),!Dt(this._lexer,e))throw xt(this._lexer,"trying to set a next state '"+e+"' that is undefined in rule: "+this._safeRuleName(C));d=d.push(e)}}v.log&&"string"==typeof v.log&&(this._lexer,this._lexer.languageId,kt(this._lexer,v.log,b,i,f))}if(null===y)throw xt(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(C));if(_=i=>{var s=this._modeService.getModeIdForLanguageName(i);s=this._getNestedEmbeddedModeData(i=s||i);return he});class Ft{static colorizeElement(e,t,i,n){var o=(n=n||{}).theme||"vs",s=n.mimeType||i.getAttribute("lang")||i.getAttribute("data-lang");return s?(e.setTheme(o),e=i.firstChild?i.firstChild.nodeValue:"",i.className+=" "+o,this.colorize(t,e||"",s,n).then(e=>{var t=null!=(t=null===Pt||void 0===Pt?void 0:Pt.createHTML(e))?t:e;i.innerHTML=t},e=>{})):Promise.resolve()}static colorize(e,t,i,n){let o=4,s=(n&&"number"==typeof n.tabSize&&(o=n.tabSize),Te.S(t)&&(t=t.substr(1)),Te.Q(t)),r=e.getModeId(i);if(!r)return Promise.resolve(jt(s,o));if(e.triggerMode(r),n=ge.F.get(r),n)return Bt(s,o,n);const a=ge.F.getPromise(r);return new Promise(a?(e,t)=>{a.then(i=>{Bt(s,o,i).then(e,t)},t)}:(e,t)=>{let i=null,n=null;const a=()=>{i&&(i.dispose(),i=null),n&&(n.dispose(),n=null);var a=ge.F.get(r);a?Bt(s,o,a).then(e,t):e(jt(s,o))};(n=new be.g).cancelAndSet(a,500),i=ge.F.onDidChange(e=>{0<=e.changedLanguages.indexOf(r)&&a()})})}static colorizeLine(e,t,i,n,o=4){return t=vt.f.isBasicASCII(e,t),i=vt.f.containsRTL(e,t,i),Object(bt.e)(new bt.c(!1,!0,e,!1,t,i,0,n,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,t,i=4){var n=e.getLineContent(t);e.forceTokenization(t);let o=e.getLineTokens(t);return t=o.inflate(),this.colorizeLine(n,e.mightContainNonBasicASCII(),e.mightContainRTL(),t,i)}}function Bt(e,t,i){return new Promise((n,o)=>{const s=()=>{var r=function(e,t,i){let n=[],o=i.getInitialState();for(let d=0,h=e.length;d"),o=r.endState}return n.join("")}(e,t,i);if(i instanceof Rt){const e=i.getLoadStatus();if(!1===e.loaded)return void e.promise.then(s,o)}n(r)};s()})}function jt(e,t){let i=[];const n=new Uint32Array(2);n[0]=0,n[1]=16793600;for(let l=0,d=e.length;l")}return i.join("")}var Wt=i("b835"),Vt=i("4b76"),Ht=i("b055"),zt=i("c7f5"),Ut=i("8830"),Kt=i("d3f4"),qt=i("fbba"),$t=i("aa3d"),Gt=i("0910");class Zt{constructor(e={},t=[],i=[]){this._contents=e,this._keys=t,this._overrides=i,this.isFrozen=!1}get contents(){return this.checkAndFreeze(this._contents)}get overrides(){return this.checkAndFreeze(this._overrides)}get keys(){return this.checkAndFreeze(this._keys)}isEmpty(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length}getValue(e){return e?Object(qt.d)(this.contents,e):this.contents}override(e){var t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;let i={};for(const o of nt.f([...Object.keys(this.contents),...Object.keys(t)])){let e=this.contents[o];var n=t[o];n&&("object"==typeof e&&"object"==typeof n?(e=$t.b(e),this.mergeContents(e,n)):e=n),i[o]=e}return new Zt(i,this.keys,this.overrides)}merge(...e){var t=$t.b(this.contents);const i=$t.b(this.overrides),n=[...this.keys];for(const s of e){this.mergeContents(t,s.contents);for(const e of s.overrides){var[o]=i.filter(t=>nt.h(t.identifiers,e.identifiers));o?this.mergeContents(o.contents,e.contents):i.push($t.b(e))}for(const e of s.keys)-1===n.indexOf(e)&&n.push(e)}return new Zt(t,n,i)}freeze(){return this.isFrozen=!0,this}mergeContents(e,t){for(const i of Object.keys(t))i in e&&ye.j(e[i])&&ye.j(t[i])?this.mergeContents(e[i],t[i]):e[i]=$t.b(t[i])}checkAndFreeze(e){return this.isFrozen&&!Object.isFrozen(e)?$t.c(e):e}getContentsForOverrideIdentifer(e){for(const t of this.overrides)if(-1!==t.identifiers.indexOf(e))return t.contents;return null}toJSON(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}}setValue(e,t){this.addKey(e),Object(qt.b)(this.contents,e,t,e=>{throw new Error(e)})}removeValue(e){this.removeKey(e)&&Object(qt.f)(this.contents,e)}addKey(e){let t=this.keys.length;for(let i=0;i{})});super(e,t,i)}}class Xt{constructor(e,t,i=new Zt,n=new Zt,o=new Q.b,s=new Zt,r=new Q.b,a=!0){this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=i,this._workspaceConfiguration=n,this._folderConfigurations=o,this._memoryConfiguration=s,this._memoryConfigurationByResource=r,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Q.b,this._userConfiguration=null}getValue(e,t,i){const n=this.getConsolidateConfigurationModel(t,i);return n.getValue(e)}updateValue(e,t,i={}){let n;i.resource?(n=this._memoryConfigurationByResource.get(i.resource))||(n=new Zt,this._memoryConfigurationByResource.set(i.resource,n)):n=this._memoryConfiguration,void 0===t?n.removeValue(e):n.setValue(e,t),i.resource||(this._workspaceConsolidatedConfiguration=null)}get userConfiguration(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration}getConsolidateConfigurationModel(e,t){let i=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?i.override(e.overrideIdentifier):i}getConsolidatedConfigurationModelForResource({resource:e},t){let i=this.getWorkspaceConsolidatedConfiguration();return t&&e&&((t=t.getFolder(e))&&(i=this.getFolderConsolidatedConfiguration(t.uri)||i),(t=this._memoryConfigurationByResource.get(e))&&(i=i.merge(t))),i}getWorkspaceConsolidatedConfiguration(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration}getFolderConsolidatedConfiguration(e){let t=this._foldersConsolidatedConfigurations.get(e);if(!t){const n=this.getWorkspaceConsolidatedConfiguration();var i=this._folderConfigurations.get(e);i?(t=n.merge(i),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t}toData(){return{defaults:{contents:this._defaultConfiguration.contents,overrides:this._defaultConfiguration.overrides,keys:this._defaultConfiguration.keys},user:{contents:this.userConfiguration.contents,overrides:this.userConfiguration.overrides,keys:this.userConfiguration.keys},workspace:{contents:this._workspaceConfiguration.contents,overrides:this._workspaceConfiguration.overrides,keys:this._workspaceConfiguration.keys},folders:[...this._folderConfigurations.keys()].reduce((e,t)=>{var{contents:i,overrides:n,keys:o}=this._folderConfigurations.get(t);return e.push([t,{contents:i,overrides:n,keys:o}]),e},[])}}static parse(e){var t=this.parseConfigurationModel(e.defaults),i=this.parseConfigurationModel(e.user),n=this.parseConfigurationModel(e.workspace);e=e.folders.reduce((e,t)=>(e.set(V.a.revive(t[0]),this.parseConfigurationModel(t[1])),e),new Q.b);return new Xt(t,i,new Zt,n,e,new Zt,new Q.b,!1)}static parseConfigurationModel(e){return new Zt(e.contents,e.keys,e.overrides).freeze()}}class Qt{constructor(e,t,i,n){this.change=e,this.previous=t,this.currentConfiguraiton=i,this.currentWorkspace=n,this._previousConfiguration=void 0;const o=new Set,s=(e.keys.forEach(e=>o.add(e)),e.overrides.forEach(([,e])=>e.forEach(e=>o.add(e))),this.affectedKeys=[...o.values()],new Zt);this.affectedKeys.forEach(e=>s.setValue(e,{})),this.affectedKeysTree=s.contents}get previousConfiguration(){return!this._previousConfiguration&&this.previous&&(this._previousConfiguration=Xt.parse(this.previous.data)),this._previousConfiguration}affectsConfiguration(e,t){var i;return!!this.doesAffectedKeysTreeContains(this.affectedKeysTree,e)&&(!t||(i=this.previousConfiguration?this.previousConfiguration.getValue(e,t,null==(i=this.previous)?void 0:i.workspace):void 0,e=this.currentConfiguraiton.getValue(e,t,this.currentWorkspace),!$t.d(i,e)))}doesAffectedKeysTreeContains(e,t){let i,n=Object(qt.g)({[t]:!0},()=>{});for(;"object"==typeof n&&(i=Object.keys(n)[0]);){if(!(e=e[i]))return!1;n=n[i]}return!0}}var Jt=i("dff7");class ei extends ve.a{constructor(e,t,i,n,o){super(),this._contextKeyService=e,this._commandService=t,this._telemetryService=i,this._notificationService=n,this._logService=o,this._onDidUpdateKeybindings=this._register(new j.b),this._currentChord=null,this._currentChordChecker=new be.c,this._currentChordStatusMessage=null,this._currentSingleModifier=null,this._currentSingleModifierClearTimeout=new be.g,this._logging=!1}get onDidUpdateKeybindings(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:j.c.None}dispose(){super.dispose()}_log(e){this._logging&&this._logService.info("[KeybindingService]: "+e)}getKeybindings(){return this._getResolver().getKeybindings()}lookupKeybinding(e,t){if(e=this._getResolver().lookupPrimaryKeybinding(e,t||this._contextKeyService),e)return e.resolvedKeybinding}dispatchEvent(e,t){return this._dispatch(e,t)}softDispatch(e,t){const i=this.resolveKeyboardEvent(e);var n;return i.isChord()||([e]=i.getDispatchParts(),null===e)?null:(t=this._contextKeyService.getContext(t),n=this._currentChord?this._currentChord.keypress:null,this._getResolver().resolve(t,n,e))}_enterChordMode(e,t){this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Jt.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t));const i=Date.now();this._currentChordChecker.cancelAndSet(()=>{(!this._documentHasFocus()||5e3{this._log("+ Clearing single modifier due to 300ms elapsed."),this._currentSingleModifier=null},300);else{if(null!==e&&e===this._currentSingleModifier)return this._log(`/ Dispatching single modifier chord ${e} `+e),this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null,this._doDispatch(i,t,!0);this._currentSingleModifierClearTimeout.cancel(),this._currentSingleModifier=null}return!1}_doDispatch(e,t,i=!1){let n=!1;if(e.isChord())return!1;let o=null,s=null;return s=i?([i]=e.getSingleModifierDispatchParts(),o=i):([o]=e.getDispatchParts(),this._currentChord?this._currentChord.keypress:null),null===o?this._log("\\ Keyboard event cannot be dispatched in keydown phase."):(i=this._contextKeyService.getContext(t),t=e.getLabel(),e=this._getResolver().resolve(i,s,o),this._logService.trace("KeybindingService#dispatch",t,null==e?void 0:e.commandId),e&&e.enterChord?(n=!0,this._enterChordMode(o,t)):(!this._currentChord||e&&e.commandId||(this._notificationService.status(Jt.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,t),{hideAfter:1e4}),n=!0),this._leaveChordMode(),e&&e.commandId&&(e.bubble||(n=!0),void 0===e.commandArgs?this._commandService.executeCommand(e.commandId).then(void 0,e=>this._notificationService.warn(e)):this._commandService.executeCommand(e.commandId,e.commandArgs).then(void 0,e=>this._notificationService.warn(e)),this._telemetryService.publicLog2("workbenchActionExecuted",{id:e.commandId,from:"keybinding"})))),n}mightProducePrintableCharacter(e){return!e.ctrlKey&&!e.metaKey&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30)}}var ti=i("4fc3");class ii{constructor(e,t,i){this._log=i,this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(let s=0,r=e.length;sthis._getLabel(e))}getAriaLabel(){return li.a.toLabel(this._os,this._parts,e=>this._getAriaLabel(e))}isChord(){return 1this._getPart(e))}_getPart(e){return new W.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))}getDispatchParts(){return this._parts.map(e=>this._getDispatchPart(e))}getSingleModifierDispatchParts(){return this._parts.map(e=>this._getSingleModifierDispatchPart(e))}}class hi extends di{constructor(e,t){super(t,e.parts)}_keyCodeToUILabel(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return W.b.toString(e)}_getLabel(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)}_getAriaLabel(e){return e.isDuplicateModifierCase()?"":W.b.toString(e.keyCode)}_getDispatchPart(e){return hi.getDispatchStr(e)}static getDispatchStr(e){if(e.isModifierKey())return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+W.b.toString(e.keyCode)}_getSingleModifierDispatchPart(e){return 5!==e.keyCode||e.shiftKey||e.altKey||e.metaKey?4!==e.keyCode||e.ctrlKey||e.altKey||e.metaKey?6!==e.keyCode||e.ctrlKey||e.shiftKey||e.metaKey?57!==e.keyCode||e.ctrlKey||e.shiftKey||e.altKey?null:"meta":"alt":"shift":"ctrl"}}var ci=i("b0cd"),ui=i("1165"),gi=i("03d9"),pi=(rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.findModel(t,e),o=t=>this.findModel(t.getOriginalEditor(),e)||this.findModel(t.getModifiedEditor(),e),(Object(Ht.b)(i)?n:o)(i)):t)?Promise.resolve(new ve.c(new mi(t))):Promise.reject(new Error("Model not found"))}findModel(e,t){let i=this.modelService.getModel(t);return i&&i.uri.toString()!==t.toString()?null:i}};fi=rt([st(0,it.a)],fi);class _i{show(){return _i.NULL_PROGRESS_RUNNER}showWhile(e,t){return pi(this,void 0,void 0,(function*(){yield e}))}}_i.NULL_PROGRESS_RUNNER={done:()=>{},total:()=>{},worked:()=>{}};class bi{confirm(e){return this.doConfirm(e).then(e=>({confirmed:e,checkboxChecked:!1}))}doConfirm(e){let t=e.message;return e.detail&&(t=t+"\n\n"+e.detail),Promise.resolve(window.confirm(t))}show(e,t,i,n){return Promise.resolve({choice:0})}}class vi{info(e){return this.notify({severity:Vt.a.Info,message:e})}warn(e){return this.notify({severity:Vt.a.Warning,message:e})}error(e){return this.notify({severity:Vt.a.Error,message:e})}notify(e){switch(e.severity){case Vt.a.Error:case Vt.a.Warning:}return vi.NO_OP}status(e,t){return ve.a.None}}vi.NO_OP=new ci.b;class Ci{constructor(e){this._onWillExecuteCommand=new j.b,this._onDidExecuteCommand=new j.b,this.onDidExecuteCommand=this._onDidExecuteCommand.event,this._instantiationService=e}executeCommand(e,...t){var i=ie.a.getCommand(e);if(!i)return Promise.reject(new Error(`command '${e}' not found`));try{this._onWillExecuteCommand.fire({commandId:e,args:t});var n=this._instantiationService.invokeFunction.apply(this._instantiationService,[i.handler,...t]);return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(n)}catch(e){return Promise.reject(e)}}}class wi extends ei{constructor(e,t,i,n,o,s){super(e,t,i,n,o),this._cachedResolver=null,this._dynamicKeybindings=[],this._register(Y.i(s,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);this._dispatch(t,t.target)&&(t.preventDefault(),t.stopPropagation())})),this._register(Y.i(window,Y.d.KEY_UP,e=>{const t=new Wt.a(e);this._singleModifierDispatch(t,t.target)&&t.preventDefault()}))}addDynamicKeybinding(e,t,i,n){t=Object(W.f)(t,we.a);const o=new ve.b;return t&&(this._dynamicKeybindings.push({keybinding:t,command:e,when:n,weight1:1e3,weight2:0,extensionId:null,isBuiltinExtension:!1}),o.add(Object(ve.i)(()=>{for(let t=0;tthis._log(e))),this._cachedResolver}_documentHasFocus(){return document.hasFocus()}_toNormalizedKeybindingItems(e,t){let i=[],n=0;for(const r of e){var o=r.when||void 0,s=r.keybinding;if(s)for(const e of this.resolveKeybinding(s))i[n++]=new ri(e,r.command,r.commandArgs,o,t,null,!1);else i[n++]=new ri(void 0,r.command,r.commandArgs,o,t,null,!1)}return i}resolveKeybinding(e){return[new hi(e,we.a)]}resolveKeyboardEvent(e){return e=new W.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord(),new hi(e,we.a)}}function yi(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof V.a)}class Si{constructor(){this._onDidChangeConfiguration=new j.b,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new Xt(new Yt,new Zt)}getValue(e,t){var i="string"==typeof e?e:void 0;e=yi(e)?e:yi(t)?t:{};return this._configuration.getValue(i,e,void 0)}updateValues(e){var t={data:this._configuration.toData()};let i=[];for(const s of e){var[n,o]=s;this.getValue(n)!==o&&(this._configuration.updateValue(n,o),i.push(n))}if(0{this._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:(t,i)=>e.affectsConfiguration(i)})})}getValue(e,t,i){return i=H.a.isIPosition(t)&&t?"string"==typeof i?i:void 0:"string"==typeof t?t:void 0,void 0===i?this.configurationService.getValue():this.configurationService.getValue(i)}}let xi=class{constructor(e){this.configurationService=e}getEOL(e,t){return t=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e}),t&&"string"==typeof t&&"auto"!==t?t:we.d||we.f?"\n":"\r\n"}};xi=rt([st(0,qt.a)],xi);class ki{publicLog(e,t){return Promise.resolve(void 0)}publicLog2(e,t){return this.publicLog(e,t)}}class Di{constructor(){var e=V.a.from({scheme:Di.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new ui.b({uri:e,name:"",index:0})]}}getWorkspace(){return this.workspace}}function Ni(e,t,i){if(t&&e instanceof Si){let n=[];Object.keys(t).forEach(e=>{Object(Ut.d)(e)&&n.push(["editor."+e,t[e]]),i&&Object(Ut.c)(e)&&n.push(["diffEditor."+e,t[e]])}),0[]),e.pushStackElement(),o+=1,n+=s.length;return{ariaSummary:Te.v(gi.g.bulkEditServiceSummary,n,o)}}))}}class Ei{getUriLabel(e,t){return"file"===e.scheme?e.fsPath:e.path}}class Ii{constructor(e,t){this._codeEditorService=e,this._container=t,this.onDidLayout=j.c.None}get dimension(){return this._dimension||(this._dimension=Y.z(window.document.body)),this._dimension}get container(){return this._container}focus(){var e;null!=(e=this._codeEditorService.getFocusedCodeEditor())&&e.focus()}}var Mi=i("3813"),Ti=(rt=i("9c1d"),st=i("4a64"),i("f58f")),Ai=i("b1ca"),Ri=i("7e32"),Pi=i("533b"),Fi=i("0a0f"),Bi=i("6dec"),ji=i("b7d0"),Wi=i("4779"),Vi=i("f577"),Hi=i("b539");class zi extends ve.a{constructor(){super(),this._onCodeEditorAdd=this._register(new j.b),this.onCodeEditorAdd=this._onCodeEditorAdd.event,this._onCodeEditorRemove=this._register(new j.b),this.onCodeEditorRemove=this._onCodeEditorRemove.event,this._onDiffEditorAdd=this._register(new j.b),this._onDiffEditorRemove=this._register(new j.b),this._onDecorationTypeRegistered=this._register(new j.b),this._modelProperties=new Map,this._codeEditors=Object.create(null),this._diffEditors=Object.create(null)}addCodeEditor(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)}removeCodeEditor(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)}listCodeEditors(){return Object.keys(this._codeEditors).map(e=>this._codeEditors[e])}addDiffEditor(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)}removeDiffEditor(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)}listDiffEditors(){return Object.keys(this._diffEditors).map(e=>this._diffEditors[e])}getFocusedCodeEditor(){let e=null;for(const t of this.listCodeEditors()){if(t.hasTextFocus())return t;t.hasWidgetFocus()&&(e=t)}return e}setModelProperty(e,t,i){let n;e=e.toString(),this._modelProperties.has(e)?n=this._modelProperties.get(e):(n=new Map,this._modelProperties.set(e,n)),n.set(t,i)}getModelProperty(e,t){if(e=e.toString(),this._modelProperties.has(e)){const i=this._modelProperties.get(e);return i.get(t)}}}class Ui{constructor(e,t,i){this._parent=e,this._editorId=t,this._styleSheet=i,this._refCount=0}ref(){this._refCount++}unref(){var e;this._refCount--,0===this._refCount&&(null!=(e=this._styleSheet.parentNode)&&e.removeChild(this._styleSheet),this._parent._removeEditorStyleSheets(this._editorId))}insertRule(e,t){const i=this._styleSheet.sheet;i.insertRule(e,t)}removeRulesContainingSelector(e){Y.Q(e,this._styleSheet)}}class Ki{constructor(e){this._styleSheet=e}ref(){}unref(){}insertRule(e,t){const i=this._styleSheet.sheet;i.insertRule(e,t)}removeRulesContainingSelector(e){Y.Q(e,this._styleSheet)}}var qi=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3t.removeDecorations(e))))}resolveDecorationOptions(e,t){const i=this._decorationOptionProviders.get(e);if(i)return i.getOptions(this,t);throw new Error("Unknown decoration type key: "+e)}});class $i{constructor(e,t,i){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=i.parentTypeKey,this.refCount=0,this._beforeContentRules=new Yi(3,i,e),this._afterContentRules=new Yi(4,i,e)}getOptions(e,t){const i=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(i.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(i.afterContentClassName=this._afterContentRules.className),i}dispose(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()}}class Gi{constructor(e,t,i,n){this._disposables=new ve.b,this.description=e,this._styleSheet=i,this._styleSheet.ref(),this.refCount=0;e=e=>{if(e=new Yi(e,n,t),this._disposables.add(e),e.hasContent)return e.className},i=e=>(e=new Yi(e,n,t),this._disposables.add(e),e.hasContent?{className:e.className,hasLetterSpacing:e.hasLetterSpacing}:null);var o=(this.className=e(0),i(1));o&&(this.inlineClassName=o.className,this.inlineClassNameAffectsLetterSpacing=o.hasLetterSpacing),this.beforeContentClassName=e(3),this.afterContentClassName=e(4),n.options.beforeInjectedText&&n.options.beforeInjectedText.contentText&&(o=i(5),this.beforeInjectedText={content:n.options.beforeInjectedText.contentText,inlineClassName:null==o?void 0:o.className,inlineClassNameAffectsLetterSpacing:(null==o?void 0:o.hasLetterSpacing)||n.options.beforeInjectedText.affectsLetterSpacing}),n.options.afterInjectedText&&n.options.afterInjectedText.contentText&&(o=i(6),this.afterInjectedText={content:n.options.afterInjectedText.contentText,inlineClassName:null==o?void 0:o.className,inlineClassNameAffectsLetterSpacing:(null==o?void 0:o.hasLetterSpacing)||n.options.afterInjectedText.affectsLetterSpacing}),this.glyphMarginClassName=e(2),i=n.options,this.isWholeLine=Boolean(i.isWholeLine),this.stickiness=i.rangeBehavior,o=i.light&&i.light.overviewRulerColor||i.overviewRulerColor,e=i.dark&&i.dark.overviewRulerColor||i.overviewRulerColor;void 0===o&&void 0===e||(this.overviewRuler={color:o||e,darkColor:e||o,position:i.overviewRulerLane||ue.d.Center})}getOptions(e,t){return t?{description:this.description,inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness,before:this.beforeInjectedText}:this}dispose(){this._disposables.dispose(),this._styleSheet.unref()}}const Zi={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",fontSize:"font-size:{0};",fontFamily:"font-family:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",padding:"padding:{0};",width:"width:{0};",height:"height:{0};",verticalAlign:"vertical-align:{0};"};class Yi{constructor(e,t,i){this._theme=i.getColorTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;let n=Xi.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(n=n+" "+Xi.getClassName(this._providerArgs.parentTypeKey,e)),this._className=n,this._unThemedSelector=Xi.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=i.onDidColorThemeChange(e=>{this._theme=i.getColorTheme(),this._removeCSS(),this._buildCSS()}):this._themeListener=null}dispose(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)}get hasContent(){return this._hasContent}get hasLetterSpacing(){return this._hasLetterSpacing}get className(){return this._className}_buildCSS(){var e=this._providerArgs.options;let t,i,n;switch(this._ruleType){case 0:t=this.getCSSTextForModelDecorationClassName(e),i=this.getCSSTextForModelDecorationClassName(e.light),n=this.getCSSTextForModelDecorationClassName(e.dark);break;case 1:t=this.getCSSTextForModelDecorationInlineClassName(e),i=this.getCSSTextForModelDecorationInlineClassName(e.light),n=this.getCSSTextForModelDecorationInlineClassName(e.dark);break;case 2:t=this.getCSSTextForModelDecorationGlyphMarginClassName(e),i=this.getCSSTextForModelDecorationGlyphMarginClassName(e.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(e.dark);break;case 3:t=this.getCSSTextForModelDecorationContentClassName(e.before),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.before),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.before);break;case 4:t=this.getCSSTextForModelDecorationContentClassName(e.after),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.after),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.after);break;case 5:t=this.getCSSTextForModelDecorationContentClassName(e.beforeInjectedText),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.beforeInjectedText),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.beforeInjectedText);break;case 6:t=this.getCSSTextForModelDecorationContentClassName(e.afterInjectedText),i=this.getCSSTextForModelDecorationContentClassName(e.light&&e.light.afterInjectedText),n=this.getCSSTextForModelDecorationContentClassName(e.dark&&e.dark.afterInjectedText);break;default:throw new Error("Unknown rule type: "+this._ruleType)}const o=this._providerArgs.styleSheet;let s=!1;0this._checkContextKey()),this.onCodeEditorRemove(()=>this._checkContextKey()),this._editorIsOpen=t.createKey("editorIsOpen",!1),this._activeCodeEditor=null}_checkContextKey(){let e=!1;for(const t of this.listCodeEditors())if(!t.isSimpleWidget){e=!0;break}this._editorIsOpen.set(e)}setActiveCodeEditor(e){this._activeCodeEditor=e}getActiveCodeEditor(){return this._activeCodeEditor}openCodeEditor(e,t,i){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)}doOpenEditor(e,t){if(this.findModel(e,t.resource))return(i=t.options?t.options.selection:null)&&("number"==typeof i.endLineNumber&&"number"==typeof i.endColumn?(e.setSelection(i),e.revealRangeInCenter(i,1)):(i={lineNumber:i.startLineNumber,column:i.startColumn},e.setPosition(i),e.revealPositionInCenter(i,1))),e;if(t.resource){var i=t.resource.scheme;if(i===ee.c.http||i===ee.c.https)return Object(Y.Z)(t.resource.toString()),e}return null}findModel(e,t){const i=e.getModel();return i&&i.uri.toString()!==t.toString()?null:i}};Ji=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3Promise.resolve(e.run(this,...i));const d=new ve.b;var h=this.getId()+":"+t;if(d.add(ie.a.registerCommand(h,l)),r&&d.add(Ri.d.appendMenuItem(Ri.b.EditorContext,{command:{id:h,title:i},when:n,group:r,order:a})),Array.isArray(o))for(const c of o)d.add(this._standaloneKeybindingService.addDynamicKeybinding(h,c,l,s));return r=new Ti.a(h,i,i,n,l,this._contextKeyService),this._actions[t]=r,d.add(Object(ve.i)(()=>{delete this._actions[t]})),d}_triggerCommand(e,t){if(this._codeEditorService instanceof Ji)try{this._codeEditorService.setActiveCodeEditor(this),super._triggerCommand(e,t)}finally{this._codeEditorService.setActiveCodeEditor(null)}else super._triggerCommand(e,t)}},sn=class extends(on=qi([Qi(2,Fi.a),Qi(3,Z.a),Qi(4,ie.b),Qi(5,ti.b),Qi(6,Bi.a),Qi(7,ji.b),Qi(8,ci.a),Qi(9,Wi.b)],on)){constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){const m=Object.assign({},t);Ni(c,m,!1);t=d.registerEditorContainer(e);var f=("string"==typeof m.theme&&d.setTheme(m.theme),void 0!==m.autoDetectHighContrast&&d.setAutoDetectHighContrast(Boolean(m.autoDetectHighContrast)),m.model);let _;delete m.model,super(e,m,n,o,s,r,a,d,h,u),this._contextViewService=l,this._configurationService=c,this._standaloneThemeService=d,this._register(i),this._register(t),void 0===f?(_=an(g,p,m.value||"",m.language||en.a.text,void 0),this._ownsModel=!0):(_=f,this._ownsModel=!1),this._attachModel(_),_&&(e={oldModelUrl:null,newModelUrl:_.uri},this._onDidChangeModel.fire(e))}dispose(){super.dispose()}updateOptions(e){Ni(this._configurationService,e,!1),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_attachModel(e){super._attachModel(e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)}_postDetachModelCleanup(e){super._postDetachModelCleanup(e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)}},rn=(sn=qi([Qi(3,Fi.a),Qi(4,Z.a),Qi(5,ie.b),Qi(6,ti.b),Qi(7,Bi.a),Qi(8,Pi.b),Qi(9,Ai.a),Qi(10,ci.a),Qi(11,qt.a),Qi(12,Wi.b),Qi(13,it.a),Qi(14,fe.a)],sn),class extends st.a{constructor(e,t,i,n,o,s,r,a,l,d,h,c,u,g,p){t=Object.assign({},t);var m=(Ni(c,t,!0),d.registerEditorContainer(e));"string"==typeof t.theme&&d.setTheme(t.theme),void 0!==t.autoDetectHighContrast&&d.setAutoDetectHighContrast(Boolean(t.autoDetectHighContrast)),super(e,t,{},p,a,o,n,l,d,h,u,g),this._contextViewService=r,this._configurationService=c,this._standaloneThemeService=d,this._register(i),this._register(m),this._contextViewService.setContainer(this._containerDomElement)}dispose(){super.dispose()}updateOptions(e){Ni(this._configurationService,e,!0),"string"==typeof e.theme&&this._standaloneThemeService.setTheme(e.theme),void 0!==e.autoDetectHighContrast&&this._standaloneThemeService.setAutoDetectHighContrast(Boolean(e.autoDetectHighContrast)),super.updateOptions(e)}_createInnerEditor(e,t,i){return e.createInstance(on,t,i)}getOriginalEditor(){return super.getOriginalEditor()}getModifiedEditor(){return super.getModifiedEditor()}addCommand(e,t,i){return this.getModifiedEditor().addCommand(e,t,i)}createContextKey(e,t){return this.getModifiedEditor().createContextKey(e,t)}addAction(e){return this.getModifiedEditor().addAction(e)}});function an(e,t,i,n,o){if(i=i||"",n)return ln(e,i,t.create(n),o);{n=i.indexOf("\n");let s=i;return-1!==n&&(s=i.substring(0,n)),ln(e,i,t.createByFilepathOrFirstLine(o||null,s),o)}}function ln(e,t,i,n){return e.createModel(t,i,n)}rn=qi([Qi(3,Fi.a),Qi(4,ti.b),Qi(5,Bi.a),Qi(6,Pi.b),Qi(7,me.a),Qi(8,Z.a),Qi(9,Ai.a),Qi(10,ci.a),Qi(11,qt.a),Qi(12,Pi.a),Qi(13,Hi.a),Qi(14,Vi.a)],rn);class dn{constructor(e){this._languageIdentifier=e}getId(){return this._languageIdentifier.language}}var hn=i("32a4"),cn=i("89cd");const un=Object.prototype.hasOwnProperty;class gn extends ve.a{constructor(e=!0,t=!1){super(),this._onDidChange=this._register(new j.b),this.onDidChange=this._onDidChange.event,this._warnOnOverwrite=t,this._nextLanguageId2=1,this._languageIdToLanguage=[],this._languageToLanguageId=Object.create(null),this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},e&&(this._initializeFromRegistry(),this._register(hn.a.onDidChangeLanguages(e=>this._initializeFromRegistry())))}_initializeFromRegistry(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=hn.a.getLanguages();this._registerLanguages(e)}_registerLanguages(e){for(const t of e)this._registerLanguage(t);this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(e=>{let t=this._languages[e];t.name&&(this._nameMap[t.name]=t.identifier),t.aliases.forEach(e=>{this._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(e=>{this._mimeTypesMap[e]=t.identifier})}),cn.a.as(Gt.a.Configuration).registerOverrideIdentifiers(hn.a.getLanguages().map(e=>e.id)),this._onDidChange.fire()}_getLanguageId(e){var t;return this._languageToLanguageId[e]||(t=this._nextLanguageId2++,this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t)}_registerLanguage(e){var t,i=e.id;let n;un.call(this._languages,i)?n=this._languages[i]:(t=this._getLanguageId(i),n={identifier:new ge.u(i,t),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[i]=n),this._mergeLanguage(n,e)}_mergeLanguage(e,t){var i=t.id;let n=null;if(Array.isArray(t.mimetypes)&&0e.trim()).map(e=>un.call(this._mimeTypesMap,e)?this._mimeTypesMap[e].language:e).filter(e=>un.call(this._languages,e)):[]}getLanguageIdentifier(e){if(e===pe.b||0===e)return pe.a;let t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return un.call(this._languages,t)?this._languages[t].identifier:null}getModeIdsFromFilepathOrFirstLine(e,t){if(!e&&!t)return[];let i=en.b(e,t);return this.extractModeIds(i.join(","))}}class pn{constructor(e,t){let i;this._selector=t,this.languageIdentifier=this._selector(),this._onDidChange=new j.b({onFirstListenerAdd:()=>{i=e(()=>this._evaluate())},onLastListenerRemove:()=>{i.dispose()}}),this.onDidChange=this._onDidChange.event}_evaluate(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))}}class mn extends ve.a{constructor(e=!1){super(),this._onDidCreateMode=this._register(new j.b),this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=this._register(new j.b({leakWarningThreshold:200})),this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=this._register(new gn(!0,e)),this._register(this._registry.onDidChange(()=>this._onLanguagesMaybeChanged.fire()))}isRegisteredMode(e){return this._registry.isRegisteredMode(e)}getModeIdForLanguageName(e){return this._registry.getModeIdForLanguageNameLowercase(e)}getModeIdByFilepathOrFirstLine(e,t){return e=this._registry.getModeIdsFromFilepathOrFirstLine(e,t),Object(nt.j)(e,null)}getModeId(e){return e=this._registry.extractModeIds(e),Object(nt.j)(e,null)}getLanguageIdentifier(e){return this._registry.getLanguageIdentifier(e)}create(e){return new pn(this.onLanguagesMaybeChanged,()=>{var t=this.getModeId(e);return this._createModeAndGetLanguageIdentifier(t)})}createByFilepathOrFirstLine(e,t){return new pn(this.onLanguagesMaybeChanged,()=>{var i=this.getModeIdByFilepathOrFirstLine(e,t);return this._createModeAndGetLanguageIdentifier(i)})}_createModeAndGetLanguageIdentifier(e){return e=this.getLanguageIdentifier(e||"plaintext")||pe.a,this._getOrCreateMode(e.language),e}triggerMode(e){e=this.getModeId(e),this._getOrCreateMode(e||"plaintext")}_getOrCreateMode(e){var t;return this._instantiatedModes.hasOwnProperty(e)||(t=this.getLanguageIdentifier(e)||pe.a,this._instantiatedModes[e]=new dn(t),this._onDidCreateMode.fire(this._instantiatedModes[e])),this._instantiatedModes[e]}}var fn=i("d1a7"),_n=i("ceb8");class bn{constructor(e,t,i,n,o){this._parsedThemeRuleBrand=void 0,this.token=e,this.index=t,this.fontStyle=i,this.foreground=n,this.background=o}}function vn(e,t){e.sort((e,t)=>{var i=function(e,t){return e>>0,this._cache.set(t,i)),(i|e<<0)>>>0}}const Sn=/\b(comment|string|regex|regexp)\b/;class Ln{constructor(e,t,i){this._themeTrieElementRuleBrand=void 0,this._fontStyle=e,this._foreground=t,this._background=i,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}clone(){return new Ln(this._fontStyle,this._foreground,this._background)}acceptOverwrite(e,t,i){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==i&&(this._background=i),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}}class xn{constructor(e){this._themeTrieElementBrand=void 0,this._mainRule=e,this._children=new Map}match(e){if(""===e)return this._mainRule;var t=e.indexOf(".");let i,n,o=(n=-1===t?(i=e,""):(i=e.substring(0,t),e.substring(t+1)),this._children.get(i));return void 0!==o?o.match(n):this._mainRule}insert(e,t,i,n){if(""===e)this._mainRule.acceptOverwrite(t,i,n);else{var o=e.indexOf(".");let s,r,a=(r=-1===o?(s=e,""):(s=e.substring(0,o),e.substring(o+1)),this._children.get(s));void 0===a&&(a=new xn(this._mainRule.clone()),this._children.set(s,a)),a.insert(r,t,i,n)}}}var kn=i("918c"),Dn=i("303e");const Nn={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"C700C7"}],colors:{[Dn.r]:"#FFFFFE",[Dn.B]:"#000000",[Dn.J]:"#E5EBF1",[kn.o]:"#D3D3D3",[kn.a]:"#939393",[Dn.T]:"#ADD6FF4D"}},On={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Dn.r]:"#1E1E1E",[Dn.B]:"#D4D4D4",[Dn.J]:"#3A3D41",[kn.o]:"#404040",[kn.a]:"#707070",[Dn.T]:"#ADD6FF26"}},En={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:{[Dn.r]:"#000000",[Dn.B]:"#FFFFFF",[kn.o]:"#FFFFFF",[kn.a]:"#FFFFFF"}};var In=i("9c41"),Mn=i("bf5b");function Tn(){const e=new j.b,t=Object(Mn.a)();return t.onDidChange(()=>e.fire()),{onDidChange:e.event,getCSS(){const e={};var i,n;const o=[];for(i of t.getIcons()){var s=(i=>{let n=i.defaults;for(;ji.d.isThemeIcon(n);){var o=t.getIcon(n.id);if(!o)return;n=o.defaults}var s=n.fontId;if(s){var r=t.getIconFont(s);if(r)return e[s]=r,`.codicon-${i.id}:before { content: '${n.fontCharacter}'; font-family: ${Object(Y.r)(s)}; }`}return`.codicon-${i.id}:before { content: '${n.fontCharacter}'; }`})(i);s&&o.push(s)}for(n in e){const t=e[n];var r=t.definition.src.map(e=>`${Object(Y.s)(e.location)} format('${e.format}')`).join(", ");o.push(`@font-face { src: ${r}; font-family: ${Object(Y.r)(n)}; font-display: block; }`)}return o.join("\n")}}}const An="vs-dark",Rn="hc-black",Pn=cn.a.as(Dn.a.ColorContribution),Fn=cn.a.as(ji.a.ThemingContribution);class Bn{constructor(e,t){this.semanticHighlighting=!1,t=(this.themeData=t).base,0{this._codiconCSS=e.getCSS(),this._updateCSS()}),Y.m("(forced-colors: active)",()=>{this._updateActualTheme()})}registerEditorContainer(e){return Y.O(e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()}_registerRegularEditorContainer(){return this._globalStyleElement||(this._globalStyleElement=Y.w(),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.textContent=this._allCSS,this._styleElements.push(this._globalStyleElement)),ve.a.None}_registerShadowDomContainer(e){const t=Y.w(e);return t.className="monaco-colors",t.textContent=this._allCSS,this._styleElements.push(t),{dispose:()=>{for(let e=0;e{t.base===e&&t.notifyBaseUpdated()}),this._theme.themeName===e&&this.setTheme(e)}getColorTheme(){return this._theme}setColorMapOverride(e){this._colorMapOverride=e,this._updateThemeOrColorMap()}setTheme(e){let t;t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get("vs"),this._desiredTheme=t,this._updateActualTheme()}_updateActualTheme(){var e=this._autoDetectHighContrast&&window.matchMedia("(forced-colors: active)").matches?this._knownThemes.get(Rn):this._desiredTheme;this._theme!==e&&(this._theme=e,this._updateThemeOrColorMap())}setAutoDetectHighContrast(e){this._autoDetectHighContrast=e,this._updateActualTheme()}_updateThemeOrColorMap(){let e=[],t={},i={addRule:i=>{t[i]||(e.push(i),t[i]=!0)}};Fn.getThemingParticipants().forEach(e=>e(this._theme,i,this._environment));var n=this._colorMapOverride||this._theme.tokenTheme.getColorMap();i.addRule(function(e){let t=[];for(let n=1,o=e.length;ne.textContent=this._allCSS)}getFileIconTheme(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}}}var zn=i("258a");rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3{if(6===e.source){var t=Array.from(zn.a.map(this._values,([e])=>e));this._values.clear(),i.fire(new Yn(t))}else{const t=[];for(const i of e.affectedKeys){var n="config."+i,o=this._values.findSuperstr(n);void 0!==o&&(t.push(...zn.a.map(o,([e])=>e)),this._values.deleteSuperstr(n)),this._values.has(n)&&(t.push(n),this._values.delete(n))}i.fire(new Yn(t))}})}dispose(){this._listener.dispose()}getValue(e){if(0!==e.indexOf($n._keyPrefix))return super.getValue(e);if(this._values.has(e))return this._values.get(e);var t=e.substr($n._keyPrefix.length),i=this._configurationService.getValue(t);let n=void 0;switch(typeof i){case"number":case"boolean":case"string":n=i;break;default:n=Array.isArray(i)?JSON.stringify(i):i}return this._values.set(e,n),n}setValue(e,t){return super.setValue(e,t)}removeValue(e){return super.removeValue(e)}}$n._keyPrefix="config.";class Gn{constructor(e,t,i){this._service=e,this._key=t,this._defaultValue=i,this.reset()}set(e){this._service.setContext(this._key,e)}reset(){void 0===this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)}get(){return this._service.getContextKeyValue(this._key)}}class Zn{constructor(e){this.key=e}affectsSome(e){return e.has(this.key)}}class Yn{constructor(e){this.keys=e}affectsSome(e){for(const t of this.keys)if(e.has(t))return!0;return!1}}class Xn{constructor(e){this.events=e}affectsSome(e){for(const t of this.events)if(t.affectsSome(e))return!0;return!1}}class Qn{constructor(e){this._onDidChangeContext=new j.e({merge:e=>new Xn(e)}),this.onDidChangeContext=this._onDidChangeContext.event,this._isDisposed=!1,this._myContextId=e}createKey(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Gn(this,e,t)}bufferChangeEvents(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}}createScoped(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new eo(this,e)}contextMatchesRules(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId);return ii.contextMatchesRules(t,e)}getContextKeyValue(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)}setContext(e,t){if(!this._isDisposed){const i=this.getContextValuesContainer(this._myContextId);i&&i.setValue(e,t)&&this._onDidChangeContext.fire(new Zn(e))}}removeContext(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Zn(e))}getContext(e){return this._isDisposed?qn.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){var t;if(e.hasAttribute(Un))return(t=e.getAttribute(Un))?parseInt(t,10):NaN;e=e.parentElement}return 0}(e))}}let Jn=class extends Qn{constructor(e){super(0),this._contexts=new Map,this._toDispose=new ve.b,this._lastContextId=0,e=new $n(this._myContextId,e,this._onDidChangeContext),this._contexts.set(this._myContextId,e),this._toDispose.add(e)}dispose(){this._onDidChangeContext.dispose(),this._isDisposed=!0,this._toDispose.dispose()}getContextValuesContainer(e){return!this._isDisposed&&this._contexts.get(e)||qn.INSTANCE}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new Kn(t,this.getContextValuesContainer(e))),t}disposeContext(e){this._isDisposed||this._contexts.delete(e)}};Jn=rt([st(0,qt.a)],Jn);class eo extends Qn{constructor(e,t){if(super(e.createChildContext()),this._parentChangeListener=new ve.d,this._parent=e,this._updateParentChangeListener(),this._domNode=t,this._domNode.hasAttribute(Un)){let e="";this._domNode.classList&&(e=Array.from(this._domNode.classList.values()).join(", "))}this._domNode.setAttribute(Un,String(this._myContextId))}_updateParentChangeListener(){this._parentChangeListener.value=this._parent.onDidChangeContext(this._onDidChangeContext.fire,this._onDidChangeContext)}dispose(){this._isDisposed||(this._onDidChangeContext.dispose(),this._parent.disposeContext(this._myContextId),this._parentChangeListener.dispose(),this._domNode.removeAttribute(Un),this._isDisposed=!0)}getContextValuesContainer(e){return this._isDisposed?qn.INSTANCE:this._parent.getContextValuesContainer(e)}createChildContext(e=this._myContextId){if(this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)}disposeContext(e){this._isDisposed||this._parent.disposeContext(e)}}ie.a.registerCommand(ti.d,(function(e,t,i){e.get(ti.b).createKey(String(t),i)})),ie.a.registerCommand({id:"getContextKeyInfo",handler(){return[...ti.c.all()].sort((e,t)=>e.key.localeCompare(t.key))},description:{description:Object(Jt.a)("getContextKeyInfo","A command that returns information about context keys"),args:[]}}),ie.a.registerCommand("_generateContextKeyInfo",(function(){const e=[],t=new Set;for(var i of ti.c.all())t.has(i.key)||(t.add(i.key),e.push(i));e.sort((e,t)=>e.key.localeCompare(t.key))}));var to,io=i("5d75"),no=i("5d28"),oo=i("0f70"),so=i("a60f"),ro=i("5aa5"),ao=(qi=i("eff2"),Qi=i("b9db"),i("0a31")),lo=i("9ee1");function ho(e,t,i){var n=i.mode===to.ALIGN?i.offset:i.offset+i.size,o=i.mode===to.ALIGN?i.offset+i.size:i.offset;return 0===i.position?t<=e-n?n:t<=o?o-t:Math.max(e-t,0):t<=o?o-t:t<=e-n?n:0}i("4d3d"),(rt=to=to||{})[rt.AVOID=0]="AVOID",rt[rt.ALIGN=1]="ALIGN";class co extends ve.a{constructor(e,t){super(),this.container=null,this.delegate=null,this.toDisposeOnClean=ve.a.None,this.toDisposeOnSetContainer=ve.a.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=Y.a(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,Y.K(this.view),this.setContainer(e,t),this._register(Object(ve.i)(()=>this.setContainer(null,1)))}setContainer(e,t){var i;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),(this.shadowRoot=null)!=(i=this.shadowRootHostElement)&&i.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),e){if(this.container=e,this.useFixedPosition=1!==t,this.useShadowDOM=3===t,this.useShadowDOM){this.shadowRootHostElement=Y.a(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const e=document.createElement("style");e.textContent=uo,this.shadowRoot.appendChild(e),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(Y.a("slot"))}else this.container.appendChild(this.view);const i=new ve.b;co.BUBBLE_UP_EVENTS.forEach(e=>{i.add(Y.o(this.container,e,e=>{this.onDOMEvent(e,!1)}))}),co.BUBBLE_DOWN_EVENTS.forEach(e=>{i.add(Y.o(this.container,e,e=>{this.onDOMEvent(e,!0)},!0))}),this.toDisposeOnSetContainer=i}}show(e){this.isVisible()&&this.hide(),Y.t(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",Y.W(this.view),this.toDisposeOnClean=e.render(this.view)||ve.a.None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){this.isVisible()&&(!1!==this.delegate.canRelayout||we.c&&ao.a.pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())}doLayout(){if(this.isVisible()){var e=this.delegate.getAnchor();let s;s=Y.M(e)?{top:(t=Y.D(e)).top,left:t.left,width:t.width,height:t.height}:{top:e.y,left:e.x,width:e.width||1,height:e.height||2};var t=Y.I(this.view),i=(e=Y.H(this.view),this.delegate.anchorPosition||0),n=this.delegate.anchorAlignment||0;let r,a;if(0===(this.delegate.anchorAxisAlignment||0)){var o={offset:s.top-window.pageYOffset,size:s.height,position:0===i?0:1};const l={offset:s.left,size:s.width,position:0===n?0:1,mode:to.ALIGN};r=ho(window.innerHeight,e,o)+window.pageYOffset,lo.a.intersects({start:r,end:r+e},{start:o.offset,end:o.offset+o.size})&&(l.mode=to.AVOID),a=ho(window.innerWidth,t,l)}else{o={offset:s.left,size:s.width,position:0===n?0:1};const l={offset:s.top,size:s.height,position:0===i?0:1,mode:to.ALIGN};a=ho(window.innerWidth,t,o),lo.a.intersects({start:a,end:a+t},{start:o.offset,end:o.offset+o.size})&&(l.mode=to.AVOID),r=ho(window.innerHeight,e,l)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(0===i?"bottom":"top"),this.view.classList.add(0===n?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition),t=Y.D(this.container),this.view.style.top=r-(this.useFixedPosition?Y.D(this.view):t).top+"px",this.view.style.left=a-(this.useFixedPosition?Y.D(this.view):t).left+"px",this.view.style.width="initial"}}hide(e){const t=this.delegate;(this.delegate=null)!==t&&void 0!==t&&t.onHide&&t.onHide(e),this.toDisposeOnClean.dispose(),Y.K(this.view)}isVisible(){return!!this.delegate}onDOMEvent(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!Y.L(e.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}co.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],co.BUBBLE_DOWN_EVENTS=["click"];let uo='\n\t:host {\n\t\tall: initial; /* 1st rule so subsequent properties are reset. */\n\t}\n\n\t@font-face {\n\t\tfont-family: "codicon";\n\t\tfont-display: block;\n\t\tsrc: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype");\n\t}\n\n\t.codicon[class*=\'codicon-\'] {\n\t\tfont: normal normal normal 16px/1 codicon;\n\t\tdisplay: inline-block;\n\t\ttext-decoration: none;\n\t\ttext-rendering: auto;\n\t\ttext-align: center;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-moz-osx-font-smoothing: grayscale;\n\t\tuser-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t}\n\n\t:host {\n\t\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n\t}\n\n\t:host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }\n\t:host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; }\n\t:host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; }\n\t:host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; }\n\t:host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; }\n\n\t:host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; }\n\t:host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; }\n\t:host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; }\n\t:host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; }\n\t:host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; }\n\n\t:host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; }\n\t:host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; }\n';var go,po=i("1898"),mo=i("f070"),fo=i("561a"),_o=i("1097");const bo=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,vo=/(&)?(&)([^\s&])/g,Co=Object(fo.e)("menu-selection",fo.b.check),wo=Object(fo.e)("menu-submenu",fo.b.chevronRight);(st=go=go||{})[st.Right=0]="Right",st[st.Left=1]="Left";class yo extends ro.a{constructor(e,t,i={}){e.classList.add("monaco-menu-container"),e.setAttribute("role","presentation");const n=document.createElement("div");n.classList.add("monaco-menu"),n.setAttribute("role","presentation"),super(n,{orientation:1,actionViewItemProvider:e=>this.doGetActionViewItem(e,i,o),context:i.context,actionRunner:i.actionRunner,ariaLabel:i.ariaLabel,focusOnlyEnabledItems:!0,triggerKeys:{keys:[3,...we.f||we.d?[10]:[]],keyDown:!0}}),this.menuElement=n,this.actionsList.setAttribute("role","menu"),this.actionsList.tabIndex=0,this.menuDisposables=this._register(new ve.b),this.initializeStyleSheet(e),this._register(so.b.addTarget(n)),Object(Y.i)(n,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);t.equals(2)&&e.preventDefault()}),i.enableMnemonics&&this.menuDisposables.add(Object(Y.i)(n,Y.d.KEY_DOWN,e=>{var t=e.key.toLocaleLowerCase();if(this.mnemonics.has(t)){Y.c.stop(e,!0);const i=this.mnemonics.get(t);1===i.length&&(i[0]instanceof Lo&&i[0].container&&this.focusItemByElement(i[0].container),i[0].onClick(e)),1{const t=new Wt.a(e);t.equals(14)||t.equals(11)?(this.focusedItem=this.viewItems.length-1,this.focusNext(),Y.c.stop(e,!0)):(t.equals(13)||t.equals(12))&&(this.focusedItem=0,this.focusPrevious(),Y.c.stop(e,!0))})),this._register(Object(Y.i)(this.domNode,Y.d.MOUSE_OUT,e=>{var t=e.relatedTarget;Object(Y.L)(t,this.domNode)||(this.focusedItem=void 0,this.updateFocus(),e.stopPropagation())})),this._register(Object(Y.i)(this.actionsList,Y.d.MOUSE_OVER,e=>{let t=e.target;if(t&&Object(Y.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;t.classList.contains("action-item")&&(e=this.focusedItem,this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus())}})),this._register(so.b.addTarget(this.actionsList)),this._register(Object(Y.i)(this.actionsList,so.a.Tap,e=>{let t=e.initialTarget;if(t&&Object(Y.L)(t,this.actionsList)&&t!==this.actionsList){for(;t.parentElement!==this.actionsList&&null!==t.parentElement;)t=t.parentElement;t.classList.contains("action-item")&&(e=this.focusedItem,this.setFocusedItem(t),e!==this.focusedItem&&this.updateFocus())}}));let o={parent:this};this.mnemonics=new Map,this.scrollableElement=this._register(new po.a(n,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));const s=this.scrollableElement.getDomNode();s.style.position="",this._register(Object(Y.i)(n,so.a.Change,e=>{Y.c.stop(e,!0);var t=this.scrollableElement.getScrollPosition().scrollTop;this.scrollableElement.setScrollPosition({scrollTop:t-e.translationY})})),this._register(Object(Y.i)(s,Y.d.MOUSE_UP,e=>{e.preventDefault()})),n.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-35)+"px",t=t.filter(e=>{var t;return null==(t=i.submenuIds)||!t.has(e.id)}),this.push(t,{icon:!0,label:!0,isMenu:!0}),e.appendChild(this.scrollableElement.getDomNode()),this.scrollableElement.scanDomNode(),this.viewItems.filter(e=>!(e instanceof xo)).forEach((e,t,i)=>{e.updatePositionInSet(t+1,i.length)})}initializeStyleSheet(e){Object(Y.O)(e)?(this.styleSheet=Object(Y.w)(e),this.styleSheet.textContent=ko):(yo.globalStyleSheet||(yo.globalStyleSheet=Object(Y.w)(),yo.globalStyleSheet.textContent=ko),this.styleSheet=yo.globalStyleSheet)}style(e){const t=this.getContainer();var i=e.foregroundColor?""+e.foregroundColor:"",n=e.backgroundColor?""+e.backgroundColor:"",o=e.borderColor?"1px solid "+e.borderColor:"",s=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=o,this.domNode.style.color=i,this.domNode.style.backgroundColor=n,t.style.boxShadow=s,this.viewItems&&this.viewItems.forEach(t=>{(t instanceof So||t instanceof xo)&&t.style(e)})}getContainer(){return this.scrollableElement.getDomNode()}get onScroll(){return this.scrollableElement.onScroll}focusItemByElement(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()}setFocusedItem(e){for(let t=0;t{this.element&&(this._register(Object(Y.i)(this.element,Y.d.MOUSE_UP,e=>{Y.c.stop(e,!0),oo.g?new no.a(e).rightButton||this.onClick(e):setTimeout(()=>{this.onClick(e)},0)})),this._register(Object(Y.i)(this.element,Y.d.CONTEXT_MENU,e=>{Y.c.stop(e,!0)})))},100),this._register(this.runOnceToEnableMouseUp)}render(e){super.render(e),this.element&&(this.container=e,this.item=Object(Y.q)(this.element,Object(Y.a)("a.action-menu-item")),this._action.id===mo.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(Y.q)(this.item,Object(Y.a)("span.menu-item-check"+Co.cssSelector)),this.check.setAttribute("role","none"),this.label=Object(Y.q)(this.item,Object(Y.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(Y.q)(this.item,Object(Y.a)("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())}blur(){super.blur(),this.applyStyle()}focus(){super.focus(),this.item&&this.item.focus(),this.applyStyle()}updatePositionInSet(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))}updateLabel(){if(this.label&&this.options.label){Object(Y.t)(this.label);let t=Object(_o.e)(this.getAction().label);if(t){const i=function(e){const t=bo,i=t.exec(e);if(!i)return e;var n=!i[1];return e.replace(t,n?"$2$3":"").trim()}(t),n=(this.options.enableMnemonics||(t=i),this.label.setAttribute("aria-label",i.replace(/&&/g,"&")),bo.exec(t));if(n){t=Te.s(t),vo.lastIndex=0;let i=vo.exec(t);for(;i&&i[1];)i=vo.exec(t);var e=e=>e.replace(/&&/g,"&");i?this.label.append(Te.J(e(t.substr(0,i.index))," "),Object(Y.a)("u",{"aria-hidden":"true"},i[3]),Te.O(e(t.substr(i.index+i[0].length))," ")):this.label.innerText=e(t).trim(),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]||n[3]).toLocaleLowerCase())}else this.label.innerText=t.replace(/&&/g,"&").trim()}}}updateTooltip(){let e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Jt.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)}updateClass(){this.cssClass&&this.item&&this.item.classList.remove(...this.cssClass.split(" ")),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",this.label.classList.add("icon"),this.cssClass&&this.label.classList.add(...this.cssClass.split(" ")),this.updateEnabled()):this.label&&this.label.classList.remove("icon")}updateEnabled(){this.getAction().enabled?(this.element&&(this.element.classList.remove("disabled"),this.element.removeAttribute("aria-disabled")),this.item&&(this.item.classList.remove("disabled"),this.item.removeAttribute("aria-disabled"),this.item.tabIndex=0)):(this.element&&(this.element.classList.add("disabled"),this.element.setAttribute("aria-disabled","true")),this.item&&(this.item.classList.add("disabled"),this.item.setAttribute("aria-disabled","true")))}updateChecked(){this.item&&(this.getAction().checked?(this.item.classList.add("checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(this.item.classList.remove("checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))}getMnemonic(){return this.mnemonic}applyStyle(){if(this.menuStyle){var e=this.element&&this.element.classList.contains("focused");const t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,i=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0;e=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"",this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=i?i.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=e)}}style(e){this.menuStyle=e,this.applyStyle()}}class Lo extends So{constructor(e,t,i,n){super(e,e,n),this.submenuActions=t,this.parentData=i,this.submenuOptions=n,this.mysubmenu=null,this.submenuDisposables=this._register(new ve.b),this.mouseOver=!1,this.expandDirection=n&&void 0!==n.expandDirection?n.expandDirection:go.Right,this.showScheduler=new be.e(()=>{this.mouseOver&&(this.cleanupExistingSubmenu(!1),this.createSubmenu(!1))},250),this.hideScheduler=new be.e(()=>{this.element&&!Object(Y.L)(Object(Y.y)(),this.element)&&this.parentData.submenu===this.mysubmenu&&(this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!0))},750)}render(e){super.render(e),this.element&&(this.item&&(this.item.classList.add("monaco-submenu-item"),this.item.tabIndex=0,this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(Y.q)(this.item,Object(Y.a)("span.submenu-indicator"+wo.cssSelector)),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(Y.i)(this.element,Y.d.KEY_UP,e=>{let t=new Wt.a(e);(t.equals(17)||t.equals(3))&&(Y.c.stop(e,!0),this.createSubmenu(!0))})),this._register(Object(Y.i)(this.element,Y.d.KEY_DOWN,e=>{let t=new Wt.a(e);Object(Y.y)()===this.item&&(t.equals(17)||t.equals(3))&&Y.c.stop(e,!0)})),this._register(Object(Y.i)(this.element,Y.d.MOUSE_OVER,e=>{this.mouseOver||(this.mouseOver=!0,this.showScheduler.schedule())})),this._register(Object(Y.i)(this.element,Y.d.MOUSE_LEAVE,e=>{this.mouseOver=!1})),this._register(Object(Y.i)(this.element,Y.d.FOCUS_OUT,e=>{this.element&&!Object(Y.L)(Object(Y.y)(),this.element)&&this.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(()=>{this.parentData.parent.focus(!1),this.cleanupExistingSubmenu(!1)})))}updateEnabled(){}onClick(e){Y.c.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)}cleanupExistingSubmenu(e){if(this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)){try{this.parentData.submenu.dispose()}catch(e){}this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0)}}calculateSubmenuMenuLayout(e,t,i,n){const o={top:0,left:0};return o.left=ho(e.width,t.width,{position:n===go.Right?0:1,offset:i.left,size:i.width}),o.left>=i.left&&o.left{let t=new Wt.a(e);t.equals(15)&&(Y.c.stop(e,!0),this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0))})),this.submenuDisposables.add(Object(Y.i)(this.submenuContainer,Y.d.KEY_DOWN,e=>{let t=new Wt.a(e);t.equals(15)&&Y.c.stop(e,!0)})),this.submenuDisposables.add(this.parentData.submenu.onDidCancel(()=>{this.parentData.parent.focus(),this.cleanupExistingSubmenu(!0)})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu))}updateAriaExpanded(e){var t;this.item&&null!=(t=this.item)&&t.setAttribute("aria-expanded",e)}applyStyle(){var e;super.applyStyle(),this.menuStyle&&(e=this.element&&this.element.classList.contains("focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,this.submenuIndicator&&(this.submenuIndicator.style.color=e?""+e:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle))}dispose(){super.dispose(),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)}}class xo extends qi.a{style(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")}}let ko=`\n.monaco-menu {\n\tfont-size: 13px;\n\n}\n\n${Object(Qi.a)(Co)}\n${Object(Qi.a)(wo)}\n\n.monaco-menu .monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-menu .monaco-action-bar .actions-container {\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\tjustify-content: flex-end;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar.reverse .actions-container {\n\tflex-direction: row-reverse;\n}\n\n.monaco-menu .monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\ttransition: transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-menu .monaco-action-bar.animated .action-item.active {\n\ttransform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-menu .monaco-action-bar .action-item .icon,\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: inline-block;\n}\n\n.monaco-menu .monaco-action-bar .action-item .codicon {\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label,\n.monaco-menu .monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-menu .monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-menu .secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-menu .monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\tflex: 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tmargin-right: 10px;\n}\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\ttransform: none;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\ttransform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\tflex: 1 1 auto;\n\tdisplay: flex;\n\theight: 2em;\n\talign-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon {\n\tfont-size: 16px !important;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator.codicon::before {\n\tmargin-left: auto;\n\tmargin-right: -20px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\tbox-sizing: border-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n\theight: 0px !important;\n\tmargin-left: .8em !important;\n\tmargin-right: .8em !important;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\tanimation: fadeIn 0.083s linear;\n\t-webkit-app-region: no-drag;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: thin solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n:host-context(.hc-black) .context-view.monaco-menu-container {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Vertical Action Bar Styles */\n\n.monaco-menu .monaco-action-bar.vertical {\n\tpadding: .5em 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\theight: 1.8em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator),\n.monaco-menu .monaco-action-bar.vertical .keybinding {\n\tfont-size: inherit;\n\tpadding: 0 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tfont-size: inherit;\n\twidth: 2em;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tfont-size: inherit;\n\tpadding: 0.2em 0 0 0;\n\tmargin-bottom: 0.2em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tmargin-left: 0;\n\tmargin-right: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tfont-size: 60%;\n\tpadding: 0 1.8em;\n}\n\n:host-context(.linux) .monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\tmask-size: 10px 10px;\n\t-webkit-mask-size: 10px 10px;\n}\n\n.monaco-menu .action-item {\n\tcursor: default;\n}\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n\tcursor: pointer;\n\tfont-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\tbox-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\tbox-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\tbox-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n:host-context(.vs) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n:host-context(.vs-dark) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n:host-context(.hc-black) .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: #000 6px 0 6px -6px inset;\n}\n\n:host-context(.vs-dark) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: #000 6px 6px 6px -6px inset;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.left {\n\tbox-shadow: none;\n}\n\n:host-context(.hc-black) .monaco-scrollable-element .shadow.top.left {\n\tbox-shadow: none;\n}\n`;i("7a2c");var Do=i("a6d7");class No{constructor(e,t,i,n,o){this.contextViewService=e,this.telemetryService=t,this.notificationService=i,this.keybindingService=n,this.themeService=o,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}configure(e){this.options=e}showContextMenu(e){const t=e.getActions();if(t.length){let n;this.focusToReturn=document.activeElement;var i=Object(Y.M)(e.domForShadowRoot)?e.domForShadowRoot:void 0;this.contextViewService.showContextView({getAnchor:()=>e.getAnchor(),canRelayout:!1,anchorAlignment:e.anchorAlignment,anchorAxisAlignment:e.anchorAxisAlignment,render:i=>{var o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),this.options.blockMouse&&(this.block=i.appendChild(Object(Y.a)(".context-view-block")),this.block.style.position="fixed",this.block.style.cursor="initial",this.block.style.left="0",this.block.style.top="0",this.block.style.width="100%",this.block.style.height="100%",this.block.style.zIndex="-1",Object(Y.i)(this.block,Y.d.MOUSE_DOWN,e=>e.stopPropagation()));const s=new ve.b,r=e.actionRunner||new mo.b;return r.onBeforeRun(this.onActionRun,this,s),r.onDidRun(this.onDidActionRun,this,s),n=new yo(i,t,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:r,getKeyBinding:e.getKeyBinding||(e=>this.keybindingService.lookupKeybinding(e.id))}),s.add(Object(Do.c)(n,this.themeService)),n.onDidCancel(()=>this.contextViewService.hideContextView(!0),null,s),n.onDidBlur(()=>this.contextViewService.hideContextView(!0),null,s),s.add(Object(Y.i)(window,Y.d.BLUR,()=>this.contextViewService.hideContextView(!0))),s.add(Object(Y.i)(window,Y.d.MOUSE_DOWN,e=>{if(!e.defaultPrevented){e=new no.a(e);let t=e.target;if(!e.rightButton){for(;t;){if(t===i)return;t=t.parentElement}this.contextViewService.hideContextView(!0)}}})),Object(ve.e)(s,n)},focus:()=>{n&&n.focus(!!e.autoSelectFirstItem)},onHide:t=>{e.onHide&&e.onHide(!!t),this.block&&(this.block.remove(),this.block=null),this.focusToReturn&&this.focusToReturn.focus()}},i,!!i)}}onActionRun(e){this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()}onDidActionRun(e){e.error&&!Object(Ce.e)(e.error)&&this.notificationService.error(e.error)}}rt=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3this.layout()))}setContainer(e,t){this.contextView.setContainer(e,t||1)}showContextView(e,t,i){t?t!==this.container&&(this.container=t,this.setContainer(t,i?3:2)):this.container!==this.layoutService.container&&(this.container=this.layoutService.container,this.setContainer(this.container,1)),this.contextView.show(e);const n=Object(ve.i)(()=>{this.currentViewDisposable===n&&this.hideContextView()});return this.currentViewDisposable=n}getContextViewElement(){return this.contextView.getViewElement()}layout(){this.contextView.layout()}hideContextView(e){this.contextView.hide(e)}};Io=qi([Qi(0,Eo)],Io);rt=i("eafb");var Mo=i("af40");class To{constructor(e){this.incoming=new Map,this.outgoing=new Map,this.data=e}}class Ao{constructor(e){this._hashFn=e,this._nodes=new Map}roots(){const e=[];for(var t of this._nodes.values())0===t.outgoing.size&&e.push(t);return e}insertEdge(e,t){const i=this.lookupOrInsertNode(e),n=this.lookupOrInsertNode(t);i.outgoing.set(this._hashFn(t),n),n.incoming.set(this._hashFn(e),i)}removeNode(e){var t,i=this._hashFn(e);for(t of(this._nodes.delete(i),this._nodes.values()))t.outgoing.delete(i),t.incoming.delete(i)}lookupOrInsertNode(e){var t=this._hashFn(e);let i=this._nodes.get(t);return i||(i=new To(e),this._nodes.set(t,i)),i}isEmpty(){return 0===this._nodes.size}toString(){let e=[];for(var[t,i]of this._nodes)e.push(`${t}, (incoming)[${[...i.incoming.keys()].join(", ")}], (outgoing)[${[...i.outgoing.keys()].join(",")}]`);return e.join("\n")}findCycleSlow(){for(var[e,t]of this._nodes)if(e=new Set([e]),t=this._findCycle(t,e),t)return t}_findCycle(e,t){for(var[i,n]of e.outgoing){if(t.has(i))return[...t,i].join(" -> ");if(t.add(i),n=this._findCycle(n,t),n)return n;t.delete(i)}}}var Ro=i("f07b");class Po extends Error{constructor(e){var t;super("cyclic dependency between services"),this.message=null!=(t=e.findCycleSlow())?t:"UNABLE to detect cycle, dumping graph: \n"+e.toString()}}class Fo{constructor(e=new Ro.a,t=!1,i){this._activeInstantiations=new Set,this._services=e,this._strict=t,this._parent=i,this._services.set(Fi.a,this)}createChild(e){return new Fo(e,this._strict,this)}invokeFunction(e,...t){let i=Bo.traceInvocation(e),n=!1;try{return e({get:(e,t)=>{if(n)throw Object(Ce.d)("service accessor is only valid during the invocation of its target method");var o=this._getOrCreateServiceInstance(e,i);if(o||t===Fi.d)return o;throw new Error(`[invokeFunction] unknown service '${e}'`)}},...t)}finally{n=!0,i.stop()}}createInstance(e,...t){let i,n;return n=e instanceof Mo.a?(i=Bo.traceCreation(e.ctor),this._createInstance(e.ctor,e.staticArguments.concat(t),i)):(i=Bo.traceCreation(e),this._createInstance(e,t,i)),i.stop(),n}_createInstance(e,t=[],i){var n=Fi.b.getServiceDependencies(e).sort((e,t)=>e.index-t.index);let o=[];for(const a of n){var s=this._getOrCreateServiceInstance(a.id,i);if(!s&&this._strict&&!a.optional)throw new Error(`[createInstance] ${e.name} depends on UNKNOWN service ${a.id}.`);o.push(s)}var r;n=0e.id.toString());let o=0;const s=[{id:e,desc:t,_trace:i}];for(;s.length;){const e=s.pop();if(n.lookupOrInsertNode(e),1e3this._createInstance(e,t,n));return new Proxy(Object.create(null),{get(e,t){if(t in e)return e[t];var n=i.value;let o=n[t];return"function"==typeof o&&(o=o.bind(n),e[t]=o),o},set(e,t,n){return i.value[t]=n,!0}})}return this._createInstance(e,t,n)}}class Bo{constructor(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}static traceInvocation(e){return Bo._None}static traceCreation(e){return Bo._None}branch(e,t){var i=new Bo(2,e.toString());return this._dep.push([e,t,i]),i}stop(){let e=Date.now()-this._start,t=(Bo._totals+=e,!1);this.type,this.name,function e(i,n){let o=[];var s,r,a,l,d=new Array(i+1).join("\t");for([s,r,a]of n._dep)r&&a?(t=!0,o.push(d+"CREATES -> "+s),(l=e(i+1,a))&&o.push(l)):o.push(d+"uses -> "+s);return o.join("\n")}(1,this),e.toFixed(2),Bo._totals.toFixed(2)}}Bo._None=new class extends Bo{constructor(){super(-1,null)}stop(){}branch(){return this}},Bo._totals=0;st=i("47cb");var jo=i("93d9"),Wo=i("b400");class Vo{constructor(){this._byResource=new Q.b,this._byOwner=new Map}set(e,t,i){let n=this._byResource.get(e),o=(n||(n=new Map,this._byResource.set(e,n)),n.set(t,i),this._byOwner.get(t));o||(o=new Q.b,this._byOwner.set(t,o)),o.set(e,i)}get(e,t){let i=this._byResource.get(e);return null===i||void 0===i?void 0:i.get(t)}delete(e,t){let i=!1,n=!1,o=this._byResource.get(e),s=(o&&(i=o.delete(t)),this._byOwner.get(t));if(s&&(n=s.delete(e)),i!==n)throw new Error("illegal state");return i&&n}values(e){var t;return"string"==typeof e?null!=(t=null==(t=this._byOwner.get(e))?void 0:t.values())?t:zn.a.empty():V.a.isUri(e)?null!=(e=null==(t=this._byResource.get(e))?void 0:t.values())?e:zn.a.empty():zn.a.map(zn.a.concat(...this._byOwner.values()),e=>e[1])}}class Ho{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new Q.b,this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const i of e){var t=this._data.get(i);t=(t&&this._substract(t),this._resourceStats(i));this._add(t),this._data.set(i,t)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme!==ee.c.inMemory&&e.scheme!==ee.c.walkThrough&&e.scheme!==ee.c.walkThroughSnippet)for(var{severity:i}of this._service.read({resource:e}))i===Wo.c.Error?t.errors+=1:i===Wo.c.Warning?t.warnings+=1:i===Wo.c.Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class zo{constructor(){this._onMarkerChanged=new j.a({delay:0,merge:zo._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new Vo,this._stats=new Ho(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if(Object(nt.m)(i))this._data.delete(t,e)&&this._onMarkerChanged.fire([t]);else{const o=[];for(const s of i){var n=zo._toMarker(e,t,s);n&&o.push(n)}this._data.set(t,e,o),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:n,severity:o,message:s,source:r,startLineNumber:a,startColumn:l,endLineNumber:d,endColumn:h,relatedInformation:c,tags:u}=i;if(s)return a=0=a?d:a,h=0{this._build(),this._onDidChange.fire(this)},t.eventDebounceDelay),r=(this._disposables.add(s),this._disposables.add(Ri.d.onDidChangeMenu(t=>{t.has(e)&&s.schedule()})),this._disposables.add(new ve.b));this._onDidChange=new j.b({onFirstListenerAdd:()=>{const e=new be.e(()=>this._onDidChange.fire(this),t.eventDebounceDelay);r.add(e),r.add(n.onDidChangeContext(t=>{t.affectsSome(this._contextKeys)&&e.schedule()}))},onLastListenerRemove:r.clear.bind(r)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=Ri.d.getMenuItems(this._id);let i;t.sort(e._compareMenuItems);for(const e of t){var n=e.group||"";i&&i[0]===n||(i=[n,[]],this._menuGroups.push(i)),i[1].push(e),this._collectContextKeys(e)}}_collectContextKeys(t){var i;e._fillInKbExprKeys(t.when,this._contextKeys),Object(Ri.f)(t)?(t.command.precondition&&e._fillInKbExprKeys(t.command.precondition,this._contextKeys),t.command.toggled&&(i=t.command.toggled.condition||t.command.toggled,e._fillInKbExprKeys(i,this._contextKeys))):this._options.emitEventsForSubmenuChanges&&Ri.d.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}getActions(e){const t=[];for(var i of this._menuGroups){var n,[i,o]=i;const s=[];for(const t of o)this._contextKeyService.contextMatchesRules(t.when)&&(n=Object(Ri.f)(t)?new Ri.c(t.command,t.alt,e,this._contextKeyService,this._commandService):new Ri.e(t,this._menuService,this._contextKeyService,e),s.push(n));0{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(e,t){var i=[...this._markersData.keys()],n=(this._markersData.clear(),this.model.deltaDecorations(i,t));for(let o=0;othis._onModelAdded(e)),this._register(e.onModelAdded(this._onModelAdded,this)),this._register(e.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(e=>e.dispose()),this._markerDecorations.clear()}getMarker(e,t){const i=this._markerDecorations.get(e);return i&&i.getMarker(t)||null}_handleMarkerChange(e){e.forEach(e=>{e=this._markerDecorations.get(e),e&&this._updateDecorations(e)})}_onModelAdded(e){var t=new Go(e);this._markerDecorations.set(e.uri,t),this._updateDecorations(t)}_onModelRemoved(e){const t=this._markerDecorations.get(e.uri);t&&(t.dispose(),this._markerDecorations.delete(e.uri)),e.uri.scheme!==ee.c.inMemory&&e.uri.scheme!==ee.c.internal&&e.uri.scheme!==ee.c.vscode||this._markerService&&this._markerService.read({resource:e.uri}).map(e=>e.owner).forEach(t=>this._markerService.remove(t,[e.uri]))}_updateDecorations(e){const t=this._markerService.read({resource:e.model.uri,take:500});var i=t.map(t=>({range:this._createDecorationRange(e.model,t),options:this._createDecorationOption(t)}));e.update(t,i)&&this._onDidChangeMarker.fire(e.model)}_createDecorationRange(e,t){let i=z.a.lift(t);var n;return t.severity!==Wo.c.Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(i=i.setEndPosition(i.startLineNumber,i.startColumn+2)),(i=e.validateRange(i)).isEmpty()?(n=e.getWordAtPosition(i.getStartPosition()))?i=new z.a(i.startLineNumber,n.startColumn,i.endLineNumber,n.endColumn):1!==(n=e.getLineLastNonWhitespaceColumn(i.startLineNumber)||e.getLineMaxColumn(i.startLineNumber))&&(i=i.endColumn>=n?new z.a(i.startLineNumber,n-1,i.endLineNumber,n):new z.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn+1)):t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&i.startLineNumber===i.endLineNumber&&(n=e.getLineFirstNonWhitespaceColumn(t.startLineNumber))this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration("editor.accessibilitySupport")&&(i(),this._onDidChangeScreenReaderOptimized.fire())})),i(),this.onDidChangeScreenReaderOptimized(()=>i())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport}getAccessibilitySupport(){return this._accessibilitySupport}};Xo=Qi([$o(0,ti.b),$o(1,qt.a)],Xo);var Qo=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class Jo{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(e,i){return Qo(this,void 0,void 0,(function*(){if(i)this.mapTextToType.set(i,e);else{try{return yield navigator.clipboard.writeText(e)}catch(t){}const i=document.activeElement,n=document.body.appendChild(Object(Y.a)("textarea",{"aria-hidden":!0}));n.style.height="1px",n.style.width="1px",n.style.position="absolute",n.value=e,n.focus(),n.select(),document.execCommand("copy"),i instanceof HTMLElement&&i.focus(),document.body.removeChild(n)}}))}readText(e){return Qo(this,void 0,void 0,(function*(){if(e)return this.mapTextToType.get(e)||"";try{return yield navigator.clipboard.readText()}catch(e){return""}}))}readFindText(){return Qo(this,void 0,void 0,(function*(){return this.findText}))}writeFindText(e){return Qo(this,void 0,void 0,(function*(){this.findText=e}))}}var es=i("3803"),ts=(Qi=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3=t||s.id!==e.elements[n])&&(i=!1,o=0),i||1!==s.type||s.removeResource(this.resourceLabel,this.strResource,0)}let s=-1;for(let r=this._future.length-1;0<=r;r--,n++){const o=this._future[r];i&&(n>=t||o.id!==e.elements[n])&&(i=!1,s=r),i||1!==o.type||o.removeResource(this.resourceLabel,this.strResource,0)}-1!==o&&(this._past=this._past.slice(0,o)),-1!==s&&(this._future=this._future.slice(s+1)),this.versionId++}getElements(){const e=[],t=[];for(const i of this._past)e.push(i.actual);for(const i of this._future)t.push(i.actual);return{past:e,future:t}}getClosestPastElement(){return 0===this._past.length?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return 0===this._future.length?null:this._future[this._future.length-1]}hasPastElements(){return 0t.sourceOrder)&&(t=o,i=n);return[t,i]}canUndo(e){if(e instanceof es.d)return[,t]=this._findClosestUndoElementWithSource(e.id),!!t;var t=this.getUriComparisonKey(e);if(this._editStacks.has(t)){const e=this._editStacks.get(t);return e.hasPastElements()}return!1}_onError(e,t){Object(Ce.f)(e);for(const i of t.strResources)this.removeElements(i);this._notificationService.error(e)}_acquireLocks(e){for(const t of e.editStacks)if(t.locked)throw new Error("Cannot acquire edit stack lock");for(const t of e.editStacks)t.locked=!0;return()=>{for(const t of e.editStacks)t.locked=!1}}_safeInvokeWithLocks(e,t,i,n,o){const s=this._acquireLocks(i);let r;try{r=t()}catch(t){return s(),n.dispose(),this._onError(t,e)}return r?r.then(()=>(s(),n.dispose(),o()),t=>(s(),n.dispose(),this._onError(t,e))):(s(),n.dispose(),o())}_invokeWorkspacePrepare(e){return ts(this,void 0,void 0,(function*(){var t;return void 0===e.actual.prepareUndoRedo||void 0===(t=e.actual.prepareUndoRedo())?ve.a.None:t}))}_invokeResourcePrepare(e,t){if(1!==e.actual.type||void 0===e.actual.prepareUndoRedo)return t(ve.a.None);const i=e.actual.prepareUndoRedo();return i?Object(ve.g)(i)?t(i):i.then(e=>t(e)):t(ve.a.None)}_getAffectedEditStacks(e){const t=[];for(const i of e.strResources)t.push(this._editStacks.get(i)||hs);return new ds(t)}_tryToSplitAndUndo(e,t,i,n){if(t.canSplit())return this._splitPastWorkspaceElement(t,i),this._notificationService.warn(n),new us(this._undo(e,0,!0));for(const o of t.strResources)this.removeElements(o);return this._notificationService.warn(n),new us}_checkWorkspaceUndo(e,t,i,n){if(t.removedResources)return this._tryToSplitAndUndo(e,t,t.removedResources,Jt.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.removedResources.createMessage()));if(n&&t.invalidatedResources)return this._tryToSplitAndUndo(e,t,t.invalidatedResources,Jt.a({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",t.label,t.invalidatedResources.createMessage()));const o=[];for(const r of i.editStacks)r.getClosestPastElement()!==t&&o.push(r.resourceLabel);if(0 1"]},"Undo in {0} Files",i.editStacks.length),Jt.a("nok","Undo this File"),Jt.a("cancel","Cancel")],{cancelId:2});if(2===o.choice)return;if(1===o.choice)return this._splitPastWorkspaceElement(t,null),this._undo(e,0,!0);if(o=this._checkWorkspaceUndo(e,t,i,!1),o)return o.returnValue;n=!0}let s;try{s=yield this._invokeWorkspacePrepare(t)}catch(o){return this._onError(o,t)}if(o=this._checkWorkspaceUndo(e,t,i,!0),o)return s.dispose(),o.returnValue;for(const e of i.editStacks)e.moveBackward(t);return this._safeInvokeWithLocks(t,()=>t.actual.undo(),i,s,()=>this._continueUndoInGroup(t.groupId,n))}))}_resourceUndo(e,t,i){if(t.isValid){var n;if(!e.locked)return this._invokeResourcePrepare(t,n=>(e.moveBackward(t),this._safeInvokeWithLocks(t,()=>t.actual.undo(),new ds([e]),n,()=>this._continueUndoInGroup(t.groupId,i))));n=Jt.a({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",t.label),this._notificationService.warn(n)}else e.flushAllElements()}_findClosestUndoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestPastElement(),o&&o.groupId===e&&(!t||o.groupOrder>t.groupOrder)&&(t=o,i=n);return[t,i]}_continueUndoInGroup(e,t){if(e)return[,e]=this._findClosestUndoElementInGroup(e),e?this._undo(e,0,t):void 0}undo(e){var t;return e instanceof es.d?([,t]=this._findClosestUndoElementWithSource(e.id),t?this._undo(t,e.id,!1):void 0):"string"==typeof e?this._undo(e,0,!1):this._undo(this.getUriComparisonKey(e),0,!1)}_undo(e,t=0,i){if(this._editStacks.has(e)){const r=this._editStacks.get(e);var n=r.getClosestPastElement();if(n){if(n.groupId){var[o,s]=this._findClosestUndoElementInGroup(n.groupId);if(n!==o&&s)return this._undo(s,t,i)}return n.sourceId===t&&!n.confirmBeforeUndo||i?1===n.type?this._workspaceUndo(e,n,i):this._resourceUndo(r,n,i):this._confirmAndContinueUndo(e,t,n)}}}_confirmAndContinueUndo(e,t,i){return ts(this,void 0,void 0,(function*(){var n=yield this._dialogService.show(Vt.a.Info,Jt.a("confirmDifferentSource","Would you like to undo '{0}'?",i.label),[Jt.a("confirmDifferentSource.yes","Yes"),Jt.a("cancel","Cancel")],{cancelId:1});if(1!==n.choice)return this._undo(e,t,!0)}))}_findClosestRedoElementWithSource(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestFutureElement(),o&&o.sourceId===e&&(!t||o.sourceOrdert.actual.redo(),i,n,()=>this._continueRedoInGroup(t.groupId))}))}_resourceRedo(e,t){if(t.isValid){var i;if(!e.locked)return this._invokeResourcePrepare(t,i=>(e.moveForward(t),this._safeInvokeWithLocks(t,()=>t.actual.redo(),new ds([e]),i,()=>this._continueRedoInGroup(t.groupId))));i=Jt.a({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",t.label),this._notificationService.warn(i)}else e.flushAllElements()}_findClosestRedoElementInGroup(e){if(!e)return[null,null];let t=null,i=null;for(var[n,o]of this._editStacks)o=o.getClosestFutureElement(),o&&o.groupId===e&&(!t||o.groupOrder{this._register(Object(Y.i)(this._element,e,e=>{this.enabled?this._onDidClick.fire(e):Y.c.stop(e)}))}),this._register(Object(Y.i)(this._element,Y.d.KEY_DOWN,e=>{const t=new Wt.a(e);let i=!1;this.enabled&&(t.equals(3)||t.equals(10))?(this._onDidClick.fire(e),i=!0):t.equals(9)&&(this._element.blur(),i=!0),i&&Y.c.stop(t,!0)})),this._register(Object(Y.i)(this._element,Y.d.MOUSE_OVER,e=>{this._element.classList.contains("disabled")||this.setHoverBackground()})),this._register(Object(Y.i)(this._element,Y.d.MOUSE_OUT,e=>{this.applyStyles()})),this.focusTracker=this._register(Object(Y.Y)(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let e;(e=this.options.secondary?this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:this.buttonHoverBackground?this.buttonHoverBackground.toString():null)&&(this._element.style.backgroundColor=e)}style(e){this.buttonForeground=e.buttonForeground,this.buttonBackground=e.buttonBackground,this.buttonHoverBackground=e.buttonHoverBackground,this.buttonSecondaryForeground=e.buttonSecondaryForeground,this.buttonSecondaryBackground=e.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=e.buttonSecondaryHoverBackground,this.buttonBorder=e.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let t,i;t=this.options.secondary?(i=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(i=this.buttonForeground?this.buttonForeground.toString():"",this.buttonBackground?this.buttonBackground.toString():"");var e=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=i,this._element.style.backgroundColor=t,this._element.style.borderWidth=e?"1px":"",this._element.style.borderStyle=e?"solid":"",this._element.style.borderColor=e}}get element(){return this._element}set label(e){this._element.classList.add("monaco-text-button"),this.options.supportIcons?Object(Y.R)(this._element,...Object(gs.a)(e)):this._element.textContent=e,"string"==typeof this.options.title?this._element.title=this.options.title:this.options.title&&(this._element.title=e)}set enabled(e){e?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}var fs=i("3bfb");i("1f26");const _s="infinite",bs={progressBarBackground:_n.a.fromHex("#0E70C0")};class vs extends ve.a{constructor(e,t){super(),this.options=t||Object.create(null),Object($t.f)(this.options,bs,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new be.e(()=>Object(Y.W)(this.element),0)),this.create(e)}create(e){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),e.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove("active",_s,"discrete"),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(e){return this.element.classList.add("done"),this.element.classList.contains(_s)?this.bit.style.opacity="0":this.bit.style.width="inherit",e?setTimeout(()=>this.off(),200):this.off(),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove("discrete","done"),this.element.classList.add("active",_s),this}getContainer(){return this.element}style(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()}applyStyles(){var e;this.bit&&(e=this.progressBarBackground?this.progressBarBackground.toString():"",this.bit.style.backgroundColor=e)}}$o=i("9c3e"),i("0836");const Cs={},ws=new $o.a("quick-input-button-icon-");function ys(e){if(e){let i;var t=e.dark.toString();return Cs[t]?i=Cs[t]:(i=ws.nextId(),Y.v("."+i,"background-image: "+Y.s(e.light||e.dark)),Y.v(`.vs-dark .${i}, .hc-black .`+i,"background-image: "+Y.s(e.dark)),Cs[t]=i),i}}var Ss=i("cdd6"),Ls=i("d3ef");const xs=Y.a;class ks extends ve.a{constructor(e){super(),this.parent=e,this.onKeyDown=e=>Y.i(this.inputBox.inputElement,Y.d.KEY_DOWN,t=>{e(new Wt.a(t))}),this.onMouseDown=e=>Y.i(this.inputBox.inputElement,Y.d.MOUSE_DOWN,t=>{e(new no.a(t))}),this.onDidChange=e=>this.inputBox.onDidChange(e),this.container=Y.q(this.parent,xs(".quick-input-box")),this.inputBox=this._register(new Ls.b(this.container,void 0))}get value(){return this.inputBox.value}set value(e){this.inputBox.value=e}select(e=null){this.inputBox.select(e)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(e){this.inputBox.setPlaceHolder(e)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(e){this.inputBox.setAriaLabel(e)}get password(){return"password"===this.inputBox.inputElement.type}set password(e){this.inputBox.inputElement.type=e?"password":"text"}setAttribute(e,t){this.inputBox.inputElement.setAttribute(e,t)}removeAttribute(e){this.inputBox.inputElement.removeAttribute(e)}showDecoration(e){e===Vt.a.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:e===Vt.a.Info?1:e===Vt.a.Warning?2:3,content:""})}stylesForType(e){return this.inputBox.stylesForType(e===Vt.a.Info?1:e===Vt.a.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(e){this.inputBox.style(e)}}var Ds=i("ee56"),Ns=i("c4e3");i("abf2");const Os=Y.a;class Es{constructor(e,t,i){this.os=t,this.keyElements=new Set,this.options=i||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=Y.q(e,Os(".monaco-keybinding")),this.didEverRender=!1,e.appendChild(this.domNode)}get element(){return this.domNode}set(e,t){this.didEverRender&&this.keybinding===e&&Es.areSame(this.matches,t)||(this.keybinding=e,this.matches=t,this.render())}render(){var e,t;this.clear(),this.keybinding?([e,t]=this.keybinding.getParts(),e&&this.renderPart(this.domNode,e,this.matches?this.matches.firstPart:null),t&&(Y.q(this.domNode,Os("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,t,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""):this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode),this.applyStyles(),this.didEverRender=!0}clear(){Y.t(this.domNode),this.keyElements.clear()}renderPart(e,t,i){var n=li.b.modifierLabels[this.os];t.ctrlKey&&this.renderKey(e,n.ctrlKey,Boolean(null==i?void 0:i.ctrlKey),n.separator),t.shiftKey&&this.renderKey(e,n.shiftKey,Boolean(null==i?void 0:i.shiftKey),n.separator),t.altKey&&this.renderKey(e,n.altKey,Boolean(null==i?void 0:i.altKey),n.separator),t.metaKey&&this.renderKey(e,n.metaKey,Boolean(null==i?void 0:i.metaKey),n.separator),n=t.keyLabel;n&&this.renderKey(e,n,Boolean(null==i?void 0:i.keyCode),"")}renderKey(e,t,i,n){Y.q(e,this.createKeyElement(t,i?".highlight":"")),n&&Y.q(e,Os("span.monaco-keybinding-key-separator",void 0,n))}renderUnbound(e){Y.q(e,this.createKeyElement(Object(Jt.a)("unbound","Unbound")))}createKeyElement(e,t=""){return t=Os("span.monaco-keybinding-key"+t,void 0,e),this.keyElements.add(t),t}style(e){this.labelBackground=e.keybindingLabelBackground,this.labelForeground=e.keybindingLabelForeground,this.labelBorder=e.keybindingLabelBorder,this.labelBottomBorder=e.keybindingLabelBottomBorder,this.labelShadow=e.keybindingLabelShadow,this.applyStyles()}applyStyles(){var e;if(this.element){for(const t of this.keyElements)this.labelBackground&&(t.style.backgroundColor=null==(e=this.labelBackground)?void 0:e.toString()),this.labelBorder&&(t.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(t.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(t.style.boxShadow="inset 0 -1px 0 "+this.labelShadow);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(e,t){return e===t||!e&&!t||!!e&&!!t&&Object($t.d)(e.firstPart,t.firstPart)&&Object($t.d)(e.chordPart,t.chordPart)}}const Is=new be.b(()=>{const e=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:e,collatorIsNumeric:e.resolvedOptions().numeric}});function Ms(e,t,i){const n=e.toLowerCase(),o=t.toLowerCase();e=function(e,t,i){const n=e.toLowerCase(),o=t.toLowerCase(),s=n.startsWith(i),r=o.startsWith(i);if(s!==r)return s?-1:1;if(s&&r){if(n.lengtho.length)return 1}return 0}(e,t,i);return e||((t=n.endsWith(i))!==o.endsWith(i)?t?-1:1:(e=n,i=o,e=e||"",i=i||"",t=Is.value.collator.compare(e,i),0!==(e=Is.value.collatorIsNumeric&&0===t&&e!==i?e{t.checkbox.offsetParent||e.preventDefault()})),t.checkbox=Y.q(e,Ps("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(Y.o(t.checkbox,Y.d.CHANGE,e=>{t.element.checked=t.checkbox.checked})),e=Y.q(e,Ps(".quick-input-list-rows"));var i=Y.q(e,Ps(".quick-input-list-row"));e=Y.q(e,Ps(".quick-input-list-row")),t.label=new Ns.a(i,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0}),i=Y.q(i,Ps(".quick-input-list-entry-keybinding")),t.keybinding=new Es(i,we.a),i=Y.q(e,Ps(".quick-input-list-label-meta"));return t.detail=new Ds.a(i,!0),t.separator=Y.q(t.entry,Ps(".quick-input-list-separator")),t.actionBar=new ro.a(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,i){i.toDisposeElement=Object(ve.f)(i.toDisposeElement),i.element=e,i.checkbox.checked=e.checked,i.toDisposeElement.push(e.onChecked(e=>i.checkbox.checked=e));var{labelHighlights:n,descriptionHighlights:o,detailHighlights:s}=e;const r=Object.create(null),a=(r.matches=n||[],r.descriptionTitle=e.saneDescription,r.descriptionMatches=o||[],r.extraClasses=e.item.iconClasses,r.italic=e.item.italic,r.strikethrough=e.item.strikethrough,i.label.setLabel(e.saneLabel,e.saneDescription,r),i.keybinding.set(e.item.keybinding),i.detail.set(e.saneDetail,s),e.separator&&e.separator.label?(i.separator.textContent=e.separator.label,i.separator.style.display=""):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!e.separator),i.actionBar.clear(),e.item.buttons);a&&a.length?(i.actionBar.push(a.map((t,i)=>{let n=t.iconClass||(t.iconPath?ys(t.iconPath):void 0);t.alwaysVisible&&(n=n?n+" always-visible":"always-visible");const o=new mo.a("id-"+i,"",n,!0,()=>Rs(this,void 0,void 0,(function*(){e.fireButtonTriggered({button:t,item:e.item})})));return o.tooltip=t.tooltip||"",o}),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(e,t,i){i.toDisposeElement=Object(ve.f)(i.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=Object(ve.f)(e.toDisposeElement),e.toDisposeTemplate=Object(ve.f)(e.toDisposeTemplate)}}Bs.ID="listelement";class js{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Bs.ID}}(Xs=Ts=Ts||{})[Xs.First=1]="First",Xs[Xs.Second=2]="Second",Xs[Xs.Last=3]="Last",Xs[Xs.Next=4]="Next",Xs[Xs.Previous=5]="Previous",Xs[Xs.NextPage=6]="NextPage",Xs[Xs.PreviousPage=7]="PreviousPage";class Ws{constructor(e,t,i){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new j.b,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new j.b,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new j.b,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new j.b,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new j.b,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new j.b,this.onKeyDown=this._onKeyDown.event,this._onLeave=new j.b,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=Y.q(this.parent,Ps(".quick-input-list"));e=new js;var n=new Vs;this.list=i.createList("QuickInput",this.container,e,[new Bs],{identityProvider:{getId:e=>e.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:n}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(e=>{var t=new Wt.a(e);switch(t.keyCode){case 10:this.toggleCheckbox();break;case 31:(we.f?e.metaKey:e.ctrlKey)&&this.list.setFocus(Object(nt.r)(this.list.length));break;case 16:var i=this.list.getFocus();1===i.length&&0===i[0]&&this._onLeave.fire();break;case 18:i=this.list.getFocus(),1===i.length&&i[0]===this.list.length-1&&this._onLeave.fire()}this._onKeyDown.fire(t)})),this.disposables.push(this.list.onMouseDown(e=>{2!==e.browserEvent.button&&e.browserEvent.preventDefault()})),this.disposables.push(Y.i(this.container,Y.d.CLICK,e=>{(e.x||e.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(e=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(e=>{"number"==typeof e.index&&(e.browserEvent.preventDefault(),this.list.setSelection([e.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return j.c.map(this.list.onDidChangeFocus,e=>e.elements.map(e=>e.item))}get onDidChangeSelection(){return j.c.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(e=>e.item),event:e.browserEvent}))}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let n=0,o=e.length;n{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=Object(ve.f)(this.elementDisposables);const t=e=>this.fireButtonTriggered(e);this.inputElements=e,this.elements=e.reduce((i,n,o)=>{if("separator"!==n.type){var s=o&&e[o-1];const l=n.label&&n.label.replace(/\r?\n/g," ");var r=n.meta&&n.meta.replace(/\r?\n/g," ");const d=n.description&&n.description.replace(/\r?\n/g," "),h=n.detail&&n.detail.replace(/\r?\n/g," ");var a=n.ariaLabel||[l,d,h].map(e=>Object(fo.c)(e)).filter(e=>!!e).join(", ");i.push(new Fs({index:o,item:n,saneLabel:l,saneMeta:r,saneAriaLabel:a,saneDescription:d,saneDetail:h,labelHighlights:null==(o=n.highlights)?void 0:o.label,descriptionHighlights:null==(r=n.highlights)?void 0:r.description,detailHighlights:null==(a=n.highlights)?void 0:a.detail,checked:!1,separator:s&&"separator"===s.type?s:void 0,fireButtonTriggered:t}))}return i},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(e=>e.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((e,t,i)=>(e.set(t.item,i),e),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){this.list.setFocus(e.filter(e=>this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e))),0this.elementsToIndexes.has(e)).map(e=>this.elementsToIndexes.get(e)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const i of e)t.add(i);for(const e of this.elements)e.checked=t.has(e.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(this.list.length){switch(e=(e=(e=e===Ts.Next&&this.list.getFocus()[0]===this.list.length-1?Ts.First:e)===Ts.Previous&&0===this.list.getFocus()[0]?Ts.Last:e)===Ts.Second&&this.list.length<2?Ts.First:e){case Ts.First:this.list.focusFirst();break;case Ts.Second:this.list.focusNth(1);break;case Ts.Last:this.list.focusLast();break;case Ts.Next:this.list.focusNext();break;case Ts.Previous:this.list.focusPrevious();break;case Ts.NextPage:this.list.focusNextPage();break;case Ts.PreviousPage:this.list.focusPreviousPage()}e=this.list.getFocus()[0],"number"==typeof e&&this.list.reveal(e)}}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${44*Math.floor(e/44)}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if((e=e.trim())&&(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail)){let t;this.elements.forEach(i=>{var n=this.matchOnLabel?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneLabel))):void 0,o=this.matchOnDescription?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneDescription||""))):void 0,s=this.matchOnDetail?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneDetail||""))):void 0,r=this.matchOnMeta?Object(ye.o)(Object(_o.c)(e,Object(_o.d)(i.saneMeta||""))):void 0;n||o||s||r?(i.labelHighlights=n,i.descriptionHighlights=o,i.detailHighlights=s,i.hidden=!1):(i.labelHighlights=void 0,i.descriptionHighlights=void 0,i.detailHighlights=void 0,i.hidden=!i.item.alwaysShow),i.separator=void 0,this.sortByLabel||(r=i.index&&this.inputElements[i.index-1],(t=r&&"separator"===r.type?r:t)&&!i.hidden&&(i.separator=t,t=void 0))})}else this.elements.forEach(e=>{e.labelHighlights=void 0,e.descriptionHighlights=void 0,e.detailHighlights=void 0,e.hidden=!1;var t=e.index&&this.inputElements[e.index-1];e.separator=t&&"separator"===t.type?t:void 0});const t=this.elements.filter(e=>!e.hidden);if(this.sortByLabel&&e){const i=e.toLowerCase();t.sort((e,t)=>{return e=e,t=t,n=i,o=e.labelHighlights||[],s=t.labelHighlights||[],!o.length||s.length?o.length||!s.length?0!==o.length||0!==s.length?Ms(e.saneLabel,t.saneLabel,n):0:1:-1;var n,o,s})}return this.elementsToIndexes=t.reduce((e,t,i)=>(e.set(t.item,i),e),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;var e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const i of e)i.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return"none"!==this.container.style.display}dispose(){this.elementDisposables=Object(ve.f)(this.elementDisposables),this.disposables=Object(ve.f)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}As([$o.a],Ws.prototype,"onDidChangeFocus",null),As([$o.a],Ws.prototype,"onDidChangeSelection",null);class Vs{getWidgetAriaLabel(){return Object(Jt.a)("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var Hs=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};const zs=Y.a,Us={iconClass:Object(fo.e)("quick-input-back",fo.b.arrowLeft).classNames,tooltip:Object(Jt.a)("quickInput.back","Back"),handle:-1};class Ks extends ve.a{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=Ks.noPromptMessage,this._severity=Vt.a.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new j.b),this.onDidHideEmitter=this._register(new j.b),this.onDisposeEmitter=this._register(new j.b),this.visibleDisposables=this._register(new ve.b),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){var t=this._ignoreFocusOut!==e&&!we.c;this._ignoreFocusOut=e&&!we.c,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{-1!==this.buttons.indexOf(e)&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=Ss.c.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){if(this.visible){var e=this.getTitle();e=(e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:e||" "===this.ui.title.innerHTML||(this.ui.title.innerText=" "),this.getDescription());if(this.ui.description1.textContent!==e&&(this.ui.description1.textContent=e),this.ui.description2.textContent!==e&&(this.ui.description2.textContent=e),this.busy&&!this.busyDelay&&(this.busyDelay=new be.g,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const e=this.buttons.filter(e=>e===Us),t=(this.ui.leftActionBar.push(e.map((e,t)=>{const i=new mo.a("id-"+t,"",e.iconClass||ys(e.iconPath),!0,()=>Hs(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return i.tooltip=e.tooltip||"",i}),{icon:!0,label:!1}),this.ui.rightActionBar.clear(),this.buttons.filter(e=>e!==Us));this.ui.rightActionBar.push(t.map((e,t)=>{const i=new mo.a("id-"+t,"",e.iconClass||ys(e.iconPath),!0,()=>Hs(this,void 0,void 0,(function*(){this.onDidTriggerButtonEmitter.fire(e)})));return i.tooltip=e.tooltip||"",i}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey),e=this.validationMessage||this.noValidationMessage,this._lastValidationMessage!==e&&(this._lastValidationMessage=e,Y.R(this.ui.message,...Object(gs.a)(e))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title||(this.step?this.getSteps():"")}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?Object(Jt.a)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){this.ui.inputBox.showDecoration(e),e!==Vt.a.Ignore?(e=this.ui.inputBox.stylesForType(e),this.ui.message.style.color=e.foreground?""+e.foreground:"",this.ui.message.style.backgroundColor=e.background?""+e.background:"",this.ui.message.style.border=e.border?"1px solid "+e.border:"",this.ui.message.style.paddingBottom="4px"):(this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom="")}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}Ks.noPromptMessage=Object(Jt.a)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class qs extends Ks{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new j.b),this.onWillAcceptEmitter=this._register(new j.b),this.onDidAcceptEmitter=this._register(new j.b),this.onDidCustomEmitter=this._register(new j.b),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._itemActivation=this.ui.isScreenReaderOptimized()?Ss.a.NONE:Ss.a.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new j.b),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new j.b),this.onDidTriggerItemButtonEmitter=this._register(new j.b),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e||"",this.update(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Ss.b:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){!this.autoFocusOnList||this.canSelectMany||this.ui.list.focus(Ts.First)}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{e!==this.value&&(this._value=e,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e))})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(Ts.Next),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Ts.Previous):this.ui.list.focus(Ts.Last),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 12:this.ui.list.focus(Ts.NextPage),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 11:this.ui.list.focus(Ts.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),Y.c.stop(e,!0);break;case 17:this._canAcceptInBackground&&this.ui.inputBox.isSelectionAtEnd()&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ts.First),Y.c.stop(e,!0));break;case 13:!e.ctrlKey&&!e.metaKey||e.shiftKey||e.altKey||(this.ui.list.focus(Ts.Last),Y.c.stop(e,!0))}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{!this.canSelectMany&&this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&Object(nt.h)(e,this._activeItems,(e,t)=>e===t)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{this.canSelectMany?e.length&&this.ui.list.setSelectedElements([]):this.selectedItemsToConfirm!==this._selectedItems&&Object(nt.h)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&1===t.button))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{!this.canSelectMany||this.selectedItemsToConfirm!==this._selectedItems&&Object(nt.h)(e,this._selectedItems,(e,t)=>e===t)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return Y.i(this.ui.container,Y.d.KEY_UP,e=>{if(!this.canSelectMany&&this._quickNavigate){const t=new Wt.a(e),i=t.keyCode,n=this._quickNavigate.keybindings;n.some(e=>{var[e,n]=e.getParts();return!n&&(e.shiftKey&&4===i?!(t.ctrlKey||t.altKey||t.metaKey):!(!e.altKey||6!==i)||!(!e.ctrlKey||5!==i)||!(!e.metaKey||57!==i))})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)}})}update(){if(this.visible){var e=!!this._hideInput&&0{this.keyMods.ctrlCmd=e.ctrlKey||e.metaKey,this.keyMods.alt=e.altKey};this._register(Y.i(window,Y.d.KEY_DOWN,e,!0)),this._register(Y.i(window,Y.d.KEY_UP,e,!0)),this._register(Y.i(window,Y.d.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=Y.q(this.parentElement,zs(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";var t=Y.w(e),i=Y.q(e,zs(".quick-input-titlebar"));const n=this._register(new ro.a(i));n.domNode.classList.add("quick-input-left-action-bar");var o=Y.q(i,zs(".quick-input-title"));const s=this._register(new ro.a(i));s.domNode.classList.add("quick-input-right-action-bar");var r=Y.q(e,zs(".quick-input-description")),a=Y.q(e,zs(".quick-input-header"));const l=Y.q(a,zs("input.quick-input-check-all"));l.type="checkbox",this._register(Y.o(l,Y.d.CHANGE,e=>{var t=l.checked;C.setAllVisibleChecked(t)})),this._register(Y.i(l,Y.d.CLICK,e=>{(e.x||e.y)&&u.setFocus()}));var d=Y.q(a,zs(".quick-input-description")),h=Y.q(a,zs(".quick-input-and-message")),c=Y.q(h,zs(".quick-input-filter"));const u=this._register(new ks(c)),g=(u.setAttribute("aria-describedby",this.idPrefix+"message"),Y.q(c,zs(".quick-input-visible-count"))),p=(g.setAttribute("aria-live","polite"),g.setAttribute("aria-atomic","true"),new fs.a(g,{countFormat:Object(Jt.a)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")})),m=Y.q(c,zs(".quick-input-count")),f=(m.setAttribute("aria-live","polite"),new fs.a(m,{countFormat:Object(Jt.a)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}));var _=Y.q(a,zs(".quick-input-action"));const b=new ms(_);b.label=Object(Jt.a)("ok","OK"),this._register(b.onDidClick(e=>{this.onDidAcceptEmitter.fire()})),a=Y.q(a,zs(".quick-input-action"));const v=new ms(a);v.label=Object(Jt.a)("custom","Custom"),this._register(v.onDidClick(e=>{this.onDidCustomEmitter.fire()})),h=Y.q(h,zs(`#${this.idPrefix}message.quick-input-message`));const C=this._register(new Ws(e,this.idPrefix+"list",this.options)),w=(this._register(C.onChangedAllVisibleChecked(e=>{l.checked=e})),this._register(C.onChangedVisibleCount(e=>{p.setCount(e)})),this._register(C.onChangedCheckedCount(e=>{f.setCount(e)})),this._register(C.onLeave(()=>{setTimeout(()=>{u.setFocus(),this.controller instanceof qs&&this.controller.canSelectMany&&C.clearFocus()},0)})),this._register(C.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")})),new vs(e)),y=(w.getContainer().classList.add("quick-input-progress"),Y.Y(e));return this._register(y),this._register(Y.i(e,Y.d.FOCUS,e=>{this.previousFocusElement=e.relatedTarget instanceof HTMLElement?e.relatedTarget:void 0},!0)),this._register(y.onDidBlur(()=>{this.getUI().ignoreFocusOut||this.options.ignoreFocusOut()||this.hide(Ss.c.Blur),this.previousFocusElement=void 0})),this._register(Y.i(e,Y.d.FOCUS,e=>{u.setFocus()})),this._register(Y.i(e,Y.d.KEY_DOWN,t=>{var i=new Wt.a(t);switch(i.keyCode){case 3:Y.c.stop(t,!0),this.onDidAcceptEmitter.fire();break;case 9:Y.c.stop(t,!0),this.hide(Ss.c.Gesture);break;case 2:if(!i.altKey&&!i.ctrlKey&&!i.metaKey){const n=[".action-label.codicon"],o=(e.classList.contains("show-checkboxes")?n.push("input"):n.push("input[type=text]"),this.getUI().list.isDisplayed()&&n.push(".monaco-list"),e.querySelectorAll(n.join(", ")));i.shiftKey&&i.target===o[0]?(Y.c.stop(t,!0),o[o.length-1].focus()):i.shiftKey||i.target!==o[o.length-1]||(Y.c.stop(t,!0),o[0].focus())}}})),this.ui={container:e,styleSheet:t,leftActionBar:n,titleBar:i,title:o,description1:r,description2:d,rightActionBar:s,checkAll:l,filterContainer:c,inputBox:u,visibleCountContainer:g,visibleCount:p,countContainer:m,count:f,okContainer:_,ok:b,message:h,customButtonContainer:a,customButton:v,list:C,progressBar:w,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:e=>this.show(e),hide:()=>this.hide(),setVisibilities:e=>this.setVisibilities(e),setComboboxAccessibility:e=>this.setComboboxAccessibility(e),setEnabled:e=>this.setEnabled(e),setContextKey:e=>this.options.setContextKey(e)},this.updateStyles(),this.ui}pick(e,t={},i=B.a.None){return new Promise((n,o)=>{let s=e=>{s=n,t.onKeyMods&&t.onKeyMods(r.keyMods),n(e)};if(i.isCancellationRequested)return void s(void 0);const r=this.createQuickPick();let a;const l=[r,r.onDidAccept(()=>{var e;r.canSelectMany?(s(r.selectedItems.slice()),r.hide()):(e=r.activeItems[0])&&(s(e),r.hide())}),r.onDidChangeActive(e=>{e=e[0],e&&t.onDidFocus&&t.onDidFocus(e)}),r.onDidChangeSelection(e=>{r.canSelectMany||(e=e[0])&&(s(e),r.hide())}),r.onDidTriggerItemButton(e=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},e),{removeItem:()=>{var t=r.items.indexOf(e.item);if(-1!==t){const e=r.items.slice(),i=e.splice(t,1);t=r.activeItems.filter(e=>e!==i[0]),r.items=e,t&&(r.activeItems=t)}}}))),r.onDidChangeValue(e=>{!a||e||1===r.activeItems.length&&r.activeItems[0]===a||(r.activeItems=[a])}),i.onCancellationRequested(()=>{r.hide()}),r.onDidHide(()=>{Object(ve.f)(l),s(void 0)})];r.title=t.title,r.canSelectMany=!!t.canPickMany,r.placeholder=t.placeHolder,r.ignoreFocusOut=!!t.ignoreFocusLost,r.matchOnDescription=!!t.matchOnDescription,r.matchOnDetail=!!t.matchOnDetail,r.matchOnLabel=void 0===t.matchOnLabel||t.matchOnLabel,r.autoFocusOnList=void 0===t.autoFocusOnList||t.autoFocusOnList,r.quickNavigate=t.quickNavigate,r.contextKey=t.contextKey,r.busy=!0,Promise.all([e,t.activeItem]).then(([e,t])=>{a=t,r.busy=!1,r.items=e,r.canSelectMany&&(r.selectedItems=e.filter(e=>"separator"!==e.type&&e.picked)),a&&(r.activeItems=[a])}),r.show(),Promise.resolve(e).then(void 0,e=>{o(e),r.hide()})})}createQuickPick(){var e=this.getUI();return new qs(e)}show(e){const t=this.getUI(),i=(this.onShowEmitter.fire(),this.controller);this.controller=e,i&&i.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Vt.a.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),Y.R(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="",e=this.options.backKeybindingLabel(),Us.tooltip=e?Object(Jt.a)("quickInput.backWithKeybinding","Back ({0})",e):Object(Jt.a)("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=!e.description||e.inputBox||e.checkAll?"none":"",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const i=this.controller;i&&(t=!(null!=(t=this.ui)&&t.container.contains(document.activeElement)),this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",t||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),i.didHide(e))}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=this.titleBarOffset+"px";const t=this.ui.container.style;var e=Math.min(.62*this.dimension.width,$s.MAX_WIDTH);t.width=e+"px",t.marginLeft="-"+e/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&.4*this.dimension.height)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:t,quickInputBackground:i,quickInputForeground:n,contrastBorder:o,widgetShadow:s}=this.styles.widget,r=(this.ui.titleBar.style.backgroundColor=t?t.toString():"",this.ui.container.style.backgroundColor=i?i.toString():"",this.ui.container.style.color=n?n.toString():"",this.ui.container.style.border=o?"1px solid "+o:"",this.ui.container.style.boxShadow=s?"0 0 8px 2px "+s:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list),[]);this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push("}"));var e=r.join("\n");e!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=e)}}}$s.MAX_WIDTH=600;var Gs=i("0bfb"),Zs=i("2f1e"),Ys=i("66bd"),Xs=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.substring(o?o.prefix.length:0),null!==o&&void 0!==o&&o.placeholder&&(l.ariaLabel=null===o||void 0===o?void 0:o.placeholder);let d=void 0,h=void 0;t&&(d=new Promise(e=>h=e),a.add(Object(Gs.a)(l.onWillAccept)(e=>{e.veto(),l.hide()}))),a.add(this.registerPickerListeners(l,n,o,e));const c=a.add(new B.b);return n&&a.add(n.provide(l,c.token)),Object(Gs.a)(l.onDidHide)(()=>{0===l.selectedItems.length&&c.cancel(),a.dispose(),null!==h&&void 0!==h&&h(l.selectedItems)}),l.show(),t?d:void 0}e===o.prefix||null!=i&&i.preserveValue||(s.picker.value=e),this.adjustValueSelection(s.picker,o,i)}adjustValueSelection(e,t,i){let n;n=null!=i&&i.preserveValue?[e.value.length,e.value.length]:[null!=(i=null==t?void 0:t.prefix.length)?i:0,e.value.length],e.valueSelection=n}registerPickerListeners(e,t,i,n){const o=new ve.b,s=this.visibleQuickAccess={picker:e,descriptor:i,value:n};return o.add(Object(ve.i)(()=>{s===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(e=>{var[i]=this.getOrInstantiateProvider(e);i!==t?this.show(e,{preserveValue:!0}):s.value=e})),i&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),o}getOrInstantiateProvider(e){if(e=this.registry.getQuickAccessProvider(e),!e)return[void 0,void 0];let t=this.mapProviderToDescriptor.get(e);return t||(t=this.instantiationService.createInstance(e.ctor),this.mapProviderToDescriptor.set(e,t)),[t,e]}};Qs=Xs([As(0,Ys.a),As(1,Fi.a)],Qs);$o=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,i,n,o)=>this.instantiationService.createInstance(jo.d,e,t,i,n,o),styles:this.computeStyles()};const n=this._register(new $s(Object.assign(Object.assign({},i),t)));return n.layout(e.dimension,null!=(t=null==(i=e.offset)?void 0:i.top)?t:0),this._register(e.onDidLayout(t=>n.layout(t,null!=(t=null==(t=e.offset)?void 0:t.top)?t:0))),this._register(n.onShow(()=>this.resetContextKeys())),this._register(n.onHide(()=>this.resetContextKeys())),n}setContextKey(e){let t;e&&!(t=this.contexts.get(e))&&(t=new ti.c(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t)),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=B.a.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(Do.d)(this.theme,{quickInputBackground:Dn.qc,quickInputForeground:Dn.rc,quickInputTitleBackground:Dn.vc,contrastBorder:Dn.h,widgetShadow:Dn.Nc})),inputBox:Object(Do.d)(this.theme,{inputForeground:Dn.lb,inputBackground:Dn.jb,inputBorder:Dn.kb,inputValidationInfoBackground:Dn.pb,inputValidationInfoForeground:Dn.rb,inputValidationInfoBorder:Dn.qb,inputValidationWarningBackground:Dn.sb,inputValidationWarningForeground:Dn.ub,inputValidationWarningBorder:Dn.tb,inputValidationErrorBackground:Dn.mb,inputValidationErrorForeground:Dn.ob,inputValidationErrorBorder:Dn.nb}),countBadge:Object(Do.d)(this.theme,{badgeBackground:Dn.c,badgeForeground:Dn.d,badgeBorder:Dn.h}),button:Object(Do.d)(this.theme,{buttonForeground:Dn.f,buttonBackground:Dn.e,buttonHoverBackground:Dn.g,buttonBorder:Dn.h}),progressBar:Object(Do.d)(this.theme,{progressBarBackground:Dn.pc}),keybindingLabel:Object(Do.d)(this.theme,{keybindingLabelBackground:Dn.vb,keybindingLabelForeground:Dn.yb,keybindingLabelBorder:Dn.wb,keybindingLabelBottomBorder:Dn.xb,keybindingLabelShadow:Dn.Nc}),list:Object(Do.d)(this.theme,{listBackground:Dn.qc,listInactiveFocusForeground:Dn.tc,listInactiveSelectionIconForeground:Dn.uc,listInactiveFocusBackground:Dn.sc,listFocusOutline:Dn.b,listInactiveFocusOutline:Dn.b,pickerGroupBorder:Dn.kc,pickerGroupForeground:Dn.lc})}}};var Js,er=function(e,t,i,n){var o,s=arguments.length,r=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;0<=a;a--)(o=e[a])&&(r=(s<3?o(r):3e.focus()}}createController(){return super.createController(this.host)}},nr=(ir=er([tr(1,Fi.a),tr(2,ti.b),tr(3,ji.b),tr(4,Wi.b),tr(5,Eo)],ir),class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const i=t=this.instantiationService.createInstance(ir,e);this.mapEditorToService.set(e,t),Object(Gs.a)(e.onDidDispose)(()=>{i.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},i=B.a.None){return this.activeService.pick(e,t,i)}createQuickPick(){return this.activeService.createQuickPick()}});nr=er([tr(0,Fi.a),tr(1,Z.a)],nr);class or{constructor(e){this.editor=e,this.widget=new sr(this.editor)}static get(e){return e.getContribution(or.ID)}dispose(){this.widget.dispose()}}or.ID="editor.controller.quickInput";class sr{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return sr.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}sr.ID="editor.contrib.quickInputWidget",Object(Qi.l)(or.ID,or);{var rr=Js=Js||{};const e=new Ro.a;class t{constructor(e,t){this._serviceId=e,this._factory=t,this._value=null}get id(){return this._serviceId}get(t){if(!this._value){if(t&&(this._value=t[this._serviceId.toString()]),this._value||(this._value=this._factory(t)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");e.set(this._serviceId,this._value)}return this._value}}rr.LazyStaticService=t;let i=[];function ar(e,n){return e=new t(e,n),i.push(e),e}rr.init=function(e){let t=new Ro.a;for(var[n,o]of Object(Yo.a)())t.set(n,o);for(var s in e)e.hasOwnProperty(s)&&t.set(Object(Fi.c)(s),e[s]);i.forEach(i=>t.set(i.id,i.get(e)));var r=new Fo(t,!0);return t.set(Fi.a,r),[t,r]},rr.instantiationService=ar(Fi.a,()=>new Fo(e,!0));const n=new Si;rr.configurationService=ar(qt.a,()=>n),rr.resourceConfigurationService=ar(se.a,()=>new Li(n)),rr.resourcePropertiesService=ar(se.b,()=>new xi(n)),rr.contextService=ar(ui.a,()=>new Di),rr.labelService=ar(st.a,()=>new Ei),rr.telemetryService=ar(io.a,()=>new ki),rr.dialogService=ar(rt.a,()=>new bi),rr.notificationService=ar(ci.a,()=>new vi),rr.markerService=ar(Wo.b,()=>new zo),rr.modeService=ar(fe.a,e=>new mn),rr.standaloneThemeService=ar(Ai.a,()=>new Hn),rr.logService=ar(ot.b,()=>new ot.d(new ot.a)),rr.undoRedoService=ar(es.a,e=>new cs(rr.dialogService.get(e),rr.notificationService.get(e))),rr.modelService=ar(it.a,e=>new fn.a(rr.configurationService.get(e),rr.resourcePropertiesService.get(e),rr.standaloneThemeService.get(e),rr.logService.get(e),rr.undoRedoService.get(e))),rr.markerDecorationsService=ar(qi.a,e=>new Zo(rr.modelService.get(e),rr.markerService.get(e))),rr.contextKeyService=ar(ti.b,e=>new Jn(rr.configurationService.get(e))),rr.codeEditorService=ar(Z.a,e=>new Ji(null,rr.contextKeyService.get(e),rr.standaloneThemeService.get(e))),rr.editorProgressService=ar(Hi.a,()=>new _i),rr.storageService=ar(Uo.a,()=>new Uo.b),rr.editorWorkerService=ar(me.a,e=>new dt(rr.modelService.get(e),rr.resourceConfigurationService.get(e),rr.logService.get(e)))}class lr extends ve.a{constructor(e,t){super();const[i,n]=Js.init(t),o=(this._serviceCollection=i,this._instantiationService=n,this.get(qt.a)),s=this.get(ci.a),r=this.get(io.a),a=this.get(ji.b),l=this.get(ot.b),d=this.get(ti.b);var h=(e,i)=>{let n=null;return n=(n=t?t[e.toString()]:n)||i(),this._serviceCollection.set(e,n),n};h(Wi.b,()=>new Xo(d,o)),h(jo.a,()=>new jo.b(a));let c=h(ie.b,()=>new Ci(this._instantiationService)),u=h(Bi.a,()=>this._register(new wi(d,c,r,s,l,e))),g=h(Eo,()=>new Ii(Js.codeEditorService.get(Z.a),e)),p=(h(Ys.a,()=>new nr(n,Js.codeEditorService.get(Z.a))),h(Pi.b,()=>this._register(new Io(g))));h(Vi.a,()=>new Jo),h(Pi.a,()=>{const e=new Oo(r,s,p,u,a);return e.configure({blockMouse:!1}),this._register(e)}),h(Ri.a,()=>new Ko(c)),h(zt.a,()=>new Oi(Js.modelService.get(it.a)))}get(e){var t=this._serviceCollection.get(e);if(t)return t;throw new Error("Missing service "+e)}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}var dr=i("1ddc");function hr(e,t,i){let n=new lr(e,t),o=null;return n.has(_e.a)||(o=new fi(Js.modelService.get()),n.set(_e.a,o)),n.has(ne.a)||n.set(ne.a,new de(n.get(Z.a),n.get(ie.b))),e=i(n),o&&o.setEditor(e),e}function cr(e,t,i){return hr(e,i||{},i=>new sn(e,t,i,i.get(Fi.a),i.get(Z.a),i.get(ie.b),i.get(ti.b),i.get(Bi.a),i.get(Pi.b),i.get(Ai.a),i.get(ci.a),i.get(qt.a),i.get(Wi.b),i.get(it.a),i.get(fe.a)))}function ur(e){return Js.codeEditorService.get().onCodeEditorAdd(t=>{e(t)})}function gr(e,t,i){return hr(e,i||{},i=>new rn(e,t,i,i.get(Fi.a),i.get(ti.b),i.get(Bi.a),i.get(Pi.b),i.get(me.a),i.get(Z.a),i.get(Ai.a),i.get(ci.a),i.get(qt.a),i.get(Pi.a),i.get(Hi.a),i.get(Vi.a)))}function pr(e,t){return new he.a(e,t)}function mr(e,t,i){return an(Js.modelService.get(),Js.modeService.get(),e,t,i)}function fr(e,t){Js.modelService.get().setMode(e,Js.modeService.get().create(t))}function _r(e,t,i){e&&Js.markerService.get().changeOne(t,e.uri,i)}function br(e){return Js.markerService.get().read(e)}function vr(e){return Js.markerService.get().onMarkerChanged(e)}function Cr(e){return Js.modelService.get().getModel(e)}function wr(){return Js.modelService.get().getModels()}function yr(e){return Js.modelService.get().onModelAdded(e)}function Sr(e){return Js.modelService.get().onModelRemoved(e)}function Lr(e){return Js.modelService.get().onModelModeChanged(t=>{e({model:t.model,oldLanguage:t.oldModeId})})}function xr(e){return t=Js.modelService.get(),e=e,new ft(t,e);var t}function kr(e,t){const i=Js.standaloneThemeService.get();return i.registerEditorContainer(e),Ft.colorizeElement(i,Js.modeService.get(),e,t)}function Dr(e,t,i){const n=Js.standaloneThemeService.get();return n.registerEditorContainer(document.body),Ft.colorize(Js.modeService.get(),e,t,i)}function Nr(e,t,i=4){const n=Js.standaloneThemeService.get();return n.registerEditorContainer(document.body),Ft.colorizeModelLine(e,t,i)}function Or(e,t){let i=Js.modeService.get(),n=(i.triggerMode(t),o=t,ge.F.get(o)||{getInitialState:()=>pe.c,tokenize:(e,t,i,n)=>Object(pe.d)(o,e,i,n)});var o,s=Object(Te.Q)(e);let r=[],a=n.getInitialState();for(let d=0,h=s.length;d",token:"delimiter.angle"}];let r=[];for(var a of t.brackets){let e=a;if((e=e&&Array.isArray(e)&&3===e.length?{token:e[2],open:e[0],close:e[1]}:e).open===e.close)throw xt(i,"open and close brackets in a 'brackets' attribute must be different: "+e.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof e.open||"string"!=typeof e.token||"string"!=typeof e.close)throw xt(i,"every element in the 'brackets' array must be a '{open,close,token}' object or array");r.push({token:e.token+i.tokenPostfix,open:St(i,e.open),close:St(i,e.close)})}return i.brackets=r,i.noThrow=!0,i}function Hr(e){hn.a.registerLanguage(e)}function zr(){let e=[];return e.concat(hn.a.getLanguages())}function Ur(e){return e=Js.modeService.get().getLanguageIdentifier(e),e?e.id:0}function Kr(e,t){let i=Js.modeService.get().onDidCreateMode(n=>{n.getId()===e&&(i.dispose(),t())});return i}function qr(e,t){var i=Js.modeService.get().getLanguageIdentifier(e);if(i)return Ie.a.register(i,t,100);throw new Error("Cannot set configuration for unknown language "+e)}class $r{constructor(e,t){this._languageIdentifier=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i,n){if("function"==typeof this._actual.tokenize)return Gr.adaptTokenize(this._languageIdentifier.language,this._actual,e,i,n);throw new Error("Not supported!")}tokenize2(e,t,i){return e=this._actual.tokenizeEncoded(e,i),new K.c(e.tokens,e.endState)}}class Gr{constructor(e,t,i){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=i}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t,i){let n=[],o=0;for(let r=0,a=e.length;r"tokenizeEncoded"in e?new $r(i,e):new Gr(Js.standaloneThemeService.get(),i,e);return Zr(t)?ge.F.registerPromise(e,t.then(e=>n(e))):ge.F.register(e,n(t))}function Qr(e,t){const i=t=>{return i=Js.modeService.get(),n=Js.standaloneThemeService.get(),o=e,t=Vr(e,t),new Rt(i,n,o,t);var i,n,o};return Zr(t)?ge.F.registerPromise(e,t.then(e=>i(e))):ge.F.register(e,i(t))}function Jr(e,t){return ge.y.register(e,t)}function ea(e,t){return ge.z.register(e,t)}function ta(e,t){return ge.B.register(e,t)}function ia(e,t){return ge.p.register(e,{provideHover:(e,i,n)=>{let o=e.getWordAtPosition(i);return Promise.resolve(t.provideHover(e,i,n)).then(e=>{if(e)return!e.range&&o&&(e.range=new z.a(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),e.range||(e.range=new z.a(i.lineNumber,i.column,i.lineNumber,i.column)),e})}})}function na(e,t){return ge.m.register(e,t)}function oa(e,t){return ge.i.register(e,t)}function sa(e,t){return ge.w.register(e,t)}function ra(e,t){return ge.f.register(e,t)}function aa(e,t){return ge.q.register(e,t)}function la(e,t){return ge.G.register(e,t)}function da(e,t){return ge.b.register(e,t)}function ha(e,t,i){return ge.a.register(e,{providedCodeActionKinds:null==i?void 0:i.providedCodeActionKinds,provideCodeActions:(e,i,n,o)=>{var s=Js.markerService.get().read({resource:e.uri}).filter(e=>z.a.areIntersectingOrTouching(e,i));return t.provideCodeActions(e,i,{markers:s,only:n.only},o)}})}function ca(e,t){return ge.g.register(e,t)}function ua(e,t){return ge.j.register(e,t)}function ga(e,t){return ge.x.register(e,t)}function pa(e,t){return ge.v.register(e,t)}function ma(e,t){return ge.d.register(e,t)}function fa(e,t){return ge.c.register(e,t)}function _a(e,t){return ge.o.register(e,t)}function ba(e,t){return ge.e.register(e,t)}function va(e,t){return ge.A.register(e,t)}function Ca(e,t){return ge.l.register(e,t)}function wa(e,t){return ge.k.register(e,t)}function ya(e,t){return ge.t.register(e,t)}function Sa(e,t){return ge.r.register(e,t)}$o=i("84df"),t.g.wrappingIndent.defaultValue=0,t.g.glyphMargin.defaultValue=!1,t.g.autoIndent.defaultValue=3,t.g.overviewRulerLanes.defaultValue=2,$o.a.setFormatterSelector((e,t,i)=>Promise.resolve(e[0]));const La=$(),xa=(La.editor={create:cr,onDidCreateEditor:ur,createDiffEditor:gr,createDiffNavigator:pr,createModel:mr,setModelLanguage:fr,setModelMarkers:_r,getModelMarkers:br,onDidChangeMarkers:vr,getModels:wr,getModel:Cr,onDidCreateModel:yr,onWillDisposeModel:Sr,onDidChangeModelLanguage:Lr,createWebWorker:xr,colorizeElement:kr,colorize:Dr,colorizeModelLine:Nr,tokenize:Or,defineTheme:Er,setTheme:Ir,remeasureFonts:Mr,registerCommand:Tr,AccessibilitySupport:n,ContentWidgetPositionPreference:l,CursorChangeReason:d,DefaultEndOfLine:h,EditorAutoIndentStrategy:u,EditorOption:g,EndOfLinePreference:p,EndOfLineSequence:m,MinimapPosition:y,MouseTargetType:S,OverlayWidgetPositionPreference:L,OverviewRulerLane:x,RenderLineNumbersType:k,RenderMinimap:D,ScrollbarVisibility:O,ScrollType:N,TextEditorCursorBlinkingStyle:A,TextEditorCursorStyle:R,TrackedRangeStickiness:P,WrappingIndent:F,ConfigurationChangedEvent:t.b,BareFontInfo:oe.a,FontInfo:oe.b,TextModelResolvedOptions:ue.e,FindMatch:ue.b,EditorType:ce.a,EditorOptions:t.g},La.languages={register:Hr,getLanguages:zr,onLanguage:Kr,getEncodedLanguageId:Ur,setLanguageConfiguration:qr,setColorMap:Yr,setTokensProvider:Xr,setMonarchTokensProvider:Qr,registerReferenceProvider:Jr,registerRenameProvider:ea,registerCompletionItemProvider:ma,registerSignatureHelpProvider:ta,registerHoverProvider:ia,registerDocumentSymbolProvider:na,registerDocumentHighlightProvider:oa,registerLinkedEditingRangeProvider:sa,registerDefinitionProvider:ra,registerImplementationProvider:aa,registerTypeDefinitionProvider:la,registerCodeLensProvider:da,registerCodeActionProvider:ha,registerDocumentFormattingEditProvider:ca,registerDocumentRangeFormattingEditProvider:ua,registerOnTypeFormattingEditProvider:ga,registerLinkProvider:pa,registerColorProvider:fa,registerFoldingRangeProvider:_a,registerDeclarationProvider:ba,registerSelectionRangeProvider:va,registerDocumentSemanticTokensProvider:Ca,registerDocumentRangeSemanticTokensProvider:wa,registerInlineCompletionsProvider:ya,registerInlayHintsProvider:Sa,DocumentHighlightKind:c,CompletionItemKind:s,CompletionItemTag:r,CompletionItemInsertTextRule:o,SymbolKind:M,SymbolTag:T,IndentAction:f,CompletionTriggerKind:a,SignatureHelpTriggerKind:I,InlayHintKind:_,InlineCompletionTriggerKind:b,FoldingRangeKind:ge.n},La.CancellationTokenSource),ka=La.Emitter,Da=La.KeyCode,Na=La.KeyMod,Oa=La.Position,Ea=La.Range,Ia=La.Selection,Ma=La.SelectionDirection,Ta=La.MarkerSeverity,Aa=La.MarkerTag,Ra=La.Uri,Pa=La.Token,Fa=La.editor,Ba=La.languages;(null!=(Xs=we.b.MonacoEnvironment)&&Xs.globalAPI||"function"==typeof define&&i("3c35"))&&(self.monaco=La),void 0!==self.require&&"function"==typeof self.require.config&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},f41d:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return i.e("chunk-2d21b84a").then(i.bind(null,"bfb2"))}})},f570:function(e,t,i){"use strict";i.r(t),i.d(t,"cssDefaults",(function(){return a})),i.d(t,"scssDefaults",(function(){return l})),i.d(t,"lessDefaults",(function(){return d})),i("33f9");var n=i("0b3c");Object.defineProperty(o.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"diagnosticsOptions",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),o.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},o.prototype.setDiagnosticsOptions=function(e){this.setOptions(e)},o.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},t=o;function o(e,t,i){this._onDidChange=new n.Emitter,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}var s={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0}},r={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},a=new t("css",s,r),l=new t("scss",s,r),d=new t("less",s,r);function h(){return i.e("chunk-0b65ffb6").then(i.bind(null,"db4f"))}n.languages.css={cssDefaults:a,lessDefaults:d,scssDefaults:l},n.languages.onLanguage("less",(function(){h().then((function(e){return e.setupMode(d)}))})),n.languages.onLanguage("scss",(function(){h().then((function(e){return e.setupMode(l)}))})),n.languages.onLanguage("css",(function(){h().then((function(e){return e.setupMode(a)}))}))},f577:function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),t=i("0a0f");const n=Object(t.c)("clipboardService")},f58f:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));class n{constructor(e,t,i,n,o,s){this.id=e,this.label=t,this.alias=i,this._precondition=n,this._run=o,this._contextKeyService=s}isSupported(){return this._contextKeyService.contextMatchesRules(this._precondition)}run(){return this.isSupported()?this._run():Promise.resolve(void 0)}}},f5ba:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return i.e("chunk-2d0de971").then(i.bind(null,"85fd"))}})},f5f3:function(e,t,i){"use strict";i.d(t,"b",(function(){return s})),i.d(t,"a",(function(){return r}));var n=i("af40");const o=[];function s(e,t,i){t instanceof n.a||(t=new n.a(t,[],i)),o.push([e,t])}function r(){return o}},f68e:function(e,t,i){"use strict";i.d(t,"b",(function(){return g})),i.d(t,"a",(function(){return m})),i.d(t,"c",(function(){return f}));var n=i("dff7"),o=i("308f"),s=i("82c9"),r=i("a666"),a=i("3742"),l=i("9c3e"),d=i("6a89"),h=i("40355"),c=i("fdcc"),u=function(e,t,i,n){return new(i=i||Promise)((function(o,s){function r(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof i?t:new i((function(e){e(t)}))).then(r,a)}l((n=n.apply(e,t||[])).next())}))};class g{constructor(e,t,i,n){this.isProviderFirst=e,this.parent=t,this.link=i,this._rangeCallback=n,this.id=l.b.nextId()}get uri(){return this.link.uri}get range(){var e;return null!=(e=null!=(e=this._range)?e:this.link.targetSelectionRange)?e:this.link.range}set range(e){this._range=e,this._rangeCallback(this)}get ariaMessage(){var e=null==(e=this.parent.getPreview(this))?void 0:e.preview(this.range);return e?Object(n.a)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",Object(s.b)(this.uri),this.range.startLineNumber,this.range.startColumn,e.value):Object(n.a)("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(s.b)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class p{constructor(e){this._modelReference=e}dispose(){this._modelReference.dispose()}preview(e,t=8){const i=this._modelReference.object.textEditorModel;var n,o,s,r;if(i)return({startLineNumber:o,startColumn:s,endLineNumber:n,endColumn:r}=e),t=i.getWordUntilPosition({lineNumber:o,column:s-t}),t=new d.a(o,t.startColumn,o,s),o=new d.a(n,r,n,1073741824),{value:(s=i.getValueInRange(t).replace(/^\s+/,""))+(r=i.getValueInRange(e))+i.getValueInRange(o).replace(/\s+$/,""),highlight:{start:s.length,end:s.length+r.length}}}}class m{constructor(e,t){this.parent=e,this.uri=t,this.children=[],this._previews=new h.b}dispose(){Object(r.f)(this._previews.values()),this._previews.clear()}getPreview(e){return this._previews.get(e.uri)}get ariaMessage(){var e=this.children.length;return 1===e?Object(n.a)("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(s.b)(this.uri),this.uri.fsPath):Object(n.a)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(s.b)(this.uri),this.uri.fsPath)}resolve(e){return u(this,void 0,void 0,(function*(){if(0===this._previews.size)for(var t of this.children)if(!this._previews.has(t.uri))try{var i=yield e.createModelReference(t.uri);this._previews.set(t.uri,new p(i))}catch(t){Object(c.f)(t)}return this}))}}class f{constructor(e,t){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new o.b,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=e,this._title=t;var i,n,[r]=e;let a;for(i of(e.sort(f._compareReferences),e))a&&s.e.isEqual(a.uri,i.uri,!0)||(a=new m(this,i.uri),this.groups.push(a)),0!==a.children.length&&0===f._compareReferences(i,a.children[a.children.length-1])||(n=new g(r===i,a,i,e=>this._onDidChangeReferenceRange.fire(e)),this.references.push(n),a.children.push(n))}dispose(){Object(r.f)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new f(this._links,this._title)}get title(){return this._title}get isEmpty(){return 0===this.groups.length}get ariaMessage(){return this.isEmpty?Object(n.a)("aria.result.0","No results found"):1===this.references.length?Object(n.a)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object(n.a)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(n.a)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(e,t){let i=e["parent"],n=i.children.indexOf(e);e=i.children.length;var o=i.parent.groups.length;return 1===o||t&&n+1({idx:n,prefixLen:a.d(i.uri.toString(),e.toString()),offsetDist:100*Math.abs(i.range.startLineNumber-t.lineNumber)+Math.abs(i.range.startColumn-t.column)})).sort((e,t)=>e.prefixLen>t.prefixLen?-1:e.prefixLent.offsetDist?1:0)[0];if(i)return this.references[i.idx]}referenceAt(e,t){for(const i of this.references)if(i.uri.toString()===e.toString()&&d.a.containsPosition(i.range,t))return i}firstReference(){for(const e of this.references)if(e.isProviderFirst)return e;return this.references[0]}static _compareReferences(e,t){return s.e.compare(e.uri,t.uri)||d.a.compareRangesUsingStarts(e.range,t.range)}}},f85a:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("2e5d"),o=i("7061"),s=i("6a89"),r=i("3742"),a=i("708a");class l{constructor(e,t,i){this._cursorPositionBrand=void 0,this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=i}}class d{static leftPosition(e,t){var i;return t.column>e.getLineMinColumn(t.lineNumber)?t.delta(void 0,-r.L(e.getLineContent(t.lineNumber),t.column-1)):1{})}return t}},fd11:function(e,t,i){"use strict";i.r(t),i.d(t,"DragAndDropController",(function(){return h})),i("3a19");t=i("a666");var n=i("30db"),o=i("b2cc"),s=i("7061"),r=i("6a89"),a=i("8025");class l{constructor(e,t,i){this.selection=e,this.targetPosition=t,this.copy=i,this.targetSelection=null}getEditOperations(e,t){e=e.getValueInRange(this.selection),this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new r.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),e),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new a.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new a.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn):this.targetPosition.lineNumberthis._onEditorMouseDown(e))),this._register(this._editor.onMouseUp(e=>this._onEditorMouseUp(e))),this._register(this._editor.onMouseDrag(e=>this._onEditorMouseDrag(e))),this._register(this._editor.onMouseDrop(e=>this._onEditorMouseDrop(e))),this._register(this._editor.onMouseDropCanceled(()=>this._onEditorMouseDropCanceled())),this._register(this._editor.onKeyDown(e=>this.onEditorKeyDown(e))),this._register(this._editor.onKeyUp(e=>this.onEditorKeyUp(e))),this._register(this._editor.onDidBlurEditorWidget(()=>this.onEditorBlur())),this._register(this._editor.onDidBlurEditorText(()=>this.onEditorBlur())),this._dndDecorationIds=[],this._mouseDown=!1,this._modifierPressed=!1,this._dragSelection=null}onEditorBlur(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1}onEditorKeyDown(e){this._editor.getOption(30)&&!this._editor.getOption(17)&&(d(e)&&(this._modifierPressed=!0),this._mouseDown&&d(e)&&this._editor.updateOptions({mouseStyle:"copy"}))}onEditorKeyUp(e){this._editor.getOption(30)&&!this._editor.getOption(17)&&(d(e)&&(this._modifierPressed=!1),this._mouseDown&&e.keyCode===h.TRIGGER_KEY_VALUE&&this._editor.updateOptions({mouseStyle:"default"}))}_onEditorMouseDown(e){this._mouseDown=!0}_onEditorMouseUp(e){this._mouseDown=!1,this._editor.updateOptions({mouseStyle:"text"})}_onEditorMouseDrag(e){let t=e.target;if(null===this._dragSelection){const e=this._editor.getSelections()||[];var i=e.filter(e=>t.position&&e.containsPosition(t.position));if(1!==i.length)return;this._dragSelection=i[0]}d(e.event)?this._editor.updateOptions({mouseStyle:"copy"}):this._editor.updateOptions({mouseStyle:"default"}),t.position&&(this._dragSelection.containsPosition(t.position)?this._removeDecoration():this.showAt(t.position))}_onEditorMouseDropCanceled(){this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}_onEditorMouseDrop(e){if(e.target&&(this._hitContent(e.target)||this._hitMargin(e.target))&&e.target.position){let n=new s.a(e.target.position.lineNumber,e.target.position.column);if(null===this._dragSelection){let o=null;var t,i;e.event.shiftKey?(t=this._editor.getSelection())&&(({selectionStartLineNumber:t,selectionStartColumn:i}=t),o=[new a.a(t,i,n.lineNumber,n.column)]):o=(this._editor.getSelections()||[]).map(e=>e.containsPosition(n)?new a.a(n.lineNumber,n.column,n.lineNumber,n.column):e),this._editor.setSelections(o||[],"mouse",3)}else this._dragSelection.containsPosition(n)&&(!d(e.event)&&!this._modifierPressed||!this._dragSelection.getEndPosition().equals(n)&&!this._dragSelection.getStartPosition().equals(n))||(this._editor.pushUndoStop(),this._editor.executeCommand(h.ID,new l(this._dragSelection,n,d(e.event)||this._modifierPressed)),this._editor.pushUndoStop())}this._editor.updateOptions({mouseStyle:"text"}),this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1}showAt(e){var t=[{range:new r.a(e.lineNumber,e.column,e.lineNumber,e.column),options:h._DECORATION_OPTIONS}];this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,t),this._editor.revealPosition(e,1)}_removeDecoration(){this._dndDecorationIds=this._editor.deltaDecorations(this._dndDecorationIds,[])}_hitContent(e){return 6===e.type||7===e.type}_hitMargin(e){return 2===e.type||3===e.type||4===e.type}dispose(){this._removeDecoration(),this._dragSelection=null,this._mouseDown=!1,this._modifierPressed=!1,super.dispose()}}h.ID="editor.contrib.dragAndDrop",h.TRIGGER_KEY_VALUE=n.f?6:5,h._DECORATION_OPTIONS=i.a.register({description:"dnd-target",className:"dnd-target"}),Object(o.l)(h.ID,h)},fd49:function(e,t,i){"use strict";i.d(t,"h",(function(){return r})),i.d(t,"b",(function(){return a})),i.d(t,"j",(function(){return l})),i.d(t,"a",(function(){return d})),i.d(t,"k",(function(){return g})),i.d(t,"n",(function(){return b})),i.d(t,"i",(function(){return n})),i.d(t,"e",(function(){return x})),i.d(t,"f",(function(){return I})),i.d(t,"m",(function(){return V})),i.d(t,"c",(function(){return X})),i.d(t,"d",(function(){return Q})),i.d(t,"l",(function(){return J})),i.d(t,"g",(function(){return te}));var n,o=i("dff7"),s=i("30db");t=i("d093");const r=8;class a{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class l{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class d{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class h{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}compute(e,t,i){return i}}class c{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class u{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}validate(e){return void 0===e?this.defaultValue:e}compute(e,t,i){return i}}function g(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}class p extends u{constructor(e,t,i,n){void 0!==n&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return g(e,this.defaultValue)}}class m extends u{constructor(e,t,i,n,o,s){void 0!==s&&(s.type="integer",s.default=i,s.minimum=n,s.maximum=o),super(e,t,i,s),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return void 0===e||(e=parseInt(e,10),isNaN(e))?t:(e=Math.max(i,e),0|(e=Math.min(n,e)))}validate(e){return m.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class f extends u{constructor(e,t,i,n,o){void 0!==o&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return eC),"fill"!==g&&!i||(y=!0,N=c,L=Math.min(a*o,Math.max(1,Math.floor(1/D))),b&&s&&_<=t.stableFitRemainingWidth&&(r=t.stableFitMaxMinimapScale),(c=Math.min(r,Math.max(1,Math.floor(L/v))))>N&&(k=Math.min(2,c/N)),x=c/o/k,C=Math.ceil(Math.max(d,f+n)*L),b?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=_,t.stableFitMaxMinimapScale=c):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0))}}return g=Math.floor(u*x),a=Math.min(g,Math.max(0,Math.floor((_-m-2)*x/(l+x)))+r),s=(D=Math.floor(o*a))/o,D=Math.floor(D*k),{renderMinimap:h?1:2,minimapLeft:"left"===p?0:i-a-m,minimapWidth:a,minimapHeightIsEditorHeight:y,minimapIsSampling:S,minimapScale:c,minimapLineHeight:L,minimapCanvasInnerWidth:D,minimapCanvasInnerHeight:C,minimapCanvasOuterWidth:s,minimapCanvasOuterHeight:w}}static computeLayout(e,t){var i=0|t.outerWidth,n=0|t.outerHeight,o=0|t.lineHeight,s=0|t.lineNumbersDigitCount,r=t.typicalHalfwidthCharacterWidth,a=t.maxDigitWidth,l=t.pixelRatio,h=t.viewLineCount,c=e.get(122),u=(c="inherit"===c?e.get(121):c,"inherit"===c?e.get(117):c),g=e.get(120),p=e.get(2),f=t.isDominatedByLongLines,_=e.get(48),b=0!==e.get(59).renderType,v=e.get(60),C=e.get(94),w=e.get(64),y=e.get(92),S=y.verticalScrollbarSize,L=y.verticalHasArrows,x=y.arrowSize;y=y.horizontalScrollbarSize;const k=e.get(57);e=e.get(36);let D,N=(D="string"==typeof k&&/^\d+(\.\d+)?ch$/.test(k)?(B=parseFloat(k.substr(0,k.length-2)),m.clampedInt(B*r,0,0,1e3)):m.clampedInt(k,0,0,1e3),e&&(D+=16),0),O=(b&&(B=Math.max(s,v),N=Math.round(B*a)),0),E=(_&&(O=o),0),M=E+O,T=M+N,A=T+D;e=i-O-N-D;let R=!1,P=!1,F=-1;2!==p&&("inherit"===c&&f?(R=!0,P=!0):"on"===u||"bounded"===u?P=!0:"wordWrapColumn"===u&&(F=g));b=I._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:r,pixelRatio:l,scrollBeyondLastLine:C,minimap:w,verticalScrollbarWidth:S,viewLineCount:h,remainingWidth:e,isViewportWrapping:P},t.memory||new d),0!==b.renderMinimap&&0===b.minimapLeft&&(E+=b.minimapWidth,M+=b.minimapWidth,T+=b.minimapWidth,A+=b.minimapWidth),s=e-b.minimapWidth,v=Math.max(1,Math.floor((s-S-2)/r));var B=L?x:0;return P&&(F=Math.max(1,v),"bounded"===u&&(F=Math.min(F,g))),{width:i,height:n,glyphMarginLeft:E,glyphMarginWidth:O,lineNumbersLeft:M,lineNumbersWidth:N,decorationsLeft:T,decorationsWidth:D,contentLeft:A,contentWidth:s,minimap:b,viewportColumn:v,isWordWrapMinified:R,isViewportWrapping:P,wrappingColumn:F,verticalScrollbarWidth:S,horizontalScrollbarHeight:y,overviewRuler:{top:B,width:S,height:n-2*B,right:0}}}}class M extends h{constructor(){var e={enabled:!0};super(56,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:o.a("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return e&&"object"==typeof e?{enabled:g(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}class T extends h{constructor(){var e={enabled:!0,fontSize:0,fontFamily:""};super(126,"inlayHints",e,{"editor.inlayHints.enabled":{type:"boolean",default:e.enabled,description:o.a("inlayHints.enable","Enables the inlay hints in the editor.")},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:o.a("inlayHints.fontSize","Controls font size of inlay hints in the editor. When set to `0`, the 90% of `#editor.fontSize#` is used.")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,description:o.a("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),fontSize:m.clampedInt(e.fontSize,this.defaultValue.fontSize,0,100),fontFamily:_.string(e.fontFamily,this.defaultValue.fontFamily)}:this.defaultValue}}class A extends f{constructor(){super(58,"lineHeight",X.lineHeight,e=>f.clamp(e,0,150),{markdownDescription:o.a("lineHeight","Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values.")})}compute(e,t,i){return e.fontInfo.lineHeight}}class R extends h{constructor(){var e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(64,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:o.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[o.a("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),o.a("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),o.a("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:o.a("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:o.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:o.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:o.a("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:o.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:o.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),size:b(e.size,this.defaultValue.size,["proportional","fill","fit"]),side:b(e.side,this.defaultValue.side,["right","left"]),showSlider:b(e.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:g(e.renderCharacters,this.defaultValue.renderCharacters),scale:m.clampedInt(e.scale,1,1,3),maxColumn:m.clampedInt(e.maxColumn,this.defaultValue.maxColumn,1,1e4)}:this.defaultValue}}class P extends h{constructor(){super(74,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:o.a("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:o.a("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){return e&&"object"==typeof e?(e=e,{top:m.clampedInt(e.top,0,0,1e3),bottom:m.clampedInt(e.bottom,0,0,1e3)}):this.defaultValue}}class F extends h{constructor(){var e={enabled:!0,cycle:!1};super(75,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:o.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:o.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),cycle:g(e.cycle,this.defaultValue.cycle)}:this.defaultValue}}class B extends c{constructor(){super(128)}compute(e,t,i){return e.pixelRatio}}class j extends h{constructor(){var e={other:!0,comments:!1,strings:!1};super(78,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:o.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:o.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:o.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:o.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){return"boolean"==typeof e?e:e&&"object"==typeof e?!!((e={other:g((e=e).other,this.defaultValue.other),comments:g(e.comments,this.defaultValue.comments),strings:g(e.strings,this.defaultValue.strings)}).other&&e.comments&&e.strings)||!!(e.other||e.comments||e.strings)&&e:this.defaultValue}}class W extends h{constructor(){super(59,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[o.a("lineNumbers.off","Line numbers are not rendered."),o.a("lineNumbers.on","Line numbers are rendered as absolute number."),o.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),o.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:o.a("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return void 0!==e&&("function"==typeof e?(t=4,i=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:i}}}function V(e){var t=e.get(87);return"editable"===t?e.get(80):"on"!==t}class H extends h{constructor(){var e=[],t={type:"number",description:o.a("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(91,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:o.a("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:o.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let i=[];for(var t of e)"number"==typeof t?i.push({column:m.clampedInt(t,0,0,1e4),color:null}):t&&"object"==typeof t&&(t=t,i.push({column:m.clampedInt(t.column,0,0,1e4),color:t.color}));return i.sort((e,t)=>e.column-t.column),i}return this.defaultValue}}function z(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}class U extends h{constructor(){var e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(92,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[o.a("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),o.a("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),o.a("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:o.a("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[o.a("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),o.a("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),o.a("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:o.a("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:o.a("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:o.a("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:o.a("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){var t,i;return e&&"object"==typeof e?(e=e,t=m.clampedInt(e.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),i=m.clampedInt(e.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3),{arrowSize:m.clampedInt(e.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:z(e.vertical,this.defaultValue.vertical),horizontal:z(e.horizontal,this.defaultValue.horizontal),useShadows:g(e.useShadows,this.defaultValue.useShadows),verticalHasArrows:g(e.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:g(e.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:g(e.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:g(e.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:t,horizontalSliderSize:m.clampedInt(e.horizontalSliderSize,t,0,1e3),verticalScrollbarSize:i,verticalSliderSize:m.clampedInt(e.verticalSliderSize,i,0,1e3),scrollByPage:g(e.scrollByPage,this.defaultValue.scrollByPage)}):this.defaultValue}}class K extends h{constructor(){var e={enabled:!0,mode:"subwordSmart"};super(54,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:o.a("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.mode":{type:"string",enum:["prefix","subword","subwordSmart"],enumDescriptions:[o.a("inlineSuggest.mode.prefix","Only render an inline suggestion if the replace text is a prefix of the insert text."),o.a("inlineSuggest.mode.subword","Only render an inline suggestion if the replace text is a subword of the insert text."),o.a("inlineSuggest.mode.subwordSmart","Only render an inline suggestion if the replace text is a subword of the insert text, but the subword must start after the cursor.")],default:e.mode,description:o.a("inlineSuggest.mode","Controls which mode to use for rendering inline suggestions.")}})}validate(e){return e&&"object"==typeof e?{enabled:g((e=e).enabled,this.defaultValue.enabled),mode:b(e.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}:this.defaultValue}}class q extends h{constructor(){var e={enabled:Q.bracketPairColorizationOptions.enabled};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,description:o.a("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.")}})}validate(e){return e&&"object"==typeof e?{enabled:g(e.enabled,this.defaultValue.enabled)}:this.defaultValue}}class $ extends h{constructor(){var e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(106,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[o.a("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),o.a("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:o.a("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:o.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:o.a("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:o.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:o.a("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:o.a("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:o.a("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:o.a("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.previewMode":{type:"string",enum:["prefix","subword","subwordSmart"],enumDescriptions:[o.a("suggest.previewMode.prefix","Only render a preview if the replace text is a prefix of the insert text."),o.a("suggest.previewMode.subword","Only render a preview if the replace text is a subword of the insert text."),o.a("suggest.previewMode.subwordSmart","Render a preview if the replace text is a subword of the insert text, or if it is a prefix of the insert text.")],default:e.previewMode,description:o.a("suggest.previewMode","Controls which mode to use for rendering the suggest preview.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:o.a("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:o.a("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:o.a("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:o.a("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){return e&&"object"==typeof e?{insertMode:b((e=e).insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:g(e.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:g(e.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:g(e.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:g(e.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:g(e.showIcons,this.defaultValue.showIcons),showStatusBar:g(e.showStatusBar,this.defaultValue.showStatusBar),preview:g(e.preview,this.defaultValue.preview),previewMode:b(e.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:g(e.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:g(e.showMethods,this.defaultValue.showMethods),showFunctions:g(e.showFunctions,this.defaultValue.showFunctions),showConstructors:g(e.showConstructors,this.defaultValue.showConstructors),showDeprecated:g(e.showDeprecated,this.defaultValue.showDeprecated),showFields:g(e.showFields,this.defaultValue.showFields),showVariables:g(e.showVariables,this.defaultValue.showVariables),showClasses:g(e.showClasses,this.defaultValue.showClasses),showStructs:g(e.showStructs,this.defaultValue.showStructs),showInterfaces:g(e.showInterfaces,this.defaultValue.showInterfaces),showModules:g(e.showModules,this.defaultValue.showModules),showProperties:g(e.showProperties,this.defaultValue.showProperties),showEvents:g(e.showEvents,this.defaultValue.showEvents),showOperators:g(e.showOperators,this.defaultValue.showOperators),showUnits:g(e.showUnits,this.defaultValue.showUnits),showValues:g(e.showValues,this.defaultValue.showValues),showConstants:g(e.showConstants,this.defaultValue.showConstants),showEnums:g(e.showEnums,this.defaultValue.showEnums),showEnumMembers:g(e.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:g(e.showKeywords,this.defaultValue.showKeywords),showWords:g(e.showWords,this.defaultValue.showWords),showColors:g(e.showColors,this.defaultValue.showColors),showFiles:g(e.showFiles,this.defaultValue.showFiles),showReferences:g(e.showReferences,this.defaultValue.showReferences),showFolders:g(e.showFolders,this.defaultValue.showFolders),showTypeParameters:g(e.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:g(e.showSnippets,this.defaultValue.showSnippets),showUsers:g(e.showUsers,this.defaultValue.showUsers),showIssues:g(e.showIssues,this.defaultValue.showIssues)}:this.defaultValue}}class G extends h{constructor(){super(102,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:o.a("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return e&&"object"==typeof e?{selectLeadingAndTrailingWhitespace:g(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}:this.defaultValue}}class Z extends c{constructor(){super(129,[80])}compute(e,t,i){return!!t.get(80)||e.tabFocusMode}}class Y extends c{constructor(){super(131,[130])}compute(e,t,i){return t=t.get(130),{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:t.isWordWrapMinified,isViewportWrapping:t.isViewportWrapping,wrappingColumn:t.wrappingColumn}}}const X={fontFamily:s.f?"Menlo, Monaco, 'Courier New', monospace":s.d?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:s.f?12:14,lineHeight:0,letterSpacing:0},Q={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}},J=[];function ee(e){return J[e.id]=e}const te={acceptSuggestionOnCommitCharacter:ee(new p(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:o.a("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:ee(new v(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",o.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:o.a("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:ee(new w),accessibilityPageSize:ee(new m(3,"accessibilityPageSize",10,1,1073741824,{description:o.a("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:ee(new _(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:ee(new v(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),o.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:ee(new v(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:ee(new v(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",o.a("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:o.a("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:ee(new v(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",o.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),o.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:o.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:ee(new C(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],(function(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}),{enumDescriptions:[o.a("editor.autoIndent.none","The editor will not insert indentation automatically."),o.a("editor.autoIndent.keep","The editor will keep the current line's indentation."),o.a("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),o.a("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),o.a("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:o.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:ee(new p(10,"automaticLayout",!1)),autoSurround:ee(new v(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[o.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),o.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),o.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:o.a("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:ee(new q),stickyTabStops:ee(new p(104,"stickyTabStops",!1,{description:o.a("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:ee(new p(13,"codeLens",!0,{description:o.a("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:ee(new _(14,"codeLensFontFamily","",{description:o.a("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:ee(new m(15,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:o.a("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.")})),colorDecorators:ee(new p(16,"colorDecorators",!0,{description:o.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:ee(new p(17,"columnSelection",!1,{description:o.a("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:ee(new y),contextmenu:ee(new p(19,"contextmenu",!0)),copyWithSyntaxHighlighting:ee(new p(20,"copyWithSyntaxHighlighting",!0,{description:o.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:ee(new C(21,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],(function(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}),{description:o.a("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:ee(new p(22,"cursorSmoothCaretAnimation",!1,{description:o.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:ee(new C(23,"cursorStyle",n.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],(function(e){switch(e){case"line":return n.Line;case"block":return n.Block;case"underline":return n.Underline;case"line-thin":return n.LineThin;case"block-outline":return n.BlockOutline;case"underline-thin":return n.UnderlineThin}}),{description:o.a("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:ee(new m(24,"cursorSurroundingLines",0,0,1073741824,{description:o.a("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:ee(new v(25,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[o.a("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),o.a("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:o.a("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:ee(new m(26,"cursorWidth",0,0,1073741824,{markdownDescription:o.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:ee(new p(27,"disableLayerHinting",!1)),disableMonospaceOptimizations:ee(new p(28,"disableMonospaceOptimizations",!1)),domReadOnly:ee(new p(29,"domReadOnly",!1)),dragAndDrop:ee(new p(30,"dragAndDrop",!0,{description:o.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:ee(new class extends p{constructor(){super(31,"emptySelectionClipboard",!0,{description:o.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}),extraEditorClassName:ee(new _(32,"extraEditorClassName","")),fastScrollSensitivity:ee(new f(33,"fastScrollSensitivity",5,e=>e<=0?5:e,{markdownDescription:o.a("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:ee(new L),fixedOverflowWidgets:ee(new p(35,"fixedOverflowWidgets",!1)),folding:ee(new p(36,"folding",!0,{description:o.a("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:ee(new v(37,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[o.a("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),o.a("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:o.a("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:ee(new p(38,"foldingHighlight",!0,{description:o.a("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:ee(new p(39,"foldingImportsByDefault",!1,{description:o.a("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),unfoldOnClickAfterEndOfLine:ee(new p(40,"unfoldOnClickAfterEndOfLine",!1,{description:o.a("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:ee(new _(41,"fontFamily",X.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:ee(new k),fontLigatures2:ee(new x),fontSize:ee(new D),fontWeight:ee(new N),formatOnPaste:ee(new p(46,"formatOnPaste",!1,{description:o.a("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:ee(new p(47,"formatOnType",!1,{description:o.a("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:ee(new p(48,"glyphMargin",!0,{description:o.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:ee(new O),hideCursorInOverviewRuler:ee(new p(50,"hideCursorInOverviewRuler",!1,{description:o.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:ee(new p(51,"highlightActiveIndentGuide",!0,{description:o.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:ee(new E),inDiffEditor:ee(new p(53,"inDiffEditor",!1)),letterSpacing:ee(new f(55,"letterSpacing",X.letterSpacing,e=>f.clamp(e,-5,20),{description:o.a("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:ee(new M),lineDecorationsWidth:ee(new u(57,"lineDecorationsWidth",10)),lineHeight:ee(new A),lineNumbers:ee(new W),lineNumbersMinChars:ee(new m(60,"lineNumbersMinChars",5,1,300)),linkedEditing:ee(new p(61,"linkedEditing",!1,{description:o.a("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:ee(new p(62,"links",!0,{description:o.a("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:ee(new v(63,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:ee(new R),mouseStyle:ee(new v(65,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:ee(new f(66,"mouseWheelScrollSensitivity",1,e=>0===e?1:e,{markdownDescription:o.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:ee(new p(67,"mouseWheelZoom",!1,{markdownDescription:o.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:ee(new p(68,"multiCursorMergeOverlapping",!0,{description:o.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:ee(new C(69,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],(function(e){return"ctrlCmd"===e?s.f?"metaKey":"ctrlKey":"altKey"}),{markdownEnumDescriptions:[o.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),o.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:o.a({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:ee(new v(70,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[o.a("multiCursorPaste.spread","Each cursor pastes a single line of the text."),o.a("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:o.a("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:ee(new p(71,"occurrencesHighlight",!0,{description:o.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:ee(new p(72,"overviewRulerBorder",!0,{description:o.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:ee(new m(73,"overviewRulerLanes",3,0,3)),padding:ee(new P),parameterHints:ee(new F),peekWidgetDefaultFocus:ee(new v(76,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[o.a("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),o.a("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:o.a("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:ee(new p(77,"definitionLinkOpensInPeek",!1,{description:o.a("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:ee(new j),quickSuggestionsDelay:ee(new m(79,"quickSuggestionsDelay",10,0,1073741824,{description:o.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:ee(new p(80,"readOnly",!1)),renameOnType:ee(new p(81,"renameOnType",!1,{description:o.a("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:o.a("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:ee(new p(82,"renderControlCharacters",!1,{description:o.a("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:ee(new p(83,"renderIndentGuides",!0,{description:o.a("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:ee(new p(84,"renderFinalNewline",!0,{description:o.a("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:ee(new v(85,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",o.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:o.a("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:ee(new p(86,"renderLineHighlightOnlyWhenFocus",!1,{description:o.a("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:ee(new v(87,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:ee(new v(88,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",o.a("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),o.a("renderWhitespace.selection","Render whitespace characters only on selected text."),o.a("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:o.a("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:ee(new m(89,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:ee(new p(90,"roundedSelection",!0,{description:o.a("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:ee(new H),scrollbar:ee(new U),scrollBeyondLastColumn:ee(new m(93,"scrollBeyondLastColumn",5,0,1073741824,{description:o.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:ee(new p(94,"scrollBeyondLastLine",!0,{description:o.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:ee(new p(95,"scrollPredominantAxis",!0,{description:o.a("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:ee(new p(96,"selectionClipboard",!0,{description:o.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:s.d})),selectionHighlight:ee(new p(97,"selectionHighlight",!0,{description:o.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:ee(new p(98,"selectOnLineNumbers",!0)),showFoldingControls:ee(new v(99,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[o.a("showFoldingControls.always","Always show the folding controls."),o.a("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:o.a("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:ee(new p(100,"showUnused",!0,{description:o.a("showUnused","Controls fading out of unused code.")})),showDeprecated:ee(new p(125,"showDeprecated",!0,{description:o.a("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:ee(new T),snippetSuggestions:ee(new v(101,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[o.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),o.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),o.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),o.a("snippetSuggestions.none","Do not show snippet suggestions.")],description:o.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:ee(new G),smoothScrolling:ee(new p(103,"smoothScrolling",!1,{description:o.a("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:ee(new m(105,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:ee(new $),inlineSuggest:ee(new K),suggestFontSize:ee(new m(107,"suggestFontSize",0,0,1e3,{markdownDescription:o.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:ee(new m(108,"suggestLineHeight",0,0,1e3,{markdownDescription:o.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:ee(new p(109,"suggestOnTriggerCharacters",!0,{description:o.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:ee(new v(110,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[o.a("suggestSelection.first","Always select the first suggestion."),o.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),o.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:o.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:ee(new v(111,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[o.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),o.a("tabCompletion.off","Disable tab completions."),o.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:o.a("tabCompletion","Enables tab completions.")})),tabIndex:ee(new m(112,"tabIndex",0,-1,1073741824)),unusualLineTerminators:ee(new v(113,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[o.a("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),o.a("unusualLineTerminators.off","Unusual line terminators are ignored."),o.a("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:o.a("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:ee(new p(114,"useShadowDOM",!0)),useTabStops:ee(new p(115,"useTabStops",!0,{description:o.a("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:ee(new _(116,"wordSeparators",t.b,{description:o.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:ee(new v(117,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[o.a("wordWrap.off","Lines will never wrap."),o.a("wordWrap.on","Lines will wrap at the viewport width."),o.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),o.a({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:o.a({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:ee(new _(118,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:ee(new _(119,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:ee(new m(120,"wordWrapColumn",80,1,1073741824,{markdownDescription:o.a({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:ee(new v(121,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:ee(new v(122,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:ee(new C(123,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],(function(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}),{enumDescriptions:[o.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),o.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),o.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),o.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:o.a("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:ee(new v(124,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[o.a("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),o.a("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:o.a("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:ee(new S),pixelRatio:ee(new B),tabFocusMode:ee(new Z),layoutInfo:ee(new I),wrappingInfo:ee(new Y)}},fdc0:function(e,t,i){"use strict";i.r(t),t=i("fa12"),Object(t.a)({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return i.e("chunk-2d22c171").then(i.bind(null,"f26e"))}})},fdcc:function(e,t,i){"use strict";i.d(t,"f",(function(){return o})),i.d(t,"g",(function(){return s})),i.d(t,"h",(function(){return r})),i.d(t,"e",(function(){return l})),i.d(t,"b",(function(){return d})),i.d(t,"c",(function(){return h})),i.d(t,"d",(function(){return c})),i.d(t,"a",(function(){return u}));const n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}emit(e){this.listeners.forEach(t=>{t(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function o(e){l(e)||n.onUnexpectedError(e)}function s(e){l(e)||n.onUnexpectedExternalError(e)}function r(e){var t,i;return e instanceof Error?(({name:t,message:i}=e),{$isError:!0,name:t,message:i,stack:e.stacktrace||e.stack}):e}const a="Canceled";function l(e){return e instanceof Error&&e.name===a&&e.message===a}function d(){const e=new Error(a);return e.name=e.message,e}function h(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function c(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}class u extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}},fe45:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return h})),i.d(t,"f",(function(){return c})),i.d(t,"e",(function(){return g})),i.d(t,"d",(function(){return m})),i.d(t,"c",(function(){return f}));var n,o=i("fdcc");class s{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const r=new s,a=new s,l=new s;function d(e,t,i=t,n=i){r.define(e,t),a.define(e,i),l.define(e,n)}function h(e,t){return(e|(65535&t)<<16>>>0)>>>0}function c(e,t){var i;return 0===e?null:(i=(65535&e)>>>0,0!=(e=(4294901760&e)>>>16)?new p([u(i,t),u(e,t)]):new p([u(i,t)]))}function u(e,t){var i=!!(2048&e),n=!!(256&e),o=2===t?n:i,s=!!(1024&e),r=!!(512&e);t=2===t?i:n,i=255&e;return new g(o,s,r,t,i)}d(0,"unknown"),d(1,"Backspace"),d(2,"Tab"),d(3,"Enter"),d(4,"Shift"),d(5,"Ctrl"),d(6,"Alt"),d(7,"PauseBreak"),d(8,"CapsLock"),d(9,"Escape"),d(10,"Space"),d(11,"PageUp"),d(12,"PageDown"),d(13,"End"),d(14,"Home"),d(15,"LeftArrow","Left"),d(16,"UpArrow","Up"),d(17,"RightArrow","Right"),d(18,"DownArrow","Down"),d(19,"Insert"),d(20,"Delete"),d(21,"0"),d(22,"1"),d(23,"2"),d(24,"3"),d(25,"4"),d(26,"5"),d(27,"6"),d(28,"7"),d(29,"8"),d(30,"9"),d(31,"A"),d(32,"B"),d(33,"C"),d(34,"D"),d(35,"E"),d(36,"F"),d(37,"G"),d(38,"H"),d(39,"I"),d(40,"J"),d(41,"K"),d(42,"L"),d(43,"M"),d(44,"N"),d(45,"O"),d(46,"P"),d(47,"Q"),d(48,"R"),d(49,"S"),d(50,"T"),d(51,"U"),d(52,"V"),d(53,"W"),d(54,"X"),d(55,"Y"),d(56,"Z"),d(57,"Meta"),d(58,"ContextMenu"),d(59,"F1"),d(60,"F2"),d(61,"F3"),d(62,"F4"),d(63,"F5"),d(64,"F6"),d(65,"F7"),d(66,"F8"),d(67,"F9"),d(68,"F10"),d(69,"F11"),d(70,"F12"),d(71,"F13"),d(72,"F14"),d(73,"F15"),d(74,"F16"),d(75,"F17"),d(76,"F18"),d(77,"F19"),d(78,"NumLock"),d(79,"ScrollLock"),d(80,";",";","OEM_1"),d(81,"=","=","OEM_PLUS"),d(82,",",",","OEM_COMMA"),d(83,"-","-","OEM_MINUS"),d(84,".",".","OEM_PERIOD"),d(85,"/","/","OEM_2"),d(86,"`","`","OEM_3"),d(110,"ABNT_C1"),d(111,"ABNT_C2"),d(87,"[","[","OEM_4"),d(88,"\\","\\","OEM_5"),d(89,"]","]","OEM_6"),d(90,"'","'","OEM_7"),d(91,"OEM_8"),d(92,"OEM_102"),d(93,"NumPad0"),d(94,"NumPad1"),d(95,"NumPad2"),d(96,"NumPad3"),d(97,"NumPad4"),d(98,"NumPad5"),d(99,"NumPad6"),d(100,"NumPad7"),d(101,"NumPad8"),d(102,"NumPad9"),d(103,"NumPad_Multiply"),d(104,"NumPad_Add"),d(105,"NumPad_Separator"),d(106,"NumPad_Subtract"),d(107,"NumPad_Decimal"),d(108,"NumPad_Divide"),(t=n=n||{}).toString=function(e){return r.keyCodeToStr(e)},t.fromString=function(e){return r.strToKeyCode(e)},t.toUserSettingsUS=function(e){return a.keyCodeToStr(e)},t.toUserSettingsGeneral=function(e){return l.keyCodeToStr(e)},t.fromUserSettings=function(e){return a.strToKeyCode(e)||l.strToKeyCode(e)};class g{constructor(e,t,i,n,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyCode=o}equals(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode}isModifierKey(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode}toChord(){return new p([this])}isDuplicateModifierCase(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}class p{constructor(e){if(0===e.length)throw Object(o.c)("parts");this.parts=e}}class m{constructor(e,t,i,n,o,s){this.ctrlKey=e,this.shiftKey=t,this.altKey=i,this.metaKey=n,this.keyLabel=o,this.keyAriaLabel=s}}class f{}},fe86:function(e,t,i){},ffac:function(e,t,i){}}]); \ No newline at end of file diff --git a/crmeb/public/admin/js/chunk-41c8b7a2.040f64c4.js.gz b/crmeb/public/admin/js/chunk-41c8b7a2.040f64c4.js.gz deleted file mode 100644 index ebdb138e8..000000000 Binary files a/crmeb/public/admin/js/chunk-41c8b7a2.040f64c4.js.gz and /dev/null differ diff --git a/crmeb/public/admin/js/chunk-45de3ce6.cb5c8f2a.js b/crmeb/public/admin/js/chunk-45de3ce6.b2955197.js similarity index 100% rename from crmeb/public/admin/js/chunk-45de3ce6.cb5c8f2a.js rename to crmeb/public/admin/js/chunk-45de3ce6.b2955197.js diff --git a/crmeb/public/admin/js/chunk-464a5aac.f2a3f738.js b/crmeb/public/admin/js/chunk-464a5aac.0b1c6853.js similarity index 100% rename from crmeb/public/admin/js/chunk-464a5aac.f2a3f738.js rename to crmeb/public/admin/js/chunk-464a5aac.0b1c6853.js diff --git a/crmeb/public/admin/js/chunk-469518b2.82faadda.js b/crmeb/public/admin/js/chunk-469518b2.82faadda.js new file mode 100644 index 000000000..1750dd99d --- /dev/null +++ b/crmeb/public/admin/js/chunk-469518b2.82faadda.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-469518b2"],{1678:function(t,e,a){},"2ff4":function(t,e,a){},3078:function(t,e,a){"use strict";a.r(e),a("a9e3"),a("b0c0");var n=a("f478"),i=a("f3f3"),s=(a("e9c4"),a("d81d"),a("d3b7"),a("25f0"),a("9911"),a("2542")),r=(i={name:"rightConfig",components:Object(i.a)({},s.a),props:{name:{type:Object,default:{}},pageId:{type:Number,default:0},configNum:{type:Number|String,default:"default"}},computed:{defultArr:function(){return this.$store.state.moren.component}},watch:{name:{handler:function(t,e){this.rCom=[],this.configData=this.$store.state.moren.defaultConfig[t.name],this.configData.hasOwnProperty(this.configNum)||(a=JSON.parse(JSON.stringify(this.configData.defaultVal)),this.configData[t.num]=a,this.$store.commit("moren/upDataName",this.configData));var a,n=this;setTimeout((function(){n.rCom=n.$store.state.moren.component[t.name].list}),30),this.configData[t.num].selectConfig&&(this.configData[t.num].selectConfig.type?this.getByCategory():this.getCategory())},deep:!0},defultArr:{handler:function(t,e){this.rCom=[],this.objToArray(t),this.rCom=t[this.name.name].list},deep:!0}},data:function(){return{rCom:[],configData:{},isShow:!0,categoryList:[],status:0}},mounted:function(){this.storeStatus()},methods:{storeStatus:function(){var t=this;Object(n.w)().then((function(e){t.status=parseInt(e.data.store_status)}))},getCategory:function(){var t=this;Object(n.g)().then((function(e){var a=[];e.data.map((function(t){a.push({title:t.title,pid:t.pid,activeValue:t.id.toString()})})),t.configData[t.name.num].selectConfig.list=a,t.bus.$emit("upData",a)}))},getByCategory:function(){var t=this;Object(n.f)().then((function(e){var a=[];e.data.map((function(t){a.push({title:t.cate_name,pid:t.pid,activeValue:t.id.toString()})})),t.configData[t.name.num].selectConfig.list=a,t.bus.$emit("upData",a)}))},saveConfig:function(){var t=this,e=this.$store.state.moren.defaultConfig;if("tabBar"==this.name.name){if(!this.status)for(var a=e.tabBar.default.tabBarList.list,i=0;i"+t+""}},"8b92":function(t,e,a){"use strict";var n=a("2ff4");a.n(n).a},9911:function(t,e,a){"use strict";var n=a("23e7"),i=a("857a");n({target:"String",proto:!0,forced:a("af03")("link")},{link:function(t){return i(this,"a","href",t)}})},af03:function(t,e,a){var n=a("d039");t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||3 div {\n width: 0;\n height: 40%;\n -webkit-transition: all 200ms;\n transition: all 200ms;\n border: solid 1px #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div:nth-child(2) {\n margin: 0 4px;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:first-child,\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:first-child {\n border: solid 4px transparent;\n height: 0;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(2),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(2) {\n border-width: 3px;\n height: 0;\n border-radius: 3px;\n margin: 0 6px;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(3),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(3) {\n border: solid 4px transparent;\n height: 0;\n border-left-color: #6aa0ff;\n}\n.vue-puzzle-overflow {\n overflow: hidden !important;\n}\n",""]),e.Z=n},645:function(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(0({mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII="}),mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(t){t?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){var t=this.startWidth+this.newX-this.startX;return tthis.canvasWidth?this.canvasWidth:t},puzzleBaseSize(){return Math.round(52.5*Math.max(Math.min(this.puzzleScale,2),.2)+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(.5*this.canvasWidth)),10)}},methods:{onClose(){this.mouseDown||(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(t){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=t.clientX||t.changedTouches[0].clientX,this.startX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseMove(t){this.mouseDown&&(t.preventDefault(),this.newX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(t){if(!this.loading||t){this.loading=!0,this.isCanSlide=!1;const e=this.$refs.canvas1,n=this.$refs.canvas2,i=this.$refs.canvas3,a=e.getContext("2d"),s=n.getContext("2d"),o=i.getContext("2d"),r=0<=navigator.userAgent.indexOf("Firefox")&&0<=navigator.userAgent.indexOf("Windows"),c=document.createElement("img");if(a.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",a.clearRect(0,0,this.canvasWidth,this.canvasHeight),s.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),c.crossOrigin="anonymous",c.onload=()=>{var[t,e,n,i]=this.makeImgSize(c),h=(a.save(),this.paintBrick(a),a.closePath(),r?(a.clip(),a.save(),a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowColor="#000",a.shadowBlur=3,a.fill(),a.restore()):(a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowColor="#000",a.shadowBlur=3,a.fill(),a.clip()),a.drawImage(c,t,e,n,i),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(c,t,e,n,i),a.globalCompositeOperation="source-atop",this.paintBrick(a),a.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),1.2*this.puzzleBaseSize,0,2*Math.PI,!0),a.closePath(),a.shadowColor="rgba(255, 255, 255, .8)",a.shadowOffsetX=-1,a.shadowOffsetY=-1,a.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),a.fillStyle="#ffffaa",a.fill(),a.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5));s.putImageData(h,0,this.pinY-20),a.restore(),a.clearRect(0,0,this.canvasWidth,this.canvasHeight),a.save(),this.paintBrick(a),a.globalAlpha=.8,a.fillStyle="#ffffff",a.fill(),a.restore(),a.save(),a.globalCompositeOperation="source-atop",this.paintBrick(a),a.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),1.2*this.puzzleBaseSize,0,2*Math.PI,!0),a.shadowColor="#000",a.shadowOffsetX=2,a.shadowOffsetY=2,a.shadowBlur=16,a.fill(),a.restore(),a.save(),a.globalCompositeOperation="destination-over",a.drawImage(c,t,e,n,i),a.restore(),this.loading=!1,this.isCanSlide=!0},c.onerror=()=>{this.init(!0)},!t&&this.imgs&&this.imgs.length){let t=this.getRandom(0,this.imgs.length-1);t===this.imgIndex&&(t===this.imgs.length-1?t=0:t++),this.imgIndex=t,c.src=this.imgs[t]}else c.src=this.makeImgWithCanvas()}},getRandom:(t,e)=>Math.ceil(Math.random()*(e-t)+t),makeImgSize(t){t=t.width/t.height;let e=0,n=0,i=0,a=0;return t>this.canvasWidth/this.canvasHeight?(a=this.canvasHeight,i=t*a,n=0,e=(this.canvasWidth-i)/2):(i=this.canvasWidth,a=i/t,e=0,n=(this.canvasHeight-a)/2),[e,n,i,a]},paintBrick(t){var e=Math.ceil(15*this.puzzleScale);t.beginPath(),t.moveTo(this.pinX,this.pinY),t.lineTo(this.pinX+e,this.pinY),t.arcTo(this.pinX+e,this.pinY-e/2,this.pinX+e+e/2,this.pinY-e/2,e/2),t.arcTo(this.pinX+e+e,this.pinY-e/2,this.pinX+e+e,this.pinY,e/2),t.lineTo(this.pinX+e+e+e,this.pinY),t.lineTo(this.pinX+e+e+e,this.pinY+e),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e,this.pinX+e+e+e+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e+e,this.pinX+e+e+e,this.pinY+e+e,e/2),t.lineTo(this.pinX+e+e+e,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e),t.arcTo(this.pinX+e/2,this.pinY+e+e,this.pinX+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e/2,this.pinY+e,this.pinX,this.pinY+e,e/2),t.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const t=document.createElement("canvas"),e=t.getContext("2d");t.width=this.canvasWidth,t.height=this.canvasHeight,e.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,e.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let i=0;i<12;i++){var n;e.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,e.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,1{this.isSubmting=!1,this.$emit("success",t)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",t),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},a=n(379),s=(a=n.n(a),n(795)),o=(s=n.n(s),n(569)),r=(o=n.n(o),n(565)),c=(r=n.n(r),n(216)),h=(c=n.n(c),n(589)),l=(h=n.n(h),n(358)),d={},u=(s=(d.styleTagTransform=h(),d.setAttributes=r(),d.insert=o().bind(null,"head"),d.domAPI=s(),d.insertStyleElement=c(),a()(l.Z,d),l.Z&&l.Z.locals&&l.Z.locals,h=t,(o="function"==typeof(r=e)?r.options:r).render=h,o.staticRenderFns=[function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"loading-gif_"},[e("span"),t._v(" "),e("span"),t._v(" "),e("span"),t._v(" "),e("span"),t._v(" "),e("span")])}],o._compiled=!0,{exports:r,options:o}),s.options.__file="src/app.vue",s.exports)}(),i}()},"2c3e":function(t,e,n){var i=n("da84"),a=n("83ab"),s=n("9f7f").MISSED_STICKY,o=n("c6b6"),r=n("edd0"),c=n("69f3").get,h=RegExp.prototype,l=i.TypeError;a&&s&&r(h,"sticky",{configurable:!0,get:function(){if(this!==h){if("RegExp"===o(this))return!!c(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},"4d63":function(t,e,n){var i=n("83ab"),a=n("da84"),s=n("e330"),o=n("94ca"),r=n("7156"),c=n("9112"),h=n("241c").f,l=n("3a9b"),d=n("44e7"),u=n("577e"),p=n("90d8"),g=n("9f7f"),f=n("aeb0"),v=n("cb2d"),b=n("d039"),m=n("1a2d"),x=n("69f3").enforce,w=n("2626"),y=n("b622"),_=n("fce3"),C=n("107c"),z=y("match"),S=a.RegExp,k=S.prototype,T=a.SyntaxError,M=s(k.exec),R=s("".charAt),B=s("".replace),X=s("".indexOf),P=s("".slice),Y=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,E=/a/g,I=/a/g,A=(n=new S(E)!==E,g.MISSED_STICKY),O=g.UNSUPPORTED_Y;y=i&&(!n||A||_||C||b((function(){return I[z]=!1,S(E)!=E||S(I)==I||"/a/i"!=S(E,"i")})));if(o("RegExp",y)){function D(t,e){var n,i,a=l(k,this),s=d(t),o=void 0===e,h=[],g=t;if(!a&&s&&o&&t.constructor===D)return t;if((s||l(k,t))&&(t=t.source,o&&(e=p(g))),t=void 0===t?"":u(t),e=void 0===e?"":u(e),g=t,s=e=_&&"dotAll"in E&&(n=!!e&&-1"===e&&c:if(""===l||m(o,l))throw new T("Invalid capture group name");o[l]=!0,c=!(s[s.length]=[l,h]),l="";continue}c?l+=e:a+=e}return[a,s]}(t))[0],h=o[1]),o=r(S(t,e),a?this:k,D),(n||i||h.length)&&(e=x(o),n&&(e.dotAll=!0,e.raw=D(function(t){for(var e,n=t.length,i=0,a="",s=!1;i<=n;i++)"\\"===(e=R(t,i))?a+=e+R(t,++i):s||"."!==e?("["===e?s=!0:"]"===e&&(s=!1),a+=e):a+="[\\s\\S]";return a}(t),s)),i&&(e.sticky=!0),h.length&&(e.groups=h)),t!==g)try{c(o,"source",""===g?"(?:)":g)}catch(t){}return o}for(var W=h(S),H=0;W.length>H;)f(D,S,W[H++]);(k.constructor=D).prototype=k,v(a,"RegExp",D,{constructor:!0})}w("RegExp")},"61f7":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return h}));var i=n("fc11"),a=n("f3f3");function s(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n,i,a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(n in a)new RegExp("(".concat(n,")")).test(e)&&(i=a[n]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?i:("00"+i).substr(i.length)));return e}n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("498a"),n("d3b7"),n("b64b"),n("99af");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function r(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/crmeb/public/admin/js/chunk-74523e0e.3d0870e3.js.gz b/crmeb/public/admin/js/chunk-74523e0e.3d0870e3.js.gz new file mode 100644 index 000000000..77d4e78b6 Binary files /dev/null and b/crmeb/public/admin/js/chunk-74523e0e.3d0870e3.js.gz differ diff --git a/crmeb/public/admin/js/chunk-74f92bc2.9e597679.js b/crmeb/public/admin/js/chunk-74f92bc2.fde6d01b.js similarity index 100% rename from crmeb/public/admin/js/chunk-74f92bc2.9e597679.js rename to crmeb/public/admin/js/chunk-74f92bc2.fde6d01b.js diff --git a/crmeb/public/admin/js/chunk-74f92bc2.9e597679.js.gz b/crmeb/public/admin/js/chunk-74f92bc2.fde6d01b.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-74f92bc2.9e597679.js.gz rename to crmeb/public/admin/js/chunk-74f92bc2.fde6d01b.js.gz diff --git a/crmeb/public/admin/js/chunk-75572cdf.c6570f3e.js b/crmeb/public/admin/js/chunk-75572cdf.a6580df3.js similarity index 100% rename from crmeb/public/admin/js/chunk-75572cdf.c6570f3e.js rename to crmeb/public/admin/js/chunk-75572cdf.a6580df3.js diff --git a/crmeb/public/admin/js/chunk-75572cdf.c6570f3e.js.gz b/crmeb/public/admin/js/chunk-75572cdf.a6580df3.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-75572cdf.c6570f3e.js.gz rename to crmeb/public/admin/js/chunk-75572cdf.a6580df3.js.gz diff --git a/crmeb/public/admin/js/chunk-7739374b.21674389.js b/crmeb/public/admin/js/chunk-7739374b.ca401ef5.js similarity index 100% rename from crmeb/public/admin/js/chunk-7739374b.21674389.js rename to crmeb/public/admin/js/chunk-7739374b.ca401ef5.js diff --git a/crmeb/public/admin/js/chunk-7739374b.21674389.js.gz b/crmeb/public/admin/js/chunk-7739374b.ca401ef5.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-7739374b.21674389.js.gz rename to crmeb/public/admin/js/chunk-7739374b.ca401ef5.js.gz diff --git a/crmeb/public/admin/js/chunk-78b61099.15c0d4a5.js b/crmeb/public/admin/js/chunk-78b61099.4f7de600.js similarity index 100% rename from crmeb/public/admin/js/chunk-78b61099.15c0d4a5.js rename to crmeb/public/admin/js/chunk-78b61099.4f7de600.js diff --git a/crmeb/public/admin/js/chunk-78b61099.15c0d4a5.js.gz b/crmeb/public/admin/js/chunk-78b61099.4f7de600.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-78b61099.15c0d4a5.js.gz rename to crmeb/public/admin/js/chunk-78b61099.4f7de600.js.gz diff --git a/crmeb/public/admin/js/chunk-78c1d44f.504e19be.js b/crmeb/public/admin/js/chunk-78c1d44f.2fc7d8eb.js similarity index 100% rename from crmeb/public/admin/js/chunk-78c1d44f.504e19be.js rename to crmeb/public/admin/js/chunk-78c1d44f.2fc7d8eb.js diff --git a/crmeb/public/admin/js/chunk-78c1d44f.504e19be.js.gz b/crmeb/public/admin/js/chunk-78c1d44f.2fc7d8eb.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-78c1d44f.504e19be.js.gz rename to crmeb/public/admin/js/chunk-78c1d44f.2fc7d8eb.js.gz diff --git a/crmeb/public/admin/js/chunk-7962e48e.8bfba8fe.js b/crmeb/public/admin/js/chunk-7962e48e.aaf33514.js similarity index 100% rename from crmeb/public/admin/js/chunk-7962e48e.8bfba8fe.js rename to crmeb/public/admin/js/chunk-7962e48e.aaf33514.js diff --git a/crmeb/public/admin/js/chunk-797cc4cb.403a8575.js b/crmeb/public/admin/js/chunk-797cc4cb.e0f9ce1c.js similarity index 100% rename from crmeb/public/admin/js/chunk-797cc4cb.403a8575.js rename to crmeb/public/admin/js/chunk-797cc4cb.e0f9ce1c.js diff --git a/crmeb/public/admin/js/chunk-797cc4cb.403a8575.js.gz b/crmeb/public/admin/js/chunk-797cc4cb.e0f9ce1c.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-797cc4cb.403a8575.js.gz rename to crmeb/public/admin/js/chunk-797cc4cb.e0f9ce1c.js.gz diff --git a/crmeb/public/admin/js/chunk-7d96e77a.8569ea0d.js b/crmeb/public/admin/js/chunk-7d96e77a.0ed4fb30.js similarity index 100% rename from crmeb/public/admin/js/chunk-7d96e77a.8569ea0d.js rename to crmeb/public/admin/js/chunk-7d96e77a.0ed4fb30.js diff --git a/crmeb/public/admin/js/chunk-7d96e77a.8569ea0d.js.gz b/crmeb/public/admin/js/chunk-7d96e77a.0ed4fb30.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-7d96e77a.8569ea0d.js.gz rename to crmeb/public/admin/js/chunk-7d96e77a.0ed4fb30.js.gz diff --git a/crmeb/public/admin/js/chunk-7def5ec4.7014e126.js b/crmeb/public/admin/js/chunk-7def5ec4.2c6158ca.js similarity index 100% rename from crmeb/public/admin/js/chunk-7def5ec4.7014e126.js rename to crmeb/public/admin/js/chunk-7def5ec4.2c6158ca.js diff --git a/crmeb/public/admin/js/chunk-7def5ec4.7014e126.js.gz b/crmeb/public/admin/js/chunk-7def5ec4.2c6158ca.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-7def5ec4.7014e126.js.gz rename to crmeb/public/admin/js/chunk-7def5ec4.2c6158ca.js.gz diff --git a/crmeb/public/admin/js/chunk-7f2638f8.44f5953a.js b/crmeb/public/admin/js/chunk-7f2638f8.3926ad68.js similarity index 100% rename from crmeb/public/admin/js/chunk-7f2638f8.44f5953a.js rename to crmeb/public/admin/js/chunk-7f2638f8.3926ad68.js diff --git a/crmeb/public/admin/js/chunk-7f2638f8.44f5953a.js.gz b/crmeb/public/admin/js/chunk-7f2638f8.3926ad68.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-7f2638f8.44f5953a.js.gz rename to crmeb/public/admin/js/chunk-7f2638f8.3926ad68.js.gz diff --git a/crmeb/public/admin/js/chunk-7f92ec3c.86449874.js b/crmeb/public/admin/js/chunk-7f92ec3c.464de399.js similarity index 100% rename from crmeb/public/admin/js/chunk-7f92ec3c.86449874.js rename to crmeb/public/admin/js/chunk-7f92ec3c.464de399.js diff --git a/crmeb/public/admin/js/chunk-7f92ec3c.86449874.js.gz b/crmeb/public/admin/js/chunk-7f92ec3c.464de399.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-7f92ec3c.86449874.js.gz rename to crmeb/public/admin/js/chunk-7f92ec3c.464de399.js.gz diff --git a/crmeb/public/admin/js/chunk-80427f7c.3398695c.js b/crmeb/public/admin/js/chunk-80427f7c.3398695c.js deleted file mode 100644 index fd2e7d9ef..000000000 --- a/crmeb/public/admin/js/chunk-80427f7c.3398695c.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-80427f7c"],{"20b5":function(t,e,a){"use strict";var i=a("9f82");a.n(i).a},"2ff4":function(t,e,a){},3078:function(t,e,a){"use strict";a.r(e),a("a9e3"),a("b0c0");var i=a("f478"),n=a("f3f3"),s=(a("e9c4"),a("d81d"),a("d3b7"),a("25f0"),a("9911"),a("2542")),r=(n={name:"rightConfig",components:Object(n.a)({},s.a),props:{name:{type:Object,default:{}},pageId:{type:Number,default:0},configNum:{type:Number|String,default:"default"}},computed:{defultArr:function(){return this.$store.state.moren.component}},watch:{name:{handler:function(t,e){this.rCom=[],this.configData=this.$store.state.moren.defaultConfig[t.name],this.configData.hasOwnProperty(this.configNum)||(a=JSON.parse(JSON.stringify(this.configData.defaultVal)),this.configData[t.num]=a,this.$store.commit("moren/upDataName",this.configData));var a,i=this;setTimeout((function(){i.rCom=i.$store.state.moren.component[t.name].list}),30),this.configData[t.num].selectConfig&&(this.configData[t.num].selectConfig.type?this.getByCategory():this.getCategory())},deep:!0},defultArr:{handler:function(t,e){this.rCom=[],this.objToArray(t),this.rCom=t[this.name.name].list},deep:!0}},data:function(){return{rCom:[],configData:{},isShow:!0,categoryList:[],status:0}},mounted:function(){this.storeStatus()},methods:{storeStatus:function(){var t=this;Object(i.w)().then((function(e){t.status=parseInt(e.data.store_status)}))},getCategory:function(){var t=this;Object(i.g)().then((function(e){var a=[];e.data.map((function(t){a.push({title:t.title,pid:t.pid,activeValue:t.id.toString()})})),t.configData[t.name.num].selectConfig.list=a,t.bus.$emit("upData",a)}))},getByCategory:function(){var t=this;Object(i.f)().then((function(e){var a=[];e.data.map((function(t){a.push({title:t.cate_name,pid:t.pid,activeValue:t.id.toString()})})),t.configData[t.name.num].selectConfig.list=a,t.bus.$emit("upData",a)}))},saveConfig:function(){var t=this,e=this.$store.state.moren.defaultConfig;if("tabBar"==this.name.name){if(!this.status)for(var a=e.tabBar.default.tabBarList.list,n=0;n"+t+""}},"8b92":function(t,e,a){"use strict";var i=a("2ff4");a.n(i).a},9911:function(t,e,a){"use strict";var i=a("23e7"),n=a("857a");i({target:"String",proto:!0,forced:a("af03")("link")},{link:function(t){return n(this,"a","href",t)}})},"9f82":function(t,e,a){},af03:function(t,e,a){var i=a("d039");t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||3@^][^\s!#%&*+<=>@^]*>/,I=/a/g,K=/a/g,T=(e=new E(I)!==I,d.MISSED_STICKY),D=d.UNSUPPORTED_Y;b=n&&(!e||T||Q||v||h((function(){return K[U]=!1,E(I)!=I||E(K)==K||"/a/i"!=E(I,"i")})));if(a("RegExp",b)){function R(A,t){var e,n,i=l(F,this),o=u(A),a=void 0===t,c=[],d=A;if(!i&&o&&a&&A.constructor===R)return A;if((o||l(F,A))&&(A=A.source,a&&(t=g(d))),A=void 0===A?"":f(A),t=void 0===t?"":f(t),d=A,o=t=Q&&"dotAll"in I&&(e=!!t&&-1"===t&&r:if(""===l||C(a,l))throw new _("Invalid capture group name");a[l]=!0,r=!(o[o.length]=[l,c]),l="";continue}r?l+=t:i+=t}return[i,o]}(A))[0],c=a[1]),a=s(E(A,t),i?this:F,R),(e||n||c.length)&&(t=p(a),e&&(t.dotAll=!0,t.raw=R(function(A){for(var t,e=A.length,n=0,i="",o=!1;n<=e;n++)"\\"===(t=N(A,n))?i+=t+N(A,++n):o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]";return i}(A),o)),n&&(t.sticky=!0),c.length&&(t.groups=c)),A!==d)try{r(a,"source",""===d?"(?:)":d)}catch(A){}return a}for(var L=c(E),k=0;L.length>k;)B(R,E,L[k++]);(F.constructor=R).prototype=F,m(i,"RegExp",R,{constructor:!0})}w("RegExp")},"4e82":function(A,t,e){"use strict";var n=e("23e7"),i=e("e330"),o=e("59ed"),a=e("7b0b"),s=e("07fa"),r=e("577e"),c=e("d039"),l=e("addb"),u=e("a640"),f=e("04d1"),g=e("d998"),d=e("2d00"),B=e("512c"),m=[],h=i(m.sort),C=i(m.push),p=(e=c((function(){m.sort(void 0)})),i=c((function(){m.sort(null)})),u=u("sort"),!c((function(){if(d)return d<70;if(!(f&&3r(t)?1:-1})),e=i.length,u=0;u"+A+""}},8581:function(A,t,e){"use strict";e.r(t);var n=e("310e"),i=(n=e.n(n),e("b0e7"));e("b562"),n={name:"c_hot_imgs",props:{configObj:{type:Object}},components:{draggable:n.a,uploadPictures:i.a},data:function(){return{defaults:{},menus:[],list:[{title:"aa",val:""}],modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},activeIndex:0}},created:function(){this.defaults=this.configObj},watch:{configObj:{handler:function(A,t){this.defaults=A},immediate:!0,deep:!0}},methods:{addBox:function(){this.defaults.menu.push({img:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1594458238721&di=d9978a807dcbf5d8a01400875bc51162&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201604%2F23%2F002205xqdkj84gnw4oi85v.jpg",info:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"简介",value:"",tips:"选填,不超过20个字",max:20}],link:{title:"链接",optiops:[{type:0,value:"",label:"一级>二级分类"},{type:1,value:"",label:"自定义链接"}]}})},modalPicTap:function(A,t){this.activeIndex=t,this.modalPic=!0},addCustomDialog:function(A){window.UE.registerUI("test-dialog",(function(A,t){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:A,name:t,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=e,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}})}),37)},getPic:function(A){this.defaults.menu[this.activeIndex].img=A.att_dir,this.modalPic=!1}}},e("01ff"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[A._v("最多可添加4个版块,图片建议尺寸140 * 140px;鼠标拖拽左侧圆点可 调整版块顺序")]),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:A.defaults.menu,group:"people",handle:".move-icon"}},A._l(A.defaults.menu,(function(t,n){return e("div",{key:n,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("Icon",{attrs:{type:"ios-keypad-outline",size:"22"}})],1),e("div",{staticClass:"img-box",on:{click:function(t){return A.modalPicTap("单选",n)}}},[t.img?e("img",{attrs:{src:t.img,alt:""}}):e("div",{staticClass:"upload-box"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),e("div",[e("Modal",{attrs:{width:"950px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":1},model:{value:A.modalPic,callback:function(t){A.modalPic=t},expression:"modalPic"}},[A.modalPic?e("uploadPictures",{attrs:{isChoice:A.isChoice,gridBtn:A.gridBtn,gridPic:A.gridPic},on:{getPic:A.getPic}}):A._e()],1)],1)]),e("div",{staticClass:"info"},A._l(t.info,(function(t,n){return e("div",{key:n,staticClass:"info-item"},[e("span",[A._v(A._s(t.title))]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{placeholder:t.tips,maxlength:t.max},model:{value:t.value,callback:function(e){A.$set(t,"value",e)},expression:"infos.value"}})],1)])})),0)])})),0)],1),A.defaults.menu.length<4?e("div",{staticClass:"add-btn"},[e("Button",{staticStyle:{width:"100%",height:"40px"},on:{click:A.addBox}},[A._v("添加板块")])],1):A._e()])}),[],!1,null,"1cf1cf10",null);t.default=e.exports},"87f5":function(A,t,e){},8831:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"home_goods_list",cname:"商品列表",configName:"c_home_goods_list",icon:"iconcuxiaoliebiao1",type:0,defaultName:"goodList",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"goodList",timestamp:this.num,setUp:{tabVal:0},tabConfig:{title:"选择模板",tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleShow:{title:"是否显示名称",val:!0},opriceShow:{title:"是否显示原价",val:!0},priceShow:{title:"是否显示价格",val:!0},couponShow:{title:"是否显示优惠券",val:!0},selectConfig:{title:"商品分类",activeValue:[],list:[{value:"",label:""},{value:"",label:""}]},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"综合",icon:"iconComm_whole"},{val:"销量",icon:"iconComm_number"},{val:"价格",icon:"iconComm_Price"}]},numConfig:{val:6},themeColor:{title:"背景颜色",name:"themeColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},fontColor:{title:"价格颜色",name:"fontColor",default:[{item:"#e93323"}],color:[{item:"#e93323"}]},labelColor:{title:"活动标签",name:"labelColor",default:[{item:"#e93323"}],color:[{item:"#e93323"}]},itemStyle:{title:"显示类型",name:"itemSstyle",type:0,list:[{val:"单列",icon:"iconzuoyoutuwen"},{val:"两列",icon:"iconlianglie"},{val:"三列",icon:"iconsanlie"},{val:"大图",icon:"icondanlie"}]},bgStyle:{title:"背景样式",name:"bgStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},conStyle:{title:"内容样式",name:"conStyle",type:1,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},prConfig:{title:"背景边距",val:0,min:0},mbConfig:{title:"商品间距",val:0,min:0},productList:{title:"商品列表",list:[]},goodsList:{max:20,list:[]}},navlist:[],imgStyle:"",txtColor:"",slider:"",tabCur:0,list:[],activeColor:"",fontColor:"",labelColor:"",pageData:{},itemStyle:0,titleShow:!0,opriceShow:!0,priceShow:!0,couponShow:!0,prConfig:0,bgStyle:0,conStyle:1}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.mbConfig&&(this.itemStyle=A.itemStyle.type||0,this.activeColor=A.themeColor.color[0].item,this.fontColor=A.fontColor.color[0].item,this.labelColor=A.labelColor.color[0].item,this.slider=A.mbConfig.val,this.prConfig=A.prConfig.val,this.titleShow=A.titleShow.val,this.opriceShow=A.opriceShow.val,this.priceShow=A.priceShow.val,this.couponShow=A.couponShow.val,this.bgStyle=A.bgStyle.type,this.conStyle=A.conStyle.type,A.tabConfig.tabVal?this.list=A.goodsList.list||[]:this.list=A.productList.list||[])}}},e("dba82"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"mobile-page paddingBox",class:0===A.bgStyle?"":"pageOn",style:{marginTop:A.slider+"px",background:A.activeColor}},[e("div",{staticClass:"home_product"},[0==A.itemStyle?[0@^][^\s!#%&*+<=>@^]*>/,I=/a/g,K=/a/g,T=(e=new E(I)!==I,d.MISSED_STICKY),D=d.UNSUPPORTED_Y;Q=n&&(!e||T||b||v||h((function(){return K[U]=!1,E(I)!=I||E(K)==K||"/a/i"!=E(I,"i")})));if(a("RegExp",Q)){function R(A,t){var e,n,i=l(F,this),o=u(A),a=void 0===t,c=[],d=A;if(!i&&o&&a&&A.constructor===R)return A;if((o||l(F,A))&&(A=A.source,a&&(t=g(d))),A=void 0===A?"":f(A),t=void 0===t?"":f(t),d=A,o=t=b&&"dotAll"in I&&(e=!!t&&-1"===t&&r:if(""===l||C(a,l))throw new _("Invalid capture group name");a[l]=!0,r=!(o[o.length]=[l,c]),l="";continue}r?l+=t:i+=t}return[i,o]}(A))[0],c=a[1]),a=s(E(A,t),i?this:F,R),(e||n||c.length)&&(t=p(a),e&&(t.dotAll=!0,t.raw=R(function(A){for(var t,e=A.length,n=0,i="",o=!1;n<=e;n++)"\\"===(t=N(A,n))?i+=t+N(A,++n):o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]";return i}(A),o)),n&&(t.sticky=!0),c.length&&(t.groups=c)),A!==d)try{r(a,"source",""===d?"(?:)":d)}catch(A){}return a}for(var L=c(E),k=0;L.length>k;)B(R,E,L[k++]);(F.constructor=R).prototype=F,m(i,"RegExp",R,{constructor:!0})}w("RegExp")},"4e82":function(A,t,e){"use strict";var n=e("23e7"),i=e("e330"),o=e("59ed"),a=e("7b0b"),s=e("07fa"),r=e("577e"),c=e("d039"),l=e("addb"),u=e("a640"),f=e("04d1"),g=e("d998"),d=e("2d00"),B=e("512c"),m=[],h=i(m.sort),C=i(m.push),p=(e=c((function(){m.sort(void 0)})),i=c((function(){m.sort(null)})),u=u("sort"),!c((function(){if(d)return d<70;if(!(f&&3r(t)?1:-1})),e=i.length,u=0;u"+A+""}},8581:function(A,t,e){"use strict";e.r(t);var n=e("310e"),i=(n=e.n(n),e("b0e7"));e("b562"),n={name:"c_hot_imgs",props:{configObj:{type:Object}},components:{draggable:n.a,uploadPictures:i.a},data:function(){return{defaults:{},menus:[],list:[{title:"aa",val:""}],modalPic:!1,isChoice:"单选",gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},activeIndex:0}},created:function(){this.defaults=this.configObj},watch:{configObj:{handler:function(A,t){this.defaults=A},immediate:!0,deep:!0}},methods:{addBox:function(){this.defaults.menu.push({img:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1594458238721&di=d9978a807dcbf5d8a01400875bc51162&imgtype=0&src=http%3A%2F%2Fattachments.gfan.com%2Fforum%2F201604%2F23%2F002205xqdkj84gnw4oi85v.jpg",info:[{title:"标题",value:"",tips:"选填,不超过4个字",max:4},{title:"简介",value:"",tips:"选填,不超过20个字",max:20}],link:{title:"链接",optiops:[{type:0,value:"",label:"一级>二级分类"},{type:1,value:"",label:"自定义链接"}]}})},modalPicTap:function(A,t){this.activeIndex=t,this.modalPic=!0},addCustomDialog:function(A){window.UE.registerUI("test-dialog",(function(A,t){var e=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:A,name:t,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=e,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){e.render(),e.open()}})}),37)},getPic:function(A){this.defaults.menu[this.activeIndex].img=A.att_dir,this.modalPic=!1}}},e("01ff"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[A._v("最多可添加4个版块,图片建议尺寸140 * 140px;鼠标拖拽左侧圆点可 调整版块顺序")]),e("div",{staticClass:"list-box"},[e("draggable",{staticClass:"dragArea list-group",attrs:{list:A.defaults.menu,group:"people",handle:".move-icon"}},A._l(A.defaults.menu,(function(t,n){return e("div",{key:n,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("Icon",{attrs:{type:"ios-keypad-outline",size:"22"}})],1),e("div",{staticClass:"img-box",on:{click:function(t){return A.modalPicTap("单选",n)}}},[t.img?e("img",{attrs:{src:t.img,alt:""}}):e("div",{staticClass:"upload-box"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),e("div",[e("Modal",{attrs:{width:"950px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","mask-closable":!1,"z-index":1},model:{value:A.modalPic,callback:function(t){A.modalPic=t},expression:"modalPic"}},[A.modalPic?e("uploadPictures",{attrs:{isChoice:A.isChoice,gridBtn:A.gridBtn,gridPic:A.gridPic},on:{getPic:A.getPic}}):A._e()],1)],1)]),e("div",{staticClass:"info"},A._l(t.info,(function(t,n){return e("div",{key:n,staticClass:"info-item"},[e("span",[A._v(A._s(t.title))]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{placeholder:t.tips,maxlength:t.max},model:{value:t.value,callback:function(e){A.$set(t,"value",e)},expression:"infos.value"}})],1)])})),0)])})),0)],1),A.defaults.menu.length<4?e("div",{staticClass:"add-btn"},[e("Button",{staticStyle:{width:"100%",height:"40px"},on:{click:A.addBox}},[A._v("添加板块")])],1):A._e()])}),[],!1,null,"1cf1cf10",null);t.default=e.exports},"87f5":function(A,t,e){},8831:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"home_goods_list",cname:"商品列表",configName:"c_home_goods_list",icon:"iconcuxiaoliebiao1",type:0,defaultName:"goodList",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"goodList",timestamp:this.num,setUp:{tabVal:0},tabConfig:{title:"选择模板",tabVal:0,type:1,tabList:[{name:"自动选择",icon:"iconzidongxuanze"},{name:"手动选择",icon:"iconshoudongxuanze"}]},titleShow:{title:"是否显示名称",val:!0},opriceShow:{title:"是否显示原价",val:!0},priceShow:{title:"是否显示价格",val:!0},couponShow:{title:"是否显示优惠券",val:!0},selectConfig:{title:"商品分类",activeValue:[],list:[{value:"",label:""},{value:"",label:""}]},goodsSort:{title:"商品排序",name:"goodsSort",type:0,list:[{val:"综合",icon:"iconComm_whole"},{val:"销量",icon:"iconComm_number"},{val:"价格",icon:"iconComm_Price"}]},numConfig:{val:6},themeColor:{title:"背景颜色",name:"themeColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},fontColor:{title:"价格颜色",name:"fontColor",default:[{item:"#e93323"}],color:[{item:"#e93323"}]},labelColor:{title:"活动标签",name:"labelColor",default:[{item:"#e93323"}],color:[{item:"#e93323"}]},itemStyle:{title:"显示类型",name:"itemSstyle",type:0,list:[{val:"单列",icon:"iconzuoyoutuwen"},{val:"两列",icon:"iconlianglie"},{val:"三列",icon:"iconsanlie"},{val:"大图",icon:"icondanlie"}]},bgStyle:{title:"背景样式",name:"bgStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},conStyle:{title:"内容样式",name:"conStyle",type:1,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},prConfig:{title:"背景边距",val:0,min:0},mbConfig:{title:"商品间距",val:0,min:0},productList:{title:"商品列表",list:[]},goodsList:{max:20,list:[]}},navlist:[],imgStyle:"",txtColor:"",slider:"",tabCur:0,list:[],activeColor:"",fontColor:"",labelColor:"",pageData:{},itemStyle:0,titleShow:!0,opriceShow:!0,priceShow:!0,couponShow:!0,prConfig:0,bgStyle:0,conStyle:1}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.mbConfig&&(this.itemStyle=A.itemStyle.type||0,this.activeColor=A.themeColor.color[0].item,this.fontColor=A.fontColor.color[0].item,this.labelColor=A.labelColor.color[0].item,this.slider=A.mbConfig.val,this.prConfig=A.prConfig.val,this.titleShow=A.titleShow.val,this.opriceShow=A.opriceShow.val,this.priceShow=A.priceShow.val,this.couponShow=A.couponShow.val,this.bgStyle=A.bgStyle.type,this.conStyle=A.conStyle.type,A.tabConfig.tabVal?this.list=A.goodsList.list||[]:this.list=A.productList.list||[])}}},e("dba82"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"mobile-page paddingBox",class:0===A.bgStyle?"":"pageOn",style:{marginTop:A.slider+"px",background:A.activeColor}},[e("div",{staticClass:"home_product"},[0==A.itemStyle?[0 * Copyright (c) 2019 Niklas von Hertzen @@ -18,4 +18,4 @@ A.exports=function(){"use strict"; See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. - ***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)t.hasOwnProperty(e)&&(A[e]=t[e])},A(t,e)};function t(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,n=arguments.length;e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=55296&&i<=56319&&e>10),a%1024+56320)),(i+1===e||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,l[r++]=(15&n)<<4|i>>2,l[r++]=(3&i)<<6|63&o;return c},B=function(A){for(var t=A.length,e=[],n=0;n>h,b=(1<>h)+32,v=65536>>C,U=(1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>h],t=(t<>h)],t=(t<>C),t=this.index[t],t+=A>>h&U,t=this.index[t],t=(t<N?(i.push(!0),a-=N):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),e.push(V);if(a===S||a===L){if(0===o)return n.push(o),e.push(iA);var s=e[o-1];return-1===FA.indexOf(s)?(n.push(n[o-1]),e.push(s)):(n.push(o),e.push(iA))}return n.push(o),a===oA?e.push("strict"===t?$:uA):a===mA||a===nA?e.push(iA):a===hA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(uA):e.push(iA):void e.push(a)})),[n,e,i]},HA=function(A,t,e,n){var i=n[e];if(Array.isArray(A)?-1!==A.indexOf(i):A===i){var o=e;while(o<=n.length){o++;var a=n[o];if(a===t)return!0;if(a!==R)break}}if(i===R){o=e;while(o>0){o--;var s=n[o];if(Array.isArray(A)?-1!==A.indexOf(s):A===s){var r=e;while(r<=n.length){r++;a=n[r];if(a===t)return!0;if(a!==R)break}}if(s!==R)break}}return!1},xA=function(A,t){var e=A;while(e>=0){var n=t[e];if(n!==R)return n;e--}return 0},OA=function(A,t,e,n,i){if(0===e[n])return pA;var o=n-1;if(Array.isArray(i)&&!0===i[o])return pA;var a=o-1,s=o+1,r=t[o],c=a>=0?t[a]:0,l=t[s];if(r===x&&l===O)return pA;if(-1!==vA.indexOf(r))return CA;if(-1!==vA.indexOf(l))return pA;if(-1!==UA.indexOf(l))return pA;if(xA(o,t)===T)return wA;if(bA.get(A[o])===L&&(l===uA||l===aA||l===sA))return pA;if(r===K||l===K)return pA;if(r===D)return pA;if(-1===[R,M,j].indexOf(r)&&l===D)return pA;if(-1!==[z,J,X,q,eA].indexOf(l))return pA;if(xA(o,t)===W)return pA;if(HA(Y,W,o,t))return pA;if(HA([z,J],$,o,t))return pA;if(HA(k,k,o,t))return pA;if(r===R)return wA;if(r===Y||l===Y)return pA;if(l===V||r===V)return wA;if(-1!==[M,j,$].indexOf(l)||r===P)return pA;if(c===lA&&-1!==yA.indexOf(r))return pA;if(r===eA&&l===lA)return pA;if(l===G&&-1!==QA.concat(G,X,Z,uA,aA,sA).indexOf(r))return pA;if(-1!==QA.indexOf(l)&&r===Z||-1!==QA.indexOf(r)&&l===Z)return pA;if(r===tA&&-1!==[uA,aA,sA].indexOf(l)||-1!==[uA,aA,sA].indexOf(r)&&l===AA)return pA;if(-1!==QA.indexOf(r)&&-1!==EA.indexOf(l)||-1!==EA.indexOf(r)&&-1!==QA.indexOf(l))return pA;if(-1!==[tA,AA].indexOf(r)&&(l===Z||-1!==[W,j].indexOf(l)&&t[s+1]===Z)||-1!==[W,j].indexOf(r)&&l===Z||r===Z&&-1!==[Z,eA,q].indexOf(l))return pA;if(-1!==[Z,eA,q,z,J].indexOf(l)){var u=o;while(u>=0){var f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(-1!==[tA,AA].indexOf(l)){u=-1!==[z,J].indexOf(r)?a:o;while(u>=0){f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(fA===r&&-1!==[fA,gA,rA,cA].indexOf(l)||-1!==[gA,rA].indexOf(r)&&-1!==[gA,dA].indexOf(l)||-1!==[dA,cA].indexOf(r)&&l===dA)return pA;if(-1!==_A.indexOf(r)&&-1!==[G,AA].indexOf(l)||-1!==_A.indexOf(l)&&r===tA)return pA;if(-1!==QA.indexOf(r)&&-1!==QA.indexOf(l))return pA;if(r===q&&-1!==QA.indexOf(l))return pA;if(-1!==QA.concat(Z).indexOf(r)&&l===W||-1!==QA.concat(Z).indexOf(l)&&r===J)return pA;if(r===BA&&l===BA){var g=e[o],d=1;while(g>0){if(g--,t[g]!==BA)break;d++}if(d%2!==0)return pA}return r===aA&&l===sA?pA:wA},SA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=NA(A,t.lineBreak),n=e[0],i=e[1],o=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(A){return-1!==[Z,iA,mA].indexOf(A)?uA:A})));var a="keep-all"===t.wordBreak?o.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[n,i,a]},IA=function(){function A(A,t,e,n){this.codePoints=A,this.required=t===CA,this.start=e,this.end=n}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),KA=function(A,t){var e=r(A),n=SA(e,t),i=n[0],o=n[1],a=n[2],s=e.length,c=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};var A=pA;while(l=Nt&&A<=57},Mt=function(A){return A>=55296&&A<=57343},Pt=function(A){return kt(A)||A>=Kt&&A<=Dt||A>=Ht&&A<=Ot},jt=function(A){return A>=Ht&&A<=It},Vt=function(A){return A>=Kt&&A<=Lt},zt=function(A){return jt(A)||Vt(A)},Jt=function(A){return A>=dt},Xt=function(A){return A===MA||A===VA||A===zA},Gt=function(A){return zt(A)||Jt(A)||A===At},$t=function(A){return Gt(A)||kt(A)||A===tt},Wt=function(A){return A>=Qt&&A<=vt||A===Ut||A>=Et&&A<=Ft||A===_t},Yt=function(A,t){return A===jA&&t!==MA},qt=function(A,t,e){return A===tt?Gt(t)||Yt(t,e):!!Gt(A)||!(A!==jA||!Yt(A,t))},Zt=function(A,t,e){return A===ht||A===tt?!!kt(t)||t===bt&&kt(e):kt(A===bt?t:A)},Ae=function(A){var t=0,e=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(e=-1),t++);var n=[];while(kt(A[t]))n.push(A[t++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;A[t]===bt&&t++;var o=[];while(kt(A[t]))o.push(A[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;A[t]!==Tt&&A[t]!==xt||t++;var r=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(r=-1),t++);var l=[];while(kt(A[t]))l.push(A[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return e*(i+s*Math.pow(10,-a))*Math.pow(10,r*u)},te={type:g.LEFT_PARENTHESIS_TOKEN},ee={type:g.RIGHT_PARENTHESIS_TOKEN},ne={type:g.COMMA_TOKEN},ie={type:g.SUFFIX_MATCH_TOKEN},oe={type:g.PREFIX_MATCH_TOKEN},ae={type:g.COLUMN_TOKEN},se={type:g.DASH_MATCH_TOKEN},re={type:g.INCLUDE_MATCH_TOKEN},ce={type:g.LEFT_CURLY_BRACKET_TOKEN},le={type:g.RIGHT_CURLY_BRACKET_TOKEN},ue={type:g.SUBSTRING_MATCH_TOKEN},fe={type:g.BAD_URL_TOKEN},ge={type:g.BAD_STRING_TOKEN},de={type:g.CDO_TOKEN},Be={type:g.CDC_TOKEN},me={type:g.COLON_TOKEN},he={type:g.SEMICOLON_TOKEN},Ce={type:g.LEFT_SQUARE_BRACKET_TOKEN},pe={type:g.RIGHT_SQUARE_BRACKET_TOKEN},we={type:g.WHITESPACE_TOKEN},be={type:g.EOF_TOKEN},Qe=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(r(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==be)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case JA:return this.consumeStringToken(JA);case GA:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),n=this.peekCodePoint(2);if($t(t)||Yt(e,n)){var i=qt(t,e,n)?RA:DA,o=this.consumeName();return{type:g.HASH_TOKEN,value:o,flags:i}}break;case $A:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ie;break;case YA:return this.consumeStringToken(YA);case qA:return te;case ZA:return ee;case mt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ue;break;case ht:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ct:return ne;case tt:var a=A,s=this.peekCodePoint(0),r=this.peekCodePoint(1);if(Zt(a,s,r))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(qt(a,s,r))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===tt&&r===it)return this.consumeCodePoint(),this.consumeCodePoint(),Be;break;case bt:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case PA:if(this.peekCodePoint(0)===mt){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===mt&&(l=this.consumeCodePoint(),l===PA))return this.consumeToken();if(l===yt)return this.consumeToken()}}break;case pt:return me;case wt:return he;case nt:if(this.peekCodePoint(0)===et&&this.peekCodePoint(1)===tt&&this.peekCodePoint(2)===tt)return this.consumeCodePoint(),this.consumeCodePoint(),de;break;case ot:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(qt(u,f,d)){o=this.consumeName();return{type:g.AT_KEYWORD_TOKEN,value:o}}break;case at:return Ce;case jA:if(Yt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case st:return pe;case rt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),oe;break;case ct:return ce;case ut:return le;case St:case Rt:var B=this.peekCodePoint(0),m=this.peekCodePoint(1);return B!==ht||!Pt(m)&&m!==lt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case ft:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),se;if(this.peekCodePoint(0)===ft)return this.consumeCodePoint(),ae;break;case gt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),re;break;case yt:return be}return Xt(A)?(this.consumeWhiteSpace(),we):kt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Gt(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:g.DELIM_TOKEN,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while(Pt(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===lt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var n=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Nt:A}))),16),i=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Dt:A}))),16);return{type:g.UNICODE_RANGE_TOKEN,start:n,end:i}}var o=parseInt(c.apply(void 0,A),16);if(this.peekCodePoint(0)===tt&&Pt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(Pt(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();i=parseInt(c.apply(void 0,a),16);return{type:g.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:g.UNICODE_RANGE_TOKEN,start:o,end:o}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===qA?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===qA?(this.consumeCodePoint(),{type:g.FUNCTION_TOKEN,value:A}):{type:g.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt)return{type:g.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===YA||t===JA){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===g.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA)?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:e.value}):(this.consumeBadUrlRemnants(),fe)}while(1){var n=this.consumeCodePoint();if(n===yt||n===ZA)return{type:g.URL_TOKEN,value:c.apply(void 0,A)};if(Xt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),fe);if(n===JA||n===YA||n===qA||Wt(n))return this.consumeBadUrlRemnants(),fe;if(n===jA){if(!Yt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),fe;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){while(Xt(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ZA||A===yt)return;Yt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=6e4,e="";while(A>0){var n=Math.min(t,A);e+=c.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var n=this._value[e];if(n===yt||void 0===n||n===A)return t+=this.consumeStringSlice(e),{type:g.STRING_TOKEN,value:t};if(n===MA)return this._value.splice(0,e),ge;if(n===jA){var i=this._value[e+1];i!==yt&&void 0!==i&&(i===MA?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):Yt(n,i)&&(t+=this.consumeStringSlice(e),t+=c(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=LA,e=this.peekCodePoint(0);e!==ht&&e!==tt||A.push(this.consumeCodePoint());while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(e===bt&&kt(n)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((e===Tt||e===xt)&&((n===ht||n===tt)&&kt(i)||kt(n))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[Ae(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(qt(n,i,o)){var a=this.consumeName();return{type:g.DIMENSION_TOKEN,number:t,flags:e,unit:a}}return n===WA?(this.consumeCodePoint(),{type:g.PERCENTAGE_TOKEN,number:t,flags:e}):{type:g.NUMBER_TOKEN,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Pt(A)){var t=c(A);while(Pt(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());Xt(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||Mt(e)||e>1114111?Bt:e}return A===yt?Bt:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if($t(t))A+=c(t);else{if(!Yt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),ve=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new Qe;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(A.type===g.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===g.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===g.WHITESPACE_TOKEN);if(A.type===g.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(t.type===g.EOF_TOKEN)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case g.LEFT_CURLY_BRACKET_TOKEN:case g.LEFT_SQUARE_BRACKET_TOKEN:case g.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case g.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(e.type===g.EOF_TOKEN||Oe(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:g.FUNCTION};while(1){var e=this.consumeToken();if(e.type===g.EOF_TOKEN||e.type===g.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?be:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Ue=function(A){return A.type===g.DIMENSION_TOKEN},Ee=function(A){return A.type===g.NUMBER_TOKEN},Fe=function(A){return A.type===g.IDENT_TOKEN},_e=function(A){return A.type===g.STRING_TOKEN},ye=function(A,t){return Fe(A)&&A.value===t},Ne=function(A){return A.type!==g.WHITESPACE_TOKEN},He=function(A){return A.type!==g.WHITESPACE_TOKEN&&A.type!==g.COMMA_TOKEN},xe=function(A){var t=[],e=[];return A.forEach((function(A){if(A.type===g.COMMA_TOKEN){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}A.type!==g.WHITESPACE_TOKEN&&e.push(A)})),e.length&&t.push(e),t},Oe=function(A,t){return t===g.LEFT_CURLY_BRACKET_TOKEN&&A.type===g.RIGHT_CURLY_BRACKET_TOKEN||(t===g.LEFT_SQUARE_BRACKET_TOKEN&&A.type===g.RIGHT_SQUARE_BRACKET_TOKEN||t===g.LEFT_PARENTHESIS_TOKEN&&A.type===g.RIGHT_PARENTHESIS_TOKEN)},Se=function(A){return A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN},Ie=function(A){return A.type===g.PERCENTAGE_TOKEN||Se(A)},Ke=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Te={type:g.NUMBER_TOKEN,number:0,flags:LA},De={type:g.PERCENTAGE_TOKEN,number:50,flags:LA},Re={type:g.PERCENTAGE_TOKEN,number:100,flags:LA},Le=function(A,t,e){var n=A[0],i=A[1];return[ke(n,t),ke("undefined"!==typeof i?i:n,e)]},ke=function(A,t){if(A.type===g.PERCENTAGE_TOKEN)return A.number/100*t;if(Ue(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Me="deg",Pe="grad",je="rad",Ve="turn",ze={name:"angle",parse:function(A){if(A.type===g.DIMENSION_TOKEN)switch(A.unit){case Me:return Math.PI*A.number/180;case Pe:return Math.PI/200*A.number;case je:return A.number;case Ve:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},Je=function(A){return A.type===g.DIMENSION_TOKEN&&(A.unit===Me||A.unit===Pe||A.unit===je||A.unit===Ve)},Xe=function(A){var t=A.filter(Fe).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Te,Te];case"to top":case"bottom":return Ge(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Te,Re];case"to right":case"left":return Ge(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Re,Re];case"to bottom":case"top":return Ge(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Re,Te];case"to left":case"right":return Ge(270)}return 0},Ge=function(A){return Math.PI*A/180},$e={name:"color",parse:function(A){if(A.type===g.FUNCTION){var t=cn[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(A.values)}if(A.type===g.HASH_TOKEN){if(3===A.value.length){var e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===A.value.length){e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);var o=A.value.substring(3,4);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),1)}if(8===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),o=A.value.substring(6,8);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),parseInt(o,16)/255)}}if(A.type===g.IDENT_TOKEN){var a=ln[A.value.toUpperCase()];if("undefined"!==typeof a)return a}return ln.TRANSPARENT}},We=function(A){return 0===(255&A)},Ye=function(A){var t=255&A,e=255&A>>8,n=255&A>>16,i=255&A>>24;return t<255?"rgba("+i+","+n+","+e+","+t/255+")":"rgb("+i+","+n+","+e+")"},qe=function(A,t,e,n){return(A<<24|t<<16|e<<8|Math.round(255*n)<<0)>>>0},Ze=function(A,t){if(A.type===g.NUMBER_TOKEN)return A.number;if(A.type===g.PERCENTAGE_TOKEN){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},An=function(A){var t=A.filter(He);if(3===t.length){var e=t.map(Ze),n=e[0],i=e[1],o=e[2];return qe(n,i,o,1)}if(4===t.length){var a=t.map(Ze),s=(n=a[0],i=a[1],o=a[2],a[3]);return qe(n,i,o,s)}return 0};function tn(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var en,nn,on,an,sn,rn=function(A){var t=A.filter(He),e=t[0],n=t[1],i=t[2],o=t[3],a=(e.type===g.NUMBER_TOKEN?Ge(e.number):ze.parse(e))/(2*Math.PI),s=Ie(n)?n.number/100:0,r=Ie(i)?i.number/100:0,c="undefined"!==typeof o&&Ie(o)?ke(o,1):1;if(0===s)return qe(255*r,255*r,255*r,1);var l=r<=.5?r*(s+1):r+s-r*s,u=2*r-l,f=tn(u,l,a+1/3),d=tn(u,l,a),B=tn(u,l,a-1/3);return qe(255*f,255*d,255*B,c)},cn={hsl:rn,hsla:rn,rgb:An,rgba:An},ln={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},un=en||(en={}),fn=(un[un["VALUE"]=0]="VALUE",un[un["LIST"]=1]="LIST",un[un["IDENT_VALUE"]=2]="IDENT_VALUE",un[un["TYPE_VALUE"]=3]="TYPE_VALUE",un[un["TOKEN_VALUE"]=4]="TOKEN_VALUE",nn||(nn={})),gn=(fn[fn["BORDER_BOX"]=0]="BORDER_BOX",fn[fn["PADDING_BOX"]=1]="PADDING_BOX",fn[fn["CONTENT_BOX"]=2]="CONTENT_BOX",{name:"background-clip",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return nn.PADDING_BOX;case"content-box":return nn.CONTENT_BOX}return nn.BORDER_BOX}))}}),dn={name:"background-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},Bn=function(A){var t=$e.parse(A[0]),e=A[1];return e&&Ie(e)?{color:t,stop:e}:{color:t,stop:null}},mn=function(A,t){var e=A[0],n=A[A.length-1];null===e.stop&&(e.stop=Te),null===n.stop&&(n.stop=Re);for(var i=[],o=0,a=0;ao?i.push(r):i.push(o),o=r}else i.push(null)}var c=null;for(a=0;aA.optimumDistance)?{optimumCorner:t,optimumDistance:s}:A}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},bn=function(A,t,e,n,i){var o=0,a=0;switch(A.size){case sn.CLOSEST_SIDE:A.shape===an.CIRCLE?o=a=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-n)),a=Math.min(Math.abs(e),Math.abs(e-i)));break;case sn.CLOSEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.min(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){var s=Math.min(Math.abs(e),Math.abs(e-i))/Math.min(Math.abs(t),Math.abs(t-n)),r=wn(n,i,t,e,!0),c=r[0],l=r[1];o=pn(c-t,(l-e)/s),a=s*o}break;case sn.FARTHEST_SIDE:A.shape===an.CIRCLE?o=a=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-n)),a=Math.max(Math.abs(e),Math.abs(e-i)));break;case sn.FARTHEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.max(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){s=Math.max(Math.abs(e),Math.abs(e-i))/Math.max(Math.abs(t),Math.abs(t-n));var u=wn(n,i,t,e,!1);c=u[0],l=u[1];o=pn(c-t,(l-e)/s),a=s*o}break}return Array.isArray(A.size)&&(o=ke(A.size[0],n),a=2===A.size.length?ke(A.size[1],i):o),[o,a]},Qn=function(A){var t=Ge(180),e=[];return xe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&"to"===i.value)return void(t=Xe(A));if(Je(i))return void(t=ze.parse(i))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},vn=function(A){var t=Ge(180),e=[];return xe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=Xe(A));if(Je(i))return void(t=(ze.parse(i)+Ge(270))%Ge(360))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},Un=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var n=A.createElement("boundtest");n.style.height=t+"px",n.style.display="block",A.body.appendChild(n),e.selectNode(n);var i=e.getBoundingClientRect(),o=Math.round(i.height);if(A.body.removeChild(n),o===t)return!0}}return!1},En=function(){return"undefined"!==typeof(new Image).crossOrigin},Fn=function(){return"string"===typeof(new XMLHttpRequest).responseType},_n=function(A){var t=new Image,e=A.createElement("canvas"),n=e.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,";try{n.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0},yn=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Nn=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,e,e);var i=new Image,o=t.toDataURL();i.src=o;var a=Hn(e,e,0,0,i);return n.fillStyle="red",n.fillRect(0,0,e,e),xn(a).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,e,e).data;n.fillStyle="red",n.fillRect(0,0,e,e);var a=A.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=e+"px",yn(i)?xn(Hn(e,e,0,0,a)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),yn(n.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Hn=function(A,t,e,n,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},xn=function(A){return new Promise((function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},On={get SUPPORT_RANGE_BOUNDS(){var A=Un(document);return Object.defineProperty(On,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=_n(document);return Object.defineProperty(On,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Nn(document):Promise.resolve(!1);return Object.defineProperty(On,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=En();return Object.defineProperty(On,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Fn();return Object.defineProperty(On,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(On,"SUPPORT_CORS_XHR",{value:A}),A}},Sn=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(i,o){var a=On.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var A=new FileReader;A.addEventListener("load",(function(){return i(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(s.response)}else o("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=o,s.open("GET",e+"?url="+encodeURIComponent(A)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var r=t._options.imageTimeout;s.timeout=r,s.ontimeout=function(){return o("Timed out ("+r+"ms) proxying "+n)}}s.send()}))},A}(),Tn=/^data:image\/svg\+xml/i,Dn=/^data:image\/.*;base64,/i,Rn=/^data:image\/.*/i,Ln=function(A){return On.SUPPORT_SVG_DRAWING||!jn(A)},kn=function(A){return Rn.test(A)},Mn=function(A){return Dn.test(A)},Pn=function(A){return"blob"===A.substr(0,4)},jn=function(A){return"svg"===A.substr(-3).toLowerCase()||Tn.test(A)},Vn=function(A){var t=Ge(180),e=[],n=on.LINEAR_GRADIENT,i=an.CIRCLE,o=sn.FARTHEST_CORNER,a=[];return xe(A).forEach((function(A,t){var i=A[0];if(0===t){if(Fe(i)&&"linear"===i.value)return void(n=on.LINEAR_GRADIENT);if(Fe(i)&&"radial"===i.value)return void(n=on.RADIAL_GRADIENT)}if(i.type===g.FUNCTION)if("from"===i.name){var o=$e.parse(i.values[0]);e.push({stop:Te,color:o})}else if("to"===i.name){o=$e.parse(i.values[0]);e.push({stop:Re,color:o})}else if("color-stop"===i.name){var a=i.values.filter(He);if(2===a.length){o=$e.parse(a[1]);var s=a[0];Ee(s)&&e.push({stop:{type:g.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}})),n===on.LINEAR_GRADIENT?{angle:(t+Ge(180))%Ge(360),stops:e,type:n}:{size:o,shape:i,stops:e,position:a,type:n}},zn="closest-side",Jn="farthest-side",Xn="closest-corner",Gn="farthest-corner",$n="circle",Wn="ellipse",Yn="cover",qn="contain",Zn=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return xe(A).forEach((function(A,o){var a=!0;if(0===o){var s=!1;a=A.reduce((function(A,n){if(s)if(Fe(n))switch(n.value){case"center":return i.push(De),A;case"top":case"left":return i.push(Te),A;case"right":case"bottom":return i.push(Re),A}else(Ie(n)||Se(n))&&i.push(n);else if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case"at":return s=!0,!1;case zn:return e=sn.CLOSEST_SIDE,!1;case Yn:case Jn:return e=sn.FARTHEST_SIDE,!1;case qn:case Xn:return e=sn.CLOSEST_CORNER,!1;case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)}if(a){var r=Bn(A);n.push(r)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},Ai=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return xe(A).forEach((function(A,o){var a=!0;if(0===o?a=A.reduce((function(A,t){if(Fe(t))switch(t.value){case"center":return i.push(De),!1;case"top":case"left":return i.push(Te),!1;case"right":case"bottom":return i.push(Re),!1}else if(Ie(t)||Se(t))return i.push(t),!1;return A}),a):1===o&&(a=A.reduce((function(A,n){if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case qn:case zn:return e=sn.CLOSEST_SIDE,!1;case Jn:return e=sn.FARTHEST_SIDE,!1;case Xn:return e=sn.CLOSEST_CORNER,!1;case Yn:case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)),a){var s=Bn(A);n.push(s)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},ti=on||(on={}),ei=(ti[ti["URL"]=0]="URL",ti[ti["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",ti[ti["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT",function(A){return A.type===on.LINEAR_GRADIENT}),ni=function(A){return A.type===on.RADIAL_GRADIENT},ii=an||(an={}),oi=(ii[ii["CIRCLE"]=0]="CIRCLE",ii[ii["ELLIPSE"]=1]="ELLIPSE",sn||(sn={})),ai=(oi[oi["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",oi[oi["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",oi[oi["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",oi[oi["FARTHEST_CORNER"]=3]="FARTHEST_CORNER",{name:"image",parse:function(A){if(A.type===g.URL_TOKEN){var t={url:A.value,type:on.URL};return In.getInstance().addImage(A.value),t}if(A.type===g.FUNCTION){var e=Fi[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return e(A.values)}throw new Error("Unsupported image type")}});function si(A){return A.type!==g.FUNCTION||Fi[A.name]}var ri,ci,li,ui,fi,gi,di,Bi,mi,hi,Ci,pi,wi,bi,Qi,vi,Ui,Ei,Fi={"linear-gradient":Qn,"-moz-linear-gradient":vn,"-ms-linear-gradient":vn,"-o-linear-gradient":vn,"-webkit-linear-gradient":vn,"radial-gradient":Zn,"-moz-radial-gradient":Ai,"-ms-radial-gradient":Ai,"-o-radial-gradient":Ai,"-webkit-radial-gradient":Ai,"-webkit-gradient":Vn},_i={name:"background-image",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var t=A[0];return t.type===g.IDENT_TOKEN&&"none"===t.value?[]:A.filter((function(A){return He(A)&&si(A)})).map(ai.parse)}},yi={name:"background-origin",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ni={name:"background-position",initialValue:"0% 0%",type:en.LIST,prefix:!1,parse:function(A){return xe(A).map((function(A){return A.filter(Ie)})).map(Ke)}},Hi=ri||(ri={}),xi=(Hi[Hi["REPEAT"]=0]="REPEAT",Hi[Hi["NO_REPEAT"]=1]="NO_REPEAT",Hi[Hi["REPEAT_X"]=2]="REPEAT_X",Hi[Hi["REPEAT_Y"]=3]="REPEAT_Y",{name:"background-repeat",initialValue:"repeat",prefix:!1,type:en.LIST,parse:function(A){return xe(A).map((function(A){return A.filter(Fe).map((function(A){return A.value})).join(" ")})).map(Oi)}}),Oi=function(A){switch(A){case"no-repeat":return ri.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ri.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ri.REPEAT_Y;case"repeat":default:return ri.REPEAT}},Si=ci||(ci={}),Ii=(Si["AUTO"]="auto",Si["CONTAIN"]="contain",Si["COVER"]="cover",{name:"background-size",initialValue:"0",prefix:!1,type:en.LIST,parse:function(A){return xe(A).map((function(A){return A.filter(Ki)}))}}),Ki=function(A){return Fe(A)||Ie(A)},Ti=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"}},Di=Ti("top"),Ri=Ti("right"),Li=Ti("bottom"),ki=Ti("left"),Mi=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:en.LIST,parse:function(A){return Ke(A.filter(Ie))}}},Pi=Mi("top-left"),ji=Mi("top-right"),Vi=Mi("bottom-right"),zi=Mi("bottom-left"),Ji=li||(li={}),Xi=(Ji[Ji["NONE"]=0]="NONE",Ji[Ji["SOLID"]=1]="SOLID",function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"none":return li.NONE}return li.SOLID}}}),Gi=Xi("top"),$i=Xi("right"),Wi=Xi("bottom"),Yi=Xi("left"),qi=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:en.VALUE,prefix:!1,parse:function(A){return Ue(A)?A.number:0}}},Zi=qi("top"),Ao=qi("right"),to=qi("bottom"),eo=qi("left"),no={name:"color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},io={name:"display",initialValue:"inline-block",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).reduce((function(A,t){return A|oo(t.value)}),0)}},oo=function(A){switch(A){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ao=ui||(ui={}),so=(ao[ao["NONE"]=0]="NONE",ao[ao["LEFT"]=1]="LEFT",ao[ao["RIGHT"]=2]="RIGHT",ao[ao["INLINE_START"]=3]="INLINE_START",ao[ao["INLINE_END"]=4]="INLINE_END",{name:"float",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"left":return ui.LEFT;case"right":return ui.RIGHT;case"inline-start":return ui.INLINE_START;case"inline-end":return ui.INLINE_END}return ui.NONE}}),ro={name:"letter-spacing",initialValue:"0",prefix:!1,type:en.VALUE,parse:function(A){return A.type===g.IDENT_TOKEN&&"normal"===A.value?0:A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN?A.number:0}},co=fi||(fi={}),lo=(co["NORMAL"]="normal",co["STRICT"]="strict",{name:"line-break",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"strict":return fi.STRICT;case"normal":default:return fi.NORMAL}}}),uo={name:"line-height",initialValue:"normal",prefix:!1,type:en.TOKEN_VALUE},fo=function(A,t){return Fe(A)&&"normal"===A.value?1.2*t:A.type===g.NUMBER_TOKEN?t*A.number:Ie(A)?ke(A,t):t},go={name:"list-style-image",initialValue:"none",type:en.VALUE,prefix:!1,parse:function(A){return A.type===g.IDENT_TOKEN&&"none"===A.value?null:ai.parse(A)}},Bo=gi||(gi={}),mo=(Bo[Bo["INSIDE"]=0]="INSIDE",Bo[Bo["OUTSIDE"]=1]="OUTSIDE",{name:"list-style-position",initialValue:"outside",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"inside":return gi.INSIDE;case"outside":default:return gi.OUTSIDE}}}),ho=di||(di={}),Co=(ho[ho["NONE"]=-1]="NONE",ho[ho["DISC"]=0]="DISC",ho[ho["CIRCLE"]=1]="CIRCLE",ho[ho["SQUARE"]=2]="SQUARE",ho[ho["DECIMAL"]=3]="DECIMAL",ho[ho["CJK_DECIMAL"]=4]="CJK_DECIMAL",ho[ho["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",ho[ho["LOWER_ROMAN"]=6]="LOWER_ROMAN",ho[ho["UPPER_ROMAN"]=7]="UPPER_ROMAN",ho[ho["LOWER_GREEK"]=8]="LOWER_GREEK",ho[ho["LOWER_ALPHA"]=9]="LOWER_ALPHA",ho[ho["UPPER_ALPHA"]=10]="UPPER_ALPHA",ho[ho["ARABIC_INDIC"]=11]="ARABIC_INDIC",ho[ho["ARMENIAN"]=12]="ARMENIAN",ho[ho["BENGALI"]=13]="BENGALI",ho[ho["CAMBODIAN"]=14]="CAMBODIAN",ho[ho["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",ho[ho["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",ho[ho["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",ho[ho["DEVANAGARI"]=18]="DEVANAGARI",ho[ho["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",ho[ho["GEORGIAN"]=20]="GEORGIAN",ho[ho["GUJARATI"]=21]="GUJARATI",ho[ho["GURMUKHI"]=22]="GURMUKHI",ho[ho["HEBREW"]=22]="HEBREW",ho[ho["HIRAGANA"]=23]="HIRAGANA",ho[ho["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",ho[ho["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",ho[ho["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",ho[ho["KANNADA"]=27]="KANNADA",ho[ho["KATAKANA"]=28]="KATAKANA",ho[ho["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",ho[ho["KHMER"]=30]="KHMER",ho[ho["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",ho[ho["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",ho[ho["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",ho[ho["LAO"]=34]="LAO",ho[ho["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",ho[ho["MALAYALAM"]=36]="MALAYALAM",ho[ho["MONGOLIAN"]=37]="MONGOLIAN",ho[ho["MYANMAR"]=38]="MYANMAR",ho[ho["ORIYA"]=39]="ORIYA",ho[ho["PERSIAN"]=40]="PERSIAN",ho[ho["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",ho[ho["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",ho[ho["TAMIL"]=43]="TAMIL",ho[ho["TELUGU"]=44]="TELUGU",ho[ho["THAI"]=45]="THAI",ho[ho["TIBETAN"]=46]="TIBETAN",ho[ho["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",ho[ho["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",ho[ho["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",ho[ho["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",ho[ho["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED",{name:"list-style-type",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"disc":return di.DISC;case"circle":return di.CIRCLE;case"square":return di.SQUARE;case"decimal":return di.DECIMAL;case"cjk-decimal":return di.CJK_DECIMAL;case"decimal-leading-zero":return di.DECIMAL_LEADING_ZERO;case"lower-roman":return di.LOWER_ROMAN;case"upper-roman":return di.UPPER_ROMAN;case"lower-greek":return di.LOWER_GREEK;case"lower-alpha":return di.LOWER_ALPHA;case"upper-alpha":return di.UPPER_ALPHA;case"arabic-indic":return di.ARABIC_INDIC;case"armenian":return di.ARMENIAN;case"bengali":return di.BENGALI;case"cambodian":return di.CAMBODIAN;case"cjk-earthly-branch":return di.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return di.CJK_HEAVENLY_STEM;case"cjk-ideographic":return di.CJK_IDEOGRAPHIC;case"devanagari":return di.DEVANAGARI;case"ethiopic-numeric":return di.ETHIOPIC_NUMERIC;case"georgian":return di.GEORGIAN;case"gujarati":return di.GUJARATI;case"gurmukhi":return di.GURMUKHI;case"hebrew":return di.HEBREW;case"hiragana":return di.HIRAGANA;case"hiragana-iroha":return di.HIRAGANA_IROHA;case"japanese-formal":return di.JAPANESE_FORMAL;case"japanese-informal":return di.JAPANESE_INFORMAL;case"kannada":return di.KANNADA;case"katakana":return di.KATAKANA;case"katakana-iroha":return di.KATAKANA_IROHA;case"khmer":return di.KHMER;case"korean-hangul-formal":return di.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return di.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return di.KOREAN_HANJA_INFORMAL;case"lao":return di.LAO;case"lower-armenian":return di.LOWER_ARMENIAN;case"malayalam":return di.MALAYALAM;case"mongolian":return di.MONGOLIAN;case"myanmar":return di.MYANMAR;case"oriya":return di.ORIYA;case"persian":return di.PERSIAN;case"simp-chinese-formal":return di.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return di.SIMP_CHINESE_INFORMAL;case"tamil":return di.TAMIL;case"telugu":return di.TELUGU;case"thai":return di.THAI;case"tibetan":return di.TIBETAN;case"trad-chinese-formal":return di.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return di.TRAD_CHINESE_INFORMAL;case"upper-armenian":return di.UPPER_ARMENIAN;case"disclosure-open":return di.DISCLOSURE_OPEN;case"disclosure-closed":return di.DISCLOSURE_CLOSED;case"none":default:return di.NONE}}}),po=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:en.TOKEN_VALUE}},wo=po("top"),bo=po("right"),Qo=po("bottom"),vo=po("left"),Uo=Bi||(Bi={}),Eo=(Uo[Uo["VISIBLE"]=0]="VISIBLE",Uo[Uo["HIDDEN"]=1]="HIDDEN",Uo[Uo["SCROLL"]=2]="SCROLL",Uo[Uo["AUTO"]=3]="AUTO",{name:"overflow",initialValue:"visible",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).map((function(A){switch(A.value){case"hidden":return Bi.HIDDEN;case"scroll":return Bi.SCROLL;case"auto":return Bi.AUTO;case"visible":default:return Bi.VISIBLE}}))}}),Fo=mi||(mi={}),_o=(Fo["NORMAL"]="normal",Fo["BREAK_WORD"]="break-word",{name:"overflow-wrap",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return mi.BREAK_WORD;case"normal":default:return mi.NORMAL}}}),yo=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:en.TYPE_VALUE,format:"length-percentage"}},No=yo("top"),Ho=yo("right"),xo=yo("bottom"),Oo=yo("left"),So=hi||(hi={}),Io=(So[So["LEFT"]=0]="LEFT",So[So["CENTER"]=1]="CENTER",So[So["RIGHT"]=2]="RIGHT",{name:"text-align",initialValue:"left",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"right":return hi.RIGHT;case"center":case"justify":return hi.CENTER;case"left":default:return hi.LEFT}}}),Ko=Ci||(Ci={}),To=(Ko[Ko["STATIC"]=0]="STATIC",Ko[Ko["RELATIVE"]=1]="RELATIVE",Ko[Ko["ABSOLUTE"]=2]="ABSOLUTE",Ko[Ko["FIXED"]=3]="FIXED",Ko[Ko["STICKY"]=4]="STICKY",{name:"position",initialValue:"static",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"relative":return Ci.RELATIVE;case"absolute":return Ci.ABSOLUTE;case"fixed":return Ci.FIXED;case"sticky":return Ci.STICKY}return Ci.STATIC}}),Do={name:"text-shadow",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){return 1===A.length&&ye(A[0],"none")?[]:xe(A).map((function(A){for(var t={color:ln.TRANSPARENT,offsetX:Te,offsetY:Te,blur:Te},e=0,n=0;n1?1:0],this.overflowWrap=ma(_o,A.overflowWrap),this.paddingTop=ma(No,A.paddingTop),this.paddingRight=ma(Ho,A.paddingRight),this.paddingBottom=ma(xo,A.paddingBottom),this.paddingLeft=ma(Oo,A.paddingLeft),this.position=ma(To,A.position),this.textAlign=ma(Io,A.textAlign),this.textDecorationColor=ma(Yo,A.textDecorationColor||A.color),this.textDecorationLine=ma(qo,A.textDecorationLine),this.textShadow=ma(Do,A.textShadow),this.textTransform=ma(Lo,A.textTransform),this.transform=ma(ko,A.transform),this.transformOrigin=ma(Vo,A.transformOrigin),this.visibility=ma(Jo,A.visibility),this.wordBreak=ma(Go,A.wordBreak),this.zIndex=ma($o,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===wi.VISIBLE},A.prototype.isTransparent=function(){return We(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==Ci.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==ui.NONE},A.prototype.isInlineLevel=function(){return aa(this.display,4)||aa(this.display,33554432)||aa(this.display,268435456)||aa(this.display,536870912)||aa(this.display,67108864)||aa(this.display,134217728)},A}(),da=function(){function A(A){this.content=ma(sa,A.content),this.quotes=ma(la,A.quotes)}return A}(),Ba=function(){function A(A){this.counterIncrement=ma(ra,A.counterIncrement),this.counterReset=ma(ca,A.counterReset)}return A}(),ma=function(A,t){var e=new Qe,n=null!==t&&"undefined"!==typeof t?t.toString():A.initialValue;e.write(n);var i=new ve(e.read());switch(A.type){case en.IDENT_VALUE:var o=i.parseComponentValue();return A.parse(Fe(o)?o.value:A.initialValue);case en.VALUE:return A.parse(i.parseComponentValue());case en.LIST:return A.parse(i.parseComponentValues());case en.TOKEN_VALUE:return i.parseComponentValue();case en.TYPE_VALUE:switch(A.format){case"angle":return ze.parse(i.parseComponentValue());case"color":return $e.parse(i.parseComponentValue());case"image":return ai.parse(i.parseComponentValue());case"length":var a=i.parseComponentValue();return Se(a)?a:Te;case"length-percentage":var s=i.parseComponentValue();return Ie(s)?s:Te}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ha=function(){function A(A){this.styles=new ga(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&As(A)&&(A.style.transform="none"),this.bounds=a(A),this.flags=0}return A}(),Ca=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),pa=function(A,t,e){var n=Qa(A,t),i=[],o=0;return n.forEach((function(A){if(t.textDecorationLine.length||A.trim().length>0)if(On.SUPPORT_RANGE_BOUNDS)i.push(new Ca(A,ba(e,o,A.length)));else{var n=e.splitText(A.length);i.push(new Ca(A,wa(e))),e=n}else On.SUPPORT_RANGE_BOUNDS||(e=e.splitText(A.length));o+=A.length})),i},wa=function(A){var t=A.ownerDocument;if(t){var e=t.createElement("html2canvaswrapper");e.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(e,A);var i=a(e);return e.firstChild&&n.replaceChild(e.firstChild,e),i}}return new o(0,0,0,0)},ba=function(A,t,e){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(A,t),i.setEnd(A,t+e),o.fromClientRect(i.getBoundingClientRect())},Qa=function(A,t){return 0!==t.letterSpacing?r(A).map((function(A){return c(A)})):va(A,t)},va=function(A,t){var e,n=KA(A,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===mi.BREAK_WORD?"break-word":t.wordBreak}),i=[];while(!(e=n.next()).done)e.value&&i.push(e.value.slice());return i},Ua=function(){function A(A,t){this.text=Ea(A.data,t.textTransform),this.textBounds=pa(this.text,t,A)}return A}(),Ea=function(A,t){switch(t){case pi.LOWERCASE:return A.toLowerCase();case pi.CAPITALIZE:return A.replace(Fa,_a);case pi.UPPERCASE:return A.toUpperCase();default:return A}},Fa=/(^|\s|:|-|\(|\))([a-z])/g,_a=function(A,t,e){return A.length>0?t+e.toUpperCase():A},ya=function(A){function e(t){var e=A.call(this,t)||this;return e.src=t.currentSrc||t.src,e.intrinsicWidth=t.naturalWidth,e.intrinsicHeight=t.naturalHeight,In.getInstance().addImage(e.src),e}return t(e,A),e}(ha),Na=function(A){function e(t){var e=A.call(this,t)||this;return e.canvas=t,e.intrinsicWidth=t.width,e.intrinsicHeight=t.height,e}return t(e,A),e}(ha),Ha=function(A){function e(t){var e=A.call(this,t)||this,n=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),e.intrinsicWidth=t.width.baseVal.value,e.intrinsicHeight=t.height.baseVal.value,In.getInstance().addImage(e.svg),e}return t(e,A),e}(ha),xa=function(A){function e(t){var e=A.call(this,t)||this;return e.value=t.value,e}return t(e,A),e}(ha),Oa=function(A){function e(t){var e=A.call(this,t)||this;return e.start=t.start,e.reversed="boolean"===typeof t.reversed&&!0===t.reversed,e}return t(e,A),e}(ha),Sa=[{type:g.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Ia=[{type:g.PERCENTAGE_TOKEN,flags:0,number:50}],Ka=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Ua(n,t.styles));else if(Za(n)){var o=Ga(n);o.styles.isVisible()&&(Wa(n,o,e)?o.flags|=4:Ya(o.styles)&&(o.flags|=2),-1!==Ja.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),fs(n)||os(n)||gs(n)||Xa(n,o,e))}},Ga=function(A){return rs(A)?new ya(A):ss(A)?new Na(A):os(A)?new Ha(A):ts(A)?new xa(A):es(A)?new Oa(A):ns(A)?new Ma(A):gs(A)?new Pa(A):fs(A)?new ja(A):cs(A)?new za(A):new ha(A)},$a=function(A){var t=Ga(A);return t.flags|=4,Xa(A,t,t),t},Wa=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||as(A)&&e.styles.isTransparent()},Ya=function(A){return A.isPositioned()||A.isFloating()},qa=function(A){return A.nodeType===Node.TEXT_NODE},Za=function(A){return A.nodeType===Node.ELEMENT_NODE},As=function(A){return"undefined"!==typeof A.style},ts=function(A){return"LI"===A.tagName},es=function(A){return"OL"===A.tagName},ns=function(A){return"INPUT"===A.tagName},is=function(A){return"HTML"===A.tagName},os=function(A){return"svg"===A.tagName},as=function(A){return"BODY"===A.tagName},ss=function(A){return"CANVAS"===A.tagName},rs=function(A){return"IMG"===A.tagName},cs=function(A){return"IFRAME"===A.tagName},ls=function(A){return"STYLE"===A.tagName},us=function(A){return"SCRIPT"===A.tagName},fs=function(A){return"TEXTAREA"===A.tagName},gs=function(A){return"SELECT"===A.tagName},ds=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,n=A.counterReset,i=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(i=!1,e[Math.max(0,e.length-1)]+=A.increment)}));var o=[];return i&&n.forEach((function(A){var e=t.counters[A.counter];o.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),o},A}(),Bs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ms={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},hs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Cs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ps=function(A,t,e,n,i,o){return Ae?Os(A,i,o.length>0):n.integers.reduce((function(t,e,i){while(A>=e)A-=e,t+=n.values[i];return t}),"")+o},ws=function(A,t,e,n){var i="";do{e||A--,i=n(A)+i,A/=t}while(A*t>=t);return i},bs=function(A,t,e,n,i){var o=e-t+1;return(A<0?"-":"")+(ws(Math.abs(A),o,n,(function(A){return c(Math.floor(A%o)+t)}))+i)},Qs=function(A,t,e){void 0===e&&(e=". ");var n=t.length;return ws(Math.abs(A),n,!1,(function(A){return t[Math.floor(A%n)]}))+e},vs=1,Us=2,Es=4,Fs=8,_s=function(A,t,e,n,i,o){if(A<-9999||A>9999)return Os(A,di.CJK_DECIMAL,i.length>0);var a=Math.abs(A),s=i;if(0===a)return t[0]+s;for(var r=0;a>0&&r<=4;r++){var c=a%10;0===c&&aa(o,vs)&&""!==s?s=t[c]+s:c>1||1===c&&0===r||1===c&&1===r&&aa(o,Us)||1===c&&1===r&&aa(o,Es)&&A>100||1===c&&r>1&&aa(o,Fs)?s=t[c]+(r>0?e[r-1]:"")+s:1===c&&r>0&&(s=e[r-1]+s),a=Math.floor(a/10)}return(A<0?n:"")+s},ys="十百千萬",Ns="拾佰仟萬",Hs="マイナス",xs="마이너스",Os=function(A,t,e){var n=e?". ":"",i=e?"、":"",o=e?", ":"",a=e?" ":"";switch(t){case di.DISC:return"•"+a;case di.CIRCLE:return"◦"+a;case di.SQUARE:return"◾"+a;case di.DECIMAL_LEADING_ZERO:var s=bs(A,48,57,!0,n);return s.length<4?"0"+s:s;case di.CJK_DECIMAL:return Qs(A,"〇一二三四五六七八九",i);case di.LOWER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n).toLowerCase();case di.UPPER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n);case di.LOWER_GREEK:return bs(A,945,969,!1,n);case di.LOWER_ALPHA:return bs(A,97,122,!1,n);case di.UPPER_ALPHA:return bs(A,65,90,!1,n);case di.ARABIC_INDIC:return bs(A,1632,1641,!0,n);case di.ARMENIAN:case di.UPPER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n);case di.LOWER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n).toLowerCase();case di.BENGALI:return bs(A,2534,2543,!0,n);case di.CAMBODIAN:case di.KHMER:return bs(A,6112,6121,!0,n);case di.CJK_EARTHLY_BRANCH:return Qs(A,"子丑寅卯辰巳午未申酉戌亥",i);case di.CJK_HEAVENLY_STEM:return Qs(A,"甲乙丙丁戊己庚辛壬癸",i);case di.CJK_IDEOGRAPHIC:case di.TRAD_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"負",i,Us|Es|Fs);case di.TRAD_CHINESE_FORMAL:return _s(A,"零壹貳參肆伍陸柒捌玖",Ns,"負",i,vs|Us|Es|Fs);case di.SIMP_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"负",i,Us|Es|Fs);case di.SIMP_CHINESE_FORMAL:return _s(A,"零壹贰叁肆伍陆柒捌玖",Ns,"负",i,vs|Us|Es|Fs);case di.JAPANESE_INFORMAL:return _s(A,"〇一二三四五六七八九","十百千万",Hs,i,0);case di.JAPANESE_FORMAL:return _s(A,"零壱弐参四伍六七八九","拾百千万",Hs,i,vs|Us|Es);case di.KOREAN_HANGUL_FORMAL:return _s(A,"영일이삼사오육칠팔구","십백천만",xs,o,vs|Us|Es);case di.KOREAN_HANJA_INFORMAL:return _s(A,"零一二三四五六七八九","十百千萬",xs,o,0);case di.KOREAN_HANJA_FORMAL:return _s(A,"零壹貳參四五六七八九","拾百千",xs,o,vs|Us|Es);case di.DEVANAGARI:return bs(A,2406,2415,!0,n);case di.GEORGIAN:return ps(A,1,19999,Cs,di.DECIMAL,n);case di.GUJARATI:return bs(A,2790,2799,!0,n);case di.GURMUKHI:return bs(A,2662,2671,!0,n);case di.HEBREW:return ps(A,1,10999,hs,di.DECIMAL,n);case di.HIRAGANA:return Qs(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case di.HIRAGANA_IROHA:return Qs(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case di.KANNADA:return bs(A,3302,3311,!0,n);case di.KATAKANA:return Qs(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case di.KATAKANA_IROHA:return Qs(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case di.LAO:return bs(A,3792,3801,!0,n);case di.MONGOLIAN:return bs(A,6160,6169,!0,n);case di.MYANMAR:return bs(A,4160,4169,!0,n);case di.ORIYA:return bs(A,2918,2927,!0,n);case di.PERSIAN:return bs(A,1776,1785,!0,n);case di.TAMIL:return bs(A,3046,3055,!0,n);case di.TELUGU:return bs(A,3174,3183,!0,n);case di.THAI:return bs(A,3664,3673,!0,n);case di.TIBETAN:return bs(A,3872,3881,!0,n);case di.DECIMAL:default:return bs(A,48,57,!0,n)}},Ss="data-html2canvas-ignore",Is=function(){function A(A,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=A,this.counters=new ds,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,t){var e=this,o=Ts(A,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,r=o.contentWindow,c=r.document,l=Ds(o).then((function(){return n(e,void 0,void 0,(function(){var A;return i(this,(function(e){switch(e.label){case 0:return this.scrolledElements.forEach(Ms),r&&(r.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||r.scrollY===t.top&&r.scrollX===t.left||(c.documentElement.style.top=-t.top+"px",c.documentElement.style.left=-t.left+"px",c.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(Ls(document.doctype)+""),ks(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},A.prototype.createElementClone=function(A){return ss(A)?this.createCanvasClone(A):ls(A)?this.createStyleClone(A):A.cloneNode(!1)},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=e,n}}catch(A){if(Sn.getInstance(this.options.id).error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(A){Sn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;var n=A.getContext("2d"),i=e.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,A.width,A.height),0,0):i.drawImage(A,0,0)),e}catch(A){}return e},A.prototype.cloneNode=function(A){if(qa(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(As(A)&&t){var e=this.createElementClone(A),n=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=e),as(e)&&Xs(e);for(var a=this.counters.parse(new Ba(n)),s=this.resolvePseudoContent(A,e,i,vi.BEFORE),r=A.firstChild;r;r=r.nextSibling)Za(r)&&(us(r)||r.hasAttribute(Ss)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(r))||this.options.copyStyles&&Za(r)&&ls(r)||e.appendChild(this.cloneNode(r));s&&e.insertBefore(s,e.firstChild);var c=this.resolvePseudoContent(A,e,o,vi.AFTER);return c&&e.appendChild(c),this.counters.pop(a),n&&this.options.copyStyles&&!cs(A)&&Rs(n,e),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([e,A.scrollLeft,A.scrollTop]),(fs(A)||gs(A))&&(fs(e)||gs(e))&&(e.value=A.value),e}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,n){var i=this;if(e){var o=e.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==e.display){this.counters.parse(new Ba(e));var s=new da(e),r=a.createElement("html2canvaspseudoelement");return Rs(e,r),s.content.forEach((function(t){if(t.type===g.STRING_TOKEN)r.appendChild(a.createTextNode(t.value));else if(t.type===g.URL_TOKEN){var e=a.createElement("img");e.src=t.value,e.style.opacity="1",r.appendChild(e)}else if(t.type===g.FUNCTION){if("attr"===t.name){var n=t.values.filter(Fe);n.length&&r.appendChild(a.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(He),c=o[0],l=o[1];if(c&&Fe(c)){var u=i.counters.getCounterValue(c.value),f=l&&Fe(l)?Co.parse(l.value):di.DECIMAL;r.appendChild(a.createTextNode(Os(u,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(He),B=(c=d[0],d[1]);l=d[2];if(c&&Fe(c)){var m=i.counters.getCounterValues(c.value),h=l&&Fe(l)?Co.parse(l.value):di.DECIMAL,C=B&&B.type===g.STRING_TOKEN?B.value:"",p=m.map((function(A){return Os(A,h,!1)})).join(C);r.appendChild(a.createTextNode(p))}}}else if(t.type===g.IDENT_TOKEN)switch(t.value){case"open-quote":r.appendChild(a.createTextNode(ua(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":r.appendChild(a.createTextNode(ua(s.quotes,--i.quoteDepth,!1)));break;default:r.appendChild(a.createTextNode(t.value))}})),r.className=Vs+" "+zs,t.className+=n===vi.BEFORE?" "+Vs:" "+zs,r}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}(),Ks=vi||(vi={}),Ts=(Ks[Ks["BEFORE"]=0]="BEFORE",Ks[Ks["AFTER"]=1]="AFTER",function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(Ss,"true"),A.body.appendChild(e),e}),Ds=function(A){return new Promise((function(t,e){var n=A.contentWindow;if(!n)return e("No window assigned for iframe");var i=n.document;n.onload=A.onload=i.onreadystatechange=function(){n.onload=A.onload=i.onreadystatechange=null;var e=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(e),t(A))}),50)}}))},Rs=function(A,t){for(var e=A.length-1;e>=0;e--){var n=A.item(e);"content"!==n&&t.style.setProperty(n,A.getPropertyValue(n))}return t},Ls=function(A){var t="";return A&&(t+=""),t},ks=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Ms=function(A){var t=A[0],e=A[1],n=A[2];t.scrollLeft=e,t.scrollTop=n},Ps=":before",js=":after",Vs="___html2canvas___pseudoelement_before",zs="___html2canvas___pseudoelement_after",Js='{\n content: "" !important;\n display: none !important;\n}',Xs=function(A){Gs(A,"."+Vs+Ps+Js+"\n ."+zs+js+Js)},Gs=function(A,t){var e=A.ownerDocument;if(e){var n=e.createElement("style");n.textContent=t,A.appendChild(n)}},$s=Ui||(Ui={}),Ws=($s[$s["VECTOR"]=0]="VECTOR",$s[$s["BEZIER_CURVE"]=1]="BEZIER_CURVE",function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))}),Ys=function(A,t,e,n,i){return A.map((function(A,o){switch(o){case 0:return A.add(t,e);case 1:return A.add(t+n,e);case 2:return A.add(t+n,e+i);case 3:return A.add(t,e+i)}return A}))},qs=function(){function A(A,t){this.type=Ui.VECTOR,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),Zs=function(A,t,e){return new qs(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},Ar=function(){function A(A,t,e,n){this.type=Ui.BEZIER_CURVE,this.start=A,this.startControl=t,this.endControl=e,this.end=n}return A.prototype.subdivide=function(t,e){var n=Zs(this.start,this.startControl,t),i=Zs(this.startControl,this.endControl,t),o=Zs(this.endControl,this.end,t),a=Zs(n,i,t),s=Zs(i,o,t),r=Zs(a,s,t);return e?new A(this.start,n,a,r):new A(r,s,o,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),tr=function(A){return A.type===Ui.BEZIER_CURVE},er=function(){function A(A){var t=A.styles,e=A.bounds,n=Le(t.borderTopLeftRadius,e.width,e.height),i=n[0],o=n[1],a=Le(t.borderTopRightRadius,e.width,e.height),s=a[0],r=a[1],c=Le(t.borderBottomRightRadius,e.width,e.height),l=c[0],u=c[1],f=Le(t.borderBottomLeftRadius,e.width,e.height),g=f[0],d=f[1],B=[];B.push((i+s)/e.width),B.push((g+l)/e.width),B.push((o+d)/e.height),B.push((r+u)/e.height);var m=Math.max.apply(Math,B);m>1&&(i/=m,o/=m,s/=m,r/=m,l/=m,u/=m,g/=m,d/=m);var h=e.width-s,C=e.height-u,p=e.width-l,w=e.height-d,b=t.borderTopWidth,Q=t.borderRightWidth,v=t.borderBottomWidth,U=t.borderLeftWidth,E=ke(t.paddingTop,A.bounds.width),F=ke(t.paddingRight,A.bounds.width),_=ke(t.paddingBottom,A.bounds.width),y=ke(t.paddingLeft,A.bounds.width);this.topLeftBorderBox=i>0||o>0?ir(e.left,e.top,i,o,Ei.TOP_LEFT):new qs(e.left,e.top),this.topRightBorderBox=s>0||r>0?ir(e.left+h,e.top,s,r,Ei.TOP_RIGHT):new qs(e.left+e.width,e.top),this.bottomRightBorderBox=l>0||u>0?ir(e.left+p,e.top+C,l,u,Ei.BOTTOM_RIGHT):new qs(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=g>0||d>0?ir(e.left,e.top+w,g,d,Ei.BOTTOM_LEFT):new qs(e.left,e.top+e.height),this.topLeftPaddingBox=i>0||o>0?ir(e.left+U,e.top+b,Math.max(0,i-U),Math.max(0,o-b),Ei.TOP_LEFT):new qs(e.left+U,e.top+b),this.topRightPaddingBox=s>0||r>0?ir(e.left+Math.min(h,e.width+U),e.top+b,h>e.width+U?0:s-U,r-b,Ei.TOP_RIGHT):new qs(e.left+e.width-Q,e.top+b),this.bottomRightPaddingBox=l>0||u>0?ir(e.left+Math.min(p,e.width-U),e.top+Math.min(C,e.height+b),Math.max(0,l-Q),u-v,Ei.BOTTOM_RIGHT):new qs(e.left+e.width-Q,e.top+e.height-v),this.bottomLeftPaddingBox=g>0||d>0?ir(e.left+U,e.top+w,Math.max(0,g-U),d-v,Ei.BOTTOM_LEFT):new qs(e.left+U,e.top+e.height-v),this.topLeftContentBox=i>0||o>0?ir(e.left+U+y,e.top+b+E,Math.max(0,i-(U+y)),Math.max(0,o-(b+E)),Ei.TOP_LEFT):new qs(e.left+U+y,e.top+b+E),this.topRightContentBox=s>0||r>0?ir(e.left+Math.min(h,e.width+U+y),e.top+b+E,h>e.width+U+y?0:s-U+y,r-(b+E),Ei.TOP_RIGHT):new qs(e.left+e.width-(Q+F),e.top+b+E),this.bottomRightContentBox=l>0||u>0?ir(e.left+Math.min(p,e.width-(U+y)),e.top+Math.min(C,e.height+b+E),Math.max(0,l-(Q+F)),u-(v+_),Ei.BOTTOM_RIGHT):new qs(e.left+e.width-(Q+F),e.top+e.height-(v+_)),this.bottomLeftContentBox=g>0||d>0?ir(e.left+U+y,e.top+w,Math.max(0,g-(U+y)),d-(v+_),Ei.BOTTOM_LEFT):new qs(e.left+U+y,e.top+e.height-(v+_))}return A}(),nr=Ei||(Ei={}),ir=(nr[nr["TOP_LEFT"]=0]="TOP_LEFT",nr[nr["TOP_RIGHT"]=1]="TOP_RIGHT",nr[nr["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",nr[nr["BOTTOM_LEFT"]=3]="BOTTOM_LEFT",function(A,t,e,n,i){var o=(Math.sqrt(2)-1)/3*4,a=e*o,s=n*o,r=A+e,c=t+n;switch(i){case Ei.TOP_LEFT:return new Ar(new qs(A,c),new qs(A,c-s),new qs(r-a,t),new qs(r,t));case Ei.TOP_RIGHT:return new Ar(new qs(A,t),new qs(A+a,t),new qs(r,c-s),new qs(r,c));case Ei.BOTTOM_RIGHT:return new Ar(new qs(r,t),new qs(r,t+s),new qs(A+a,c),new qs(A,c));case Ei.BOTTOM_LEFT:default:return new Ar(new qs(r,c),new qs(r-a,c),new qs(A,t+s),new qs(A,t))}}),or=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},ar=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},sr=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},rr=function(){function A(A,t,e){this.type=0,this.offsetX=A,this.offsetY=t,this.matrix=e,this.target=6}return A}(),cr=function(){function A(A,t){this.type=1,this.target=t,this.path=A}return A}(),lr=function(A){return 0===A.type},ur=function(A){return 1===A.type},fr=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),gr=function(){function A(A,t){if(this.container=A,this.effects=t.slice(0),this.curves=new er(A),null!==A.styles.transform){var e=A.bounds.left+A.styles.transformOrigin[0].number,n=A.bounds.top+A.styles.transformOrigin[1].number,i=A.styles.transform;this.effects.push(new rr(e,n,i))}if(A.styles.overflowX!==Bi.VISIBLE){var o=or(this.curves),a=sr(this.curves);Ws(o,a)?this.effects.push(new cr(o,6)):(this.effects.push(new cr(o,2)),this.effects.push(new cr(a,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==Bi.VISIBLE){var t=or(this.curves),e=sr(this.curves);Ws(t,e)||A.push(new cr(e,6))}return A},A}(),dr=function(A,t,e,n){A.container.elements.forEach((function(i){var o=aa(i.flags,4),a=aa(i.flags,2),s=new gr(i,A.getParentEffects());aa(i.styles.display,2048)&&n.push(s);var r=aa(i.flags,8)?[]:n;if(o||a){var c=o||i.styles.isPositioned()?e:t,l=new fr(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(f=t,!1):f>0})),c.negativeZIndex.splice(f,0,l)}else if(u>0){var g=0;c.positiveZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(g=t+1,!1):g>0})),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);dr(s,l,o?l:e,r)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),dr(s,t,e,r);aa(i.flags,8)&&Br(i,r)}))},Br=function(A,t){for(var e=A instanceof Oa?A.start:1,n=A instanceof Oa&&A.reversed,i=0;i0&&A.intrinsicHeight>0){var n=wr(A),i=sr(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,(function(){var e,n,a,s,r,c,l,u,f,g,d,B,m,h,C;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),e=t.container,n=t.curves,a=e.styles,s=0,r=e.textNodes,i.label=1;case 1:return s0&&U>0&&(C=n.ctx.createPattern(B,"repeat"),n.renderRepeat(w,C,F,_))):ni(e)&&(p=vr(A,t,[null,null,null]),w=p[0],b=p[1],Q=p[2],v=p[3],U=p[4],E=0===e.position.length?[De]:e.position,F=ke(E[0],v),_=ke(E[E.length-1],U),y=bn(e,F,_,v,U),N=y[0],H=y[1],N>0&&N>0&&(x=n.ctx.createRadialGradient(b+F,Q+_,0,b+F,Q+_,N),mn(e.stops,2*N).forEach((function(A){return x.addColorStop(A.stop,Ye(A.color))})),n.path(w),n.ctx.fillStyle=x,N!==H?(O=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,I=H/N,K=1/I,n.ctx.save(),n.ctx.translate(O,S),n.ctx.transform(1,0,0,I,0,0),n.ctx.translate(-O,-S),n.ctx.fillRect(b,K*(Q-S)+S,v,U*K),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,o=0,a=A.styles.backgroundImage.slice(0).reverse(),r.label=1;case 1:return oA.moved.newIndex,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.moved.list=this.mConfig,this.rConfig=[];var t=A.moved.element,e=JSON.parse(JSON.stringify(t));this.rConfig.push(e),this.activeIndex=A.moved.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",A.moved)}A.added&&(e=A.added.element,t=1e3*(new Date).getTime(),e.num=t,this.activeConfigName=e.name,(t=JSON.parse(JSON.stringify(e))).id="id"+t.num,this.mConfig[A.added.newIndex]=t,this.rConfig=[],this.rConfig.push(t),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.added.list=this.mConfig,this.activeIndex=A.added.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",e.name),this.$store.commit("mobildConfig/defaultArraySort",A.added))},cloneDog:function(A){return Object(n.a)({},A)},swapArray:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},movePage:function(A,t,e){if(e){if(0==t)return}else if(t==this.mConfig.length-1)return;if("search_box"==A.name)return this.$Message.warning("该组件禁止移动");if(e){if("search_box"==this.mConfig[t-1].name)return this.$Message.warning("搜索框必须为顶部");this.swapArray(this.mConfig,t-1,t)}else this.swapArray(this.mConfig,t,t+1);var n={},i=(this.rConfig=[],n.oldIndex=t,n.newIndex=e?t-1:t+1,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),JSON.parse(JSON.stringify(A)));this.rConfig.push(i),n.element=A,n.list=this.mConfig,this.activeIndex=e?t-1:t+1,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},addDomCon:function(A,t,e){if("search_box"==A.name){if(this.isSearch)return this.$Message.error("该组件只能添加一次");this.isSearch=!0}if("nav_bar"==A.name){if(this.isTab)return this.$Message.error("该组件只能添加一次");this.isTab=!0}var n={},i=1e3*(new Date).getTime();A.num="".concat(i),A.id="id".concat(i),this.activeConfigName=A.name,i=JSON.parse(JSON.stringify(A));"search_box"==A.name?(this.rConfig=[],this.mConfig.unshift(i),this.activeIndex=0,this.rConfig.push(i)):"nav_bar"==A.name?(this.rConfig=[],this.mConfig[0]&&"search_box"===this.mConfig[0].name?(this.mConfig.splice(1,0,i),this.activeIndex=1):(this.mConfig.splice(0,0,i),this.activeIndex=0),this.rConfig.push(i)):t?(this.rConfig=[],this.mConfig.push(i),this.activeIndex=this.mConfig.length-1,this.rConfig.push(i)):(this.mConfig.splice(e+1,0,i),this.activeIndex=e),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),n.element=A,n.list=this.mConfig,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},bindAddDom:function(A,t,e){var n=A;this.lConfig.forEach((function(t){A.name==t.name&&(n=t)})),this.addDomCon(n,t,e)},addDom:function(A,t){this.addDomCon(A,t)},bindconfig:function(A,t){this.rConfig=[];var e=JSON.parse(JSON.stringify(A));this.rConfig.push(e),this.activeIndex=t,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name)},bindDelete:function(A,t){"search_box"==A.name&&(this.isSearch=!1),"nav_bar"==A.name&&(this.isTab=!1),this.mConfig.splice(t,1),this.rConfig.splice(0,1),this.mConfig.length!=t?this.rConfig.push(this.mConfig[t]):this.mConfig.length?(this.activeIndex=t-1,this.rConfig.push(this.mConfig[t-1])):this.showTitle(),this.$store.commit("mobildConfig/DELETEARRAY",A)},config:function(A){var t=this.propsObj;t.data=A,t.name=this.activeConfigName},addSort:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},arraySort:function(){var A=[],t={title:"基础组件",list:[],isOpen:!0},e={title:"营销组件",list:[],isOpen:!0},n={title:"工具组件",list:[],isOpen:!0};this.lConfig.map((function(A,i){0==A.type&&t.list.push(A),1==A.type&&e.list.push(A),2==A.type&&n.list.push(A)})),A.push(t,e,n),this.leftMenu=A},diySaveDate:function(A){var t=this;Object(i.t)(this.pageId,{type:this.pageType,value:A,title:this.titleTxt,name:this.nameTxt,is_show:this.showTxt?1:0,is_bg_color:this.colorTxt?1:0,color_picker:this.colorPickerTxt,bg_pic:this.picUrlTxt,bg_tab_val:this.tabValTxt,is_bg_pic:this.picTxt?1:0}).then((function(A){t.loading=!1,t.pageId=A.data.id,t.$Message.success(A.msg)})).catch((function(A){t.loading=!1,t.$Message.error(A.msg)}))},saveConfig:function(){if(0==this.mConfig.length)return this.$Message.error("暂未添加任何组件,保存失败!");this.loading=!0;var A,t=this.$store.state.mobildConfig.defaultArray;this.footActive||(A=1e3*(new Date).getTime(),t[A]=this.$store.state.mobildConfig.pageFooter,this.footActive=!0),this.$nextTick((function(){this.diySaveDate(t)}))},getDefaultConfig:function(){var A=this;Object(i.i)(this.pageId).then((function(t){t=t.data;var e={},n=[];A.$store.commit("mobildConfig/titleUpdata",t.info.title),A.$store.commit("mobildConfig/nameUpdata",t.info.name),A.$store.commit("mobildConfig/showUpdata",t.info.is_show),A.$store.commit("mobildConfig/colorUpdata",t.info.is_bg_color||0),A.$store.commit("mobildConfig/picUpdata",t.info.is_bg_pic||0),A.$store.commit("mobildConfig/pickerUpdata",t.info.color_picker||"#f5f5f5"),A.$store.commit("mobildConfig/radioUpdata",t.info.bg_tab_val||0),A.$store.commit("mobildConfig/picurlUpdata",t.info.bg_pic||""),t=A.objToArr(t.info.value);t.sort((function(A,t){return A.timestamp-t.timestamp})),t.map((function(t,i){"headerSerch"==t.name&&(A.isSearch=!0),"tabNav"==t.name&&(A.isTab=!0),"goodList"==t.name&&window.localStorage.setItem(t.timestamp,t.selectConfig.activeValue),t.id="id"+t.timestamp,A.lConfig.map((function(i,o){t.name==i.defaultName&&(i.num=t.timestamp,i.id="id"+t.timestamp,i=JSON.parse(JSON.stringify(i)),n.push(i),e[t.timestamp]=t,A.mConfig.push(i),A.$store.commit("mobildConfig/ADDARRAY",{num:t.timestamp,val:t}))}))})),t=t[t.length-1],"pageFoot"==t.name&&A.$store.commit("mobildConfig/footPageUpdata",t),A.showTitle()}))},categoryList:function(){var A=this;Object(i.a)((function(t){A.category=t.data}))},reast:function(){var A=this;0==this.pageId?this.$Message.error("新增页面,无法重置"):this.$Modal.confirm({title:"提示",content:"

    是否重置当前页面数据

    ",onOk:function(){A.mConfig=[],A.rConfig=[],A.activeIndex=-99,A.getDefaultConfig()},onCancel:function(){}})}},beforeDestroy:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")}},e("0a848"),h=Object(m.a)(B,(function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"diy-page"},[n("div",{staticClass:"i-layout-page-header header_top"},[n("div",{staticClass:"i-layout-page-header fl_header"},[n("router-link",{attrs:{to:{path:"/admin/setting/pages/devise"}}},[n("Button",{attrs:{icon:"ios-arrow-back",size:"small",type:"text"}},[A._v("返回")])],1),n("Divider",{attrs:{type:"vertical"}}),n("span",{staticClass:"ivu-page-header-title mr20",staticStyle:{padding:"0"},domProps:{textContent:A._s(A.$route.meta.title)}}),n("div",{staticClass:"rbtn"},[0!==A.pageId?n("Button",{staticClass:"bnt",attrs:{loading:A.loading},on:{click:A.setmoren}},[A._v("保存默认")]):A._e(),0!==A.pageId?n("Button",{staticClass:"bnt ml20",attrs:{loading:A.loading},on:{click:A.getmoren}},[A._v("恢复默认")]):A._e(),n("Button",{staticClass:"bnt ml20",attrs:{type:"primary",loading:A.loading},on:{click:A.saveConfig}},[A._v("保存")]),n("Button",{staticClass:"bnt ml20",on:{click:A.reast}},[A._v("重置")])],1)],1)]),n("Card",{staticClass:"ivu-mt",staticStyle:{margin:"0 10px"},attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"diy-wrapper",style:"height:"+(A.clientHeight-150)+"px;"},[n("div",{staticClass:"left"},[n("div",{staticClass:"title-bar"},A._l(A.tabList,(function(t,e){return n("div",{key:e,staticClass:"title-item",class:{on:A.tabCur==e},on:{click:function(t){return A.bindTab(e)}}},[A._v("\n "+A._s(t.title)+"\n ")])})),0),0==A.tabCur?n("div",{staticClass:"wrapper",style:"height:"+(A.clientHeight-150)+"px;"},A._l(A.leftMenu,(function(t,e){return n("div",{key:e},[n("div",{staticClass:"tips",on:{click:function(A){t.isOpen=!t.isOpen}}},[A._v("\n "+A._s(t.title)+"\n\n "),t.isOpen?n("Icon",{attrs:{type:"ios-arrow-down",size:"16"}}):n("Icon",{attrs:{type:"ios-arrow-forward",size:"16"}})],1),n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.list,group:{name:"people",pull:"clone",put:!1},clone:A.cloneDog,dragClass:"dragClass",filter:".search , .navbar"}},A._l(t.list,(function(e,i){return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"item.isOpen"}],key:e.id,staticClass:"list-group-item",class:{search:"搜索框"==e.cname,navbar:"商品分类"==e.cname},on:{click:function(t){return A.addDom(e,1)}}},[n("div",[n("div",{staticClass:"position",staticStyle:{display:"none"}},[A._v("释放鼠标将组建添加到此处")]),n("span",{staticClass:"conter iconfont-diy",class:e.icon}),n("p",{staticClass:"conter"},[A._v(A._s(e.cname))])])])})),0)],1)})),0):n("div",{staticClass:"wrapper",style:"height:"+(A.clientHeight-200)+"px;"},A._l(A.urlList,(function(t,e){return n("div",{key:e,staticClass:"link-item"},[n("div",{staticClass:"name"},[A._v(A._s(t.name))]),n("div",{staticClass:"link-txt"},[A._v("地址:"+A._s(t.url))]),n("div",{staticClass:"params"},[n("span",{staticClass:"txt"},[A._v("参数:")]),n("span",[A._v(A._s(t.parameter))])]),n("div",{staticClass:"lable"},[n("p",{staticClass:"txt"},[A._v("例如:"+A._s(t.example))]),n("Button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.example,expression:"item.example",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:A.onCopy,expression:"onCopy",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:A.onError,expression:"onError",arg:"error"}],attrs:{size:"small"}},[A._v("复制\n ")])],1)])})),0)]),n("div",{staticClass:"wrapper-con",staticStyle:{flex:"1",background:"#f0f2f5",display:"flex","justify-content":"center","padding-top":"20px",height:"100%"}},[n("div",{staticClass:"content"},[n("div",{staticClass:"contxt",staticStyle:{display:"flex","flex-direction":"column",overflow:"hidden",height:"100%"}},[n("div",{staticClass:"overflowy"},[n("div",{staticClass:"picture"},[n("img",{attrs:{src:e("2d44")}})]),n("div",{staticClass:"page-title",class:{on:-100==A.activeIndex},on:{click:A.showTitle}},[A._v("\n "+A._s(A.titleTxt)+"\n "),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})])]),n("div",{staticClass:"scrollCon"},[n("div",{staticStyle:{width:"460px",margin:"0 auto"}},[n("div",{ref:"imgContainer",staticClass:"scroll-box",class:A.picTxt&&2==A.tabValTxt?"fullsize noRepeat":A.picTxt&&1==A.tabValTxt?"repeat ysize":"noRepeat ysize",style:"background-color:"+(A.colorTxt?A.colorPickerTxt:"")+";background-image: url("+(A.picTxt?A.picUrlTxt:"")+");height:"+A.rollHeight+"px;"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:A.mConfig,group:"people",filter:".top",move:A.onMove,animation:"300"},on:{change:A.log}},A._l(A.mConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",class:{on:A.activeIndex==e,top:"search_box"==t.name||"nav_bar"==t.name},style:A.colorTxt?"background-color:"+A.colorPickerTxt+";":"background-color:#fff;",on:{click:function(n){return n.stopPropagation(),A.bindconfig(t,e)}}},[n(t.name,{ref:"getComponentData",refInFor:!0,tag:"component",attrs:{configData:A.propsObj,index:e,num:t.num}}),n("div",{staticClass:"delete-box"},[n("div",{staticClass:"handleType"},[n("Tooltip",{attrs:{content:"删除当前模块",placement:"top"}},[n("div",{staticClass:"iconfont iconshanchu2",on:{click:function(n){return n.stopPropagation(),A.bindDelete(t,e)}}})]),n("div",{staticClass:"iconfont iconfuzhi",on:{click:function(n){return n.stopPropagation(),A.bindAddDom(t,0,e)}}}),n("div",{staticClass:"iconfont iconshangyi",class:0===e?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,1)}}}),n("div",{staticClass:"iconfont iconxiayi",class:e===A.mConfig.length-1?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,0)}}})],1)]),n("div",{staticClass:"handle"})],1)})),0)],1)])]),n("div",{staticClass:"overflowy"},[n("div",{staticClass:"page-foot",class:{on:-101==A.activeIndex},on:{click:A.showFoot}},[n("footPage"),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})],1)])])])]),n("div",{staticClass:"right-box"},A._l(A.rConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",staticStyle:{"background-color":"#fff"}},[n("div",{staticClass:"title-bar"},[A._v(A._s(t.cname))]),n(t.configName,{tag:"component",attrs:{activeIndex:A.activeIndex,num:t.num,index:e},on:{config:A.config}})],1)})),0)])])],1)}),[],!1,null,"69269449",null);t.default=h.exports},d8b9:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"z_ueditor",cname:"富文本",configName:"c_ueditor_box",icon:"iconfuwenben1",type:2,defaultName:"richText",props:{index:{type:null,default:-1},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"richText",timestamp:this.num,setUp:{tabVal:0},bgColor:{title:"背景色",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},lrConfig:{title:"左右边距",val:0,min:0},udConfig:{title:"上下边距",val:0,min:0},richText:{val:""}},cSlider:"",bgColor:"",confObj:{},pageData:{},edge:"",udEdge:"",richText:""}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.lrConfig&&(this.bgColor=A.bgColor.color[0].item,this.edge=A.lrConfig.val,this.udEdge=A.udConfig.val,this.richText=A.richText.val)}}},e("fc85"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"mobile-page"},[A("div",{staticClass:"box",style:{background:this.bgColor,marginLeft:this.edge+"px",marginRight:this.edge+"px",marginTop:this.udEdge+"px"},domProps:{innerHTML:this._s(this.richText)}})])}),[],!1,null,"70881bbe",null);t.default=e.exports},d998:function(A,t,e){e=e("342f"),A.exports=/MSIE|Trident/.test(e)},d9b8:function(A,t,e){},dba82:function(A,t,e){"use strict";var n=e("016f");e.n(n).a},dc7d:function(A,t,e){"use strict";var n=e("3257");e.n(n).a},df85:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("e9c4"),e("ab01")),o=e("befa");n={name:"c_picture_cube",componentsName:"picture_cube",cname:"图片魔方",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},components:Object(n.a)(Object(n.a)({},i.a),{},{rightBtn:o.a}),data:function(){return{configObj:{},rCom:[{components:i.a.c_tab,configNme:"tabConfig"},{components:i.a.c_pictrue,configNme:"picStyle"},{components:i.a.c_menu_list,configNme:"menuConfig"},{components:i.a.c_bg_color,configNme:"bgColor"},{components:i.a.c_txt_tab,configNme:"bgStyle"},{components:i.a.c_slider,configNme:"prConfig"},{components:i.a.c_slider,configNme:"mbConfig"}]}},watch:{num:function(A){A=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[A])),this.configObj=A},configObj:{handler:function(A,t){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:A})},deep:!0}},mounted:function(){var A=this;this.$nextTick((function(){var t=JSON.parse(JSON.stringify(A.$store.state.mobildConfig.defaultArray[A.num]));A.configObj=t}))},methods:{}},e("4a96"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config pro"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme,index:A.activeIndex,num:t.num}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)}),[],!1,null,"0402e251",null);t.default=e.exports},e642:function(A,t,e){var n={"./c_bg_color.vue":"62cf","./c_cascader.vue":"d767","./c_foot.vue":"be50","./c_goods.vue":"4fa6","./c_hot_box.vue":"3fc7","./c_hot_imgs.vue":"8581","./c_hot_word.vue":"b646","./c_input_item.vue":"d670","./c_input_number.vue":"b0c5","./c_is_show.vue":"b85c","./c_menu_list.vue":"5969","./c_page_ueditor.vue":"cfff9","./c_pictrue.vue":"2144","./c_product.vue":"d115","./c_select.vue":"02a4","./c_set_up.vue":"967b","./c_slider.vue":"d4ce","./c_status.vue":"55ab","./c_tab.vue":"a920","./c_txt_tab.vue":"1e18","./c_upload_img.vue":"d36e"};function i(A){return A=o(A),e(A)}function o(A){if(e.o(n,A))return n[A];throw(A=new Error("Cannot find module '"+A+"'")).code="MODULE_NOT_FOUND",A}i.keys=function(){return Object.keys(n)},i.resolve=o,(A.exports=i).id="e642"},e945:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("d81d"),e("d3b7"),e("25f0"),e("f478")),o=e("2f62"),a=e("61f7");n={name:"home_new_list",filters:{formatDate:function(A){if(0!==A)return A=new Date(1e3*A),Object(a.a)(A,"yyyy-MM-dd hh:mm")}},cname:"新闻列表",icon:"iconwenzhangliebiao1",configName:"c_new_list",type:0,defaultName:"articleList",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(o.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{list:[],defaultConfig:{name:"articleList",timestamp:this.num,setUp:{tabVal:0},numConfig:{val:3,title:"文章数量"},selectConfig:{title:"文章分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},selectList:{title:"文章列表",list:[]},listStyle:{cname:"listStyle",title:"文本位置",type:0,list:[{val:"居左",icon:"icondoc_left"},{val:"居右",icon:"icondoc_right"}]},bgColor:{title:"背景颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},bgStyle:{title:"背景样式",name:"bgStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},conStyle:{title:"内容样式",name:"conStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},prConfig:{title:"背景边距",val:0,min:0},itemConfig:{title:"文章间距",val:0,min:0},mbConfig:{title:"页面间距",val:0,min:0}},mTOP:0,bgColor:[],itemEdge:0,listStyle:0,itemStyle:0,bgStyle:0,conStyle:0,prConfig:0}},created:function(){},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{categoryList:function(){var A=this;Object(i.a)().then((function(t){A.pageData.selectConfig.list=t.data,A.pageData.selectConfig.list.map((function(A){A.id.toString()})),A.$store.commit("mobildConfig/UPDATEARR",{num:A.num,val:A.pageData})}))},setConfig:function(A){A&&A.mbConfig&&(this.bgColor=A.bgColor.color[0].item,this.mTOP=A.mbConfig.val,this.itemEdge=A.itemConfig.val,this.listStyle=A.listStyle.type,this.bgStyle=A.bgStyle.type,this.prConfig=A.prConfig.val,this.conStyle=A.conStyle.type,(A=A.selectList.list||[]).length?this.list=A:this.list=[{title:"文章标题文章标题文章标题文章 标题文章标题",add_time:"1621474811",type:"noList"}])}}},e("6e65"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-page",style:{marginTop:A.mTOP+"px",padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"list-wrapper",class:{pageOn:1===A.bgStyle},style:{background:A.bgColor}},A._l(A.list,(function(t,n){return e("div",{key:n,staticClass:"item",class:{on:0==A.listStyle,pageOn:1===A.conStyle},style:{marginBottom:A.itemEdge+"px"}},["noList"===A.list[0].type?e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})]):e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.image_input[0]}})]),e("div",{staticClass:"info"},[e("div",{staticClass:"title line2"},[A._v(A._s(t.title))]),e("div",{staticClass:"time"},[A._v(A._s(A._f("formatDate")(t.add_time)))])])])})),0)])}),[],!1,null,"0e344be9",null);t.default=e.exports},e995:function(A,t,e){"use strict";var n=e("3952");e.n(n).a},e996:function(A,t,e){},e99b:function(A,t,e){"use strict";var n=e("f19a");e.n(n).a},ead9:function(A,t,e){},ed79:function(A,t,e){"use strict";var n=e("2c4d");e.n(n).a},edd0:function(A,t,e){var n=e("13d2"),i=e("9bf2");A.exports=function(A,t,e){return e.get&&n(e.get,t,{getter:!0}),e.set&&n(e.set,t,{setter:!0}),i.f(A,t,e)}},efa3:function(A,t,e){},f19a:function(A,t,e){},f232:function(A,t,e){},f405:function(A,t,e){"use strict";var n=e("44b0");e.n(n).a},f5dee:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"home_seckill",cname:"秒杀",configName:"c_home_seckill",icon:"iconmiaosha1",type:1,defaultName:"seckill",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"seckill",timestamp:this.num,setUp:{tabVal:0},countDownColor:{title:"倒计时背景色",name:"countDownColor",default:[{item:"rgba(252,60,62,0.09)"}],color:[{item:"rgba(252,60,62,0.09)"}]},themeColor:{title:"主题风格",name:"themeColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},conStyle:{title:"背景样式",name:"conStyle",type:1,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},bgColor:{title:"背景颜色",name:"themeColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},prConfig:{title:"背景边距",val:10,min:0},priceShow:{title:"是否显示价格",val:!0},discountShow:{title:"是否显示折扣标签",val:!0},titleShow:{title:"是否显示名称",val:!0},seckillShow:{title:"抢购标签",val:!0},numberConfig:{val:3},lrConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"页面间距",val:0,min:0},imgConfig:{title:"最多可添加1张图片,建议宽度18 * 18px",url:"http://pro.crmeb.net/static/images/spike-icon-002.gif"}},list:[{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"}],mTOP:0,listRight:0,countDownColor:"",themeColor:"",pageData:{},imgUrl:"",priceShow:!0,discountShow:!0,titleShow:!0,seckillShow:!0,prConfig:0,bgColor:"",conStyle:1}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.mbConfig&&(this.mTOP=A.mbConfig.val,this.listRight=A.lrConfig.val,this.countDownColor=A.countDownColor.color[0].item,this.themeColor=A.themeColor.color[0].item,this.imgUrl=A.imgConfig.url,this.priceShow=A.priceShow.val,this.discountShow=A.discountShow.val,this.titleShow=A.titleShow.val,this.seckillShow=A.seckillShow.val,this.prConfig=A.prConfig.val,this.bgColor=A.bgColor.color[0].item,this.conStyle=A.conStyle.type)}}},e("d71c"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"seckill-box",class:A.conStyle?"":"seckillOn",style:{background:A.bgColor,marginTop:A.mTOP+"px"}},[e("div",{staticClass:"hd"},[e("div",{staticClass:"left"},[e("img",{attrs:{src:A.imgUrl,alt:""}}),e("p",[A._v("限时秒杀")]),e("div",{staticClass:"time"},[e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")])])]),e("div",{staticClass:"right"},[A._v("更多")])]),e("div",{staticClass:"list-wrapper"},A._l(A.list,(function(t,n){return e("div",{staticClass:"list-item",style:{marginRight:A.listRight+"px"},attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.img?e("img",{attrs:{src:t.img,alt:""}}):A._e(),A._m(0,!0),A.discountShow?e("div",{staticClass:"discount",style:{borderColor:A.themeColor,color:A.themeColor}},[A._v("\n "+A._s(t.discount)+"折起\n ")]):A._e()]),A.titleShow?e("div",{staticClass:"title line1"},[A._v(A._s(t.name))]):A._e(),e("div",{staticClass:"price"},[A.seckillShow?e("span",{staticClass:"label",style:{background:A.themeColor}},[A._v("抢")]):A._e(),A.priceShow?e("span",{staticClass:"num-label",style:{color:A.themeColor}},[A._v("¥")]):A._e(),A.priceShow?e("span",{staticClass:"num",style:{color:A.themeColor}},[A._v(A._s(t.price))]):A._e()])])})),0)])])}),[function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"empty-box"},[A("span",{staticClass:"iconfont-diy icontupian"})])}],!1,null,"2378e588",null);t.default=e.exports},f960:function(A,t,e){},f9a7:function(A,t,e){},fa17:function(A,t,e){},fac5:function(A,t,e){"use strict";var n=e("bcb9");e.n(n).a},fc85:function(A,t,e){"use strict";var n=e("0f51");e.n(n).a},fd04:function(A,t,e){"use strict";var n=e("1f61");e.n(n).a},feef:function(A,t,e){},ffa6:function(A,t,e){"use strict";var n=e("9f8c");e.n(n).a},ffca:function(A,t,e){},fff6:function(A,t,e){}}]); \ No newline at end of file + ***************************************************************************** */var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)t.hasOwnProperty(e)&&(A[e]=t[e])},A(t,e)};function t(t,e){function n(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,n=arguments.length;e0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=55296&&i<=56319&&e>10),a%1024+56320)),(i+1===e||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"===typeof Uint8Array?[]:new Uint8Array(256),f=0;f>4,l[r++]=(15&n)<<4|i>>2,l[r++]=(3&i)<<6|63&o;return c},B=function(A){for(var t=A.length,e=[],n=0;n>h,Q=(1<>h)+32,v=65536>>C,U=(1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>h],t=(t<>h)],t=(t<>C),t=this.index[t],t+=A>>h&U,t=this.index[t],t=(t<N?(i.push(!0),a-=N):i.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),e.push(V);if(a===S||a===L){if(0===o)return n.push(o),e.push(iA);var s=e[o-1];return-1===FA.indexOf(s)?(n.push(n[o-1]),e.push(s)):(n.push(o),e.push(iA))}return n.push(o),a===oA?e.push("strict"===t?$:uA):a===mA||a===nA?e.push(iA):a===hA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(uA):e.push(iA):void e.push(a)})),[n,e,i]},HA=function(A,t,e,n){var i=n[e];if(Array.isArray(A)?-1!==A.indexOf(i):A===i){var o=e;while(o<=n.length){o++;var a=n[o];if(a===t)return!0;if(a!==R)break}}if(i===R){o=e;while(o>0){o--;var s=n[o];if(Array.isArray(A)?-1!==A.indexOf(s):A===s){var r=e;while(r<=n.length){r++;a=n[r];if(a===t)return!0;if(a!==R)break}}if(s!==R)break}}return!1},xA=function(A,t){var e=A;while(e>=0){var n=t[e];if(n!==R)return n;e--}return 0},OA=function(A,t,e,n,i){if(0===e[n])return pA;var o=n-1;if(Array.isArray(i)&&!0===i[o])return pA;var a=o-1,s=o+1,r=t[o],c=a>=0?t[a]:0,l=t[s];if(r===x&&l===O)return pA;if(-1!==vA.indexOf(r))return CA;if(-1!==vA.indexOf(l))return pA;if(-1!==UA.indexOf(l))return pA;if(xA(o,t)===T)return wA;if(QA.get(A[o])===L&&(l===uA||l===aA||l===sA))return pA;if(r===K||l===K)return pA;if(r===D)return pA;if(-1===[R,M,j].indexOf(r)&&l===D)return pA;if(-1!==[z,J,X,q,eA].indexOf(l))return pA;if(xA(o,t)===W)return pA;if(HA(Y,W,o,t))return pA;if(HA([z,J],$,o,t))return pA;if(HA(k,k,o,t))return pA;if(r===R)return wA;if(r===Y||l===Y)return pA;if(l===V||r===V)return wA;if(-1!==[M,j,$].indexOf(l)||r===P)return pA;if(c===lA&&-1!==yA.indexOf(r))return pA;if(r===eA&&l===lA)return pA;if(l===G&&-1!==bA.concat(G,X,Z,uA,aA,sA).indexOf(r))return pA;if(-1!==bA.indexOf(l)&&r===Z||-1!==bA.indexOf(r)&&l===Z)return pA;if(r===tA&&-1!==[uA,aA,sA].indexOf(l)||-1!==[uA,aA,sA].indexOf(r)&&l===AA)return pA;if(-1!==bA.indexOf(r)&&-1!==EA.indexOf(l)||-1!==EA.indexOf(r)&&-1!==bA.indexOf(l))return pA;if(-1!==[tA,AA].indexOf(r)&&(l===Z||-1!==[W,j].indexOf(l)&&t[s+1]===Z)||-1!==[W,j].indexOf(r)&&l===Z||r===Z&&-1!==[Z,eA,q].indexOf(l))return pA;if(-1!==[Z,eA,q,z,J].indexOf(l)){var u=o;while(u>=0){var f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(-1!==[tA,AA].indexOf(l)){u=-1!==[z,J].indexOf(r)?a:o;while(u>=0){f=t[u];if(f===Z)return pA;if(-1===[eA,q].indexOf(f))break;u--}}if(fA===r&&-1!==[fA,gA,rA,cA].indexOf(l)||-1!==[gA,rA].indexOf(r)&&-1!==[gA,dA].indexOf(l)||-1!==[dA,cA].indexOf(r)&&l===dA)return pA;if(-1!==_A.indexOf(r)&&-1!==[G,AA].indexOf(l)||-1!==_A.indexOf(l)&&r===tA)return pA;if(-1!==bA.indexOf(r)&&-1!==bA.indexOf(l))return pA;if(r===q&&-1!==bA.indexOf(l))return pA;if(-1!==bA.concat(Z).indexOf(r)&&l===W||-1!==bA.concat(Z).indexOf(l)&&r===J)return pA;if(r===BA&&l===BA){var g=e[o],d=1;while(g>0){if(g--,t[g]!==BA)break;d++}if(d%2!==0)return pA}return r===aA&&l===sA?pA:wA},SA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=NA(A,t.lineBreak),n=e[0],i=e[1],o=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(i=i.map((function(A){return-1!==[Z,iA,mA].indexOf(A)?uA:A})));var a="keep-all"===t.wordBreak?o.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[n,i,a]},IA=function(){function A(A,t,e,n){this.codePoints=A,this.required=t===CA,this.start=e,this.end=n}return A.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),KA=function(A,t){var e=r(A),n=SA(e,t),i=n[0],o=n[1],a=n[2],s=e.length,c=0,l=0;return{next:function(){if(l>=s)return{done:!0,value:null};var A=pA;while(l=Nt&&A<=57},Mt=function(A){return A>=55296&&A<=57343},Pt=function(A){return kt(A)||A>=Kt&&A<=Dt||A>=Ht&&A<=Ot},jt=function(A){return A>=Ht&&A<=It},Vt=function(A){return A>=Kt&&A<=Lt},zt=function(A){return jt(A)||Vt(A)},Jt=function(A){return A>=dt},Xt=function(A){return A===MA||A===VA||A===zA},Gt=function(A){return zt(A)||Jt(A)||A===At},$t=function(A){return Gt(A)||kt(A)||A===tt},Wt=function(A){return A>=bt&&A<=vt||A===Ut||A>=Et&&A<=Ft||A===_t},Yt=function(A,t){return A===jA&&t!==MA},qt=function(A,t,e){return A===tt?Gt(t)||Yt(t,e):!!Gt(A)||!(A!==jA||!Yt(A,t))},Zt=function(A,t,e){return A===ht||A===tt?!!kt(t)||t===Qt&&kt(e):kt(A===Qt?t:A)},Ae=function(A){var t=0,e=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(e=-1),t++);var n=[];while(kt(A[t]))n.push(A[t++]);var i=n.length?parseInt(c.apply(void 0,n),10):0;A[t]===Qt&&t++;var o=[];while(kt(A[t]))o.push(A[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;A[t]!==Tt&&A[t]!==xt||t++;var r=1;A[t]!==ht&&A[t]!==tt||(A[t]===tt&&(r=-1),t++);var l=[];while(kt(A[t]))l.push(A[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return e*(i+s*Math.pow(10,-a))*Math.pow(10,r*u)},te={type:g.LEFT_PARENTHESIS_TOKEN},ee={type:g.RIGHT_PARENTHESIS_TOKEN},ne={type:g.COMMA_TOKEN},ie={type:g.SUFFIX_MATCH_TOKEN},oe={type:g.PREFIX_MATCH_TOKEN},ae={type:g.COLUMN_TOKEN},se={type:g.DASH_MATCH_TOKEN},re={type:g.INCLUDE_MATCH_TOKEN},ce={type:g.LEFT_CURLY_BRACKET_TOKEN},le={type:g.RIGHT_CURLY_BRACKET_TOKEN},ue={type:g.SUBSTRING_MATCH_TOKEN},fe={type:g.BAD_URL_TOKEN},ge={type:g.BAD_STRING_TOKEN},de={type:g.CDO_TOKEN},Be={type:g.CDC_TOKEN},me={type:g.COLON_TOKEN},he={type:g.SEMICOLON_TOKEN},Ce={type:g.LEFT_SQUARE_BRACKET_TOKEN},pe={type:g.RIGHT_SQUARE_BRACKET_TOKEN},we={type:g.WHITESPACE_TOKEN},Qe={type:g.EOF_TOKEN},be=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(r(A))},A.prototype.read=function(){var A=[],t=this.consumeToken();while(t!==Qe)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case JA:return this.consumeStringToken(JA);case GA:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),n=this.peekCodePoint(2);if($t(t)||Yt(e,n)){var i=qt(t,e,n)?RA:DA,o=this.consumeName();return{type:g.HASH_TOKEN,value:o,flags:i}}break;case $A:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ie;break;case YA:return this.consumeStringToken(YA);case qA:return te;case ZA:return ee;case mt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),ue;break;case ht:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ct:return ne;case tt:var a=A,s=this.peekCodePoint(0),r=this.peekCodePoint(1);if(Zt(a,s,r))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(qt(a,s,r))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===tt&&r===it)return this.consumeCodePoint(),this.consumeCodePoint(),Be;break;case Qt:if(Zt(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case PA:if(this.peekCodePoint(0)===mt){this.consumeCodePoint();while(1){var l=this.consumeCodePoint();if(l===mt&&(l=this.consumeCodePoint(),l===PA))return this.consumeToken();if(l===yt)return this.consumeToken()}}break;case pt:return me;case wt:return he;case nt:if(this.peekCodePoint(0)===et&&this.peekCodePoint(1)===tt&&this.peekCodePoint(2)===tt)return this.consumeCodePoint(),this.consumeCodePoint(),de;break;case ot:var u=this.peekCodePoint(0),f=this.peekCodePoint(1),d=this.peekCodePoint(2);if(qt(u,f,d)){o=this.consumeName();return{type:g.AT_KEYWORD_TOKEN,value:o}}break;case at:return Ce;case jA:if(Yt(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case st:return pe;case rt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),oe;break;case ct:return ce;case ut:return le;case St:case Rt:var B=this.peekCodePoint(0),m=this.peekCodePoint(1);return B!==ht||!Pt(m)&&m!==lt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case ft:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),se;if(this.peekCodePoint(0)===ft)return this.consumeCodePoint(),ae;break;case gt:if(this.peekCodePoint(0)===XA)return this.consumeCodePoint(),re;break;case yt:return Qe}return Xt(A)?(this.consumeWhiteSpace(),we):kt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Gt(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:g.DELIM_TOKEN,value:c(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return"undefined"===typeof A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){var A=[],t=this.consumeCodePoint();while(Pt(t)&&A.length<6)A.push(t),t=this.consumeCodePoint();var e=!1;while(t===lt&&A.length<6)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var n=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Nt:A}))),16),i=parseInt(c.apply(void 0,A.map((function(A){return A===lt?Dt:A}))),16);return{type:g.UNICODE_RANGE_TOKEN,start:n,end:i}}var o=parseInt(c.apply(void 0,A),16);if(this.peekCodePoint(0)===tt&&Pt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();var a=[];while(Pt(t)&&a.length<6)a.push(t),t=this.consumeCodePoint();i=parseInt(c.apply(void 0,a),16);return{type:g.UNICODE_RANGE_TOKEN,start:o,end:i}}return{type:g.UNICODE_RANGE_TOKEN,start:o,end:o}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===qA?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===qA?(this.consumeCodePoint(),{type:g.FUNCTION_TOKEN,value:A}):{type:g.IDENT_TOKEN,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt)return{type:g.URL_TOKEN,value:""};var t=this.peekCodePoint(0);if(t===YA||t===JA){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===g.STRING_TOKEN&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA)?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:e.value}):(this.consumeBadUrlRemnants(),fe)}while(1){var n=this.consumeCodePoint();if(n===yt||n===ZA)return{type:g.URL_TOKEN,value:c.apply(void 0,A)};if(Xt(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===ZA?(this.consumeCodePoint(),{type:g.URL_TOKEN,value:c.apply(void 0,A)}):(this.consumeBadUrlRemnants(),fe);if(n===JA||n===YA||n===qA||Wt(n))return this.consumeBadUrlRemnants(),fe;if(n===jA){if(!Yt(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),fe;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){while(Xt(this.peekCodePoint(0)))this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){while(1){var A=this.consumeCodePoint();if(A===ZA||A===yt)return;Yt(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){var t=6e4,e="";while(A>0){var n=Math.min(t,A);e+=c.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){var t="",e=0;do{var n=this._value[e];if(n===yt||void 0===n||n===A)return t+=this.consumeStringSlice(e),{type:g.STRING_TOKEN,value:t};if(n===MA)return this._value.splice(0,e),ge;if(n===jA){var i=this._value[e+1];i!==yt&&void 0!==i&&(i===MA?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):Yt(n,i)&&(t+=this.consumeStringSlice(e),t+=c(this.consumeEscapedCodePoint()),e=-1))}e++}while(1)},A.prototype.consumeNumber=function(){var A=[],t=LA,e=this.peekCodePoint(0);e!==ht&&e!==tt||A.push(this.consumeCodePoint());while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(e===Qt&&kt(n)){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}e=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((e===Tt||e===xt)&&((n===ht||n===tt)&&kt(i)||kt(n))){A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=kA;while(kt(this.peekCodePoint(0)))A.push(this.consumeCodePoint())}return[Ae(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),o=this.peekCodePoint(2);if(qt(n,i,o)){var a=this.consumeName();return{type:g.DIMENSION_TOKEN,number:t,flags:e,unit:a}}return n===WA?(this.consumeCodePoint(),{type:g.PERCENTAGE_TOKEN,number:t,flags:e}):{type:g.NUMBER_TOKEN,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Pt(A)){var t=c(A);while(Pt(this.peekCodePoint(0))&&t.length<6)t+=c(this.consumeCodePoint());Xt(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||Mt(e)||e>1114111?Bt:e}return A===yt?Bt:A},A.prototype.consumeName=function(){var A="";while(1){var t=this.consumeCodePoint();if($t(t))A+=c(t);else{if(!Yt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=c(this.consumeEscapedCodePoint())}}},A}(),ve=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new be;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){var A=this.consumeToken();while(A.type===g.WHITESPACE_TOKEN)A=this.consumeToken();if(A.type===g.EOF_TOKEN)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(A.type===g.WHITESPACE_TOKEN);if(A.type===g.EOF_TOKEN)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){var A=[];while(1){var t=this.consumeComponentValue();if(t.type===g.EOF_TOKEN)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case g.LEFT_CURLY_BRACKET_TOKEN:case g.LEFT_SQUARE_BRACKET_TOKEN:case g.LEFT_PARENTHESIS_TOKEN:return this.consumeSimpleBlock(A.type);case g.FUNCTION_TOKEN:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){var t={type:A,values:[]},e=this.consumeToken();while(1){if(e.type===g.EOF_TOKEN||Oe(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){var t={name:A.value,values:[],type:g.FUNCTION};while(1){var e=this.consumeToken();if(e.type===g.EOF_TOKEN||e.type===g.RIGHT_PARENTHESIS_TOKEN)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return"undefined"===typeof A?Qe:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),Ue=function(A){return A.type===g.DIMENSION_TOKEN},Ee=function(A){return A.type===g.NUMBER_TOKEN},Fe=function(A){return A.type===g.IDENT_TOKEN},_e=function(A){return A.type===g.STRING_TOKEN},ye=function(A,t){return Fe(A)&&A.value===t},Ne=function(A){return A.type!==g.WHITESPACE_TOKEN},He=function(A){return A.type!==g.WHITESPACE_TOKEN&&A.type!==g.COMMA_TOKEN},xe=function(A){var t=[],e=[];return A.forEach((function(A){if(A.type===g.COMMA_TOKEN){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}A.type!==g.WHITESPACE_TOKEN&&e.push(A)})),e.length&&t.push(e),t},Oe=function(A,t){return t===g.LEFT_CURLY_BRACKET_TOKEN&&A.type===g.RIGHT_CURLY_BRACKET_TOKEN||(t===g.LEFT_SQUARE_BRACKET_TOKEN&&A.type===g.RIGHT_SQUARE_BRACKET_TOKEN||t===g.LEFT_PARENTHESIS_TOKEN&&A.type===g.RIGHT_PARENTHESIS_TOKEN)},Se=function(A){return A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN},Ie=function(A){return A.type===g.PERCENTAGE_TOKEN||Se(A)},Ke=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Te={type:g.NUMBER_TOKEN,number:0,flags:LA},De={type:g.PERCENTAGE_TOKEN,number:50,flags:LA},Re={type:g.PERCENTAGE_TOKEN,number:100,flags:LA},Le=function(A,t,e){var n=A[0],i=A[1];return[ke(n,t),ke("undefined"!==typeof i?i:n,e)]},ke=function(A,t){if(A.type===g.PERCENTAGE_TOKEN)return A.number/100*t;if(Ue(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},Me="deg",Pe="grad",je="rad",Ve="turn",ze={name:"angle",parse:function(A){if(A.type===g.DIMENSION_TOKEN)switch(A.unit){case Me:return Math.PI*A.number/180;case Pe:return Math.PI/200*A.number;case je:return A.number;case Ve:return 2*Math.PI*A.number}throw new Error("Unsupported angle type")}},Je=function(A){return A.type===g.DIMENSION_TOKEN&&(A.unit===Me||A.unit===Pe||A.unit===je||A.unit===Ve)},Xe=function(A){var t=A.filter(Fe).map((function(A){return A.value})).join(" ");switch(t){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Te,Te];case"to top":case"bottom":return Ge(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Te,Re];case"to right":case"left":return Ge(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Re,Re];case"to bottom":case"top":return Ge(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Re,Te];case"to left":case"right":return Ge(270)}return 0},Ge=function(A){return Math.PI*A/180},$e={name:"color",parse:function(A){if(A.type===g.FUNCTION){var t=cn[A.name];if("undefined"===typeof t)throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(A.values)}if(A.type===g.HASH_TOKEN){if(3===A.value.length){var e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===A.value.length){e=A.value.substring(0,1),n=A.value.substring(1,2),i=A.value.substring(2,3);var o=A.value.substring(3,4);return qe(parseInt(e+e,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(o+o,16)/255)}if(6===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),1)}if(8===A.value.length){e=A.value.substring(0,2),n=A.value.substring(2,4),i=A.value.substring(4,6),o=A.value.substring(6,8);return qe(parseInt(e,16),parseInt(n,16),parseInt(i,16),parseInt(o,16)/255)}}if(A.type===g.IDENT_TOKEN){var a=ln[A.value.toUpperCase()];if("undefined"!==typeof a)return a}return ln.TRANSPARENT}},We=function(A){return 0===(255&A)},Ye=function(A){var t=255&A,e=255&A>>8,n=255&A>>16,i=255&A>>24;return t<255?"rgba("+i+","+n+","+e+","+t/255+")":"rgb("+i+","+n+","+e+")"},qe=function(A,t,e,n){return(A<<24|t<<16|e<<8|Math.round(255*n)<<0)>>>0},Ze=function(A,t){if(A.type===g.NUMBER_TOKEN)return A.number;if(A.type===g.PERCENTAGE_TOKEN){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},An=function(A){var t=A.filter(He);if(3===t.length){var e=t.map(Ze),n=e[0],i=e[1],o=e[2];return qe(n,i,o,1)}if(4===t.length){var a=t.map(Ze),s=(n=a[0],i=a[1],o=a[2],a[3]);return qe(n,i,o,s)}return 0};function tn(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var en,nn,on,an,sn,rn=function(A){var t=A.filter(He),e=t[0],n=t[1],i=t[2],o=t[3],a=(e.type===g.NUMBER_TOKEN?Ge(e.number):ze.parse(e))/(2*Math.PI),s=Ie(n)?n.number/100:0,r=Ie(i)?i.number/100:0,c="undefined"!==typeof o&&Ie(o)?ke(o,1):1;if(0===s)return qe(255*r,255*r,255*r,1);var l=r<=.5?r*(s+1):r+s-r*s,u=2*r-l,f=tn(u,l,a+1/3),d=tn(u,l,a),B=tn(u,l,a-1/3);return qe(255*f,255*d,255*B,c)},cn={hsl:rn,hsla:rn,rgb:An,rgba:An},ln={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},un=en||(en={}),fn=(un[un["VALUE"]=0]="VALUE",un[un["LIST"]=1]="LIST",un[un["IDENT_VALUE"]=2]="IDENT_VALUE",un[un["TYPE_VALUE"]=3]="TYPE_VALUE",un[un["TOKEN_VALUE"]=4]="TOKEN_VALUE",nn||(nn={})),gn=(fn[fn["BORDER_BOX"]=0]="BORDER_BOX",fn[fn["PADDING_BOX"]=1]="PADDING_BOX",fn[fn["CONTENT_BOX"]=2]="CONTENT_BOX",{name:"background-clip",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return nn.PADDING_BOX;case"content-box":return nn.CONTENT_BOX}return nn.BORDER_BOX}))}}),dn={name:"background-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},Bn=function(A){var t=$e.parse(A[0]),e=A[1];return e&&Ie(e)?{color:t,stop:e}:{color:t,stop:null}},mn=function(A,t){var e=A[0],n=A[A.length-1];null===e.stop&&(e.stop=Te),null===n.stop&&(n.stop=Re);for(var i=[],o=0,a=0;ao?i.push(r):i.push(o),o=r}else i.push(null)}var c=null;for(a=0;aA.optimumDistance)?{optimumCorner:t,optimumDistance:s}:A}),{optimumDistance:i?1/0:-1/0,optimumCorner:null}).optimumCorner},Qn=function(A,t,e,n,i){var o=0,a=0;switch(A.size){case sn.CLOSEST_SIDE:A.shape===an.CIRCLE?o=a=Math.min(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.min(Math.abs(t),Math.abs(t-n)),a=Math.min(Math.abs(e),Math.abs(e-i)));break;case sn.CLOSEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.min(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){var s=Math.min(Math.abs(e),Math.abs(e-i))/Math.min(Math.abs(t),Math.abs(t-n)),r=wn(n,i,t,e,!0),c=r[0],l=r[1];o=pn(c-t,(l-e)/s),a=s*o}break;case sn.FARTHEST_SIDE:A.shape===an.CIRCLE?o=a=Math.max(Math.abs(t),Math.abs(t-n),Math.abs(e),Math.abs(e-i)):A.shape===an.ELLIPSE&&(o=Math.max(Math.abs(t),Math.abs(t-n)),a=Math.max(Math.abs(e),Math.abs(e-i)));break;case sn.FARTHEST_CORNER:if(A.shape===an.CIRCLE)o=a=Math.max(pn(t,e),pn(t,e-i),pn(t-n,e),pn(t-n,e-i));else if(A.shape===an.ELLIPSE){s=Math.max(Math.abs(e),Math.abs(e-i))/Math.max(Math.abs(t),Math.abs(t-n));var u=wn(n,i,t,e,!1);c=u[0],l=u[1];o=pn(c-t,(l-e)/s),a=s*o}break}return Array.isArray(A.size)&&(o=ke(A.size[0],n),a=2===A.size.length?ke(A.size[1],i):o),[o,a]},bn=function(A){var t=Ge(180),e=[];return xe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&"to"===i.value)return void(t=Xe(A));if(Je(i))return void(t=ze.parse(i))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},vn=function(A){var t=Ge(180),e=[];return xe(A).forEach((function(A,n){if(0===n){var i=A[0];if(i.type===g.IDENT_TOKEN&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(t=Xe(A));if(Je(i))return void(t=(ze.parse(i)+Ge(270))%Ge(360))}var o=Bn(A);e.push(o)})),{angle:t,stops:e,type:on.LINEAR_GRADIENT}},Un=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var n=A.createElement("boundtest");n.style.height=t+"px",n.style.display="block",A.body.appendChild(n),e.selectNode(n);var i=e.getBoundingClientRect(),o=Math.round(i.height);if(A.body.removeChild(n),o===t)return!0}}return!1},En=function(){return"undefined"!==typeof(new Image).crossOrigin},Fn=function(){return"string"===typeof(new XMLHttpRequest).responseType},_n=function(A){var t=new Image,e=A.createElement("canvas"),n=e.getContext("2d");if(!n)return!1;t.src="data:image/svg+xml,";try{n.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0},yn=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},Nn=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var n=t.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,e,e);var i=new Image,o=t.toDataURL();i.src=o;var a=Hn(e,e,0,0,i);return n.fillStyle="red",n.fillRect(0,0,e,e),xn(a).then((function(t){n.drawImage(t,0,0);var i=n.getImageData(0,0,e,e).data;n.fillStyle="red",n.fillRect(0,0,e,e);var a=A.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=e+"px",yn(i)?xn(Hn(e,e,0,0,a)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),yn(n.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Hn=function(A,t,e,n,i){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",A.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",e.toString()),s.setAttributeNS(null,"y",n.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(i),a},xn=function(A){return new Promise((function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},On={get SUPPORT_RANGE_BOUNDS(){var A=Un(document);return Object.defineProperty(On,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=_n(document);return Object.defineProperty(On,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"===typeof Array.from&&"function"===typeof window.fetch?Nn(document):Promise.resolve(!1);return Object.defineProperty(On,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=En();return Object.defineProperty(On,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=Fn();return Object.defineProperty(On,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(On,"SUPPORT_CORS_XHR",{value:A}),A}},Sn=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,i.sent()]}}))}))},A.prototype.has=function(A){return"undefined"!==typeof this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(i,o){var a=On.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;if(s.onload=function(){if(200===s.status)if("text"===a)i(s.response);else{var A=new FileReader;A.addEventListener("load",(function(){return i(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(s.response)}else o("Failed to proxy resource "+n+" with status code "+s.status)},s.onerror=o,s.open("GET",e+"?url="+encodeURIComponent(A)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var r=t._options.imageTimeout;s.timeout=r,s.ontimeout=function(){return o("Timed out ("+r+"ms) proxying "+n)}}s.send()}))},A}(),Tn=/^data:image\/svg\+xml/i,Dn=/^data:image\/.*;base64,/i,Rn=/^data:image\/.*/i,Ln=function(A){return On.SUPPORT_SVG_DRAWING||!jn(A)},kn=function(A){return Rn.test(A)},Mn=function(A){return Dn.test(A)},Pn=function(A){return"blob"===A.substr(0,4)},jn=function(A){return"svg"===A.substr(-3).toLowerCase()||Tn.test(A)},Vn=function(A){var t=Ge(180),e=[],n=on.LINEAR_GRADIENT,i=an.CIRCLE,o=sn.FARTHEST_CORNER,a=[];return xe(A).forEach((function(A,t){var i=A[0];if(0===t){if(Fe(i)&&"linear"===i.value)return void(n=on.LINEAR_GRADIENT);if(Fe(i)&&"radial"===i.value)return void(n=on.RADIAL_GRADIENT)}if(i.type===g.FUNCTION)if("from"===i.name){var o=$e.parse(i.values[0]);e.push({stop:Te,color:o})}else if("to"===i.name){o=$e.parse(i.values[0]);e.push({stop:Re,color:o})}else if("color-stop"===i.name){var a=i.values.filter(He);if(2===a.length){o=$e.parse(a[1]);var s=a[0];Ee(s)&&e.push({stop:{type:g.PERCENTAGE_TOKEN,number:100*s.number,flags:s.flags},color:o})}}})),n===on.LINEAR_GRADIENT?{angle:(t+Ge(180))%Ge(360),stops:e,type:n}:{size:o,shape:i,stops:e,position:a,type:n}},zn="closest-side",Jn="farthest-side",Xn="closest-corner",Gn="farthest-corner",$n="circle",Wn="ellipse",Yn="cover",qn="contain",Zn=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return xe(A).forEach((function(A,o){var a=!0;if(0===o){var s=!1;a=A.reduce((function(A,n){if(s)if(Fe(n))switch(n.value){case"center":return i.push(De),A;case"top":case"left":return i.push(Te),A;case"right":case"bottom":return i.push(Re),A}else(Ie(n)||Se(n))&&i.push(n);else if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case"at":return s=!0,!1;case zn:return e=sn.CLOSEST_SIDE,!1;case Yn:case Jn:return e=sn.FARTHEST_SIDE,!1;case qn:case Xn:return e=sn.CLOSEST_CORNER,!1;case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)}if(a){var r=Bn(A);n.push(r)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},Ai=function(A){var t=an.CIRCLE,e=sn.FARTHEST_CORNER,n=[],i=[];return xe(A).forEach((function(A,o){var a=!0;if(0===o?a=A.reduce((function(A,t){if(Fe(t))switch(t.value){case"center":return i.push(De),!1;case"top":case"left":return i.push(Te),!1;case"right":case"bottom":return i.push(Re),!1}else if(Ie(t)||Se(t))return i.push(t),!1;return A}),a):1===o&&(a=A.reduce((function(A,n){if(Fe(n))switch(n.value){case $n:return t=an.CIRCLE,!1;case Wn:return t=an.ELLIPSE,!1;case qn:case zn:return e=sn.CLOSEST_SIDE,!1;case Jn:return e=sn.FARTHEST_SIDE,!1;case Xn:return e=sn.CLOSEST_CORNER,!1;case Yn:case Gn:return e=sn.FARTHEST_CORNER,!1}else if(Se(n)||Ie(n))return Array.isArray(e)||(e=[]),e.push(n),!1;return A}),a)),a){var s=Bn(A);n.push(s)}})),{size:e,shape:t,stops:n,position:i,type:on.RADIAL_GRADIENT}},ti=on||(on={}),ei=(ti[ti["URL"]=0]="URL",ti[ti["LINEAR_GRADIENT"]=1]="LINEAR_GRADIENT",ti[ti["RADIAL_GRADIENT"]=2]="RADIAL_GRADIENT",function(A){return A.type===on.LINEAR_GRADIENT}),ni=function(A){return A.type===on.RADIAL_GRADIENT},ii=an||(an={}),oi=(ii[ii["CIRCLE"]=0]="CIRCLE",ii[ii["ELLIPSE"]=1]="ELLIPSE",sn||(sn={})),ai=(oi[oi["CLOSEST_SIDE"]=0]="CLOSEST_SIDE",oi[oi["FARTHEST_SIDE"]=1]="FARTHEST_SIDE",oi[oi["CLOSEST_CORNER"]=2]="CLOSEST_CORNER",oi[oi["FARTHEST_CORNER"]=3]="FARTHEST_CORNER",{name:"image",parse:function(A){if(A.type===g.URL_TOKEN){var t={url:A.value,type:on.URL};return In.getInstance().addImage(A.value),t}if(A.type===g.FUNCTION){var e=Fi[A.name];if("undefined"===typeof e)throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return e(A.values)}throw new Error("Unsupported image type")}});function si(A){return A.type!==g.FUNCTION||Fi[A.name]}var ri,ci,li,ui,fi,gi,di,Bi,mi,hi,Ci,pi,wi,Qi,bi,vi,Ui,Ei,Fi={"linear-gradient":bn,"-moz-linear-gradient":vn,"-ms-linear-gradient":vn,"-o-linear-gradient":vn,"-webkit-linear-gradient":vn,"radial-gradient":Zn,"-moz-radial-gradient":Ai,"-ms-radial-gradient":Ai,"-o-radial-gradient":Ai,"-webkit-radial-gradient":Ai,"-webkit-gradient":Vn},_i={name:"background-image",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){if(0===A.length)return[];var t=A[0];return t.type===g.IDENT_TOKEN&&"none"===t.value?[]:A.filter((function(A){return He(A)&&si(A)})).map(ai.parse)}},yi={name:"background-origin",initialValue:"border-box",prefix:!1,type:en.LIST,parse:function(A){return A.map((function(A){if(Fe(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ni={name:"background-position",initialValue:"0% 0%",type:en.LIST,prefix:!1,parse:function(A){return xe(A).map((function(A){return A.filter(Ie)})).map(Ke)}},Hi=ri||(ri={}),xi=(Hi[Hi["REPEAT"]=0]="REPEAT",Hi[Hi["NO_REPEAT"]=1]="NO_REPEAT",Hi[Hi["REPEAT_X"]=2]="REPEAT_X",Hi[Hi["REPEAT_Y"]=3]="REPEAT_Y",{name:"background-repeat",initialValue:"repeat",prefix:!1,type:en.LIST,parse:function(A){return xe(A).map((function(A){return A.filter(Fe).map((function(A){return A.value})).join(" ")})).map(Oi)}}),Oi=function(A){switch(A){case"no-repeat":return ri.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return ri.REPEAT_X;case"repeat-y":case"no-repeat repeat":return ri.REPEAT_Y;case"repeat":default:return ri.REPEAT}},Si=ci||(ci={}),Ii=(Si["AUTO"]="auto",Si["CONTAIN"]="contain",Si["COVER"]="cover",{name:"background-size",initialValue:"0",prefix:!1,type:en.LIST,parse:function(A){return xe(A).map((function(A){return A.filter(Ki)}))}}),Ki=function(A){return Fe(A)||Ie(A)},Ti=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"}},Di=Ti("top"),Ri=Ti("right"),Li=Ti("bottom"),ki=Ti("left"),Mi=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:en.LIST,parse:function(A){return Ke(A.filter(Ie))}}},Pi=Mi("top-left"),ji=Mi("top-right"),Vi=Mi("bottom-right"),zi=Mi("bottom-left"),Ji=li||(li={}),Xi=(Ji[Ji["NONE"]=0]="NONE",Ji[Ji["SOLID"]=1]="SOLID",function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"none":return li.NONE}return li.SOLID}}}),Gi=Xi("top"),$i=Xi("right"),Wi=Xi("bottom"),Yi=Xi("left"),qi=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:en.VALUE,prefix:!1,parse:function(A){return Ue(A)?A.number:0}}},Zi=qi("top"),Ao=qi("right"),to=qi("bottom"),eo=qi("left"),no={name:"color",initialValue:"transparent",prefix:!1,type:en.TYPE_VALUE,format:"color"},io={name:"display",initialValue:"inline-block",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).reduce((function(A,t){return A|oo(t.value)}),0)}},oo=function(A){switch(A){case"block":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ao=ui||(ui={}),so=(ao[ao["NONE"]=0]="NONE",ao[ao["LEFT"]=1]="LEFT",ao[ao["RIGHT"]=2]="RIGHT",ao[ao["INLINE_START"]=3]="INLINE_START",ao[ao["INLINE_END"]=4]="INLINE_END",{name:"float",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"left":return ui.LEFT;case"right":return ui.RIGHT;case"inline-start":return ui.INLINE_START;case"inline-end":return ui.INLINE_END}return ui.NONE}}),ro={name:"letter-spacing",initialValue:"0",prefix:!1,type:en.VALUE,parse:function(A){return A.type===g.IDENT_TOKEN&&"normal"===A.value?0:A.type===g.NUMBER_TOKEN||A.type===g.DIMENSION_TOKEN?A.number:0}},co=fi||(fi={}),lo=(co["NORMAL"]="normal",co["STRICT"]="strict",{name:"line-break",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"strict":return fi.STRICT;case"normal":default:return fi.NORMAL}}}),uo={name:"line-height",initialValue:"normal",prefix:!1,type:en.TOKEN_VALUE},fo=function(A,t){return Fe(A)&&"normal"===A.value?1.2*t:A.type===g.NUMBER_TOKEN?t*A.number:Ie(A)?ke(A,t):t},go={name:"list-style-image",initialValue:"none",type:en.VALUE,prefix:!1,parse:function(A){return A.type===g.IDENT_TOKEN&&"none"===A.value?null:ai.parse(A)}},Bo=gi||(gi={}),mo=(Bo[Bo["INSIDE"]=0]="INSIDE",Bo[Bo["OUTSIDE"]=1]="OUTSIDE",{name:"list-style-position",initialValue:"outside",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"inside":return gi.INSIDE;case"outside":default:return gi.OUTSIDE}}}),ho=di||(di={}),Co=(ho[ho["NONE"]=-1]="NONE",ho[ho["DISC"]=0]="DISC",ho[ho["CIRCLE"]=1]="CIRCLE",ho[ho["SQUARE"]=2]="SQUARE",ho[ho["DECIMAL"]=3]="DECIMAL",ho[ho["CJK_DECIMAL"]=4]="CJK_DECIMAL",ho[ho["DECIMAL_LEADING_ZERO"]=5]="DECIMAL_LEADING_ZERO",ho[ho["LOWER_ROMAN"]=6]="LOWER_ROMAN",ho[ho["UPPER_ROMAN"]=7]="UPPER_ROMAN",ho[ho["LOWER_GREEK"]=8]="LOWER_GREEK",ho[ho["LOWER_ALPHA"]=9]="LOWER_ALPHA",ho[ho["UPPER_ALPHA"]=10]="UPPER_ALPHA",ho[ho["ARABIC_INDIC"]=11]="ARABIC_INDIC",ho[ho["ARMENIAN"]=12]="ARMENIAN",ho[ho["BENGALI"]=13]="BENGALI",ho[ho["CAMBODIAN"]=14]="CAMBODIAN",ho[ho["CJK_EARTHLY_BRANCH"]=15]="CJK_EARTHLY_BRANCH",ho[ho["CJK_HEAVENLY_STEM"]=16]="CJK_HEAVENLY_STEM",ho[ho["CJK_IDEOGRAPHIC"]=17]="CJK_IDEOGRAPHIC",ho[ho["DEVANAGARI"]=18]="DEVANAGARI",ho[ho["ETHIOPIC_NUMERIC"]=19]="ETHIOPIC_NUMERIC",ho[ho["GEORGIAN"]=20]="GEORGIAN",ho[ho["GUJARATI"]=21]="GUJARATI",ho[ho["GURMUKHI"]=22]="GURMUKHI",ho[ho["HEBREW"]=22]="HEBREW",ho[ho["HIRAGANA"]=23]="HIRAGANA",ho[ho["HIRAGANA_IROHA"]=24]="HIRAGANA_IROHA",ho[ho["JAPANESE_FORMAL"]=25]="JAPANESE_FORMAL",ho[ho["JAPANESE_INFORMAL"]=26]="JAPANESE_INFORMAL",ho[ho["KANNADA"]=27]="KANNADA",ho[ho["KATAKANA"]=28]="KATAKANA",ho[ho["KATAKANA_IROHA"]=29]="KATAKANA_IROHA",ho[ho["KHMER"]=30]="KHMER",ho[ho["KOREAN_HANGUL_FORMAL"]=31]="KOREAN_HANGUL_FORMAL",ho[ho["KOREAN_HANJA_FORMAL"]=32]="KOREAN_HANJA_FORMAL",ho[ho["KOREAN_HANJA_INFORMAL"]=33]="KOREAN_HANJA_INFORMAL",ho[ho["LAO"]=34]="LAO",ho[ho["LOWER_ARMENIAN"]=35]="LOWER_ARMENIAN",ho[ho["MALAYALAM"]=36]="MALAYALAM",ho[ho["MONGOLIAN"]=37]="MONGOLIAN",ho[ho["MYANMAR"]=38]="MYANMAR",ho[ho["ORIYA"]=39]="ORIYA",ho[ho["PERSIAN"]=40]="PERSIAN",ho[ho["SIMP_CHINESE_FORMAL"]=41]="SIMP_CHINESE_FORMAL",ho[ho["SIMP_CHINESE_INFORMAL"]=42]="SIMP_CHINESE_INFORMAL",ho[ho["TAMIL"]=43]="TAMIL",ho[ho["TELUGU"]=44]="TELUGU",ho[ho["THAI"]=45]="THAI",ho[ho["TIBETAN"]=46]="TIBETAN",ho[ho["TRAD_CHINESE_FORMAL"]=47]="TRAD_CHINESE_FORMAL",ho[ho["TRAD_CHINESE_INFORMAL"]=48]="TRAD_CHINESE_INFORMAL",ho[ho["UPPER_ARMENIAN"]=49]="UPPER_ARMENIAN",ho[ho["DISCLOSURE_OPEN"]=50]="DISCLOSURE_OPEN",ho[ho["DISCLOSURE_CLOSED"]=51]="DISCLOSURE_CLOSED",{name:"list-style-type",initialValue:"none",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"disc":return di.DISC;case"circle":return di.CIRCLE;case"square":return di.SQUARE;case"decimal":return di.DECIMAL;case"cjk-decimal":return di.CJK_DECIMAL;case"decimal-leading-zero":return di.DECIMAL_LEADING_ZERO;case"lower-roman":return di.LOWER_ROMAN;case"upper-roman":return di.UPPER_ROMAN;case"lower-greek":return di.LOWER_GREEK;case"lower-alpha":return di.LOWER_ALPHA;case"upper-alpha":return di.UPPER_ALPHA;case"arabic-indic":return di.ARABIC_INDIC;case"armenian":return di.ARMENIAN;case"bengali":return di.BENGALI;case"cambodian":return di.CAMBODIAN;case"cjk-earthly-branch":return di.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return di.CJK_HEAVENLY_STEM;case"cjk-ideographic":return di.CJK_IDEOGRAPHIC;case"devanagari":return di.DEVANAGARI;case"ethiopic-numeric":return di.ETHIOPIC_NUMERIC;case"georgian":return di.GEORGIAN;case"gujarati":return di.GUJARATI;case"gurmukhi":return di.GURMUKHI;case"hebrew":return di.HEBREW;case"hiragana":return di.HIRAGANA;case"hiragana-iroha":return di.HIRAGANA_IROHA;case"japanese-formal":return di.JAPANESE_FORMAL;case"japanese-informal":return di.JAPANESE_INFORMAL;case"kannada":return di.KANNADA;case"katakana":return di.KATAKANA;case"katakana-iroha":return di.KATAKANA_IROHA;case"khmer":return di.KHMER;case"korean-hangul-formal":return di.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return di.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return di.KOREAN_HANJA_INFORMAL;case"lao":return di.LAO;case"lower-armenian":return di.LOWER_ARMENIAN;case"malayalam":return di.MALAYALAM;case"mongolian":return di.MONGOLIAN;case"myanmar":return di.MYANMAR;case"oriya":return di.ORIYA;case"persian":return di.PERSIAN;case"simp-chinese-formal":return di.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return di.SIMP_CHINESE_INFORMAL;case"tamil":return di.TAMIL;case"telugu":return di.TELUGU;case"thai":return di.THAI;case"tibetan":return di.TIBETAN;case"trad-chinese-formal":return di.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return di.TRAD_CHINESE_INFORMAL;case"upper-armenian":return di.UPPER_ARMENIAN;case"disclosure-open":return di.DISCLOSURE_OPEN;case"disclosure-closed":return di.DISCLOSURE_CLOSED;case"none":default:return di.NONE}}}),po=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:en.TOKEN_VALUE}},wo=po("top"),Qo=po("right"),bo=po("bottom"),vo=po("left"),Uo=Bi||(Bi={}),Eo=(Uo[Uo["VISIBLE"]=0]="VISIBLE",Uo[Uo["HIDDEN"]=1]="HIDDEN",Uo[Uo["SCROLL"]=2]="SCROLL",Uo[Uo["AUTO"]=3]="AUTO",{name:"overflow",initialValue:"visible",prefix:!1,type:en.LIST,parse:function(A){return A.filter(Fe).map((function(A){switch(A.value){case"hidden":return Bi.HIDDEN;case"scroll":return Bi.SCROLL;case"auto":return Bi.AUTO;case"visible":default:return Bi.VISIBLE}}))}}),Fo=mi||(mi={}),_o=(Fo["NORMAL"]="normal",Fo["BREAK_WORD"]="break-word",{name:"overflow-wrap",initialValue:"normal",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"break-word":return mi.BREAK_WORD;case"normal":default:return mi.NORMAL}}}),yo=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:en.TYPE_VALUE,format:"length-percentage"}},No=yo("top"),Ho=yo("right"),xo=yo("bottom"),Oo=yo("left"),So=hi||(hi={}),Io=(So[So["LEFT"]=0]="LEFT",So[So["CENTER"]=1]="CENTER",So[So["RIGHT"]=2]="RIGHT",{name:"text-align",initialValue:"left",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"right":return hi.RIGHT;case"center":case"justify":return hi.CENTER;case"left":default:return hi.LEFT}}}),Ko=Ci||(Ci={}),To=(Ko[Ko["STATIC"]=0]="STATIC",Ko[Ko["RELATIVE"]=1]="RELATIVE",Ko[Ko["ABSOLUTE"]=2]="ABSOLUTE",Ko[Ko["FIXED"]=3]="FIXED",Ko[Ko["STICKY"]=4]="STICKY",{name:"position",initialValue:"static",prefix:!1,type:en.IDENT_VALUE,parse:function(A){switch(A){case"relative":return Ci.RELATIVE;case"absolute":return Ci.ABSOLUTE;case"fixed":return Ci.FIXED;case"sticky":return Ci.STICKY}return Ci.STATIC}}),Do={name:"text-shadow",initialValue:"none",type:en.LIST,prefix:!1,parse:function(A){return 1===A.length&&ye(A[0],"none")?[]:xe(A).map((function(A){for(var t={color:ln.TRANSPARENT,offsetX:Te,offsetY:Te,blur:Te},e=0,n=0;n1?1:0],this.overflowWrap=ma(_o,A.overflowWrap),this.paddingTop=ma(No,A.paddingTop),this.paddingRight=ma(Ho,A.paddingRight),this.paddingBottom=ma(xo,A.paddingBottom),this.paddingLeft=ma(Oo,A.paddingLeft),this.position=ma(To,A.position),this.textAlign=ma(Io,A.textAlign),this.textDecorationColor=ma(Yo,A.textDecorationColor||A.color),this.textDecorationLine=ma(qo,A.textDecorationLine),this.textShadow=ma(Do,A.textShadow),this.textTransform=ma(Lo,A.textTransform),this.transform=ma(ko,A.transform),this.transformOrigin=ma(Vo,A.transformOrigin),this.visibility=ma(Jo,A.visibility),this.wordBreak=ma(Go,A.wordBreak),this.zIndex=ma($o,A.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===wi.VISIBLE},A.prototype.isTransparent=function(){return We(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return this.position!==Ci.STATIC},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==ui.NONE},A.prototype.isInlineLevel=function(){return aa(this.display,4)||aa(this.display,33554432)||aa(this.display,268435456)||aa(this.display,536870912)||aa(this.display,67108864)||aa(this.display,134217728)},A}(),da=function(){function A(A){this.content=ma(sa,A.content),this.quotes=ma(la,A.quotes)}return A}(),Ba=function(){function A(A){this.counterIncrement=ma(ra,A.counterIncrement),this.counterReset=ma(ca,A.counterReset)}return A}(),ma=function(A,t){var e=new be,n=null!==t&&"undefined"!==typeof t?t.toString():A.initialValue;e.write(n);var i=new ve(e.read());switch(A.type){case en.IDENT_VALUE:var o=i.parseComponentValue();return A.parse(Fe(o)?o.value:A.initialValue);case en.VALUE:return A.parse(i.parseComponentValue());case en.LIST:return A.parse(i.parseComponentValues());case en.TOKEN_VALUE:return i.parseComponentValue();case en.TYPE_VALUE:switch(A.format){case"angle":return ze.parse(i.parseComponentValue());case"color":return $e.parse(i.parseComponentValue());case"image":return ai.parse(i.parseComponentValue());case"length":var a=i.parseComponentValue();return Se(a)?a:Te;case"length-percentage":var s=i.parseComponentValue();return Ie(s)?s:Te}}throw new Error("Attempting to parse unsupported css format type "+A.format)},ha=function(){function A(A){this.styles=new ga(window.getComputedStyle(A,null)),this.textNodes=[],this.elements=[],null!==this.styles.transform&&As(A)&&(A.style.transform="none"),this.bounds=a(A),this.flags=0}return A}(),Ca=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),pa=function(A,t,e){var n=ba(A,t),i=[],o=0;return n.forEach((function(A){if(t.textDecorationLine.length||A.trim().length>0)if(On.SUPPORT_RANGE_BOUNDS)i.push(new Ca(A,Qa(e,o,A.length)));else{var n=e.splitText(A.length);i.push(new Ca(A,wa(e))),e=n}else On.SUPPORT_RANGE_BOUNDS||(e=e.splitText(A.length));o+=A.length})),i},wa=function(A){var t=A.ownerDocument;if(t){var e=t.createElement("html2canvaswrapper");e.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(e,A);var i=a(e);return e.firstChild&&n.replaceChild(e.firstChild,e),i}}return new o(0,0,0,0)},Qa=function(A,t,e){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var i=n.createRange();return i.setStart(A,t),i.setEnd(A,t+e),o.fromClientRect(i.getBoundingClientRect())},ba=function(A,t){return 0!==t.letterSpacing?r(A).map((function(A){return c(A)})):va(A,t)},va=function(A,t){var e,n=KA(A,{lineBreak:t.lineBreak,wordBreak:t.overflowWrap===mi.BREAK_WORD?"break-word":t.wordBreak}),i=[];while(!(e=n.next()).done)e.value&&i.push(e.value.slice());return i},Ua=function(){function A(A,t){this.text=Ea(A.data,t.textTransform),this.textBounds=pa(this.text,t,A)}return A}(),Ea=function(A,t){switch(t){case pi.LOWERCASE:return A.toLowerCase();case pi.CAPITALIZE:return A.replace(Fa,_a);case pi.UPPERCASE:return A.toUpperCase();default:return A}},Fa=/(^|\s|:|-|\(|\))([a-z])/g,_a=function(A,t,e){return A.length>0?t+e.toUpperCase():A},ya=function(A){function e(t){var e=A.call(this,t)||this;return e.src=t.currentSrc||t.src,e.intrinsicWidth=t.naturalWidth,e.intrinsicHeight=t.naturalHeight,In.getInstance().addImage(e.src),e}return t(e,A),e}(ha),Na=function(A){function e(t){var e=A.call(this,t)||this;return e.canvas=t,e.intrinsicWidth=t.width,e.intrinsicHeight=t.height,e}return t(e,A),e}(ha),Ha=function(A){function e(t){var e=A.call(this,t)||this,n=new XMLSerializer;return e.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(t)),e.intrinsicWidth=t.width.baseVal.value,e.intrinsicHeight=t.height.baseVal.value,In.getInstance().addImage(e.svg),e}return t(e,A),e}(ha),xa=function(A){function e(t){var e=A.call(this,t)||this;return e.value=t.value,e}return t(e,A),e}(ha),Oa=function(A){function e(t){var e=A.call(this,t)||this;return e.start=t.start,e.reversed="boolean"===typeof t.reversed&&!0===t.reversed,e}return t(e,A),e}(ha),Sa=[{type:g.DIMENSION_TOKEN,flags:0,unit:"px",number:3}],Ia=[{type:g.PERCENTAGE_TOKEN,flags:0,number:50}],Ka=function(A){return A.width>A.height?new o(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Ua(n,t.styles));else if(Za(n)){var o=Ga(n);o.styles.isVisible()&&(Wa(n,o,e)?o.flags|=4:Ya(o.styles)&&(o.flags|=2),-1!==Ja.indexOf(n.tagName)&&(o.flags|=8),t.elements.push(o),fs(n)||os(n)||gs(n)||Xa(n,o,e))}},Ga=function(A){return rs(A)?new ya(A):ss(A)?new Na(A):os(A)?new Ha(A):ts(A)?new xa(A):es(A)?new Oa(A):ns(A)?new Ma(A):gs(A)?new Pa(A):fs(A)?new ja(A):cs(A)?new za(A):new ha(A)},$a=function(A){var t=Ga(A);return t.flags|=4,Xa(A,t,t),t},Wa=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||as(A)&&e.styles.isTransparent()},Ya=function(A){return A.isPositioned()||A.isFloating()},qa=function(A){return A.nodeType===Node.TEXT_NODE},Za=function(A){return A.nodeType===Node.ELEMENT_NODE},As=function(A){return"undefined"!==typeof A.style},ts=function(A){return"LI"===A.tagName},es=function(A){return"OL"===A.tagName},ns=function(A){return"INPUT"===A.tagName},is=function(A){return"HTML"===A.tagName},os=function(A){return"svg"===A.tagName},as=function(A){return"BODY"===A.tagName},ss=function(A){return"CANVAS"===A.tagName},rs=function(A){return"IMG"===A.tagName},cs=function(A){return"IFRAME"===A.tagName},ls=function(A){return"STYLE"===A.tagName},us=function(A){return"SCRIPT"===A.tagName},fs=function(A){return"TEXTAREA"===A.tagName},gs=function(A){return"SELECT"===A.tagName},ds=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,n=A.counterReset,i=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(i=!1,e[Math.max(0,e.length-1)]+=A.increment)}));var o=[];return i&&n.forEach((function(A){var e=t.counters[A.counter];o.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),o},A}(),Bs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},ms={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},hs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Cs={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},ps=function(A,t,e,n,i,o){return Ae?Os(A,i,o.length>0):n.integers.reduce((function(t,e,i){while(A>=e)A-=e,t+=n.values[i];return t}),"")+o},ws=function(A,t,e,n){var i="";do{e||A--,i=n(A)+i,A/=t}while(A*t>=t);return i},Qs=function(A,t,e,n,i){var o=e-t+1;return(A<0?"-":"")+(ws(Math.abs(A),o,n,(function(A){return c(Math.floor(A%o)+t)}))+i)},bs=function(A,t,e){void 0===e&&(e=". ");var n=t.length;return ws(Math.abs(A),n,!1,(function(A){return t[Math.floor(A%n)]}))+e},vs=1,Us=2,Es=4,Fs=8,_s=function(A,t,e,n,i,o){if(A<-9999||A>9999)return Os(A,di.CJK_DECIMAL,i.length>0);var a=Math.abs(A),s=i;if(0===a)return t[0]+s;for(var r=0;a>0&&r<=4;r++){var c=a%10;0===c&&aa(o,vs)&&""!==s?s=t[c]+s:c>1||1===c&&0===r||1===c&&1===r&&aa(o,Us)||1===c&&1===r&&aa(o,Es)&&A>100||1===c&&r>1&&aa(o,Fs)?s=t[c]+(r>0?e[r-1]:"")+s:1===c&&r>0&&(s=e[r-1]+s),a=Math.floor(a/10)}return(A<0?n:"")+s},ys="十百千萬",Ns="拾佰仟萬",Hs="マイナス",xs="마이너스",Os=function(A,t,e){var n=e?". ":"",i=e?"、":"",o=e?", ":"",a=e?" ":"";switch(t){case di.DISC:return"•"+a;case di.CIRCLE:return"◦"+a;case di.SQUARE:return"◾"+a;case di.DECIMAL_LEADING_ZERO:var s=Qs(A,48,57,!0,n);return s.length<4?"0"+s:s;case di.CJK_DECIMAL:return bs(A,"〇一二三四五六七八九",i);case di.LOWER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n).toLowerCase();case di.UPPER_ROMAN:return ps(A,1,3999,Bs,di.DECIMAL,n);case di.LOWER_GREEK:return Qs(A,945,969,!1,n);case di.LOWER_ALPHA:return Qs(A,97,122,!1,n);case di.UPPER_ALPHA:return Qs(A,65,90,!1,n);case di.ARABIC_INDIC:return Qs(A,1632,1641,!0,n);case di.ARMENIAN:case di.UPPER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n);case di.LOWER_ARMENIAN:return ps(A,1,9999,ms,di.DECIMAL,n).toLowerCase();case di.BENGALI:return Qs(A,2534,2543,!0,n);case di.CAMBODIAN:case di.KHMER:return Qs(A,6112,6121,!0,n);case di.CJK_EARTHLY_BRANCH:return bs(A,"子丑寅卯辰巳午未申酉戌亥",i);case di.CJK_HEAVENLY_STEM:return bs(A,"甲乙丙丁戊己庚辛壬癸",i);case di.CJK_IDEOGRAPHIC:case di.TRAD_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"負",i,Us|Es|Fs);case di.TRAD_CHINESE_FORMAL:return _s(A,"零壹貳參肆伍陸柒捌玖",Ns,"負",i,vs|Us|Es|Fs);case di.SIMP_CHINESE_INFORMAL:return _s(A,"零一二三四五六七八九",ys,"负",i,Us|Es|Fs);case di.SIMP_CHINESE_FORMAL:return _s(A,"零壹贰叁肆伍陆柒捌玖",Ns,"负",i,vs|Us|Es|Fs);case di.JAPANESE_INFORMAL:return _s(A,"〇一二三四五六七八九","十百千万",Hs,i,0);case di.JAPANESE_FORMAL:return _s(A,"零壱弐参四伍六七八九","拾百千万",Hs,i,vs|Us|Es);case di.KOREAN_HANGUL_FORMAL:return _s(A,"영일이삼사오육칠팔구","십백천만",xs,o,vs|Us|Es);case di.KOREAN_HANJA_INFORMAL:return _s(A,"零一二三四五六七八九","十百千萬",xs,o,0);case di.KOREAN_HANJA_FORMAL:return _s(A,"零壹貳參四五六七八九","拾百千",xs,o,vs|Us|Es);case di.DEVANAGARI:return Qs(A,2406,2415,!0,n);case di.GEORGIAN:return ps(A,1,19999,Cs,di.DECIMAL,n);case di.GUJARATI:return Qs(A,2790,2799,!0,n);case di.GURMUKHI:return Qs(A,2662,2671,!0,n);case di.HEBREW:return ps(A,1,10999,hs,di.DECIMAL,n);case di.HIRAGANA:return bs(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case di.HIRAGANA_IROHA:return bs(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case di.KANNADA:return Qs(A,3302,3311,!0,n);case di.KATAKANA:return bs(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",i);case di.KATAKANA_IROHA:return bs(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",i);case di.LAO:return Qs(A,3792,3801,!0,n);case di.MONGOLIAN:return Qs(A,6160,6169,!0,n);case di.MYANMAR:return Qs(A,4160,4169,!0,n);case di.ORIYA:return Qs(A,2918,2927,!0,n);case di.PERSIAN:return Qs(A,1776,1785,!0,n);case di.TAMIL:return Qs(A,3046,3055,!0,n);case di.TELUGU:return Qs(A,3174,3183,!0,n);case di.THAI:return Qs(A,3664,3673,!0,n);case di.TIBETAN:return Qs(A,3872,3881,!0,n);case di.DECIMAL:default:return Qs(A,48,57,!0,n)}},Ss="data-html2canvas-ignore",Is=function(){function A(A,t){if(this.options=t,this.scrolledElements=[],this.referenceElement=A,this.counters=new ds,this.quoteDepth=0,!A.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(A.ownerDocument.documentElement)}return A.prototype.toIFrame=function(A,t){var e=this,o=Ts(A,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,r=o.contentWindow,c=r.document,l=Ds(o).then((function(){return n(e,void 0,void 0,(function(){var A;return i(this,(function(e){switch(e.label){case 0:return this.scrolledElements.forEach(Ms),r&&(r.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||r.scrollY===t.top&&r.scrollX===t.left||(c.documentElement.style.top=-t.top+"px",c.documentElement.style.left=-t.left+"px",c.documentElement.style.position="absolute")),A=this.options.onclone,"undefined"===typeof this.clonedReferenceElement?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:e.sent(),e.label=2;case 2:return"function"===typeof A?[2,Promise.resolve().then((function(){return A(c)})).then((function(){return o}))]:[2,o]}}))}))}));return c.open(),c.write(Ls(document.doctype)+""),ks(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),l},A.prototype.createElementClone=function(A){return ss(A)?this.createCanvasClone(A):ls(A)?this.createStyleClone(A):A.cloneNode(!1)},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"===typeof t.cssText?A+t.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=e,n}}catch(A){if(Sn.getInstance(this.options.id).error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch(A){Sn.getInstance(this.options.id).info("Unable to clone canvas contents, canvas is tainted")}}var e=A.cloneNode(!1);try{e.width=A.width,e.height=A.height;var n=A.getContext("2d"),i=e.getContext("2d");return i&&(n?i.putImageData(n.getImageData(0,0,A.width,A.height),0,0):i.drawImage(A,0,0)),e}catch(A){}return e},A.prototype.cloneNode=function(A){if(qa(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(As(A)&&t){var e=this.createElementClone(A),n=t.getComputedStyle(A),i=t.getComputedStyle(A,":before"),o=t.getComputedStyle(A,":after");this.referenceElement===A&&(this.clonedReferenceElement=e),as(e)&&Xs(e);for(var a=this.counters.parse(new Ba(n)),s=this.resolvePseudoContent(A,e,i,vi.BEFORE),r=A.firstChild;r;r=r.nextSibling)Za(r)&&(us(r)||r.hasAttribute(Ss)||"function"===typeof this.options.ignoreElements&&this.options.ignoreElements(r))||this.options.copyStyles&&Za(r)&&ls(r)||e.appendChild(this.cloneNode(r));s&&e.insertBefore(s,e.firstChild);var c=this.resolvePseudoContent(A,e,o,vi.AFTER);return c&&e.appendChild(c),this.counters.pop(a),n&&this.options.copyStyles&&!cs(A)&&Rs(n,e),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([e,A.scrollLeft,A.scrollTop]),(fs(A)||gs(A))&&(fs(e)||gs(e))&&(e.value=A.value),e}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,n){var i=this;if(e){var o=e.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==e.display){this.counters.parse(new Ba(e));var s=new da(e),r=a.createElement("html2canvaspseudoelement");return Rs(e,r),s.content.forEach((function(t){if(t.type===g.STRING_TOKEN)r.appendChild(a.createTextNode(t.value));else if(t.type===g.URL_TOKEN){var e=a.createElement("img");e.src=t.value,e.style.opacity="1",r.appendChild(e)}else if(t.type===g.FUNCTION){if("attr"===t.name){var n=t.values.filter(Fe);n.length&&r.appendChild(a.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(He),c=o[0],l=o[1];if(c&&Fe(c)){var u=i.counters.getCounterValue(c.value),f=l&&Fe(l)?Co.parse(l.value):di.DECIMAL;r.appendChild(a.createTextNode(Os(u,f,!1)))}}else if("counters"===t.name){var d=t.values.filter(He),B=(c=d[0],d[1]);l=d[2];if(c&&Fe(c)){var m=i.counters.getCounterValues(c.value),h=l&&Fe(l)?Co.parse(l.value):di.DECIMAL,C=B&&B.type===g.STRING_TOKEN?B.value:"",p=m.map((function(A){return Os(A,h,!1)})).join(C);r.appendChild(a.createTextNode(p))}}}else if(t.type===g.IDENT_TOKEN)switch(t.value){case"open-quote":r.appendChild(a.createTextNode(ua(s.quotes,i.quoteDepth++,!0)));break;case"close-quote":r.appendChild(a.createTextNode(ua(s.quotes,--i.quoteDepth,!1)));break;default:r.appendChild(a.createTextNode(t.value))}})),r.className=Vs+" "+zs,t.className+=n===vi.BEFORE?" "+Vs:" "+zs,r}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}(),Ks=vi||(vi={}),Ts=(Ks[Ks["BEFORE"]=0]="BEFORE",Ks[Ks["AFTER"]=1]="AFTER",function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(Ss,"true"),A.body.appendChild(e),e}),Ds=function(A){return new Promise((function(t,e){var n=A.contentWindow;if(!n)return e("No window assigned for iframe");var i=n.document;n.onload=A.onload=i.onreadystatechange=function(){n.onload=A.onload=i.onreadystatechange=null;var e=setInterval((function(){i.body.childNodes.length>0&&"complete"===i.readyState&&(clearInterval(e),t(A))}),50)}}))},Rs=function(A,t){for(var e=A.length-1;e>=0;e--){var n=A.item(e);"content"!==n&&t.style.setProperty(n,A.getPropertyValue(n))}return t},Ls=function(A){var t="";return A&&(t+=""),t},ks=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},Ms=function(A){var t=A[0],e=A[1],n=A[2];t.scrollLeft=e,t.scrollTop=n},Ps=":before",js=":after",Vs="___html2canvas___pseudoelement_before",zs="___html2canvas___pseudoelement_after",Js='{\n content: "" !important;\n display: none !important;\n}',Xs=function(A){Gs(A,"."+Vs+Ps+Js+"\n ."+zs+js+Js)},Gs=function(A,t){var e=A.ownerDocument;if(e){var n=e.createElement("style");n.textContent=t,A.appendChild(n)}},$s=Ui||(Ui={}),Ws=($s[$s["VECTOR"]=0]="VECTOR",$s[$s["BEZIER_CURVE"]=1]="BEZIER_CURVE",function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))}),Ys=function(A,t,e,n,i){return A.map((function(A,o){switch(o){case 0:return A.add(t,e);case 1:return A.add(t+n,e);case 2:return A.add(t+n,e+i);case 3:return A.add(t,e+i)}return A}))},qs=function(){function A(A,t){this.type=Ui.VECTOR,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),Zs=function(A,t,e){return new qs(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},Ar=function(){function A(A,t,e,n){this.type=Ui.BEZIER_CURVE,this.start=A,this.startControl=t,this.endControl=e,this.end=n}return A.prototype.subdivide=function(t,e){var n=Zs(this.start,this.startControl,t),i=Zs(this.startControl,this.endControl,t),o=Zs(this.endControl,this.end,t),a=Zs(n,i,t),s=Zs(i,o,t),r=Zs(a,s,t);return e?new A(this.start,n,a,r):new A(r,s,o,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),tr=function(A){return A.type===Ui.BEZIER_CURVE},er=function(){function A(A){var t=A.styles,e=A.bounds,n=Le(t.borderTopLeftRadius,e.width,e.height),i=n[0],o=n[1],a=Le(t.borderTopRightRadius,e.width,e.height),s=a[0],r=a[1],c=Le(t.borderBottomRightRadius,e.width,e.height),l=c[0],u=c[1],f=Le(t.borderBottomLeftRadius,e.width,e.height),g=f[0],d=f[1],B=[];B.push((i+s)/e.width),B.push((g+l)/e.width),B.push((o+d)/e.height),B.push((r+u)/e.height);var m=Math.max.apply(Math,B);m>1&&(i/=m,o/=m,s/=m,r/=m,l/=m,u/=m,g/=m,d/=m);var h=e.width-s,C=e.height-u,p=e.width-l,w=e.height-d,Q=t.borderTopWidth,b=t.borderRightWidth,v=t.borderBottomWidth,U=t.borderLeftWidth,E=ke(t.paddingTop,A.bounds.width),F=ke(t.paddingRight,A.bounds.width),_=ke(t.paddingBottom,A.bounds.width),y=ke(t.paddingLeft,A.bounds.width);this.topLeftBorderBox=i>0||o>0?ir(e.left,e.top,i,o,Ei.TOP_LEFT):new qs(e.left,e.top),this.topRightBorderBox=s>0||r>0?ir(e.left+h,e.top,s,r,Ei.TOP_RIGHT):new qs(e.left+e.width,e.top),this.bottomRightBorderBox=l>0||u>0?ir(e.left+p,e.top+C,l,u,Ei.BOTTOM_RIGHT):new qs(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=g>0||d>0?ir(e.left,e.top+w,g,d,Ei.BOTTOM_LEFT):new qs(e.left,e.top+e.height),this.topLeftPaddingBox=i>0||o>0?ir(e.left+U,e.top+Q,Math.max(0,i-U),Math.max(0,o-Q),Ei.TOP_LEFT):new qs(e.left+U,e.top+Q),this.topRightPaddingBox=s>0||r>0?ir(e.left+Math.min(h,e.width+U),e.top+Q,h>e.width+U?0:s-U,r-Q,Ei.TOP_RIGHT):new qs(e.left+e.width-b,e.top+Q),this.bottomRightPaddingBox=l>0||u>0?ir(e.left+Math.min(p,e.width-U),e.top+Math.min(C,e.height+Q),Math.max(0,l-b),u-v,Ei.BOTTOM_RIGHT):new qs(e.left+e.width-b,e.top+e.height-v),this.bottomLeftPaddingBox=g>0||d>0?ir(e.left+U,e.top+w,Math.max(0,g-U),d-v,Ei.BOTTOM_LEFT):new qs(e.left+U,e.top+e.height-v),this.topLeftContentBox=i>0||o>0?ir(e.left+U+y,e.top+Q+E,Math.max(0,i-(U+y)),Math.max(0,o-(Q+E)),Ei.TOP_LEFT):new qs(e.left+U+y,e.top+Q+E),this.topRightContentBox=s>0||r>0?ir(e.left+Math.min(h,e.width+U+y),e.top+Q+E,h>e.width+U+y?0:s-U+y,r-(Q+E),Ei.TOP_RIGHT):new qs(e.left+e.width-(b+F),e.top+Q+E),this.bottomRightContentBox=l>0||u>0?ir(e.left+Math.min(p,e.width-(U+y)),e.top+Math.min(C,e.height+Q+E),Math.max(0,l-(b+F)),u-(v+_),Ei.BOTTOM_RIGHT):new qs(e.left+e.width-(b+F),e.top+e.height-(v+_)),this.bottomLeftContentBox=g>0||d>0?ir(e.left+U+y,e.top+w,Math.max(0,g-(U+y)),d-(v+_),Ei.BOTTOM_LEFT):new qs(e.left+U+y,e.top+e.height-(v+_))}return A}(),nr=Ei||(Ei={}),ir=(nr[nr["TOP_LEFT"]=0]="TOP_LEFT",nr[nr["TOP_RIGHT"]=1]="TOP_RIGHT",nr[nr["BOTTOM_RIGHT"]=2]="BOTTOM_RIGHT",nr[nr["BOTTOM_LEFT"]=3]="BOTTOM_LEFT",function(A,t,e,n,i){var o=(Math.sqrt(2)-1)/3*4,a=e*o,s=n*o,r=A+e,c=t+n;switch(i){case Ei.TOP_LEFT:return new Ar(new qs(A,c),new qs(A,c-s),new qs(r-a,t),new qs(r,t));case Ei.TOP_RIGHT:return new Ar(new qs(A,t),new qs(A+a,t),new qs(r,c-s),new qs(r,c));case Ei.BOTTOM_RIGHT:return new Ar(new qs(r,t),new qs(r,t+s),new qs(A+a,c),new qs(A,c));case Ei.BOTTOM_LEFT:default:return new Ar(new qs(r,c),new qs(r-a,c),new qs(A,t+s),new qs(A,t))}}),or=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},ar=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},sr=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},rr=function(){function A(A,t,e){this.type=0,this.offsetX=A,this.offsetY=t,this.matrix=e,this.target=6}return A}(),cr=function(){function A(A,t){this.type=1,this.target=t,this.path=A}return A}(),lr=function(A){return 0===A.type},ur=function(A){return 1===A.type},fr=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),gr=function(){function A(A,t){if(this.container=A,this.effects=t.slice(0),this.curves=new er(A),null!==A.styles.transform){var e=A.bounds.left+A.styles.transformOrigin[0].number,n=A.bounds.top+A.styles.transformOrigin[1].number,i=A.styles.transform;this.effects.push(new rr(e,n,i))}if(A.styles.overflowX!==Bi.VISIBLE){var o=or(this.curves),a=sr(this.curves);Ws(o,a)?this.effects.push(new cr(o,6)):(this.effects.push(new cr(o,2)),this.effects.push(new cr(a,4)))}}return A.prototype.getParentEffects=function(){var A=this.effects.slice(0);if(this.container.styles.overflowX!==Bi.VISIBLE){var t=or(this.curves),e=sr(this.curves);Ws(t,e)||A.push(new cr(e,6))}return A},A}(),dr=function(A,t,e,n){A.container.elements.forEach((function(i){var o=aa(i.flags,4),a=aa(i.flags,2),s=new gr(i,A.getParentEffects());aa(i.styles.display,2048)&&n.push(s);var r=aa(i.flags,8)?[]:n;if(o||a){var c=o||i.styles.isPositioned()?e:t,l=new fr(s);if(i.styles.isPositioned()||i.styles.opacity<1||i.styles.isTransformed()){var u=i.styles.zIndex.order;if(u<0){var f=0;c.negativeZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(f=t,!1):f>0})),c.negativeZIndex.splice(f,0,l)}else if(u>0){var g=0;c.positiveZIndex.some((function(A,t){return u>A.element.container.styles.zIndex.order?(g=t+1,!1):g>0})),c.positiveZIndex.splice(g,0,l)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(l)}else i.styles.isFloating()?c.nonPositionedFloats.push(l):c.nonPositionedInlineLevel.push(l);dr(s,l,o?l:e,r)}else i.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),dr(s,t,e,r);aa(i.flags,8)&&Br(i,r)}))},Br=function(A,t){for(var e=A instanceof Oa?A.start:1,n=A instanceof Oa&&A.reversed,i=0;i0&&A.intrinsicHeight>0){var n=wr(A),i=sr(t);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return n(this,void 0,void 0,(function(){var e,n,a,s,r,c,l,u,f,g,d,B,m,h,C;return i(this,(function(i){switch(i.label){case 0:this.applyEffects(t.effects,4),e=t.container,n=t.curves,a=e.styles,s=0,r=e.textNodes,i.label=1;case 1:return s0&&U>0&&(C=n.ctx.createPattern(B,"repeat"),n.renderRepeat(w,C,F,_))):ni(e)&&(p=vr(A,t,[null,null,null]),w=p[0],Q=p[1],b=p[2],v=p[3],U=p[4],E=0===e.position.length?[De]:e.position,F=ke(E[0],v),_=ke(E[E.length-1],U),y=Qn(e,F,_,v,U),N=y[0],H=y[1],N>0&&N>0&&(x=n.ctx.createRadialGradient(Q+F,b+_,0,Q+F,b+_,N),mn(e.stops,2*N).forEach((function(A){return x.addColorStop(A.stop,Ye(A.color))})),n.path(w),n.ctx.fillStyle=x,N!==H?(O=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,I=H/N,K=1/I,n.ctx.save(),n.ctx.translate(O,S),n.ctx.transform(1,0,0,I,0,0),n.ctx.translate(-O,-S),n.ctx.fillRect(Q,K*(b-S)+S,v,U*K),n.ctx.restore()):n.ctx.fill())),i.label=6;case 6:return t--,[2]}}))},n=this,o=0,a=A.styles.backgroundImage.slice(0).reverse(),r.label=1;case 1:return oA.moved.newIndex,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.moved.list=this.mConfig,this.rConfig=[];var t=A.moved.element,e=JSON.parse(JSON.stringify(t));this.rConfig.push(e),this.activeIndex=A.moved.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",t.name),this.$store.commit("mobildConfig/defaultArraySort",A.moved)}A.added&&(e=A.added.element,t=1e3*(new Date).getTime(),e.num=t,this.activeConfigName=e.name,(t=JSON.parse(JSON.stringify(e))).id="id"+t.num,this.mConfig[A.added.newIndex]=t,this.rConfig=[],this.rConfig.push(t),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),A.added.list=this.mConfig,this.activeIndex=A.added.newIndex,this.$store.commit("mobildConfig/SETCONFIGNAME",e.name),this.$store.commit("mobildConfig/defaultArraySort",A.added))},cloneDog:function(A){return Object(n.a)({},A)},swapArray:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},movePage:function(A,t,e){if(e){if(0==t)return}else if(t==this.mConfig.length-1)return;if("search_box"==A.name)return this.$Message.warning("该组件禁止移动");if(e){if("search_box"==this.mConfig[t-1].name)return this.$Message.warning("搜索框必须为顶部");this.swapArray(this.mConfig,t-1,t)}else this.swapArray(this.mConfig,t,t+1);var n={},i=(this.rConfig=[],n.oldIndex=t,n.newIndex=e?t-1:t+1,this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),JSON.parse(JSON.stringify(A)));this.rConfig.push(i),n.element=A,n.list=this.mConfig,this.activeIndex=e?t-1:t+1,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},addDomCon:function(A,t,e){if("search_box"==A.name){if(this.isSearch)return this.$Message.error("该组件只能添加一次");this.isSearch=!0}if("nav_bar"==A.name){if(this.isTab)return this.$Message.error("该组件只能添加一次");this.isTab=!0}var n={},i=1e3*(new Date).getTime();A.num="".concat(i),A.id="id".concat(i),this.activeConfigName=A.name,i=JSON.parse(JSON.stringify(A));"search_box"==A.name?(this.rConfig=[],this.mConfig.unshift(i),this.activeIndex=0,this.rConfig.push(i)):"nav_bar"==A.name?(this.rConfig=[],this.mConfig[0]&&"search_box"===this.mConfig[0].name?(this.mConfig.splice(1,0,i),this.activeIndex=1):(this.mConfig.splice(0,0,i),this.activeIndex=0),this.rConfig.push(i)):t?(this.rConfig=[],this.mConfig.push(i),this.activeIndex=this.mConfig.length-1,this.rConfig.push(i)):(this.mConfig.splice(e+1,0,i),this.activeIndex=e),this.mConfig.forEach((function(A,t){A.num=1e3*(new Date).getTime()+t})),n.element=A,n.list=this.mConfig,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name),this.$store.commit("mobildConfig/defaultArraySort",n)},bindAddDom:function(A,t,e){var n=A;this.lConfig.forEach((function(t){A.name==t.name&&(n=t)})),this.addDomCon(n,t,e)},addDom:function(A,t){this.addDomCon(A,t)},bindconfig:function(A,t){this.rConfig=[];var e=JSON.parse(JSON.stringify(A));this.rConfig.push(e),this.activeIndex=t,this.$store.commit("mobildConfig/SETCONFIGNAME",A.name)},bindDelete:function(A,t){"search_box"==A.name&&(this.isSearch=!1),"nav_bar"==A.name&&(this.isTab=!1),this.mConfig.splice(t,1),this.rConfig.splice(0,1),this.mConfig.length!=t?this.rConfig.push(this.mConfig[t]):this.mConfig.length?(this.activeIndex=t-1,this.rConfig.push(this.mConfig[t-1])):this.showTitle(),this.$store.commit("mobildConfig/DELETEARRAY",A)},config:function(A){var t=this.propsObj;t.data=A,t.name=this.activeConfigName},addSort:function(A,t,e){return A[t]=A.splice(e,1,A[t])[0],A},arraySort:function(){var A=[],t={title:"基础组件",list:[],isOpen:!0},e={title:"营销组件",list:[],isOpen:!0},n={title:"工具组件",list:[],isOpen:!0};this.lConfig.map((function(A,i){0==A.type&&t.list.push(A),1==A.type&&e.list.push(A),2==A.type&&n.list.push(A)})),A.push(t,e,n),this.leftMenu=A},diySaveDate:function(A){var t=this;Object(i.t)(this.pageId,{type:this.pageType,value:A,title:this.titleTxt,name:this.nameTxt,is_show:this.showTxt?1:0,is_bg_color:this.colorTxt?1:0,color_picker:this.colorPickerTxt,bg_pic:this.picUrlTxt,bg_tab_val:this.tabValTxt,is_bg_pic:this.picTxt?1:0}).then((function(A){t.loading=!1,t.pageId=A.data.id,t.$Message.success(A.msg)})).catch((function(A){t.loading=!1,t.$Message.error(A.msg)}))},saveConfig:function(){if(0==this.mConfig.length)return this.$Message.error("暂未添加任何组件,保存失败!");this.loading=!0;var A,t=this.$store.state.mobildConfig.defaultArray;this.footActive||(A=1e3*(new Date).getTime(),t[A]=this.$store.state.mobildConfig.pageFooter,this.footActive=!0),this.$nextTick((function(){this.diySaveDate(t)}))},getDefaultConfig:function(){var A=this;Object(i.i)(this.pageId).then((function(t){t=t.data;var e={},n=[];A.$store.commit("mobildConfig/titleUpdata",t.info.title),A.$store.commit("mobildConfig/nameUpdata",t.info.name),A.$store.commit("mobildConfig/showUpdata",t.info.is_show),A.$store.commit("mobildConfig/colorUpdata",t.info.is_bg_color||0),A.$store.commit("mobildConfig/picUpdata",t.info.is_bg_pic||0),A.$store.commit("mobildConfig/pickerUpdata",t.info.color_picker||"#f5f5f5"),A.$store.commit("mobildConfig/radioUpdata",t.info.bg_tab_val||0),A.$store.commit("mobildConfig/picurlUpdata",t.info.bg_pic||""),t=A.objToArr(t.info.value);t.sort((function(A,t){return A.timestamp-t.timestamp})),t.map((function(t,i){"headerSerch"==t.name&&(A.isSearch=!0),"tabNav"==t.name&&(A.isTab=!0),"goodList"==t.name&&window.localStorage.setItem(t.timestamp,t.selectConfig.activeValue),t.id="id"+t.timestamp,A.lConfig.map((function(i,o){t.name==i.defaultName&&(i.num=t.timestamp,i.id="id"+t.timestamp,i=JSON.parse(JSON.stringify(i)),n.push(i),e[t.timestamp]=t,A.mConfig.push(i),A.$store.commit("mobildConfig/ADDARRAY",{num:t.timestamp,val:t}))}))})),t=t[t.length-1],"pageFoot"==t.name&&A.$store.commit("mobildConfig/footPageUpdata",t),A.showTitle()}))},categoryList:function(){var A=this;Object(i.a)((function(t){A.category=t.data}))},reast:function(){var A=this;0==this.pageId?this.$Message.error("新增页面,无法重置"):this.$Modal.confirm({title:"提示",content:"

    是否重置当前页面数据

    ",onOk:function(){A.mConfig=[],A.rConfig=[],A.activeIndex=-99,A.getDefaultConfig()},onCancel:function(){}})}},beforeDestroy:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")},destroyed:function(){this.$store.commit("mobildConfig/titleUpdata",""),this.$store.commit("mobildConfig/nameUpdata",""),this.$store.commit("mobildConfig/showUpdata",1),this.$store.commit("mobildConfig/colorUpdata",0),this.$store.commit("mobildConfig/picUpdata",0),this.$store.commit("mobildConfig/pickerUpdata","#f5f5f5"),this.$store.commit("mobildConfig/radioUpdata",0),this.$store.commit("mobildConfig/picurlUpdata",""),this.$store.commit("mobildConfig/SETEMPTY")}},e("91b1"),h=Object(m.a)(B,(function(){var A=this,t=A.$createElement,n=A._self._c||t;return n("div",{staticClass:"diy-page"},[n("div",{staticClass:"i-layout-page-header header_top"},[n("div",{staticClass:"i-layout-page-header fl_header"},[n("router-link",{attrs:{to:{path:"/admin/setting/pages/devise"}}},[n("Button",{attrs:{icon:"ios-arrow-back",size:"small",type:"text"}},[A._v("返回")])],1),n("Divider",{attrs:{type:"vertical"}}),n("span",{staticClass:"ivu-page-header-title mr20",staticStyle:{padding:"0"},domProps:{textContent:A._s(A.$route.meta.title)}}),n("div",{staticClass:"rbtn"},[0!==A.pageId?n("Button",{staticClass:"bnt",attrs:{loading:A.loading},on:{click:A.setmoren}},[A._v("保存默认")]):A._e(),0!==A.pageId?n("Button",{staticClass:"bnt ml20",attrs:{loading:A.loading},on:{click:A.getmoren}},[A._v("恢复默认")]):A._e(),n("Button",{staticClass:"bnt ml20",attrs:{type:"primary",loading:A.loading},on:{click:A.saveConfig}},[A._v("保存")]),n("Button",{staticClass:"bnt ml20",on:{click:A.reast}},[A._v("重置")])],1)],1)]),n("Card",{staticClass:"ivu-mt",staticStyle:{margin:"0 10px"},attrs:{bordered:!1,"dis-hover":""}},[n("div",{staticClass:"diy-wrapper",style:"height:"+(A.clientHeight-150)+"px;"},[n("div",{staticClass:"left"},[n("div",{staticClass:"title-bar"},A._l(A.tabList,(function(t,e){return n("div",{key:e,staticClass:"title-item",class:{on:A.tabCur==e},on:{click:function(t){return A.bindTab(e)}}},[A._v("\n "+A._s(t.title)+"\n ")])})),0),0==A.tabCur?n("div",{staticClass:"wrapper",style:"height:"+(A.clientHeight-150)+"px;"},A._l(A.leftMenu,(function(t,e){return n("div",{key:e},[n("div",{staticClass:"tips",on:{click:function(A){t.isOpen=!t.isOpen}}},[A._v("\n "+A._s(t.title)+"\n\n "),t.isOpen?n("Icon",{attrs:{type:"ios-arrow-down",size:"16"}}):n("Icon",{attrs:{type:"ios-arrow-forward",size:"16"}})],1),n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.list,group:{name:"people",pull:"clone",put:!1},clone:A.cloneDog,dragClass:"dragClass",filter:".search , .navbar"}},A._l(t.list,(function(e,i){return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"item.isOpen"}],key:e.id,staticClass:"list-group-item",class:{search:"搜索框"==e.cname,navbar:"商品分类"==e.cname},on:{click:function(t){return A.addDom(e,1)}}},[n("div",[n("div",{staticClass:"position",staticStyle:{display:"none"}},[A._v("释放鼠标将组建添加到此处")]),n("span",{staticClass:"conter iconfont-diy",class:e.icon}),n("p",{staticClass:"conter"},[A._v(A._s(e.cname))])])])})),0)],1)})),0):n("div",{staticClass:"wrapper",style:"height:"+(A.clientHeight-200)+"px;"},A._l(A.urlList,(function(t,e){return n("div",{key:e,staticClass:"link-item"},[n("div",{staticClass:"name"},[A._v(A._s(t.name))]),n("div",{staticClass:"link-txt"},[A._v("地址:"+A._s(t.url))]),n("div",{staticClass:"params"},[n("span",{staticClass:"txt"},[A._v("参数:")]),n("span",[A._v(A._s(t.parameter))])]),n("div",{staticClass:"lable"},[n("p",{staticClass:"txt"},[A._v("例如:"+A._s(t.example))]),n("Button",{attrs:{size:"small"},on:{click:function(e){return A.onCopy(t.example)}}},[A._v("复制 ")])],1)])})),0)]),n("div",{staticClass:"wrapper-con",staticStyle:{flex:"1",background:"#f0f2f5",display:"flex","justify-content":"center","padding-top":"20px",height:"100%"}},[n("div",{staticClass:"content"},[n("div",{staticClass:"contxt",staticStyle:{display:"flex","flex-direction":"column",overflow:"hidden",height:"100%"}},[n("div",{staticClass:"overflowy"},[n("div",{staticClass:"picture"},[n("img",{attrs:{src:e("2d44")}})]),n("div",{staticClass:"page-title",class:{on:-100==A.activeIndex},on:{click:A.showTitle}},[A._v("\n "+A._s(A.titleTxt)+"\n "),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})])]),n("div",{staticClass:"scrollCon"},[n("div",{staticStyle:{width:"460px",margin:"0 auto"}},[n("div",{ref:"imgContainer",staticClass:"scroll-box",class:A.picTxt&&2==A.tabValTxt?"fullsize noRepeat":A.picTxt&&1==A.tabValTxt?"repeat ysize":"noRepeat ysize",style:"background-color:"+(A.colorTxt?A.colorPickerTxt:"")+";background-image: url("+(A.picTxt?A.picUrlTxt:"")+");height:"+A.rollHeight+"px;"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:A.mConfig,group:"people",filter:".top",move:A.onMove,animation:"300"},on:{change:A.log}},A._l(A.mConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",class:{on:A.activeIndex==e,top:"search_box"==t.name||"nav_bar"==t.name},style:A.colorTxt?"background-color:"+A.colorPickerTxt+";":"background-color:#fff;",on:{click:function(n){return n.stopPropagation(),A.bindconfig(t,e)}}},[n(t.name,{ref:"getComponentData",refInFor:!0,tag:"component",attrs:{configData:A.propsObj,index:e,num:t.num}}),n("div",{staticClass:"delete-box"},[n("div",{staticClass:"handleType"},[n("Tooltip",{attrs:{content:"删除当前模块",placement:"top"}},[n("div",{staticClass:"iconfont iconshanchu2",on:{click:function(n){return n.stopPropagation(),A.bindDelete(t,e)}}})]),n("div",{staticClass:"iconfont iconfuzhi",on:{click:function(n){return n.stopPropagation(),A.bindAddDom(t,0,e)}}}),n("div",{staticClass:"iconfont iconshangyi",class:0===e?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,1)}}}),n("div",{staticClass:"iconfont iconxiayi",class:e===A.mConfig.length-1?"on":"",on:{click:function(n){return n.stopPropagation(),A.movePage(t,e,0)}}})],1)]),n("div",{staticClass:"handle"})],1)})),0)],1)])]),n("div",{staticClass:"overflowy"},[n("div",{staticClass:"page-foot",class:{on:-101==A.activeIndex},on:{click:A.showFoot}},[n("footPage"),n("div",{staticClass:"delete-box"}),n("div",{staticClass:"handle"})],1)])])])]),n("div",{staticClass:"right-box"},A._l(A.rConfig,(function(t,e){return n("div",{key:e,staticClass:"mConfig-item",staticStyle:{"background-color":"#fff"}},[n("div",{staticClass:"title-bar"},[A._v(A._s(t.cname))]),n(t.configName,{tag:"component",attrs:{activeIndex:A.activeIndex,num:t.num,index:e},on:{config:A.config}})],1)})),0)])])],1)}),[],!1,null,"4662035e",null);t.default=h.exports},d8b9:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"z_ueditor",cname:"富文本",configName:"c_ueditor_box",icon:"iconfuwenben1",type:2,defaultName:"richText",props:{index:{type:null,default:-1},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"richText",timestamp:this.num,setUp:{tabVal:0},bgColor:{title:"背景色",name:"bgColor",default:[{item:"#f5f5f5"}],color:[{item:"#f5f5f5"}]},lrConfig:{title:"左右边距",val:0,min:0},udConfig:{title:"上下边距",val:0,min:0},richText:{val:""}},cSlider:"",bgColor:"",confObj:{},pageData:{},edge:"",udEdge:"",richText:""}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.lrConfig&&(this.bgColor=A.bgColor.color[0].item,this.edge=A.lrConfig.val,this.udEdge=A.udConfig.val,this.richText=A.richText.val)}}},e("fc85"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"mobile-page"},[A("div",{staticClass:"box",style:{background:this.bgColor,marginLeft:this.edge+"px",marginRight:this.edge+"px",marginTop:this.udEdge+"px"},domProps:{innerHTML:this._s(this.richText)}})])}),[],!1,null,"70881bbe",null);t.default=e.exports},d998:function(A,t,e){e=e("342f"),A.exports=/MSIE|Trident/.test(e)},d9b8:function(A,t,e){},dba82:function(A,t,e){"use strict";var n=e("016f");e.n(n).a},dc7d:function(A,t,e){"use strict";var n=e("3257");e.n(n).a},df85:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("e9c4"),e("ab01")),o=e("befa");n={name:"c_picture_cube",componentsName:"picture_cube",cname:"图片魔方",props:{activeIndex:{type:null},num:{type:null},index:{type:null}},components:Object(n.a)(Object(n.a)({},i.a),{},{rightBtn:o.a}),data:function(){return{configObj:{},rCom:[{components:i.a.c_tab,configNme:"tabConfig"},{components:i.a.c_pictrue,configNme:"picStyle"},{components:i.a.c_menu_list,configNme:"menuConfig"},{components:i.a.c_bg_color,configNme:"bgColor"},{components:i.a.c_txt_tab,configNme:"bgStyle"},{components:i.a.c_slider,configNme:"prConfig"},{components:i.a.c_slider,configNme:"mbConfig"}]}},watch:{num:function(A){A=JSON.parse(JSON.stringify(this.$store.state.mobildConfig.defaultArray[A])),this.configObj=A},configObj:{handler:function(A,t){this.$store.commit("mobildConfig/UPDATEARR",{num:this.num,val:A})},deep:!0}},mounted:function(){var A=this;this.$nextTick((function(){var t=JSON.parse(JSON.stringify(A.$store.state.mobildConfig.defaultArray[A.num]));A.configObj=t}))},methods:{}},e("4a96"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-config pro"},[A._l(A.rCom,(function(t,n){return e("div",{key:n},[e(t.components.name,{key:n,ref:"childData",refInFor:!0,tag:"component",attrs:{configObj:A.configObj,configNme:t.configNme,index:A.activeIndex,num:t.num}})],1)})),e("rightBtn",{attrs:{activeIndex:A.activeIndex,configObj:A.configObj}})],2)}),[],!1,null,"0402e251",null);t.default=e.exports},e642:function(A,t,e){var n={"./c_bg_color.vue":"62cf","./c_cascader.vue":"d767","./c_foot.vue":"be50","./c_goods.vue":"4fa6","./c_hot_box.vue":"3fc7","./c_hot_imgs.vue":"8581","./c_hot_word.vue":"b646","./c_input_item.vue":"d670","./c_input_number.vue":"b0c5","./c_is_show.vue":"b85c","./c_menu_list.vue":"5969","./c_page_ueditor.vue":"cfff9","./c_pictrue.vue":"2144","./c_product.vue":"d115","./c_select.vue":"02a4","./c_set_up.vue":"967b","./c_slider.vue":"d4ce","./c_status.vue":"55ab","./c_tab.vue":"a920","./c_txt_tab.vue":"1e18","./c_upload_img.vue":"d36e"};function i(A){return A=o(A),e(A)}function o(A){if(e.o(n,A))return n[A];throw(A=new Error("Cannot find module '"+A+"'")).code="MODULE_NOT_FOUND",A}i.keys=function(){return Object.keys(n)},i.resolve=o,(A.exports=i).id="e642"},e945:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=(e("d81d"),e("d3b7"),e("25f0"),e("f478")),o=e("2f62"),a=e("61f7");n={name:"home_new_list",filters:{formatDate:function(A){if(0!==A)return A=new Date(1e3*A),Object(a.a)(A,"yyyy-MM-dd hh:mm")}},cname:"新闻列表",icon:"iconwenzhangliebiao1",configName:"c_new_list",type:0,defaultName:"articleList",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(o.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{list:[],defaultConfig:{name:"articleList",timestamp:this.num,setUp:{tabVal:0},numConfig:{val:3,title:"文章数量"},selectConfig:{title:"文章分类",activeValue:"",list:[{activeValue:"",title:""},{activeValue:"",title:""}]},selectList:{title:"文章列表",list:[]},listStyle:{cname:"listStyle",title:"文本位置",type:0,list:[{val:"居左",icon:"icondoc_left"},{val:"居右",icon:"icondoc_right"}]},bgColor:{title:"背景颜色",default:[{item:"#fff"}],color:[{item:"#fff"}]},bgStyle:{title:"背景样式",name:"bgStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},conStyle:{title:"内容样式",name:"conStyle",type:0,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},prConfig:{title:"背景边距",val:0,min:0},itemConfig:{title:"文章间距",val:0,min:0},mbConfig:{title:"页面间距",val:0,min:0}},mTOP:0,bgColor:[],itemEdge:0,listStyle:0,itemStyle:0,bgStyle:0,conStyle:0,prConfig:0}},created:function(){},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{categoryList:function(){var A=this;Object(i.a)().then((function(t){A.pageData.selectConfig.list=t.data,A.pageData.selectConfig.list.map((function(A){A.id.toString()})),A.$store.commit("mobildConfig/UPDATEARR",{num:A.num,val:A.pageData})}))},setConfig:function(A){A&&A.mbConfig&&(this.bgColor=A.bgColor.color[0].item,this.mTOP=A.mbConfig.val,this.itemEdge=A.itemConfig.val,this.listStyle=A.listStyle.type,this.bgStyle=A.bgStyle.type,this.prConfig=A.prConfig.val,this.conStyle=A.conStyle.type,(A=A.selectList.list||[]).length?this.list=A:this.list=[{title:"文章标题文章标题文章标题文章 标题文章标题",add_time:"1621474811",type:"noList"}])}}},e("6e65"),o=e("2877"),e=Object(o.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{staticClass:"mobile-page",style:{marginTop:A.mTOP+"px",padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"list-wrapper",class:{pageOn:1===A.bgStyle},style:{background:A.bgColor}},A._l(A.list,(function(t,n){return e("div",{key:n,staticClass:"item",class:{on:0==A.listStyle,pageOn:1===A.conStyle},style:{marginBottom:A.itemEdge+"px"}},["noList"===A.list[0].type?e("div",{staticClass:"empty-box on"},[e("span",{staticClass:"iconfont-diy icontupian"})]):e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.image_input[0]}})]),e("div",{staticClass:"info"},[e("div",{staticClass:"title line2"},[A._v(A._s(t.title))]),e("div",{staticClass:"time"},[A._v(A._s(A._f("formatDate")(t.add_time)))])])])})),0)])}),[],!1,null,"0e344be9",null);t.default=e.exports},e995:function(A,t,e){"use strict";var n=e("3952");e.n(n).a},e996:function(A,t,e){},e99b:function(A,t,e){"use strict";var n=e("f19a");e.n(n).a},ead9:function(A,t,e){},ed79:function(A,t,e){"use strict";var n=e("2c4d");e.n(n).a},edd0:function(A,t,e){var n=e("13d2"),i=e("9bf2");A.exports=function(A,t,e){return e.get&&n(e.get,t,{getter:!0}),e.set&&n(e.set,t,{setter:!0}),i.f(A,t,e)}},efa3:function(A,t,e){},f19a:function(A,t,e){},f232:function(A,t,e){},f405:function(A,t,e){"use strict";var n=e("44b0");e.n(n).a},f5dee:function(A,t,e){"use strict";e.r(t);var n=e("f3f3"),i=e("2f62");n={name:"home_seckill",cname:"秒杀",configName:"c_home_seckill",icon:"iconmiaosha1",type:1,defaultName:"seckill",props:{index:{type:null},num:{type:null}},computed:Object(n.a)({},Object(i.e)("mobildConfig",["defaultArray"])),watch:{pageData:{handler:function(A,t){this.setConfig(A)},deep:!0},num:{handler:function(A,t){A=this.$store.state.mobildConfig.defaultArray[A],this.setConfig(A)},deep:!0},defaultArray:{handler:function(A,t){var e=this.$store.state.mobildConfig.defaultArray[this.num];this.setConfig(e)},deep:!0}},data:function(){return{defaultConfig:{name:"seckill",timestamp:this.num,setUp:{tabVal:0},countDownColor:{title:"倒计时背景色",name:"countDownColor",default:[{item:"rgba(252,60,62,0.09)"}],color:[{item:"rgba(252,60,62,0.09)"}]},themeColor:{title:"主题风格",name:"themeColor",default:[{item:"#E93323"}],color:[{item:"#E93323"}]},conStyle:{title:"背景样式",name:"conStyle",type:1,list:[{val:"直角",icon:"iconPic_square"},{val:"圆角",icon:"iconPic_fillet"}]},bgColor:{title:"背景颜色",name:"themeColor",default:[{item:"#fff"}],color:[{item:"#fff"}]},prConfig:{title:"背景边距",val:10,min:0},priceShow:{title:"是否显示价格",val:!0},discountShow:{title:"是否显示折扣标签",val:!0},titleShow:{title:"是否显示名称",val:!0},seckillShow:{title:"抢购标签",val:!0},numberConfig:{val:3},lrConfig:{title:"左右边距",val:10,min:0},mbConfig:{title:"页面间距",val:0,min:0},imgConfig:{title:"最多可添加1张图片,建议宽度18 * 18px",url:"http://pro.crmeb.net/static/images/spike-icon-002.gif"}},list:[{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"},{img:"",name:"小米家用电饭煲小米家用电饭煲",price:"234",discount:"1.2"}],mTOP:0,listRight:0,countDownColor:"",themeColor:"",pageData:{},imgUrl:"",priceShow:!0,discountShow:!0,titleShow:!0,seckillShow:!0,prConfig:0,bgColor:"",conStyle:1}},mounted:function(){var A=this;this.$nextTick((function(){A.pageData=A.$store.state.mobildConfig.defaultArray[A.num],A.setConfig(A.pageData)}))},methods:{setConfig:function(A){A&&A.mbConfig&&(this.mTOP=A.mbConfig.val,this.listRight=A.lrConfig.val,this.countDownColor=A.countDownColor.color[0].item,this.themeColor=A.themeColor.color[0].item,this.imgUrl=A.imgConfig.url,this.priceShow=A.priceShow.val,this.discountShow=A.discountShow.val,this.titleShow=A.titleShow.val,this.seckillShow=A.seckillShow.val,this.prConfig=A.prConfig.val,this.bgColor=A.bgColor.color[0].item,this.conStyle=A.conStyle.type)}}},e("d71c"),i=e("2877"),e=Object(i.a)(n,(function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("div",{style:{padding:"0 "+A.prConfig+"px"}},[e("div",{staticClass:"seckill-box",class:A.conStyle?"":"seckillOn",style:{background:A.bgColor,marginTop:A.mTOP+"px"}},[e("div",{staticClass:"hd"},[e("div",{staticClass:"left"},[e("img",{attrs:{src:A.imgUrl,alt:""}}),e("p",[A._v("限时秒杀")]),e("div",{staticClass:"time"},[e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")]),e("em",[A._v(":")]),e("span",{style:{background:A.countDownColor,color:A.themeColor}},[A._v("00")])])]),e("div",{staticClass:"right"},[A._v("更多")])]),e("div",{staticClass:"list-wrapper"},A._l(A.list,(function(t,n){return e("div",{staticClass:"list-item",style:{marginRight:A.listRight+"px"},attrs:{index:n}},[e("div",{staticClass:"img-box"},[t.img?e("img",{attrs:{src:t.img,alt:""}}):A._e(),A._m(0,!0),A.discountShow?e("div",{staticClass:"discount",style:{borderColor:A.themeColor,color:A.themeColor}},[A._v("\n "+A._s(t.discount)+"折起\n ")]):A._e()]),A.titleShow?e("div",{staticClass:"title line1"},[A._v(A._s(t.name))]):A._e(),e("div",{staticClass:"price"},[A.seckillShow?e("span",{staticClass:"label",style:{background:A.themeColor}},[A._v("抢")]):A._e(),A.priceShow?e("span",{staticClass:"num-label",style:{color:A.themeColor}},[A._v("¥")]):A._e(),A.priceShow?e("span",{staticClass:"num",style:{color:A.themeColor}},[A._v(A._s(t.price))]):A._e()])])})),0)])])}),[function(){var A=this.$createElement;A=this._self._c||A;return A("div",{staticClass:"empty-box"},[A("span",{staticClass:"iconfont-diy icontupian"})])}],!1,null,"2378e588",null);t.default=e.exports},f960:function(A,t,e){},f9a7:function(A,t,e){},fa17:function(A,t,e){},fac5:function(A,t,e){"use strict";var n=e("bcb9");e.n(n).a},fc85:function(A,t,e){"use strict";var n=e("0f51");e.n(n).a},fd04:function(A,t,e){"use strict";var n=e("1f61");e.n(n).a},feef:function(A,t,e){},ffa6:function(A,t,e){"use strict";var n=e("9f8c");e.n(n).a},ffca:function(A,t,e){},fff6:function(A,t,e){}}]); \ No newline at end of file diff --git a/crmeb/public/admin/js/chunk-a19bbc18.891e277e.js.gz b/crmeb/public/admin/js/chunk-a19bbc18.891e277e.js.gz new file mode 100644 index 000000000..401cc3244 Binary files /dev/null and b/crmeb/public/admin/js/chunk-a19bbc18.891e277e.js.gz differ diff --git a/crmeb/public/admin/js/chunk-a2de4836.a24d5c43.js b/crmeb/public/admin/js/chunk-a2de4836.5d7d249f.js similarity index 100% rename from crmeb/public/admin/js/chunk-a2de4836.a24d5c43.js rename to crmeb/public/admin/js/chunk-a2de4836.5d7d249f.js diff --git a/crmeb/public/admin/js/chunk-aa80dfa8.d7fcd4f4.js b/crmeb/public/admin/js/chunk-aa80dfa8.9c7a557b.js similarity index 100% rename from crmeb/public/admin/js/chunk-aa80dfa8.d7fcd4f4.js rename to crmeb/public/admin/js/chunk-aa80dfa8.9c7a557b.js diff --git a/crmeb/public/admin/js/chunk-aa967126.c8a7bc9b.js b/crmeb/public/admin/js/chunk-aa967126.83b7e1ff.js similarity index 100% rename from crmeb/public/admin/js/chunk-aa967126.c8a7bc9b.js rename to crmeb/public/admin/js/chunk-aa967126.83b7e1ff.js diff --git a/crmeb/public/admin/js/chunk-aa967126.c8a7bc9b.js.gz b/crmeb/public/admin/js/chunk-aa967126.83b7e1ff.js.gz similarity index 100% rename from crmeb/public/admin/js/chunk-aa967126.c8a7bc9b.js.gz rename to crmeb/public/admin/js/chunk-aa967126.83b7e1ff.js.gz diff --git a/crmeb/public/admin/js/chunk-afbd234c.5ba93b89.js b/crmeb/public/admin/js/chunk-afbd234c.5ba93b89.js new file mode 100644 index 000000000..a3a65fed0 --- /dev/null +++ b/crmeb/public/admin/js/chunk-afbd234c.5ba93b89.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-afbd234c"],{"0b3b":function(t,e,n){"use strict";var i=n("8fe4b");n.n(i).a},1069:function(t,e,n){t.exports=function(){"use strict";var t={358:function(t,e,n){var i=n(81),a=(i=n.n(i),n(645));n=n.n(a)()(i());n.push([t.id,".vue-puzzle-vcode {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.3);\n z-index: 999;\n opacity: 0;\n pointer-events: none;\n -webkit-transition: opacity 200ms;\n transition: opacity 200ms;\n}\n.vue-puzzle-vcode.show_ {\n opacity: 1;\n pointer-events: auto;\n}\n.vue-auth-box_ {\n position: absolute;\n top: 40%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n padding: 20px;\n background: #fff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.vue-auth-box_ .auth-body_ {\n position: relative;\n overflow: hidden;\n border-radius: 3px;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.8);\n z-index: 20;\n opacity: 1;\n -webkit-transition: opacity 200ms;\n transition: opacity 200ms;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n}\n.vue-auth-box_ .auth-body_ .loading-box_.hide_ {\n opacity: 0;\n pointer-events: none;\n}\n.vue-auth-box_ .auth-body_ .loading-box_.hide_ .loading-gif_ span {\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ {\n -webkit-box-flex: 0;\n -webkit-flex: none;\n flex: none;\n height: 5px;\n line-height: 0;\n}\n@-webkit-keyframes load {\n0% {\n opacity: 1;\n -webkit-transform: scale(1.3);\n transform: scale(1.3);\n}\n100% {\n opacity: 0.2;\n -webkit-transform: scale(0.3);\n transform: scale(0.3);\n}\n}\n@keyframes load {\n0% {\n opacity: 1;\n -webkit-transform: scale(1.3);\n transform: scale(1.3);\n}\n100% {\n opacity: 0.2;\n -webkit-transform: scale(0.3);\n transform: scale(0.3);\n}\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span {\n display: inline-block;\n width: 5px;\n height: 100%;\n margin-left: 2px;\n border-radius: 50%;\n background-color: #888;\n -webkit-animation: load 1.04s ease infinite;\n animation: load 1.04s ease infinite;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(1) {\n margin-left: 0;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(2) {\n -webkit-animation-delay: 0.13s;\n animation-delay: 0.13s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(3) {\n -webkit-animation-delay: 0.26s;\n animation-delay: 0.26s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(4) {\n -webkit-animation-delay: 0.39s;\n animation-delay: 0.39s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(5) {\n -webkit-animation-delay: 0.52s;\n animation-delay: 0.52s;\n}\n.vue-auth-box_ .auth-body_ .info-box_ {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 24px;\n line-height: 24px;\n text-align: center;\n overflow: hidden;\n font-size: 13px;\n background-color: #83ce3f;\n opacity: 0;\n -webkit-transform: translateY(24px);\n transform: translateY(24px);\n -webkit-transition: all 200ms;\n transition: all 200ms;\n color: #fff;\n z-index: 10;\n}\n.vue-auth-box_ .auth-body_ .info-box_.show {\n opacity: 0.95;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n}\n.vue-auth-box_ .auth-body_ .info-box_.fail {\n background-color: #ce594b;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas2_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 60px;\n height: 100%;\n z-index: 2;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas3_ {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n -webkit-transition: opacity 600ms;\n transition: opacity 600ms;\n z-index: 3;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas3_.show {\n opacity: 1;\n}\n.vue-auth-box_ .auth-body_ .flash_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.1);\n z-index: 3;\n}\n.vue-auth-box_ .auth-body_ .flash_.show {\n -webkit-transition: -webkit-transform 600ms;\n transition: -webkit-transform 600ms;\n transition: transform 600ms;\n transition: transform 600ms, -webkit-transform 600ms;\n}\n.vue-auth-box_ .auth-body_ .reset_ {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 35px;\n height: auto;\n z-index: 12;\n cursor: pointer;\n -webkit-transition: -webkit-transform 200ms;\n transition: -webkit-transform 200ms;\n transition: transform 200ms;\n transition: transform 200ms, -webkit-transform 200ms;\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.vue-auth-box_ .auth-body_ .reset_:hover {\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n}\n.vue-auth-box_ .auth-control_ .range-box {\n position: relative;\n width: 100%;\n background-color: #eef1f8;\n margin-top: 20px;\n border-radius: 3px;\n box-shadow: 0 0 8px rgba(240, 240, 240, 0.6) inset;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-text {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n font-size: 14px;\n color: #b7bcd1;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n width: 100%;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider {\n position: absolute;\n height: 100%;\n width: 50px;\n background-color: rgba(106, 160, 255, 0.8);\n border-radius: 3px;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn {\n position: absolute;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n right: 0;\n width: 50px;\n height: 100%;\n background-color: #fff;\n border-radius: 3px;\n box-shadow: 0 0 4px #ccc;\n cursor: pointer;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div {\n width: 0;\n height: 40%;\n -webkit-transition: all 200ms;\n transition: all 200ms;\n border: solid 1px #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div:nth-child(2) {\n margin: 0 4px;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:first-child,\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:first-child {\n border: solid 4px transparent;\n height: 0;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(2),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(2) {\n border-width: 3px;\n height: 0;\n border-radius: 3px;\n margin: 0 6px;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(3),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(3) {\n border: solid 4px transparent;\n height: 0;\n border-left-color: #6aa0ff;\n}\n.vue-puzzle-overflow {\n overflow: hidden !important;\n}\n",""]),e.Z=n},645:function(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(0({mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII="}),mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(t){t?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){var t=this.startWidth+this.newX-this.startX;return tthis.canvasWidth?this.canvasWidth:t},puzzleBaseSize(){return Math.round(52.5*Math.max(Math.min(this.puzzleScale,2),.2)+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(.5*this.canvasWidth)),10)}},methods:{onClose(){this.mouseDown||(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(t){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=t.clientX||t.changedTouches[0].clientX,this.startX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseMove(t){this.mouseDown&&(t.preventDefault(),this.newX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(t){if(!this.loading||t){this.loading=!0,this.isCanSlide=!1;const e=this.$refs.canvas1,n=this.$refs.canvas2,i=this.$refs.canvas3,a=e.getContext("2d"),s=n.getContext("2d"),o=i.getContext("2d"),r=0<=navigator.userAgent.indexOf("Firefox")&&0<=navigator.userAgent.indexOf("Windows"),c=document.createElement("img");if(a.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",a.clearRect(0,0,this.canvasWidth,this.canvasHeight),s.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),c.crossOrigin="anonymous",c.onload=()=>{var[t,e,n,i]=this.makeImgSize(c),h=(a.save(),this.paintBrick(a),a.closePath(),r?(a.clip(),a.save(),a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowColor="#000",a.shadowBlur=3,a.fill(),a.restore()):(a.shadowOffsetX=0,a.shadowOffsetY=0,a.shadowColor="#000",a.shadowBlur=3,a.fill(),a.clip()),a.drawImage(c,t,e,n,i),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(c,t,e,n,i),a.globalCompositeOperation="source-atop",this.paintBrick(a),a.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),1.2*this.puzzleBaseSize,0,2*Math.PI,!0),a.closePath(),a.shadowColor="rgba(255, 255, 255, .8)",a.shadowOffsetX=-1,a.shadowOffsetY=-1,a.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),a.fillStyle="#ffffaa",a.fill(),a.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5));s.putImageData(h,0,this.pinY-20),a.restore(),a.clearRect(0,0,this.canvasWidth,this.canvasHeight),a.save(),this.paintBrick(a),a.globalAlpha=.8,a.fillStyle="#ffffff",a.fill(),a.restore(),a.save(),a.globalCompositeOperation="source-atop",this.paintBrick(a),a.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),1.2*this.puzzleBaseSize,0,2*Math.PI,!0),a.shadowColor="#000",a.shadowOffsetX=2,a.shadowOffsetY=2,a.shadowBlur=16,a.fill(),a.restore(),a.save(),a.globalCompositeOperation="destination-over",a.drawImage(c,t,e,n,i),a.restore(),this.loading=!1,this.isCanSlide=!0},c.onerror=()=>{this.init(!0)},!t&&this.imgs&&this.imgs.length){let t=this.getRandom(0,this.imgs.length-1);t===this.imgIndex&&(t===this.imgs.length-1?t=0:t++),this.imgIndex=t,c.src=this.imgs[t]}else c.src=this.makeImgWithCanvas()}},getRandom:(t,e)=>Math.ceil(Math.random()*(e-t)+t),makeImgSize(t){t=t.width/t.height;let e=0,n=0,i=0,a=0;return t>this.canvasWidth/this.canvasHeight?(a=this.canvasHeight,i=t*a,n=0,e=(this.canvasWidth-i)/2):(i=this.canvasWidth,a=i/t,e=0,n=(this.canvasHeight-a)/2),[e,n,i,a]},paintBrick(t){var e=Math.ceil(15*this.puzzleScale);t.beginPath(),t.moveTo(this.pinX,this.pinY),t.lineTo(this.pinX+e,this.pinY),t.arcTo(this.pinX+e,this.pinY-e/2,this.pinX+e+e/2,this.pinY-e/2,e/2),t.arcTo(this.pinX+e+e,this.pinY-e/2,this.pinX+e+e,this.pinY,e/2),t.lineTo(this.pinX+e+e+e,this.pinY),t.lineTo(this.pinX+e+e+e,this.pinY+e),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e,this.pinX+e+e+e+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e+e,this.pinX+e+e+e,this.pinY+e+e,e/2),t.lineTo(this.pinX+e+e+e,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e),t.arcTo(this.pinX+e/2,this.pinY+e+e,this.pinX+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e/2,this.pinY+e,this.pinX,this.pinY+e,e/2),t.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const t=document.createElement("canvas"),e=t.getContext("2d");t.width=this.canvasWidth,t.height=this.canvasHeight,e.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,e.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let i=0;i<12;i++){var n;e.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,e.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,1{this.isSubmting=!1,this.$emit("success",t)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",t),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},a=n(379),s=(a=n.n(a),n(795)),o=(s=n.n(s),n(569)),r=(o=n.n(o),n(565)),c=(r=n.n(r),n(216)),h=(c=n.n(c),n(589)),l=(h=n.n(h),n(358)),d={},u=(s=(d.styleTagTransform=h(),d.setAttributes=r(),d.insert=o().bind(null,"head"),d.domAPI=s(),d.insertStyleElement=c(),a()(l.Z,d),l.Z&&l.Z.locals&&l.Z.locals,h=t,(o="function"==typeof(r=e)?r.options:r).render=h,o.staticRenderFns=[function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"loading-gif_"},[e("span"),t._v(" "),e("span"),t._v(" "),e("span"),t._v(" "),e("span"),t._v(" "),e("span")])}],o._compiled=!0,{exports:r,options:o}),s.options.__file="src/app.vue",s.exports)}(),i}()},"2c3e":function(t,e,n){var i=n("da84"),a=n("83ab"),s=n("9f7f").MISSED_STICKY,o=n("c6b6"),r=n("edd0"),c=n("69f3").get,h=RegExp.prototype,l=i.TypeError;a&&s&&r(h,"sticky",{configurable:!0,get:function(){if(this!==h){if("RegExp"===o(this))return!!c(this).sticky;throw l("Incompatible receiver, RegExp required")}}})},"4d63":function(t,e,n){var i=n("83ab"),a=n("da84"),s=n("e330"),o=n("94ca"),r=n("7156"),c=n("9112"),h=n("241c").f,l=n("3a9b"),d=n("44e7"),u=n("577e"),p=n("90d8"),g=n("9f7f"),f=n("aeb0"),v=n("cb2d"),b=n("d039"),m=n("1a2d"),x=n("69f3").enforce,w=n("2626"),y=n("b622"),_=n("fce3"),C=n("107c"),z=y("match"),S=a.RegExp,k=S.prototype,T=a.SyntaxError,M=s(k.exec),R=s("".charAt),B=s("".replace),X=s("".indexOf),P=s("".slice),Y=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,E=/a/g,I=/a/g,A=(n=new S(E)!==E,g.MISSED_STICKY),O=g.UNSUPPORTED_Y;y=i&&(!n||A||_||C||b((function(){return I[z]=!1,S(E)!=E||S(I)==I||"/a/i"!=S(E,"i")})));if(o("RegExp",y)){function D(t,e){var n,i,a=l(k,this),s=d(t),o=void 0===e,h=[],g=t;if(!a&&s&&o&&t.constructor===D)return t;if((s||l(k,t))&&(t=t.source,o&&(e=p(g))),t=void 0===t?"":u(t),e=void 0===e?"":u(e),g=t,s=e=_&&"dotAll"in E&&(n=!!e&&-1"===e&&c:if(""===l||m(o,l))throw new T("Invalid capture group name");o[l]=!0,c=!(s[s.length]=[l,h]),l="";continue}c?l+=e:a+=e}return[a,s]}(t))[0],h=o[1]),o=r(S(t,e),a?this:k,D),(n||i||h.length)&&(e=x(o),n&&(e.dotAll=!0,e.raw=D(function(t){for(var e,n=t.length,i=0,a="",s=!1;i<=n;i++)"\\"===(e=R(t,i))?a+=e+R(t,++i):s||"."!==e?("["===e?s=!0:"]"===e&&(s=!1),a+=e):a+="[\\s\\S]";return a}(t),s)),i&&(e.sticky=!0),h.length&&(e.groups=h)),t!==g)try{c(o,"source",""===g?"(?:)":g)}catch(t){}return o}for(var W=h(S),H=0;W.length>H;)f(D,S,W[H++]);(k.constructor=D).prototype=k,v(a,"RegExp",D,{constructor:!0})}w("RegExp")},"61f7":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"b",(function(){return h}));var i=n("fc11"),a=n("f3f3");function s(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));var n,i,a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(n in a)new RegExp("(".concat(n,")")).test(e)&&(i=a[n]+"",e=e.replace(RegExp.$1,1===RegExp.$1.length?i:("00"+i).substr(i.length)));return e}n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),n("498a"),n("d3b7"),n("b64b"),n("99af");var o={min:"%s最小长度为:min",max:"%s最大长度为:max",length:"%s长度必须为:length",range:"%s长度为:range",pattern:"$s格式错误"};function r(t,e){t.message=function(t){return e.replace("%s",t||"")}}function c(t){var e=1删除后无法恢复,请确认后删除!

    ",onOk:function(){Object(i.b)(t.id).then((function(a){e.$Message.success(a.msg),t.remove()})).catch((function(t){e.$Message.error(t)}))},onCancel:function(){}})})),Object(o.a)(l,"onChangeName",(function(t){var e=this;"blur"==t.eventType&&(t={name:t.newName,id:t.id},Object(i.d)(t).then((function(t){e.$Message.success(t.msg)})).catch((function(t){e.$Message.error(t)})))})),Object(o.a)(l,"onAddNode",(function(t){})),Object(o.a)(l,"addNode",(function(){var t=new s.TreeNode({name:"new node",isLeaf:!1});this.data.children||(this.data.children=[]),this.data.addChildren(t)})),Object(o.a)(l,"getNewTree",(function(){this.newTree=function t(e){var a,n={};for(a in e)"children"!==a&&"parent"!==a&&(n[a]=e[a]);if(e.children&&0=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"凌晨":i<900?"早上":i<1200?"上午":1200===i?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(n("c1df"))},"4b41":function(e,t,n){var i=n("09e4"),r=n("0db0"),o=n("dcbd"),a=i.TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},"4b50":function(e,t,n){var i=n("09e4"),r=n("26ed"),o=n("4650"),a=n("25d0"),s=n("0209"),l=n("8b0e"),u=n("562f"),c=n("0f33"),d=n("fce5"),f=r&&r.prototype,h=l("species"),p=!1,m=o(i.PromiseRejectionEvent);n=a("Promise",(function(){var e,t=s(r),n=t!==String(r);return!n&&66===d||!(!c||f.catch&&f.finally)||!(51<=d&&/native code/.test(t))&&(t=function(e){e((function(){}),(function(){}))},((e=new r((function(e){e(1)}))).constructor={})[h]=t,!(p=e.then((function(){}))instanceof t)||!n&&u&&!m)}));e.exports={CONSTRUCTOR:n,REJECTION_EVENT:m,SUBCLASSING:p}},"4b5c":function(e,t,n){var i=n("0368"),r=(n=n("dba8"),Function.prototype),o=i&&Object.getOwnPropertyDescriptor,a=(n=n(r,"name"),n&&"something"===function(){}.name);i=n&&(!i||o(r,"name").configurable);e.exports={EXISTS:n,PROPER:a,CONFIGURABLE:i}},"4ba9":function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration -function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("c1df"))},"4be9":function(e,t,n){var i=n("a714"),r=n("4650"),o=n("dba8"),a=n("0368"),s=n("4b5c").CONFIGURABLE,l=n("0209"),u=(n=n("a547"),n.enforce),c=n.get,d=Object.defineProperty,f=a&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String");n=e.exports=function(e,t,n){if("Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&d(e,"name",{value:t,configurable:!0}),f&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity}),n&&o(n,"constructor")&&n.constructor){if(a)try{d(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;return n=u(e),o(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=n((function(){return r(this)&&c(this).source||l(this)}),"toString")},"4c07":function(e,t,n){var i=n("09e4"),r=n("0368"),o=n("bf45"),a=n("f35b"),s=n("d0c8"),l=n("e3f1"),u=i.TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=r?a?function(e,t,n){var i;return s(e),t=l(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]&&(i=d(e,t))&&i[p]&&(e[t]=n.value,n={configurable:(h in n?n:i)[h],enumerable:(f in n?n:i)[f],writable:!1}),c(e,t,n)}:c:function(e,t,n){if(s(e),t=l(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"4c1f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n("c695")),r=c(n("0838")),o=c(n("8ea1")),a=n("f3f4"),s=n("649c"),l=n("ee43"),u=n("ad76");function c(e){return e&&e.__esModule?e:{default:e}}n={title:String,field:String,size:String,span:[String,Number],align:String,titleAlign:{type:String,default:null},titleWidth:{type:[String,Number],default:null},titleColon:{type:Boolean,default:null},titleAsterisk:{type:Boolean,default:null},className:[String,Function],titleOverflow:{type:[Boolean,String],default:null},titlePrefix:Object,titleSuffix:Object,resetValue:{default:null},visible:{type:Boolean,default:null},visibleMethod:Function,folding:Boolean,collapseNode:Boolean,itemRender:Object};var d={};Object.keys(n).forEach((function(e){d[e]=function(t){this.itemConfig.update(e,t)}})),t.default={name:"VxeFormItem",props:n,inject:{$xeform:{default:null},$xeformgather:{default:null}},provide:function(){return{$xeformitem:this,$xeformiteminfo:this}},data:function(){return{itemConfig:null}},watch:d,mounted:function(){(0,s.assemItem)(this)},created:function(){this.itemConfig=(0,s.createItem)(this.$xeform,this)},destroyed:function(){(0,s.destroyItem)(this)},render:function(e){var t,n,c,d,f,h,p,m,v,g,y,b,_,w,x,A,C,S,k,M,T,E,O,D,L,P,I,j,N,R,$=this.$xeform;return $&&$.customLayout?(t=e,n=$,$=this.itemConfig,c=this.$scopedSlots,f=n._e,h=n.rules,p=n.data,m=n.collapseAll,v=n.validOpts,O=n.titleAlign,D=n.titleWidth,L=n.titleColon,P=n.titleAsterisk,N=n.titleOverflow,g=$.title,y=$.folding,b=$.visible,_=$.field,w=$.collapseNode,x=$.itemRender,A=$.showError,C=$.errRule,S=$.className,I=$.titleOverflow,k=(0,a.isEnableConf)(x)?o.default.renderer.get(x.name):null,M=k?k.itemClassName:"",T=$.span||n.span,E=$.align||n.align,O=i.default.eqNull($.titleAlign)?O:$.titleAlign,D=i.default.eqNull($.titleWidth)?D:$.titleWidth,L=i.default.eqNull($.titleColon)?L:$.titleColon,P=i.default.eqNull($.titleAsterisk)?P:$.titleAsterisk,j=!0===(N=i.default.isUndefined(I)||i.default.isNull(I)?N:I)||"tooltip"===N,N=(I="title"===N)||j||"ellipsis"===N,!(R={data:p,field:_,property:_,item:$,$form:n})===b?f():(h&&(b=h[_])&&(d=b.some((function(e){return e.required}))),f=[],c&&c.default?f=n.callSlot(c.default,R,t):k&&k.renderItemContent?f=(0,u.getSlotVNs)(k.renderItemContent.call(n,t,x,R)):k&&k.renderItem?f=(0,u.getSlotVNs)(k.renderItem.call(n,t,x,R)):_&&(f=["".concat(i.default.get(p,_))]),h=j?{mouseenter:function(e){n.triggerTitleTipEvent(e,R)},mouseleave:n.handleTitleTipLeaveEvent}:{},t("div",{class:["vxe-form--item",$.id,T?"vxe-col--".concat(T," is--span"):"",S?i.default.isFunction(S)?S(R):S:"",M?i.default.isFunction(M)?M(R):M:"",{"is--title":g,"is--colon":L,"is--asterisk":P,"is--required":d,"is--hidden":y&&m,"is--active":(0,s.isActivetem)(n,$),"is--error":A}]},[t("div",{class:"vxe-form--item-inner"},[g||c&&c.title?t("div",{class:["vxe-form--item-title",O?"align--".concat(O):null,{"is--ellipsis":N}],style:D?{width:isNaN(D)?D:"".concat(D,"px")}:null,attrs:{title:I?(0,a.getFuncText)(g):null},on:h},(0,l.renderTitle)(t,n,$)):null,t("div",{class:["vxe-form--item-content",E?"align--".concat(E):null]},f.concat([w?t("div",{class:"vxe-form--item-trigger-node",on:{click:n.toggleCollapseEvent}},[t("span",{class:"vxe-form--item-trigger-text"},m?r.default.i18n("vxe.form.unfolding"):r.default.i18n("vxe.form.folding")),t("i",{class:["vxe-form--item-trigger-icon",m?r.default.icon.FORM_FOLDING:r.default.icon.FORM_UNFOLDING]})]):null,C&&v.showMessage?t("div",{class:"vxe-form--item-valid",style:C.maxWidth?{width:"".concat(C.maxWidth,"px")}:null},C.message):null]))])]))):e("div")}}},"4cfc":function(e,t,n){var i=n("27e0"),r=n("d219"),o=n("f33a"),a=n("5b2d");e.exports=function(e,t,n){return r(e).replace((n||i).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,(function(e,n){return a(t,o(n))}))}},"4d64":function(e,t,n){function i(e){return function(t,n,i){var s,l=r(t),u=a(l),c=o(i,u);if(e&&n!=n){for(;cthis.pagerCount?this.pagerCount-2:this.pagerCount,t=[],n=0;n=this.pageCount}],attrs:{type:"button",title:r.default.i18n("vxe.pager.nextJump")},on:{click:this.nextJump}},[t?e("i",{class:["vxe-pager--jump-more-icon",this.iconJumpMore||r.default.icon.PAGER_JUMP_MORE]}):null,e("i",{class:["vxe-pager--jump-icon",this.iconJumpNext||r.default.icon.PAGER_JUMP_NEXT]})])},renderNextPage:function(e){return e("button",{class:["vxe-pager--next-btn",{"is--disabled":this.currentPage>=this.pageCount}],attrs:{type:"button",title:r.default.i18n("vxe.pager.nextPage")},on:{click:this.nextPage}},[e("i",{class:["vxe-pager--btn-icon",this.iconNextPage||r.default.icon.PAGER_NEXT_PAGE]})])},renderSizes:function(e){var t=this;return e("vxe-select",{class:"vxe-pager--sizes",props:{value:this.pageSize,placement:"top",transfer:this.transfer,options:this.sizeList},on:{change:function(e){e=e.value,t.pageSizeEvent(e)}}})},renderFullJump:function(e){return this.renderJump(e,!0)},renderJump:function(e,t){return e("span",{class:"vxe-pager--jump"},[t?e("span",{class:"vxe-pager--goto-text"},r.default.i18n("vxe.pager.goto")):null,e("input",{class:"vxe-pager--goto",domProps:{value:this.inpCurrPage},attrs:{type:"text",autocomplete:"off"},on:{input:this.jumpInputEvent,keydown:this.jumpKeydownEvent,blur:this.triggerJumpEvent}}),t?e("span",{class:"vxe-pager--classifier-text"},r.default.i18n("vxe.pager.pageClassifier")):null])},renderPageCount:function(e){return e("span",{class:"vxe-pager--count"},[e("span",{class:"vxe-pager--separator"}),e("span",this.pageCount)])},renderTotal:function(e){return e("span",{class:"vxe-pager--total"},r.default.i18n("vxe.pager.total",[this.total]))},renderPageBtn:function(e,t){var n=this,i=this.numList,r=this.currentPage,o=this.pageCount,a=this.pagerCount,s=this.offsetNumber,l=[],u=(a=a=this.pageCount?this.pageCount:t;e.target.value=t,this.jumpPage(t)}}},t.default=n},"4f3d":function(e,t){e.exports=function(e,t,n){function i(){r=arguments,o=this,a=!1,0===l&&(!0===u?d():!0===c&&(l=setTimeout(f,t)))}var r,o,a=!1,s=!1,l=0,u=!("leading"in(n=n||{}))||n.leading,c="trailing"in n&&n.trailing,d=function(){s||(a=!0,e.apply(o,r),l=setTimeout(f,t))},f=function(){l=0,s||a||!0!==c||d()};return i.cancel=function(){var e=0!==l;return clearTimeout(l),o=r=null,a=!1,l=0,e},i}},"4f91":function(e,t){var n=decodeURIComponent;e.exports=n},"4fad":function(e,t,n){var i=n("d039"),r=n("861d"),o=n("c6b6"),a=n("d86b"),s=Object.isExtensible;n=i((function(){s(1)}));e.exports=n||a?function(e){return!!r(e)&&(!a||"ArrayBuffer"!=o(e))&&(!s||s(e))}:s},5038:function(e,t,n){!function(e){"use strict"; +function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",i;case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",i;case"h":return t?"jedan sat":"jednog sata";case"hh":return i+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",i;case"dd":return i+=1===e?"dan":"dana",i;case"MM":return i+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",i;case"yy":return i+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",i}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("c1df"))},"4be9":function(e,t,n){var i=n("a714"),r=n("4650"),o=n("dba8"),a=n("0368"),s=n("4b5c").CONFIGURABLE,l=n("0209"),u=(n=n("a547"),n.enforce),c=n.get,d=Object.defineProperty,f=a&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String");n=e.exports=function(e,t,n){if("Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&d(e,"name",{value:t,configurable:!0}),f&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity}),n&&o(n,"constructor")&&n.constructor){if(a)try{d(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;return n=u(e),o(n,"source")||(n.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=n((function(){return r(this)&&c(this).source||l(this)}),"toString")},"4c07":function(e,t,n){var i=n("09e4"),r=n("0368"),o=n("bf45"),a=n("f35b"),s=n("d0c8"),l=n("e3f1"),u=i.TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=r?a?function(e,t,n){var i;return s(e),t=l(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]&&(i=d(e,t))&&i[p]&&(e[t]=n.value,n={configurable:(h in n?n:i)[h],enumerable:(f in n?n:i)[f],writable:!1}),c(e,t,n)}:c:function(e,t,n){if(s(e),t=l(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"4c1f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=c(n("c695")),r=c(n("0838")),o=c(n("8ea1")),a=n("f3f4"),s=n("649c"),l=n("ee43"),u=n("ad76");function c(e){return e&&e.__esModule?e:{default:e}}n={title:String,field:String,size:String,span:[String,Number],align:String,titleAlign:{type:String,default:null},titleWidth:{type:[String,Number],default:null},titleColon:{type:Boolean,default:null},titleAsterisk:{type:Boolean,default:null},className:[String,Function],titleOverflow:{type:[Boolean,String],default:null},titlePrefix:Object,titleSuffix:Object,resetValue:{default:null},visible:{type:Boolean,default:null},visibleMethod:Function,folding:Boolean,collapseNode:Boolean,itemRender:Object};var d={};Object.keys(n).forEach((function(e){d[e]=function(t){this.itemConfig.update(e,t)}})),t.default={name:"VxeFormItem",props:n,inject:{$xeform:{default:null},$xeformgather:{default:null}},provide:function(){return{$xeformitem:this,$xeformiteminfo:this}},data:function(){return{itemConfig:null}},watch:d,mounted:function(){(0,s.assemItem)(this)},created:function(){this.itemConfig=(0,s.createItem)(this.$xeform,this)},destroyed:function(){(0,s.destroyItem)(this)},render:function(e){var t,n,c,d,f,h,p,m,v,g,y,b,_,w,x,A,C,S,k,M,T,E,O,D,L,P,I,j,N,R,$=this.$xeform;return $&&$.customLayout?(t=e,n=$,$=this.itemConfig,c=this.$scopedSlots,f=n._e,h=n.rules,p=n.data,m=n.collapseAll,v=n.validOpts,O=n.titleAlign,D=n.titleWidth,L=n.titleColon,P=n.titleAsterisk,N=n.titleOverflow,g=$.title,y=$.folding,b=$.visible,_=$.field,w=$.collapseNode,x=$.itemRender,A=$.showError,C=$.errRule,S=$.className,I=$.titleOverflow,k=(0,a.isEnableConf)(x)?o.default.renderer.get(x.name):null,M=k?k.itemClassName:"",T=$.span||n.span,E=$.align||n.align,O=i.default.eqNull($.titleAlign)?O:$.titleAlign,D=i.default.eqNull($.titleWidth)?D:$.titleWidth,L=i.default.eqNull($.titleColon)?L:$.titleColon,P=i.default.eqNull($.titleAsterisk)?P:$.titleAsterisk,j=!0===(N=i.default.isUndefined(I)||i.default.isNull(I)?N:I)||"tooltip"===N,N=(I="title"===N)||j||"ellipsis"===N,!(R={data:p,field:_,property:_,item:$,$form:n})===b?f():(h&&(b=h[_])&&(d=b.some((function(e){return e.required}))),f=[],c&&c.default?f=n.callSlot(c.default,R,t):k&&k.renderItemContent?f=(0,u.getSlotVNs)(k.renderItemContent.call(n,t,x,R)):k&&k.renderItem?f=(0,u.getSlotVNs)(k.renderItem.call(n,t,x,R)):_&&(f=["".concat(i.default.get(p,_))]),h=j?{mouseenter:function(e){n.triggerTitleTipEvent(e,R)},mouseleave:n.handleTitleTipLeaveEvent}:{},t("div",{class:["vxe-form--item",$.id,T?"vxe-col--".concat(T," is--span"):"",S?i.default.isFunction(S)?S(R):S:"",M?i.default.isFunction(M)?M(R):M:"",{"is--title":g,"is--colon":L,"is--asterisk":P,"is--required":d,"is--hidden":y&&m,"is--active":(0,s.isActivetem)(n,$),"is--error":A}]},[t("div",{class:"vxe-form--item-inner"},[g||c&&c.title?t("div",{class:["vxe-form--item-title",O?"align--".concat(O):null,{"is--ellipsis":N}],style:D?{width:isNaN(D)?D:"".concat(D,"px")}:null,attrs:{title:I?(0,a.getFuncText)(g):null},on:h},(0,l.renderTitle)(t,n,$)):null,t("div",{class:["vxe-form--item-content",E?"align--".concat(E):null]},f.concat([w?t("div",{class:"vxe-form--item-trigger-node",on:{click:n.toggleCollapseEvent}},[t("span",{class:"vxe-form--item-trigger-text"},m?r.default.i18n("vxe.form.unfolding"):r.default.i18n("vxe.form.folding")),t("i",{class:["vxe-form--item-trigger-icon",m?r.default.icon.FORM_FOLDING:r.default.icon.FORM_UNFOLDING]})]):null,C&&v.showMessage?t("div",{class:"vxe-form--item-valid",style:C.maxWidth?{width:"".concat(C.maxWidth,"px")}:null},C.message):null]))])]))):e("div")}}},"4cfc":function(e,t,n){var i=n("27e0"),r=n("d219"),o=n("f33a"),a=n("5b2d");e.exports=function(e,t,n){return r(e).replace((n||i).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,(function(e,n){return a(t,o(n))}))}},"4d64":function(e,t,n){function i(e){return function(t,n,i){var s,l=r(t),u=a(l),c=o(i,u);if(e&&n!=n){for(;cthis.pagerCount?this.pagerCount-2:this.pagerCount,t=[],n=0;n=this.pageCount}],attrs:{type:"button",title:r.default.i18n("vxe.pager.nextJump")},on:{click:this.nextJump}},[t?e("i",{class:["vxe-pager--jump-more-icon",this.iconJumpMore||r.default.icon.PAGER_JUMP_MORE]}):null,e("i",{class:["vxe-pager--jump-icon",this.iconJumpNext||r.default.icon.PAGER_JUMP_NEXT]})])},renderNextPage:function(e){return e("button",{class:["vxe-pager--next-btn",{"is--disabled":this.currentPage>=this.pageCount}],attrs:{type:"button",title:r.default.i18n("vxe.pager.nextPage")},on:{click:this.nextPage}},[e("i",{class:["vxe-pager--btn-icon",this.iconNextPage||r.default.icon.PAGER_NEXT_PAGE]})])},renderSizes:function(e){var t=this;return e("vxe-select",{class:"vxe-pager--sizes",props:{value:this.pageSize,placement:"top",transfer:this.transfer,options:this.sizeList},on:{change:function(e){e=e.value,t.pageSizeEvent(e)}}})},renderFullJump:function(e){return this.renderJump(e,!0)},renderJump:function(e,t){return e("span",{class:"vxe-pager--jump"},[t?e("span",{class:"vxe-pager--goto-text"},r.default.i18n("vxe.pager.goto")):null,e("input",{class:"vxe-pager--goto",domProps:{value:this.inpCurrPage},attrs:{type:"text",autocomplete:"off"},on:{input:this.jumpInputEvent,keydown:this.jumpKeydownEvent,blur:this.triggerJumpEvent}}),t?e("span",{class:"vxe-pager--classifier-text"},r.default.i18n("vxe.pager.pageClassifier")):null])},renderPageCount:function(e){return e("span",{class:"vxe-pager--count"},[e("span",{class:"vxe-pager--separator"}),e("span",this.pageCount)])},renderTotal:function(e){return e("span",{class:"vxe-pager--total"},r.default.i18n("vxe.pager.total",[this.total]))},renderPageBtn:function(e,t){var n=this,i=this.numList,r=this.currentPage,o=this.pageCount,a=this.pagerCount,s=this.offsetNumber,l=[],u=(a=a=this.pageCount?this.pageCount:t;e.target.value=t,this.jumpPage(t)}}},t.default=n},"4f3d":function(e,t){e.exports=function(e,t,n){function i(){r=arguments,o=this,a=!1,0===l&&(!0===u?d():!0===c&&(l=setTimeout(f,t)))}var r,o,a=!1,s=!1,l=0,u=!("leading"in(n=n||{}))||n.leading,c="trailing"in n&&n.trailing,d=function(){s||(a=!0,e.apply(o,r),l=setTimeout(f,t))},f=function(){l=0,s||a||!0!==c||d()};return i.cancel=function(){var e=0!==l;return clearTimeout(l),o=r=null,a=!1,l=0,e},i}},"4f91":function(e,t){var n=decodeURIComponent;e.exports=n},"4fad":function(e,t,n){var i=n("d039"),r=n("861d"),o=n("c6b6"),a=n("d86b"),s=Object.isExtensible;n=i((function(){s(1)}));e.exports=n||a?function(e){return!!r(e)&&(!a||"ArrayBuffer"!=o(e))&&(!s||s(e))}:s},5038:function(e,t,n){!function(e){"use strict"; //! moment.js locale configuration e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("c1df"))},5087:function(e,t,n){var i=n("da84"),r=n("68ee"),o=n("0d51"),a=i.TypeError;e.exports=function(e){if(r(e))return e;throw a(o(e)+" is not a constructor")}},"50c4":function(e,t,n){var i=n("5926"),r=Math.min;e.exports=function(e){return 010&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n("c1df"))},6944:function(e,t,n){var i;i=function(e){return n=[function(t,n){t.exports=e},function(e,t,n){"use strict";(function(e){var i=n(0),r=n.n(i),o=n(5);t.a={install:function(t,i){var a=i.name,s=void 0===a?"viewer":a,l=(a=i.debug,void 0!==a&&a);function u(e,n){var i=210&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(n("c1df"))},6944:function(e,t,n){var i;i=function(e){return n=[function(t,n){t.exports=e},function(e,t,n){"use strict";(function(e){var i=n(0),r=n.n(i),o=n(5);t.a={install:function(t,i){var a=i.name,s=void 0===a?"viewer":a,l=(a=i.debug,void 0!==a&&a);function u(e,n){var i=2